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.

Usage

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

Shapeless

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.

Animated

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 Wood Planks; Spruce Wood Planks; Birch Wood Planks; Jungle Wood Planks
|B1= Oak Wood Planks; Spruce Wood Planks; Birch Wood Planks; Jungle Wood Planks
 |A2= Oak Wood Planks; Spruce Wood Planks; Birch Wood Planks; Jungle Wood Planks
 |B2= Oak Wood Planks; Spruce Wood Planks; Birch Wood Planks; Jungle Wood Planks
|Output= Crafting Table
}}
produces

另见



Advertisement