Entity NBT Format
NBT FORMAT (WIP)
Legend
| Icon | Meaning |
| String | |
| Short | |
| Long Array | |
| Long | |
| JSON Object | |
| Integer Array | |
| Integer | |
| Float | |
| Double | |
| Byte Array | |
| Byte | |
| Boolean | |
|
Array |
Format Tree
root label
| Where the NBT tree starts |
definitions
UniqueID
|
Unique numerical ID of the entity used to identify it from others of it type.
|
CustomNameVisible
| Shows a custom name given to an entity regardless if you are looking directly at them or not. |
Invulnerable
IsGlobal
| Defines if the entity can function in unloaded chunks. |
LinksTag
| Defines a connection between a ride and a rider. |
LootDropped
| Defines if an entity can or cannot drop loot. This is applied after the entity has received the Dead tag to ensure it doesn't drop loot more than once. |
Color
| Defines an entities color type. For example the difference between a black cat and a siamese cat is this value. |
ShowBottom
|
Defines whether an end crystal shows the bedrock slab below it. (Used in the end dimension's crystals) |
Willing
|
Defines if a villager is willing to breed or not. This value is set to false for a period of time after breeding. |
ItemInHand
|
Defines what item an entity holding. |
Mainhand
|
Defines what item is in the entities mainhand. |
Offhand
|
Defines what item is in the entities offhand. |
HurtTime
|
Duration an entity has the invulnerable tag set to true after taking damage. This also controls the duration in which the entity is red after taking damage. |
portal_transition
ActiveEffects
|
Lists the entities potion effects it has on it. |
Effect (Not A Real Namespace)
|
Effect json object |
Ambient
|
True if the effect was applied by a beacon. This is to make the particles less invasive on the screen. |
TargetCaptainID
|
Unique numerical ID of the Illager captain of a patrol. Used by pillagers in patrols.
|
isCreative
|
Defines if a given projectile was fired from a player in creative mode. (Only projectiles have this) |
enchantPower
|
Defines the power level given to an arrow by the power enchantment on the shooters bow. |
enchantPunch
|
Defines the punch level given to an arrow by the power enchantment on the shooters bow. |
enchantFlame
|
Defines the flame level given to an arrow by the power enchantment on the shooters bow. |
enchantInfinity
|
Defines the infinity level given to an arrow by the power enchantment on the shooters bow. |
MobEffects
|
List of effects that a given entity can pass onto others. This does not apply to itself. (Used in area effect clouds and tipped arrows) |
Effect (Not A Real Namespace)
|
Effect json object |
Ambient
|
True if the effect was applied by a beacon. This is to make the particles less invasive on the screen. |
auxValue
|
Defines a numerical ID for what arrow type it is, whether it is tipped and with what potion.
example: 23 (Healing II) |
SpawnBlockPositionX
|
Defines the X location for the players respawn block like a bed or respawn anchor. |
SpawnBlockPositionY
|
Defines the Y location for the players respawn block like a bed or respawn anchor. |
SpawnBlockPositionZ
|
Defines the Z location for the players respawn block like a bed or respawn anchor. |