本站文本内容除另有声明外,转载时均必须注明出处,并遵守CC BY-NC-SA 3.0协议。(转载须知
本站是中文Minecraft Wiki的镜像站,与Mojang Studios、Weird Gloop没有从属关系。(免责声明

全站通知:

模板:TAG number

来自我的世界地下城WIKI_BWIKI_哔哩哔哩
跳到导航 跳到搜索
[查看 | 编辑 | 历史 | 清除缓存]文档页面
Ic translate.svg
此条目的(部分)内容需要翻译。

你可以帮助我们来翻译此条目,但请勿使用机器翻译

Formats arguments to appear similar to in-game NBT.

The author of this template supports its modification, if an editor can do it better or more efficiently.

语法

-{}-{{TAG_number|<name>|<value>|[<type>]}}

参数(未命名)

<name>
Ideally a word. Appears in the color dark cyan, followed by a colon.
<value>
Ideally a number. Appears in the color dark orange
[<type>]
(Optional) Ideally a single character: b, s, l, and f are the usual ones in the game. Meant to denote the TAG type Immediately follows <value>, and appears in the color crimson.

示例

The code &#123;{{TAG_number|x|123}}, {{TAG_number|y|56}}, {{TAG_number|z|12}}} yields {x: 123, y: 56, z: 12}

The code &#123;{{TAG_number|Count|32|b}}} yields {Count: 32b}

另见