Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:MC/Infobox entity/doc

Template page

Template:Documentation header Template:Shortcut This template provides a uniform infobox for all entity pages.

Usage

{{Entity
|title= 
|image=
|imagesize=
|addedVersion=
|addedDate=
|introducedEvent=
|introducedEventDate=
|removedVersion=
|removedDate=
|health=
|armor=
|behavior=
|mobtype=
|damage=
|size=
|speed=
|knockbackresistance=
|spawn=
|equipment=
|usableitems=
|leashable=
|boat=
|minecart=
|networkid=
|rarity=
|notes=
}}
Parameter Function Default value
title Optional value to use a different title instead of the page name {{BASEPAGENAME}}
image Image of the entity {{{title}}}.png if it exists, otherwise No image.svg (linking to the page where to upload the missing image)
imagesize Adjusts the size of the image 150px
imageN Other images for multistate entities None
imageNsize Adjusts the size of the corresponding image 150px
addedVersion The first version(s) this entity was introduced None
addedDate The date(s) the entity was introduced None
introducedEvent The event the entity was introduced None
introducedEventDate The date of the event the entity was introduced None
removedVersion The version the entity was removed None
removedDate The date the entity was removed None
health The mob's health None
armor The mob's natural armor points None
damage The damage hostile mobs cause to the player None
size Hitbox height and width (see http://wiki.vg/Entities#Mobs) None
speed Movement speed attribute None
knockbackresistance Knockback resistance attribute None
spawn Spawn details None
equipment Equipment that may be dropped None
usableitems Items that can be used on the mob None
leashable Whether the entity can be leashed None
boat Whether the entity can enter boats None
minecart Whether the entity can enter minecarts None
networkid The ID number used in network traffic (0-255). None
rarity The color of this entity's name. See rarity for more info. None
notes Additional notes None

<templatedata> { "params": { "title": { "aliases": [ "name" ], "label": "Name", "description": "Name of the entity, if different from the page name.", "type": "string" }, "image": { "label": "Image", "description": "Image of the entity, if different from the page name.", "type": "wiki-file-name" }, "imagesize": { "label": "Image size", "description": "Override the image size.", "example": "150px" }, "health": { "label": "Health", "description": "The amount of health the entity has for each difficulty.", "example": "Template:Hp", "suggested": true }, "armor": { "aliases": [ "protection" ], "label": "Armor", "description": "Amount of armor points the entity has.", "example": "Template:Armor", "suggested": true }, "behavior": { "label": "Behavior", "description": "Behavior(s) of the entity.", "type": "string", "suggested": true }, "mobtype": { "label": "Mob type", "description": "Type of the entity.", "type": "string", "suggested": true }, "damage": { "aliases": [ "dmg" ], "label": "Damage", "description": "The amount of damage caused to a player on attack.", "example": "Template:Hp", "suggested": true }, "size": { "label": "Hitbox size", "description": "The entity's hitbox height and width." }, "speed": { "label": "Movement speed", "description": "The movement speed attribute of the entity.", "example": "55", "type": "number" }, "knockbackresistance": { "aliases": [ "kb" ], "label": "Knockback resistance", "description": "The knockback resistance attribute of the enitity.", "example": "0", "type": "number" }, "spawn": { "label": "Spawning", "description": "Details on how and where the entity spawns, if at all.", "example": "Plains biome." }, "equipment": { "aliases": [ "equip" ], "label": "Equipment", "description": "Equipment that may be dropped, if at all.", "example": "Diamond hoe" }, "usableitems": { "label": "Items", "description": "Items that can be used on the entity." }, "leashable": { "label": "Leashable", "description": "Whether the entity can be leashed.", "example": "Yes" }, "boat": { "label": "Boat", "description": "Whether the entity can enter boats.", "example": "Yes" }, "minecart": { "label": "Minecart", "description": "Whether the entity can enter minecarts.", "example": "Yes" }, "networkid": { "aliases": [ "packet" ], "label": "Network traffic ID", "description": "The ID of the entity found in network traffic, if different from the internal ID.", "example": "42", "type": "number" }, "rarity": { "label": "Entity rarity", "description": "The rarity of the entity in Minecraft Earth", "example": "rare", "type": "string" }, "tickingorder": { "label": "Ticking order", "description": "The order in which the entity ticks. Can be one of pad, pda, dap, dpa, apd, adp, where p is position, d is drag, a is acceleration.", "example": "adp", "type": "string", "suggestedvalues": [ "pad", "pda", "dap", "dpa", "apd", "adp" ] }, "gravity": { "label": "Gravity", "description": "The gravity in blocks/tick. For fireball-like entities, input the acceleration instead.", "example": "0.03", "type": "number" }, "drag": { "label": "Drag", "description": "The drag factor. Use this one if drag_h and drag_v are equal.", "example": "0.99", "type": "number" }, "drag_h": { "label": "Horizontal drag", "description": "The horizontal drag factor", "example": "0.99", "type": "number" }, "drag_v": { "label": "Vertical drag", "description": "The vertical drag factor", "example": "0.99", "type": "number" }, "hurting_projectile": { "label": "Hurting projectile", "description": "Set to true if the entity inherits its movement from AbstractHurtingProjectile.", "example": "true", "type": "boolean" }, "gravity_float": { "label": "Is gravity a float?", "description": "If true, adds (float). If false or missing, adds (double)", "example": "true", "type": "boolean" }, "drag_float": { "label": "Is drag a float?", "description": "If true, adds (float). If false or missing, adds (double)", "example": "true", "type": "boolean" }, "drag_h_float": { "label": "Is horizontal drag a float?", "description": "If true, adds (float). If false or missing, adds (double)", "example": "true", "type": "boolean" }, "drag_v_float": { "label": "Is vertical drag a float?", "description": "If true, adds (float). If false or missing, adds (double)", "example": "true", "type": "boolean" }, "notes": { "label": "Additional notes", "type": "string" }, "addedVersion": { "aliases": [ "added" ], "label": "Version added", "description": "The first version(s) that this entity appeared in the game.", "example": "15w24a" }, "addedDate": { "label": "Date added", "description": "The date(s) the entity was first added into the game.", "example": "Template:Start date", "type": "date" }, "introducedEvent": { "label": "Event introduced", "description": "The wikilinked event that introduced this entity, if at all.", "example": "Minecon Live 2020", "type": "wiki-page-name" }, "introducedEventDate": { "label": "Event introduced date", "description": "The date of the event that introduced the entity.", "example": "Template:Start date", "type": "date" }, "removedVersion": { "aliases": [ "removed" ], "label": "Version removed", "description": "The version the entity was removed", "example": "1.9" }, "removedDate": { "label": "Date removed", "description": "The date of the version the entity was removed.", "example": "Template:End date", "type": "date" } }, "description": "An infobox for an entity.", "format": "block", "paramOrder": [ "title", "imagesize", "image", "addedVersion", "addedDate", "introducedEvent", "introducedEventDate", "removedVersion", "removedDate", "health", "armor", "behavior", "mobtype", "damage", "size", "speed", "knockbackresistance", "spawn", "equipment", "usableitems", "leashable", "boat", "minecart", "networkid", "rarity", "tickingorder", "gravity", "gravity_float", "drag", "drag_float", "drag_h", "drag_h_float", "drag_v", "drag_v_float", "hurting_projectile", "notes" ] } </templatedata>

See also

Template:Infobox see also


cs:Šablona:Entity/doc de:Vorlage:Kreatur/Dokumentation es:Plantilla:Infobox entidad/doc fr:Modèle:Infobox entité/doc it:Template:Entità/doc ja:テンプレート:Infobox entity/doc ko:틀:Entity/doc lzh:模板:Entity/doc nl:Sjabloon:Entiteit/doc pt:Predefinição:Infobox de entidade/doc ru:Шаблон:Сущность/док th:แม่แบบ:Infobox entity/doc uk:Шаблон:Сутність/док zh:Template:Infobox entity/doc