Template:DropsLine
Jump to navigation
Jump to search
Designed to be used together like so
{{DropsTableHead}}
{{DropsLine}}
(repeated once for each item, or once for each version of an item in the case of parity issues){{DropsTableFoot}}
Parameters:
name
- the name of the item/blockversion
- (optional) JE or BE or both. Default both.image
- (optional) image override for names that are not item namesnamelink
- (optional) link for name, if different from page name, or empty to disable linkingnamenote
- (optional) a reference displayed below the table giving an extra qualifier for the entire drops line.rollchance
- (optional) defaults to display the calculated range of percentages based ondropchance
andlootingchance
. Should be manually set loot pools, being set to a fraction showing this items weight in that pool. If a drop is not affected by looting, this value should be set instead of setting dropchance.rollchancenote
- (optional) a reference displayed below the table giving extra information about the rollchance.quantity
- (optional) Default 1. a single quantity, or range of quantities, in the form of1
or0-3
lootingquantity
- (optional) If the quantity is affected by looting, the top range is increased by this number for each level of lootingquantitylimit
- (optional) Corresponds to "limit" in datapacks. Only used by strays in vanilla je (up to 1.20.2)dropchance
- (optional) The percent of instances where this drop happenslootingchance
- (optional) If the chance of drop is affected by looting, the chance is increased by this amount for each level of lootingplayerkill
- (optional) a yes/no (default no) indicating if this item is only dropped if the kill counts as a player kill
Usage
Designed to be used on a single line. An easy copy/paste example is below for ease of editing.
name
is the only required parameter, everything else defaults to what is most commonly correct.
{{DropsLine|name=|quantity=|lootingquantity=}}
[view | edit | history | purge]The above documentation is transcluded from Template:DropsLine/doc.