VOOZH about

URL: https://minecraft.wiki/w/Template:DropLine

⇱ Template:DropLine – Minecraft Wiki


Template:DropLine

From Minecraft Wiki
Jump to navigation Jump to search
Documentation[view] [edit] [history] [purge]
This template uses Module:DropTable, a script written in Lua.

This template should be placed inside {{DropTable}}.

Information:

  • |name=: Item name, required.
  • |image=: InvSprite ID, defaults to |name=.
  • |link=: Link to the item page, defaults to |name=.
  • |displayname=: Display name of the item, defaults to |name=.
  • |edition=: Makes the row only displayed to one edition, java or bedrock.
  • |notes=: Comma-separated array of note IDs. Read {{DropTable}} for more information.

Distribution-related:

  • |quantity=: Range, base drop quantity range, defaults to 1.
  • |lootingquantity=: Range, range added per level of Looting, defaults to 0.
  • |dropchance=: Probability, base drop chance, defaults to 1.
  • |lootingchance=: Probability, drop chance added per level of Looting, defaults to 0.
  • |multiplychance=: Probability, a multiplier applied to the above chance calculations, typically used for weighting, defaults to 1.
  • |limit=: Integer, maximum number of items that can drop; only affects Java Edition. The limit exists in Bedrock Edition loot tables but is not functional. (MCPE-221569)
  • |rolls=: Range, number of times to roll abrove calculations; currently used only by witches, defaults to 1.
  • |independent=: Comma-separated {{DropLine}} (without information parameters), used to add other independent distributions.
  • |mutuallyexclusive=: Comma-separated {{DropLine}} (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%).

[view] [edit] [history] [purge]The above documentation is transcluded from Template:DropLine/doc.
Retrieved from "https://minecraft.wiki/w/Template:DropLine?oldid=3009833"

Navigation menu