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

Mods

Mod images and normal images can be combined just like in a single slot.

When uploading mod images, they must have the mod page name in parenthesis at the end. For example Fancystone (FancyPack).

The Mod parameter can be used to set a default used for all parameters, this is best used when all items in the crafting table are modded items, or if the mod name is long and using the vanilla (v) parameter for the vanilla items in the table would be quicker.

Note the links of the vanilla Minecraft items, compared to the IndustrialCraft items.

Animation is fully supported between mod and vanilla items.

另见



Advertisement