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/Entity: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Sync: updated from Minecraft
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
** {{nbt|string|id}}: [[Minecraft:Resource location#Conversion to string|Namespaced ID]] of the entity's [[Minecraft:Java Edition data values#Entities|entity type]]. Does not exist for entities in the world, only stored entities (such as in [[Minecraft:data components]]).
** {{nbt|string|id}}: [[Minecraft:Resource location#Conversion to string|Namespaced ID]] of the entity's [[Minecraft:Java Edition data values#Entities|entity type]]. Does not exist for entities in the world, only stored entities (such as in [[Minecraft:data components]]).
** {{nbt|bool|Invulnerable}}: {{nbt boolean}} - if <code>true</code>, the entity should not take damage. This applies to living and nonliving entities alike: mobs should 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. Invulnerable player entities are also ignored by any hostile mobs. Note that these entities can be damaged by players in Creative mode.
** {{nbt|bool|Invulnerable}}: {{nbt boolean}} - if <code>true</code>, the entity should not take damage. This applies to living and nonliving entities alike: mobs should 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. Invulnerable player entities are also ignored by any hostile mobs. Note that these entities can be damaged by players in Creative mode.
** {{nbt|int|invulnerable_time}}:{{upcoming|java 26.3}} Optional, removed if zero or less. When greater than zero, the entity is invulnerable for that many ticks. This behaves the same as setting {{nbt|bool|Invulnerable}} to {{cd|true}}, and the two fields can be enabled or disabled independently. The entity is invulnerable when either {{nbt|bool|Invulnerable}} is {{cd|true}}, {{nbt|int|invulnerable_time}} is positive, or both. Decreases by one every tick. When a [[Minecraft:cushion]] is struck by lightning, the dropped item has this set to {{convert|20|game ticks|seconds}}. When a [[Minecraft:skeleton trap]] is triggered, the three newly spawned [[Minecraft:skeleton]]s and [[Minecraft:skeleton horse]]s have this set to {{convert|60|game ticks|seconds}}.
** {{nbt|int|invulnerable_time}}: Optional, removed if zero or less. When greater than zero, the entity is invulnerable for that many ticks. This behaves the same as setting {{nbt|bool|Invulnerable}} to {{cd|true}}, and the two fields can be enabled or disabled independently. The entity is invulnerable when either {{nbt|bool|Invulnerable}} is {{cd|true}}, {{nbt|int|invulnerable_time}} is positive, or both. Decreases by one every tick. When a [[Minecraft:cushion]] is struck by lightning, the dropped item has this set to {{convert|20|game ticks|seconds}}. When a [[Minecraft:skeleton trap]] is triggered, the three newly spawned [[Minecraft:skeleton]]s and [[Minecraft:skeleton horse]]s have this set to {{convert|60|game ticks|seconds}}.
** {{nbt|list|Motion}}: List of 3 {{nbt|double|}} doubles describing the current {{cd|dX|dY|dZ|d=and}} velocity of the entity in meters per game tick. Only allows between 10.0 and -10.0 (inclusive), else resets to 0.
** {{nbt|list|Motion}}: List of 3 {{nbt|double|}} doubles describing the current {{cd|dX|dY|dZ|d=and}} velocity of the entity in meters per game tick. Only allows between 10.0 and -10.0 (inclusive), else resets to 0.
** {{nbt|bool|NoGravity}}: {{nbt boolean}} - if <code>true</code>, the entity does not fall down naturally. Does not exist if set to false. Set to <code>true</code> by striders in lava.
** {{nbt|bool|NoGravity}}: {{nbt boolean}} - if <code>true</code>, the entity does not fall down naturally. Does not exist if set to false. Set to <code>true</code> by striders in lava.
Line 25: Line 25:
** {{nbt|bool|Silent}}: {{nbt boolean}} - if <code>true</code>, this entity is silenced. May not exist.
** {{nbt|bool|Silent}}: {{nbt boolean}} - if <code>true</code>, this entity is silenced. May not exist.
** {{nbt|list|Tags}}: List of [[Minecraft:Scoreboard#Tags|scoreboard tags]] of this entity. It is not preserved if it is removed.
** {{nbt|list|Tags}}: List of [[Minecraft:Scoreboard#Tags|scoreboard tags]] of this entity. It is not preserved if it is removed.
** {{nbt|int|TicksFrozen}}: Optional. How many game ticks the entity has been [[Minecraft:Powder Snow#Freezing|freezing]]. Although this tag is defined for all entities, it is actually only used by [[Minecraft:mob]]s that are not in the <code>freeze_immune_entity_types</code> [[Minecraft:entity type tag]]. Increases while in [[Minecraft:powder snow]], even partially, up to a maximum of {{convert|300|game ticks|seconds}}, and decreases at double speed while not in powder snow.
** {{nbt|int|TicksFrozen}}: Optional. How many game ticks the entity has been freezing (by [[Minecraft:powder snow]] or [[Minecraft:freezing|effect]]{{Upcoming|Java 26.4}}). Increases while in powder snow or with freezing effect{{Upcoming|Java 26.4}}, even partially, up to a maximum of {{convert|140|game ticks|seconds}}, and decreases at double speed while not in powder snow. Although this tag is defined for all entities, [[Minecraft:sulfur cube]] that has absorbed a block, entities equipped with an item in the tag {{tag link|item|freeze_immune_wearables}}, [[Minecraft:skeleton]]s, entities in the tag {{tag link|entity type|freeze_immune_entity_types}}, and non-[[Minecraft:living entities]] are not affected by freezing.
** {{nbt|int-array|UUID}}: This entity's [[Minecraft:Universally Unique IDentifier]]. The 128-bit UUID is stored as four 32-bit integers ({{nbt|int|Ints}}), ordered from most to least significant.
** {{nbt|int-array|UUID}}: This entity's [[Minecraft:Universally Unique IDentifier]]. The 128-bit UUID is stored as four 32-bit integers ({{nbt|int|Ints}}), ordered from most to least significant.
</onlyinclude></div><noinclude>
</onlyinclude></div><noinclude>

Latest revision as of 11:12, 14 October 2026

Minecraft:fr:Format de chunk/Entité Minecraft:ja:Chunkフォーマット/Entity Minecraft:ko:청크 형식/개체 Minecraft:pt:Formato de chunk/Entidade Minecraft:ru:Формат чанка/Сущность Minecraft:th:Chunk format/Entity Minecraft:uk:Формат чанку/Сутність