Template:MC/DropTable
Template page
More actions
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]
Template:Documentation header Template:Lua
Usage
- Template:P: The mob name. The default is the page name.
- Template:P: EntitySprite ID. The default is Template:P.
- Template:P: The link to the mob page. The default is Template:P.
- Template:P: The display name of the mob. The default is Template:P.
- Template:P: Only shows table for one edition. Should be
javaorbedrock. - Template:P: Specify this parameter to not display in {{Drop sources}}.
- An parameters array of {{DropLine}} separated by
|. - Template:P: Notes, one per line. The format is
note_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
The following example shows drop tables for Creeper.
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
Template:Sandbox otherThe above text is transcluded from Template:MC/DropTable/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/DropTable/doc. (View all subpages of this page.)
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:MC/DropTable/doc. (View all subpages of this page.)