Template:DropTable/doc
Jump to navigation
Jump to search
[purge]
This is the documentation page. It should be transcluded into Template:DropTable. See Template:Documentation for more information.Usage
[edit source]|name=: The mob name. The default is the page name.|image=: EntitySprite ID. The default is|name=.|link=: The link to the mob page. The default is|name=.|displayname=: The display name of the mob. The default is|name=.|edition=: Only shows table for one edition. Should bejavaorbedrock.|nosource=: Specify this parameter to not display in{{Drop sources}}.- An parameters array of
{{DropLine}}separated by|. |notes=: Notes, one per line. The format isnote_id = content.note_id.java = contentdefines a note that is only displayed in Java Edition.note_id.bedrock => target_note_iddefines a note that displays the contents of another note in Bedrock Edition. The predefined notes are as follows:
player_only = Only when killed by a [[player]]. player_or_pet = Only when killed by a [[player]] or a tamed [[wolf]]. player.java => player_or_pet player.bedrock => player_only burn_only = Only when on fire. burn_or_fire_aspect = Only when on fire or killed with weapon enchanted [[Fire Aspect]]. burn.java => burn_or_fire_aspect burn.bedrock => burn_only not_burn_only = Only when ''not'' on fire. not_burn_or_fire_aspect = Only when ''not'' on fire and ''not'' killed with weapon enchanted [[Fire Aspect]]. not_burn.java => not_burn_or_fire_aspect not_burn.bedrock => not_burn_only
Example
[edit source]The following example shows drop tables for Creeper.
Source
[edit source]{{DropTable|name=Creeper
|{{DropLine|name=Gunpowder|quantity=0-2|lootingquantity=0-1}}
|{{DropLine|name=Music Disc|image=Music Disc Cat|notes=random_disc,killed_by_skeleton}}
|{{DropLine|name=Creeper Head|notes=charged_creeper}}
|notes=
charged_creeper = Only when killed by a [[charged creeper]].
random_disc = The disc is randomly selected from [[Music Disc 13|13]], [[Music Disc cat|cat]], [[Music Disc blocks|blocks]], [[Music Disc chirp|chirp]], [[Music Disc far|far]], [[Music Disc mall|mall]], [[Music Disc mellohi|mellohi]], [[Music Disc stal|stal]], [[Music Disc strad|strad]], [[Music Disc ward|ward]], [[Music Disc 11|11]], and [[Music Disc wait|wait]].
killed_by_skeleton.java = Only when killed by a [[skeleton]], [[stray]], [[bogged]], or [[wither skeleton]].
killed_by_skeleton.bedrock = Only when killed by a [[skeleton]], [[stray]], or [[bogged]].
}}
Output
[edit source]| Item | Quantity / Chance / Average | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Default | Looting I | Looting II | Looting III | ||||||||||
| Gunpowder | 0–2 | 66.67% | 1.00 | 0–3 | 83.33% | 1.50 | 0–4 | 91.67% | 2.00 | 0–5 | 94.44% | 2.50 | |
| Music Disc[A][B] | 1 | 100.00% | 1.00 | 1 | 100.00% | 1.00 | 1 | 100.00% | 1.00 | 1 | 100.00% | 1.00 | |
| Creeper Head[C] | 1 | 100.00% | 1.00 | 1 | 100.00% | 1.00 | 1 | 100.00% | 1.00 | 1 | 100.00% | 1.00 | |
| Item | Quantity / Chance / Average | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Default | Looting I | Looting II | Looting III | ||||||||||
| Gunpowder | 0–2 | 2⁄3 | 1 | 0–3 | 5⁄6 | 3⁄2 | 0–4 | 11⁄12 | 2 | 0–5 | 17⁄18 | 5⁄2 | |
| Music Disc[A][B] | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | |
| Creeper Head[C] | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | |
| Item | Amount | Probability | ||||
|---|---|---|---|---|---|---|
| Default | Looting I | Looting II | Looting III | |||
| Gunpowder | 0 | 1⁄3 (33.33%) | 1⁄6 (16.67%) | 1⁄12 (8.33%) | 1⁄18 (5.56%) | |
| 1 | 1⁄3 (33.33%) | 1⁄3 (33.33%) | 1⁄4 (25.00%) | 1⁄6 (16.67%) | ||
| 2 | 1⁄3 (33.33%) | 1⁄3 (33.33%) | 1⁄3 (33.33%) | 5⁄18 (27.78%) | ||
| 3 | 0 | 1⁄6 (16.67%) | 1⁄4 (25.00%) | 5⁄18 (27.78%) | ||
| 4 | 0 | 0 | 1⁄12 (8.33%) | 1⁄6 (16.67%) | ||
| 5 | 0 | 0 | 0 | 1⁄18 (5.56%) | ||
| Average | 1 (1.00) | 3⁄2 (1.50) | 2 (2.00) | 5⁄2 (2.50) | ||
| Music Disc[A][B] | 1 | 1 (100.00%) | 1 (100.00%) | 1 (100.00%) | 1 (100.00%) | |
| Average | 1 (1.00) | 1 (1.00) | 1 (1.00) | 1 (1.00) | ||
| Creeper Head[C] | 1 | 1 (100.00%) | 1 (100.00%) | 1 (100.00%) | 1 (100.00%) | |
| Average | 1 (1.00) | 1 (1.00) | 1 (1.00) | 1 (1.00) | ||
| Killed | 1 | ||||
|---|---|---|---|---|---|
| Item | Expected Drops | ||||
| Default | Looting I | Looting II | Looting III | ||
| Gunpowder | 1.00 | 1.50 | 2.00 | 2.50 | |
| Music Disc[A][B] | 1.00 | 1.00 | 1.00 | 1.00 | |
| Creeper Head[C] | 1.00 | 1.00 | 1.00 | 1.00 | |
| Item | Quantity / Chance / Average | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Default | Looting I | Looting II | Looting III | ||||||||||
| Gunpowder | 0–2 | 66.67% | 1.00 | 0–3 | 66.67% | 1.33 | 0–4 | 66.67% | 1.67 | 0–5 | 66.67% | 2.00 | |
| Music Disc[A][B] | 1 | 100.00% | 1.00 | 1 | 100.00% | 1.00 | 1 | 100.00% | 1.00 | 1 | 100.00% | 1.00 | |
| Creeper Head[C] | 1 | 100.00% | 1.00 | 1 | 100.00% | 1.00 | 1 | 100.00% | 1.00 | 1 | 100.00% | 1.00 | |
| Item | Quantity / Chance / Average | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Default | Looting I | Looting II | Looting III | ||||||||||
| Gunpowder | 0–2 | 2⁄3 | 1 | 0–3 | 2⁄3 | 4⁄3 | 0–4 | 2⁄3 | 5⁄3 | 0–5 | 2⁄3 | 2 | |
| Music Disc[A][B] | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | |
| Creeper Head[C] | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | |
| Item | Amount | Probability | ||||
|---|---|---|---|---|---|---|
| Default | Looting I | Looting II | Looting III | |||
| Gunpowder | 0 | 1⁄3 (33.33%) | 1⁄3 (33.33%) | 1⁄3 (33.33%) | 1⁄3 (33.33%) | |
| 1 | 1⁄3 (33.33%) | 1⁄6 (16.67%) | 1⁄12 (8.33%) | 1⁄18 (5.56%) | ||
| 2 | 1⁄3 (33.33%) | 1⁄3 (33.33%) | 1⁄4 (25.00%) | 1⁄6 (16.67%) | ||
| 3 | 0 | 1⁄6 (16.67%) | 1⁄4 (25.00%) | 2⁄9 (22.22%) | ||
| 4 | 0 | 0 | 1⁄12 (8.33%) | 1⁄6 (16.67%) | ||
| 5 | 0 | 0 | 0 | 1⁄18 (5.56%) | ||
| Average | 1 (1.00) | 4⁄3 (1.33) | 5⁄3 (1.67) | 2 (2.00) | ||
| Music Disc[A][B] | 1 | 1 (100.00%) | 1 (100.00%) | 1 (100.00%) | 1 (100.00%) | |
| Average | 1 (1.00) | 1 (1.00) | 1 (1.00) | 1 (1.00) | ||
| Creeper Head[C] | 1 | 1 (100.00%) | 1 (100.00%) | 1 (100.00%) | 1 (100.00%) | |
| Average | 1 (1.00) | 1 (1.00) | 1 (1.00) | 1 (1.00) | ||
| Killed | 1 | ||||
|---|---|---|---|---|---|
| Item | Expected Drops | ||||
| Default | Looting I | Looting II | Looting III | ||
| Gunpowder | 1.00 | 1.33 | 1.67 | 2.00 | |
| Music Disc[A][B] | 1.00 | 1.00 | 1.00 | 1.00 | |
| Creeper Head[C] | 1.00 | 1.00 | 1.00 | 1.00 | |