本站文本内容除另有声明外,转载时均必须注明出处,并遵守CC BY-NC-SA 3.0协议。(转载须知)
本站是中文Minecraft Wiki的镜像站,与Mojang Studios、Weird Gloop没有从属关系。(免责声明)
模板:TAG number/doc
你可以帮助我们来翻译此条目,但请勿使用机器翻译。
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 {{{TAG_number|x|123}}, {{TAG_number|y|56}}, {{TAG_number|z|12}}} yields {x: 123, y: 56, z: 12}
The code {{{TAG_number|Count|32|b}}} yields {Count: 32b}

沪公网安备 31011002002714 号