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: updated from Minecraft
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
Line 72: Line 72:
**{{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 86: 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:Формат чанку/Моб