Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]

Template:Documentation header Template:Lua This template should be placed inside {{DropTable}}.

Usage

Information:

Distribution-related:

  • Template:P: Range, base drop quantity range, defaults to 1.
  • Template:P: Range, range added per level of Looting, defaults to 0.
  • Template:P: Probability, base drop chance, defaults to 1.
  • Template:P: Probability, drop chance added per level of Looting, defaults to 0.
  • Template:P: Probability, a multiplier applied to the above chance calculations, typically used for weighting, defaults to 1.
  • Template:P: Integer, maximum number of items that can drop; only affects Java Edition. The limit exists in Bedrock Edition loot tables but is not functional. (Template:Bug)
  • Template:P: Range, number of times to roll abrove calculations; currently used only by witches, defaults to 1.
  • Template:P: Comma-separated Template:Tcode (without information parameters), used to add other independent distributions.
  • Template:P: Comma-separated Template:Tcode (without information parameters), used to add other mutually exclusive distributions.

Ranges can be an integer (3) or integer-integer format (0-2, -3-5).

Probability can be a decimal (0.25), fraction (1/3), or percentage (80%).


Template:Sandbox other
The above text is transcluded from Template:MC/DropLine/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:MC/DropLine/doc. (View all subpages of this page.)
Contents