Template:Loom/doc - minecraft.fandom.com

Jump to navigation Jump to search
Treść tej podstrony pochodzi z artykułu „Template:Loom/doc” w domenie minecraft.fandom.com na licencji CC BY-NC-SA 3.0
This is the documentation page. It should be transcluded into the main template page. See Template:Documentation for more information
Lua logo
This template uses Module:UI, a script written in Lua.

This template is used to create an interface that looks similar to the Loom's.

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

Usage[]

Definition[]

{{Loom
|Banner = InputBanner,Amount
|Dye = InputDye,Amount
|Pattern = InputPattern,Amount
|Sprite = SlotSpriteName
|Output = Output,Amount
}}

Standard usage[]

{{Loom
|Banner = White Banner
|Dye = Orange Dye
|Sprite = Fess
|Output = Orange Fess Banner
}}
}}
produces

Animated[]

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

{{Loom
|Banner = White Banner
|Dye = Magenta Dye
|Pattern = Banner Pattern Globe; ;
|Sprite = Globe; Fess; Lozenge
|Output = Magenta Globe Banner; Magenta Fess Banner; Magenta Lozenge Banner
}}
produces

See also[]