Minecraft Wiki

除另有声明,转载时均必须注明出处若簡繁轉換出錯,請以遊戲內為準请勇于扩充与修正内容有兴趣逛逛我们的微博沟通交流,欢迎到社区专页需要协助,请在告示板留言

了解更多

Minecraft Wiki
Advertisement
[查看 | 编辑 | 历史 | 清除缓存]文档页面
Ic translate
此条目的(部分)内容需要翻译。

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

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}

另见[]


语言
Advertisement