Minecraft Wiki

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

了解更多

Minecraft Wiki
Advertisement
[查看 | 编辑 | 历史 | 清除缓存]文档页面
快捷方式
Dvt

该模板用于生成关于方块/物品的数据值的表格。

参数:

  • spritetype:sprite 的使用类型 - itemblock。默认为 block
  • sprite:sprite 的名称 - 详见 Template:ItemSpriteTemplate:BlockSprite 以查找可用的值,默认为 air
  • dv:用于手动设置数据值,而不是按顺序计算。
  • foot=1:必须在表格的末尾处使用,确保页面的下一个表格的数据值是从0开始的。
  • 未命名参数:用于提供说明。

例子:

{{dvt|spritetype=block|sprite=mushroom-block-pores|Pores on all sides}}
{{dvt|spritetype=block|sprite=mushroom-blocks|Cap texture on top, west and north}}
{{dvt|spritetype=block|sprite=mushroom-blocks|Cap texture on top and north}}
{{dvt|spritetype=block|sprite=mushroom-blocks|Cap texture on top, north and east}}
{{dvt|spritetype=block|sprite=mushroom-block-pores|Cap texture on top and west}}
{{dvt|spritetype=block|sprite=mushroom-block-pores|Cap texture on top}}
{{dvt|spritetype=block|sprite=mushroom-block-pores|Cap texture on top and east}}
{{dvt|spritetype=block|sprite=mushroom-block-pores|Cap texture on top, south and west}}
{{dvt|spritetype=block|sprite=mushroom-block-pores|Cap texture on top and south}}
{{dvt|spritetype=block|sprite=mushroom-block-pores|Cap texture on top, east and south}}
{{dvt|spritetype=block|sprite=mushroom-stem|Stem texture on all four sides, pores on top and bottom}}
{{dvt|dv=11}}
{{dvt|dv=12}}
{{dvt|dv=13}}
{{dvt|spritetype=block|sprite=mushroom-blocks|Cap texture on all six sides}}
{{dvt|spritetype=block|sprite=mushroom-stem|Stem texture on all six sides|foot=1}}

效果:

DV 描述
0 Pores on all sides
1 Cap texture on top, west and north
2 Cap texture on top and north
3 Cap texture on top, north and east
4 Cap texture on top and west
5 Cap texture on top
6 Cap texture on top and east
7 Cap texture on top, south and west
8 Cap texture on top and south
9 Cap texture on top, east and south
10 Stem texture on all four sides, pores on top and bottom
11 (未使用)
12 (未使用)
13 (未使用)
14 Cap texture on all six sides
15 Stem texture on all six sides
Advertisement