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

Minecraft:Entity format/Mob: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Sync: new page from Minecraft
 
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
(One intermediate revision by the same user not shown)
Line 70: Line 70:
**{{nbt|int-array|home_pos}}: The mob's "home" position. Mobs will limit their pathfinding to stay within the indicated area. Some mobs, like bats, slimes, magma cubes, phantoms and ender dragons may ignore it. Interacting with leashes or riding may change the home position of the mob. For [[Minecraft:creaking]]s, this is the position of their [[Minecraft:creaking heart]].
**{{nbt|int-array|home_pos}}: The mob's "home" position. Mobs will limit their pathfinding to stay within the indicated area. Some mobs, like bats, slimes, magma cubes, phantoms and ender dragons may ignore it. Interacting with leashes or riding may change the home position of the mob. For [[Minecraft:creaking]]s, this is the position of their [[Minecraft:creaking heart]].
**{{nbt|int|home_radius}}: Max radius of the data <code>home_pos</code>.
**{{nbt|int|home_radius}}: Max radius of the data <code>home_pos</code>.
** {{nbt|integer|HurtByTimestamp}}: The last time the mob was damaged, measured in the number of ticks since the mob's creation. Updates to a new value whenever the mob is damaged, then updates again 101 ticks later for reasons unknown. Can be changed with [[Minecraft:commands]], but the specified value does not affect natural updates in any way, and is overwritten if the mob receives damage.
**{{nbt|short|HurtTime}}: Number of ticks the mob turns red for after being hit. 0 when not recently hit.
**{{nbt|short|HurtTime}}: Number of ticks the mob turns red for after being hit. 0 when not recently hit.
** {{nbt|int-array|last_hurt_by_mob}}: The UUID of the last mob that attacked this mob. Clears when the attacking mob dies or despawns.
** {{nbt|int-array|last_hurt_by_mob}}: The UUID of the last mob that attacked this mob. Clears when the attacking mob dies or despawns.
** {{nbt|int|ticks_since_last_hurt_by_mob}}: (when {{nbt|int-array|last_hurt_by_mob}} exists and is valid) The number of game ticks since the last time the mob was attacked by the mob described by {{nbt|int-array|last_hurt_by_mob}}. Clears {{nbt|int-array|last_hurt_by_mob}} when the value reaches {{convert|100|gt|s}}.
** {{nbt|int-array|last_hurt_by_player}}: The UUID of the last player that attacked this mob.
** {{nbt|int-array|last_hurt_by_player}}: The UUID of the last player that attacked this mob.
** {{nbt|int|last_hurt_by_player_memory_time}}: (when {{nbt|int-array|last_hurt_by_player}} exists and is valid) Gets set to {{convert|100|gt|s}} when attacked by a player, and decreases by 1 for every game tick. Clears {{nbt|int-array|last_hurt_by_player}} when the value reaches 0.
** {{nbt|int|last_hurt_by_player_memory_time}}: (when {{nbt|int-array|last_hurt_by_player}} exists and is valid) Gets set to {{convert|100|gt|s}} when attacked by a player, and decreases by 1 for every game tick. Clears {{nbt|int-array|last_hurt_by_player}} when the value reaches 0.
Line 87: Line 87:
**{{nbt|int-array|sleeping_pos}}: The coordinate of where the entity is sleeping, absent if not sleeping.
**{{nbt|int-array|sleeping_pos}}: The coordinate of where the entity is sleeping, absent if not sleeping.
**{{nbt|string|Team}}: This tag is actually not part of the NBT data of a mob, but instead used when spawning it, so it cannot be tested for. It makes the mob instantly join the [[Minecraft:Commands/team|team]] with that name.
**{{nbt|string|Team}}: This tag is actually not part of the NBT data of a mob, but instead used when spawning it, so it cannot be tested for. It makes the mob instantly join the [[Minecraft:Commands/team|team]] with that name.
** {{nbt|int|ticks_since_last_hurt_by_mob}}: (when {{nbt|int-array|last_hurt_by_mob}} exists and is valid) The number of game ticks since the last time the mob was attacked by the mob described by {{nbt|int-array|last_hurt_by_mob}}.
</onlyinclude></div><noinclude>
</onlyinclude></div><noinclude>
[[Category:Top-level data pages]]
[[Category:Top-level data pages]]

Latest revision as of 11:13, 22 July 2026

Minecraft:fr:Format de chunk/Créature Minecraft:ja:Chunkフォーマット/Mob Minecraft:ko:청크 형식/몹 Minecraft:pt:Formato de chunk/Criatura Minecraft:ru:Формат чанка/Моб Minecraft:th:Chunk format/Mob Minecraft:uk:Формат чанку/Моб