Minecraft Wiki

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

了解更多

Minecraft Wiki
Advertisement
这是文档页面,它应该被放置到Template:Inventory Table。查看Template:Documentation以获取更多信息。

This template is used to create an interface that looks similar to the crafting square in the Inventory.

See Template:Inventory slot for basic slot usage, this documentation page will cover additional or different functions.

用法

{{Inventory Table
|A1=  |B1= Oak Planks
|A2=  |B2= Oak Planks
|Output= Stick,4
}}
produces

无形

If a recipe is shapeless, add shapeless=1 to the template, which will display an icon which when hovered over explains what a shapeless recipe is.

{{Inventory Table
|shapeless= 1
|A1= Leather|B1= Paper
|A2= Paper|B2= Paper
|Output= Book,1
}}
produces


The shapeless parameter does not support animation, so shapeless and non-shapeless recipes cannot be combined.

动态

To make the slots animate, you make a list of blocks and objects you want to show, separated by semi-colons.

{{Inventory Table
|A1= Oak Planks; Spruce Planks; Birch Planks; Jungle Planks
|B1= Oak Planks; Spruce Planks; Birch Planks; Jungle Planks
 |A2= Oak Planks; Spruce Planks; Birch Planks; Jungle Planks
 |B2= Oak Planks; Spruce Planks; Birch Planks; Jungle Planks
|Output= Crafting Table
}}
produces

Mods

Mod images and normal images can be combined just like in a single slot. Using mod images is not recommended, however, as all mod-related content is being migrated to the FTB wiki.

另见

Advertisement