Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 15:01, 11 September 2025 by imported>Prem4826 (add th-interwiki)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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%).



pt:Predefinição:Linha de drop/doc th:แม่แบบ:DropLine/doc uk:Шаблон:РядокДропу/док zh:Template:DropLine/doc

Contents