Czech, Thai, and Turkish language wikis are now available. Please help with translating!

Template:Nbt inherit/entity/template

From Minecraft Wiki
Jump to: navigation, search

    •  id: Entity ID. This tag does not exist for the Player entity.

    •  Pos: 3 TAG_Doubles describing the current X,Y,Z position of the entity.

    •  Motion: 3 TAG_Doubles describing the current dX,dY,dZ velocity of the entity in meters per tick.

    •  Rotation: Two TAG_Floats representing rotation in degrees.

      • The entity's rotation clockwise around the Y axis (called yaw). Due west is 0. Does not exceed 360 degrees.

      • The entity's declination from the horizon (called pitch). Horizontal is 0. Positive values look downward. Does not exceed positive or negative 90 degrees.

    •  FallDistance: Distance the entity has fallen. Larger values cause more damage when the entity lands.

    •  Fire: Number of ticks until the fire is put out. Negative values reflect how long the entity can stand in fire before burning. Default -20 when not on fire.

    •  Air: How much air the entity has, in ticks. Fills to a maximum of 300 in air, giving 15 seconds submerged before the entity starts to drown, and a total of up to 35 seconds before the entity dies (if it has 20 health). Decreases while underwater. If 0 while underwater, the entity loses 1 health per second.

    •  OnGround: 1 or 0 (true/false) - true if the entity is touching the ground.

    •  NoGravity: 1 or 0 (true/false) - if true, the entity will not fall if in the air.

    •  Dimension: Only known to be used in <player>.dat to store the players last known location along with Pos. All other entities are only saved in the region files for the dimension they are in. -1 for The Nether, 0 for The Overworld, and 1 for The End.

    •  Invulnerable: 1 or 0 (true/false) - true if the entity should not take damage. This applies to living and nonliving entities alike: mobs will not take damage from any source (including potion effects), and cannot be moved by fishing rods, attacks, explosions, or projectiles, and objects such as vehicles and item frames cannot be destroyed unless their supports are removed. Note that these entities can be damaged by players in Creative mode.

    •  PortalCooldown: The number of ticks before which the entity may be teleported back through a nether portal. Initially starts at 300 ticks (15 seconds) after teleportation and counts down to 0.

    •  UUIDMost: The most significant bits of this entity's Universally Unique IDentifier. This is joined with UUIDLeast to form this entity's unique ID.

    •  UUIDLeast: The least significant bits of this entity's Universally Unique IDentifier.

    •  UUID (removed in 1.9): The Universally Unique IDentifier of this entity. Converts a hexadecimal UUID (for example: 069a79f4-44e9-4726-a5be-fca90e38aaf5) into the UUIDLeast and UUIDMost tags. Will not apply new UUIDLeast and UUIDMost tags if both of these tags are already present. The "UUID" tag is removed once the entity is loaded.

    •  CustomName: The custom name of this entity. Appears in player death messages and villager trading interfaces, as well as above the entity when your cursor is over it. May not exist, or may exist and be empty.

    •  CustomNameVisible: 1 or 0 (true/false) - if true, and this entity has a custom name, it will always appear above them, whether or not the cursor is pointing at it. If the entity hasn't a custom name, a default name will be shown. May not exist.

    •  Silent: 1 or 0 (true/false) - if true, this entity will not make sound. May not exist.

    •  Riding: (deprecated in 1.9) The data of the entity being ridden. Note that if an entity is being ridden, the topmost entity in the stack has the Pos tag, and the coordinates specify the location of the bottommost entity. Also note that the bottommost entity controls movement, while the topmost entity determines spawning conditions when created by a mob spawner.
      • See this format (recursive).

    •  Passengers: The data of the entity riding. Note that both entities control movement and the topmost entity controls spawning conditions when created by a mob spawner.
      • See this format (recursive).

    •  Glowing: 1 or 0 (true/false) - true if the entity has a glowing outline.

    •  Tags: List of custom string data.

    •  CommandStats: Information identifying scoreboard parameters to modify relative to the last command run

      •  SuccessCountObjective: Objective's name about the number of successes of the last command (will be an int)

      •  SuccessCountName: Fake player name about the number of successes of the last command

      •  AffectedBlocksObjective: Objective's name about how many blocks were modified in the last command (will be an int)

      •  AffectedBlocksName: Fake player name about how many blocks were modified in the last command

      •  AffectedEntitiesObjective: Objective's name about how many entities were altered in the last command (will be an int)

      •  AffectedEntitiesName: Fake player name about how many entities were altered in the last command

      •  AffectedItemsObjective: Objective's name about how many items were altered in the last command (will be an int)

      •  AffectedItemsName: Fake player name about how many items were altered in the last command

      •  QueryResultObjective: Objective's name about the query result of the last command

      •  QueryResultName: Fake player name about the query result of the last command