模板:Inventory Table

出自Minecraft基岩版开发Wiki
[檢視 | 編輯 | 歷史 | 清除緩存]文件頁面

這個模板用來建立類似物品欄中合成網格的介面。

Template:Inventory slot以取得基礎用途。此文件頁面將介紹其他或不同的功能。

用法[編輯]

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

無序[編輯]

如果合成配方是是無序的,請在模板中加入shapeless=1,模板將顯示一個圖示,將游標懸停在該圖示上即可說明無序合成是什麼。

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


shapeless參數不支援動畫,因此無法組合無序和有序配方。

動畫[編輯]

要使欄位具有動畫效果,請列出要顯示的方塊和物品,並用分號分隔。

{{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
}}
效果:

遊戲模組[編輯]

遊戲模組圖片和普通圖片可以在欄位中組合。

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.


另見[編輯]