Minecraft Viki
Advertisement
Bu bir belgeleme sayfası ve içeriği ana şablonun sayfasına görünecek. Daha fazla için Şablon:Belgeleme sayfasına bakın
Lua logo
Bu şablon, Lua'da yazılan bir kodla Module:LootChest içeriğini kullanmaktadır.

Usage[]

It takes any number of chest parameters, and any number of column parameters, in no particular order.

If no chest parameters are listed, it displays them all; likewise for column parameters.

{{LootChest [ |<chestParam1> ... |<chestParamN> ] [ |<columnHideParam1> ... |<columnHideParamN> ] }}

Chest parameters[]

bonus,
desert-temple ( desert ),
dungeon,
end-city,
igloo,
jungle-temple ( jungle ),
jungle-temple-dispenser,
mineshaft,
nether-fortress ( nether, fortress ),
stronghold-altar ( altar ),
stronghold-library ( library ),
stronghold-storeroom ( storeroom ),
village-blacksmith ( blacksmith ),
village-two-room-house,
woodland-mansion ( mansion )

Column parameters[]

chance: the odds of getting any of this item in a single chest.,
chests: the number of chests expected to search, to find any of this item.,
items: the number of items expected per chest, averaged over a large number of chests.,
stacksize: the size of stacks (or for unstackable items, number) of this item found in this chest.,
weight: the weight of this item relative to other items in the chest.

Example[]

{{LootChest}} → all chests and all columns

{{LootChest|blacksmith|jungle|bonus|chance|stacksize}} → only blacksmith and jungle chests, and only 'stacksize' and 'chance' columns

Advertisement