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

Minecraft:Java Edition protocol/Entity metadata: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Sync: new page from Minecraft
 
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
Various '''Entities''' have different metadata fields and [[Minecraft:Java Edition protocol/Entity statuses|status codes]].
Various '''Entities''' have different metadata fields and [[Minecraft:Java Edition protocol/Entity statuses|status codes]].


These are the valid codes for Minecraft Java Edition 26.2; for upcoming snapshots, see [[Minecraft:Java Edition protocol/Development version#Entity Metadata]].
These are the valid codes for Minecraft Java Edition 26.3; for upcoming snapshots, see [[Minecraft:Java Edition protocol/Development version#Entity Metadata]].


This page is maintained semi-automatically using a work-in-progress script made by mat, so it should update fairly quickly to new Minecraft versions. Regardless, it's not recommended that you parse it programmatically. Instead, consider using Bixilon's [https://gitlab.bixilon.de/bixilon/pixlyzer PixLyzer] or [https://github.com/Pokechu22/Burger Burger] (or [https://github.com/mat-1/Burger mat's Burger fork], which the script for updating this page depends on).
This page is maintained semi-automatically using a work-in-progress script made by mat, so it should update fairly quickly to new Minecraft versions. Regardless, it's not recommended that you parse it programmatically. Instead, consider using Bixilon's [https://gitlab.bixilon.de/bixilon/pixlyzer PixLyzer] or [https://github.com/Pokechu22/Burger Burger] (or [https://github.com/mat-1/Burger mat's Burger fork], which the script for updating this page depends on).
Line 7: Line 7:
== Entities ==
== Entities ==


{{warning|These entity IDs are up to date for 26.2. Use [[Minecraft:Minecraft Wiki:Projects/wiki.vg merge/Data Generators|Data Generators]] or [https://pokechu22.github.io/Burger/ Burger] to get older IDs. If using Burger just replace the version number to what you want to see.}}
{{warning|These entity IDs are up to date for 26.3. Use [[Minecraft:Minecraft Wiki:Projects/wiki.vg merge/Data Generators|Data Generators]] or [https://github.com/azalea-rs/azalea-burger/ Burger] to get older IDs. If using Burger just replace the version number to what you want to see.}}


Most entities are spawned via [[Minecraft:Java Edition protocol/Packets#Spawn Entity|Spawn Entity]], however, care should be taken for the following cases:
Most entities are spawned via [[Minecraft:Java Edition protocol/Packets#Spawn Entity|Spawn Entity]], however, care should be taken for the following cases:
Line 224: Line 224:
|-
|-
| 33
| 33
| Cushion
| 1.0
| 0.25
| <code>minecraft:cushion</code>
|-
| 34
| Dark Oak Boat
| Dark Oak Boat
| 1.375
| 1.375
Line 229: Line 235:
| <code>minecraft:dark_oak_boat</code>
| <code>minecraft:dark_oak_boat</code>
|-
|-
| 34
| 35
| Dark Oak Boat with Chest
| Dark Oak Boat with Chest
| 1.375
| 1.375
Line 235: Line 241:
| <code>minecraft:dark_oak_chest_boat</code>
| <code>minecraft:dark_oak_chest_boat</code>
|-
|-
| 35
| 36
| Dolphin
| Dolphin
| 0.9
| 0.9
Line 241: Line 247:
| <code>minecraft:dolphin</code>
| <code>minecraft:dolphin</code>
|-
|-
| 36
| 37
| Donkey
| Donkey
| 1.3964844
| 1.3964844
Line 247: Line 253:
| <code>minecraft:donkey</code>
| <code>minecraft:donkey</code>
|-
|-
| 37
| 38
| Dragon Fireball
| Dragon Fireball
| 1.0
| 1.0
Line 253: Line 259:
| <code>minecraft:dragon_fireball</code>
| <code>minecraft:dragon_fireball</code>
|-
|-
| 38
| 39
| Drowned
| Drowned
| 0.6
| 0.6
Line 259: Line 265:
| <code>minecraft:drowned</code>
| <code>minecraft:drowned</code>
|-
|-
| 39
| 40
| Thrown Egg
| Thrown Egg
| 0.25
| 0.25
Line 265: Line 271:
| <code>minecraft:egg</code>
| <code>minecraft:egg</code>
|-
|-
| 40
| 41
| Elder Guardian
| Elder Guardian
| 1.9975 (2.35 * guardian)
| 1.9975 (2.35 * guardian)
Line 271: Line 277:
| <code>minecraft:elder_guardian</code>
| <code>minecraft:elder_guardian</code>
|-
|-
| 41
| 42
| Enderman
| Enderman
| 0.6
| 0.6
Line 277: Line 283:
| <code>minecraft:enderman</code>
| <code>minecraft:enderman</code>
|-
|-
| 42
| 43
| Endermite
| Endermite
| 0.4
| 0.4
Line 283: Line 289:
| <code>minecraft:endermite</code>
| <code>minecraft:endermite</code>
|-
|-
| 43
| 44
| Ender Dragon
| Ender Dragon
| 16.0
| 16.0
Line 289: Line 295:
| <code>minecraft:ender_dragon</code>
| <code>minecraft:ender_dragon</code>
|-
|-
| 44
| 45
| Thrown Ender Pearl
| Thrown Ender Pearl
| 0.25
| 0.25
Line 295: Line 301:
| <code>minecraft:ender_pearl</code>
| <code>minecraft:ender_pearl</code>
|-
|-
| 45
| 46
| End Crystal
| End Crystal
| 2.0
| 2.0
Line 301: Line 307:
| <code>minecraft:end_crystal</code>
| <code>minecraft:end_crystal</code>
|-
|-
| 46
| 47
| Evoker
| Evoker
| 0.6
| 0.6
Line 307: Line 313:
| <code>minecraft:evoker</code>
| <code>minecraft:evoker</code>
|-
|-
| 47
| 48
| Evoker Fangs
| Evoker Fangs
| 0.5
| 0.5
Line 313: Line 319:
| <code>minecraft:evoker_fangs</code>
| <code>minecraft:evoker_fangs</code>
|-
|-
| 48
| 49
| Thrown Bottle o' Enchanting
| Thrown Bottle o' Enchanting
| 0.25
| 0.25
Line 319: Line 325:
| <code>minecraft:experience_bottle</code>
| <code>minecraft:experience_bottle</code>
|- style="background: #aaaaff;"
|- style="background: #aaaaff;"
| 49
| 50
| Experience Orb
| Experience Orb
| 0.5
| 0.5
Line 325: Line 331:
| <code>minecraft:experience_orb</code>
| <code>minecraft:experience_orb</code>
|-
|-
| 50
| 51
| Eye of Ender
| Eye of Ender
| 0.25
| 0.25
Line 331: Line 337:
| <code>minecraft:eye_of_ender</code>
| <code>minecraft:eye_of_ender</code>
|-
|-
| 51
| 52
| Falling Block
| Falling Block
| 0.98
| 0.98
Line 337: Line 343:
| <code>minecraft:falling_block</code>
| <code>minecraft:falling_block</code>
|-
|-
| 52
| 53
| Fireball
| Fireball
| 1.0
| 1.0
Line 343: Line 349:
| <code>minecraft:fireball</code>
| <code>minecraft:fireball</code>
|-
|-
| 53
| 54
| Firework Rocket
| Firework Rocket
| 0.25
| 0.25
Line 349: Line 355:
| <code>minecraft:firework_rocket</code>
| <code>minecraft:firework_rocket</code>
|-
|-
| 54
| 55
| Fox
| Fox
| 0.6
| 0.6
Line 355: Line 361:
| <code>minecraft:fox</code>
| <code>minecraft:fox</code>
|-
|-
| 55
| 56
| Frog
| Frog
| 0.5
| 0.5
Line 361: Line 367:
| <code>minecraft:frog</code>
| <code>minecraft:frog</code>
|-
|-
| 56
| 57
| Minecart with Furnace
| Minecart with Furnace
| 0.98
| 0.98
Line 367: Line 373:
| <code>minecraft:furnace_minecart</code>
| <code>minecraft:furnace_minecart</code>
|-
|-
| 57
| 58
| Ghast
| Ghast
| 4.0
| 4.0
Line 373: Line 379:
| <code>minecraft:ghast</code>
| <code>minecraft:ghast</code>
|-
|-
| 58
| 59
| Happy Ghast
| Happy Ghast
| 4.0
| 4.0
Line 379: Line 385:
| <code>minecraft:happy_ghast</code>
| <code>minecraft:happy_ghast</code>
|-
|-
| 59
| 60
| Giant
| Giant
| 3.6
| 3.6
Line 385: Line 391:
| <code>minecraft:giant</code>
| <code>minecraft:giant</code>
|-
|-
| 60
| 61
| Glow Item Frame
| Glow Item Frame
| 0.75 or 0.0625 (depth)
| 0.75 or 0.0625 (depth)
Line 391: Line 397:
| <code>minecraft:glow_item_frame</code>
| <code>minecraft:glow_item_frame</code>
|-
|-
| 61
| 62
| Glow Squid
| Glow Squid
| 0.8
| 0.8
Line 397: Line 403:
| <code>minecraft:glow_squid</code>
| <code>minecraft:glow_squid</code>
|-
|-
| 62
| 63
| Goat
| Goat
| 1.3
| 1.3
Line 403: Line 409:
| <code>minecraft:goat</code>
| <code>minecraft:goat</code>
|-
|-
| 63
| 64
| Guardian
| Guardian
| 0.85
| 0.85
Line 409: Line 415:
| <code>minecraft:guardian</code>
| <code>minecraft:guardian</code>
|-
|-
| 64
| 65
| Hoglin
| Hoglin
| 1.3964844
| 1.3964844
Line 415: Line 421:
| <code>minecraft:hoglin</code>
| <code>minecraft:hoglin</code>
|-
|-
| 65
| 66
| Minecart with Hopper
| Minecart with Hopper
| 0.98
| 0.98
Line 421: Line 427:
| <code>minecraft:hopper_minecart</code>
| <code>minecraft:hopper_minecart</code>
|-
|-
| 66
| 67
| Horse
| Horse
| 1.3964844
| 1.3964844
Line 427: Line 433:
| <code>minecraft:horse</code>
| <code>minecraft:horse</code>
|-
|-
| 67
| 68
| Husk
| Husk
| 0.6
| 0.6
Line 433: Line 439:
| <code>minecraft:husk</code>
| <code>minecraft:husk</code>
|-
|-
| 68
| 69
| Illusioner
| Illusioner
| 0.6
| 0.6
Line 439: Line 445:
| <code>minecraft:illusioner</code>
| <code>minecraft:illusioner</code>
|-
|-
| 69
| 70
| Interaction
| Interaction
| 0.0
| 0.0
Line 445: Line 451:
| <code>minecraft:interaction</code>
| <code>minecraft:interaction</code>
|-
|-
| 70
| 71
| Iron Golem
| Iron Golem
| 1.4
| 1.4
Line 451: Line 457:
| <code>minecraft:iron_golem</code>
| <code>minecraft:iron_golem</code>
|-
|-
| 71
| 72
| Item
| Item
| 0.25
| 0.25
Line 457: Line 463:
| <code>minecraft:item</code>
| <code>minecraft:item</code>
|-
|-
| 72
| 73
| Item Display
| Item Display
| 0.0
| 0.0
Line 463: Line 469:
| <code>minecraft:item_display</code>
| <code>minecraft:item_display</code>
|-
|-
| 73
| 74
| Item Frame
| Item Frame
| 0.75 or 0.0625 (depth)
| 0.75 or 0.0625 (depth)
Line 469: Line 475:
| <code>minecraft:item_frame</code>
| <code>minecraft:item_frame</code>
|-
|-
| 74
| 75
| Jungle Boat
| Jungle Boat
| 1.375
| 1.375
Line 475: Line 481:
| <code>minecraft:jungle_boat</code>
| <code>minecraft:jungle_boat</code>
|-
|-
| 75
| 76
| Jungle Boat with Chest
| Jungle Boat with Chest
| 1.375
| 1.375
Line 481: Line 487:
| <code>minecraft:jungle_chest_boat</code>
| <code>minecraft:jungle_chest_boat</code>
|-
|-
| 76
| 77
| Leash Knot
| Leash Knot
| 0.375
| 0.375
Line 487: Line 493:
| <code>minecraft:leash_knot</code>
| <code>minecraft:leash_knot</code>
|-
|-
| 77
| 78
| Lightning Bolt
| Lightning Bolt
| 0.0
| 0.0
Line 493: Line 499:
| <code>minecraft:lightning_bolt</code>
| <code>minecraft:lightning_bolt</code>
|-
|-
| 78
| 79
| Llama
| Llama
| 0.9
| 0.9
Line 499: Line 505:
| <code>minecraft:llama</code>
| <code>minecraft:llama</code>
|-
|-
| 79
| 80
| Llama Spit
| Llama Spit
| 0.25
| 0.25
Line 505: Line 511:
| <code>minecraft:llama_spit</code>
| <code>minecraft:llama_spit</code>
|-
|-
| 80
| 81
| Magma Cube
| Magma Cube
| 0.5202 * size
| 0.5202 * size
Line 511: Line 517:
| <code>minecraft:magma_cube</code>
| <code>minecraft:magma_cube</code>
|-
|-
| 81
| 82
| Mangrove Boat
| Mangrove Boat
| 1.375
| 1.375
Line 517: Line 523:
| <code>minecraft:mangrove_boat</code>
| <code>minecraft:mangrove_boat</code>
|-
|-
| 82
| 83
| Mangrove Boat with Chest
| Mangrove Boat with Chest
| 1.375
| 1.375
Line 523: Line 529:
| <code>minecraft:mangrove_chest_boat</code>
| <code>minecraft:mangrove_chest_boat</code>
|-
|-
| 83
| 84
| Mannequin
| Mannequin
| 0.6
| 0.6
Line 529: Line 535:
| <code>minecraft:mannequin</code>
| <code>minecraft:mannequin</code>
|- style="background: #ffaaaa;"
|- style="background: #ffaaaa;"
| 84
| 85
| Marker
| Marker
| 0.0
| 0.0
Line 535: Line 541:
| <code>minecraft:marker</code>
| <code>minecraft:marker</code>
|-
|-
| 85
| 86
| Minecart
| Minecart
| 0.98
| 0.98
Line 541: Line 547:
| <code>minecraft:minecart</code>
| <code>minecraft:minecart</code>
|-
|-
| 86
| 87
| Mooshroom
| Mooshroom
| 0.9
| 0.9
Line 547: Line 553:
| <code>minecraft:mooshroom</code>
| <code>minecraft:mooshroom</code>
|-
|-
| 87
| 88
| Mule
| Mule
| 1.3964844
| 1.3964844
Line 553: Line 559:
| <code>minecraft:mule</code>
| <code>minecraft:mule</code>
|-
|-
| 88
| 89
| Nautilus
| Nautilus
| 0.875
| 0.875
Line 559: Line 565:
| <code>minecraft:nautilus</code>
| <code>minecraft:nautilus</code>
|-
|-
| 89
| 90
| Oak Boat
| Oak Boat
| 1.375
| 1.375
Line 565: Line 571:
| <code>minecraft:oak_boat</code>
| <code>minecraft:oak_boat</code>
|-
|-
| 90
| 91
| Oak Boat with Chest
| Oak Boat with Chest
| 1.375
| 1.375
Line 571: Line 577:
| <code>minecraft:oak_chest_boat</code>
| <code>minecraft:oak_chest_boat</code>
|-
|-
| 91
| 92
| Ocelot
| Ocelot
| 0.6
| 0.6
Line 577: Line 583:
| <code>minecraft:ocelot</code>
| <code>minecraft:ocelot</code>
|-
|-
| 92
| 93
| Ominous Item Spawner
| Ominous Item Spawner
| 0.25
| 0.25
Line 583: Line 589:
| <code>minecraft:ominous_item_spawner</code>
| <code>minecraft:ominous_item_spawner</code>
|-
|-
| 93
| 94
| Painting
| Painting
| type width or 0.0625 (depth)
| type width or 0.0625 (depth)
Line 589: Line 595:
| <code>minecraft:painting</code>
| <code>minecraft:painting</code>
|-
|-
| 94
| 95
| Pale Oak Boat
| Pale Oak Boat
| 1.375
| 1.375
Line 595: Line 601:
| <code>minecraft:pale_oak_boat</code>
| <code>minecraft:pale_oak_boat</code>
|-
|-
| 95
| 96
| Pale Oak Boat with Chest
| Pale Oak Boat with Chest
| 1.375
| 1.375
Line 601: Line 607:
| <code>minecraft:pale_oak_chest_boat</code>
| <code>minecraft:pale_oak_chest_boat</code>
|-
|-
| 96
| 97
| Panda
| Panda
| 1.3
| 1.3
Line 607: Line 613:
| <code>minecraft:panda</code>
| <code>minecraft:panda</code>
|-
|-
| 97
| 98
| Parched
| Parched
| 0.6
| 0.6
Line 613: Line 619:
| <code>minecraft:parched</code>
| <code>minecraft:parched</code>
|-
|-
| 98
| 99
| Parrot
| Parrot
| 0.5
| 0.5
Line 619: Line 625:
| <code>minecraft:parrot</code>
| <code>minecraft:parrot</code>
|-
|-
| 99
| 100
| Phantom
| Phantom
| 0.9
| 0.9
Line 625: Line 631:
| <code>minecraft:phantom</code>
| <code>minecraft:phantom</code>
|-
|-
| 100
| 101
| Pig
| Pig
| 0.9
| 0.9
Line 631: Line 637:
| <code>minecraft:pig</code>
| <code>minecraft:pig</code>
|-
|-
| 101
| 102
| Piglin
| Piglin
| 0.6
| 0.6
Line 637: Line 643:
| <code>minecraft:piglin</code>
| <code>minecraft:piglin</code>
|-
|-
| 102
| 103
| Piglin Brute
| Piglin Brute
| 0.6
| 0.6
Line 643: Line 649:
| <code>minecraft:piglin_brute</code>
| <code>minecraft:piglin_brute</code>
|-
|-
| 103
| 104
| Pillager
| Pillager
| 0.6
| 0.6
Line 649: Line 655:
| <code>minecraft:pillager</code>
| <code>minecraft:pillager</code>
|-
|-
| 104
| 105
| Polar Bear
| Polar Bear
| 1.4
| 1.4
Line 655: Line 661:
| <code>minecraft:polar_bear</code>
| <code>minecraft:polar_bear</code>
|-
|-
| 105
| 106
| Poplar Boat
| 1.375
| 0.5625
| <code>minecraft:poplar_boat</code>
|-
| 107
| Poplar Boat with Chest
| 1.375
| 0.5625
| <code>minecraft:poplar_chest_boat</code>
|-
| 108
| Splash Potion
| Splash Potion
| 0.25
| 0.25
Line 661: Line 679:
| <code>minecraft:splash_potion</code>
| <code>minecraft:splash_potion</code>
|-
|-
| 106
| 109
| Lingering Potion
| Lingering Potion
| 0.25
| 0.25
Line 667: Line 685:
| <code>minecraft:lingering_potion</code>
| <code>minecraft:lingering_potion</code>
|-
|-
| 107
| 110
| Pufferfish
| Pufferfish
| 0.7
| 0.7
Line 673: Line 691:
| <code>minecraft:pufferfish</code>
| <code>minecraft:pufferfish</code>
|-
|-
| 108
| 111
| Rabbit
| Rabbit
| 0.4
| 0.4
Line 679: Line 697:
| <code>minecraft:rabbit</code>
| <code>minecraft:rabbit</code>
|-
|-
| 109
| 112
| Ravager
| Ravager
| 1.95
| 1.95
Line 685: Line 703:
| <code>minecraft:ravager</code>
| <code>minecraft:ravager</code>
|-
|-
| 110
| 113
| Salmon
| Salmon
| 0.7
| 0.7
Line 691: Line 709:
| <code>minecraft:salmon</code>
| <code>minecraft:salmon</code>
|-
|-
| 111
| 114
| Sheep
| Sheep
| 0.9
| 0.9
Line 697: Line 715:
| <code>minecraft:sheep</code>
| <code>minecraft:sheep</code>
|-
|-
| 112
| 115
| Shulker
| Shulker
| 1.0
| 1.0
Line 703: Line 721:
| <code>minecraft:shulker</code>
| <code>minecraft:shulker</code>
|-
|-
| 113
| 116
| Shulker Bullet
| Shulker Bullet
| 0.3125
| 0.3125
Line 709: Line 727:
| <code>minecraft:shulker_bullet</code>
| <code>minecraft:shulker_bullet</code>
|-
|-
| 114
| 117
| Silverfish
| Silverfish
| 0.4
| 0.4
Line 715: Line 733:
| <code>minecraft:silverfish</code>
| <code>minecraft:silverfish</code>
|-
|-
| 115
| 118
| Skeleton
| Skeleton
| 0.6
| 0.6
Line 721: Line 739:
| <code>minecraft:skeleton</code>
| <code>minecraft:skeleton</code>
|-
|-
| 116
| 119
| Skeleton Horse
| Skeleton Horse
| 1.3964844
| 1.3964844
Line 727: Line 745:
| <code>minecraft:skeleton_horse</code>
| <code>minecraft:skeleton_horse</code>
|-
|-
| 117
| 120
| Slime
| Slime
| 0.5202 * size
| 0.5202 * size
Line 733: Line 751:
| <code>minecraft:slime</code>
| <code>minecraft:slime</code>
|-
|-
| 118
| 121
| Small Fireball
| Small Fireball
| 0.3125
| 0.3125
Line 739: Line 757:
| <code>minecraft:small_fireball</code>
| <code>minecraft:small_fireball</code>
|-
|-
| 119
| 122
| Sniffer
| Sniffer
| 1.9
| 1.9
Line 745: Line 763:
| <code>minecraft:sniffer</code>
| <code>minecraft:sniffer</code>
|-
|-
| 120
| 123
| Snowball
| Snowball
| 0.25
| 0.25
Line 751: Line 769:
| <code>minecraft:snowball</code>
| <code>minecraft:snowball</code>
|-
|-
| 121
| 124
| Snow Golem
| Snow Golem
| 0.7
| 0.7
Line 757: Line 775:
| <code>minecraft:snow_golem</code>
| <code>minecraft:snow_golem</code>
|-
|-
| 122
| 125
| Minecart with Monster Spawner
| Minecart with Monster Spawner
| 0.98
| 0.98
Line 763: Line 781:
| <code>minecraft:spawner_minecart</code>
| <code>minecraft:spawner_minecart</code>
|-
|-
| 123
| 126
| Spectral Arrow
| Spectral Arrow
| 0.5
| 0.5
Line 769: Line 787:
| <code>minecraft:spectral_arrow</code>
| <code>minecraft:spectral_arrow</code>
|-
|-
| 124
| 127
| Spider
| Spider
| 1.4
| 1.4
Line 775: Line 793:
| <code>minecraft:spider</code>
| <code>minecraft:spider</code>
|-
|-
| 125
| 128
| Spruce Boat
| Spruce Boat
| 1.375
| 1.375
Line 781: Line 799:
| <code>minecraft:spruce_boat</code>
| <code>minecraft:spruce_boat</code>
|-
|-
| 126
| 129
| Spruce Boat with Chest
| Spruce Boat with Chest
| 1.375
| 1.375
Line 787: Line 805:
| <code>minecraft:spruce_chest_boat</code>
| <code>minecraft:spruce_chest_boat</code>
|-
|-
| 127
| 130
| Squid
| Squid
| 0.8
| 0.8
Line 793: Line 811:
| <code>minecraft:squid</code>
| <code>minecraft:squid</code>
|-
|-
| 128
| 131
| Stray
| Stray
| 0.6
| 0.6
Line 799: Line 817:
| <code>minecraft:stray</code>
| <code>minecraft:stray</code>
|-
|-
| 129
| 132
| Strider
| Strider
| 0.9
| 0.9
Line 805: Line 823:
| <code>minecraft:strider</code>
| <code>minecraft:strider</code>
|-
|-
| 130
| 133
| Sulfur Cube
| Sulfur Cube
| 0.49
| 0.49
Line 811: Line 829:
| <code>minecraft:sulfur_cube</code>
| <code>minecraft:sulfur_cube</code>
|-
|-
| 131
| 134
| Tadpole
| Tadpole
| 0.4
| 0.4
Line 817: Line 835:
| <code>minecraft:tadpole</code>
| <code>minecraft:tadpole</code>
|-
|-
| 132
| 135
| Text Display
| Text Display
| 0.0
| 0.0
Line 823: Line 841:
| <code>minecraft:text_display</code>
| <code>minecraft:text_display</code>
|-
|-
| 133
| 136
| Primed TNT
| Primed TNT
| 0.98
| 0.98
Line 829: Line 847:
| <code>minecraft:tnt</code>
| <code>minecraft:tnt</code>
|-
|-
| 134
| 137
| Minecart with TNT
| Minecart with TNT
| 0.98
| 0.98
Line 835: Line 853:
| <code>minecraft:tnt_minecart</code>
| <code>minecraft:tnt_minecart</code>
|-
|-
| 135
| 138
| Trader Llama
| Trader Llama
| 0.9
| 0.9
Line 841: Line 859:
| <code>minecraft:trader_llama</code>
| <code>minecraft:trader_llama</code>
|-
|-
| 136
| 139
| Trident
| Trident
| 0.5
| 0.5
Line 847: Line 865:
| <code>minecraft:trident</code>
| <code>minecraft:trident</code>
|-
|-
| 137
| 140
| Tropical Fish
| Tropical Fish
| 0.5
| 0.5
Line 853: Line 871:
| <code>minecraft:tropical_fish</code>
| <code>minecraft:tropical_fish</code>
|-
|-
| 138
| 141
| Turtle
| Turtle
| 1.2
| 1.2
Line 859: Line 877:
| <code>minecraft:turtle</code>
| <code>minecraft:turtle</code>
|-
|-
| 139
| 142
| Vex
| Vex
| 0.4
| 0.4
Line 865: Line 883:
| <code>minecraft:vex</code>
| <code>minecraft:vex</code>
|-
|-
| 140
| 143
| Villager
| Villager
| 0.6
| 0.6
Line 871: Line 889:
| <code>minecraft:villager</code>
| <code>minecraft:villager</code>
|-
|-
| 141
| 144
| Vindicator
| Vindicator
| 0.6
| 0.6
Line 877: Line 895:
| <code>minecraft:vindicator</code>
| <code>minecraft:vindicator</code>
|-
|-
| 142
| 145
| Wandering Trader
| Wandering Trader
| 0.6
| 0.6
Line 883: Line 901:
| <code>minecraft:wandering_trader</code>
| <code>minecraft:wandering_trader</code>
|-
|-
| 143
| 146
| Warden
| Warden
| 0.9
| 0.9
Line 889: Line 907:
| <code>minecraft:warden</code>
| <code>minecraft:warden</code>
|-
|-
| 144
| 147
| Wind Charge
| Wind Charge
| 0.3125
| 0.3125
Line 895: Line 913:
| <code>minecraft:wind_charge</code>
| <code>minecraft:wind_charge</code>
|-
|-
| 145
| 148
| Witch
| Witch
| 0.6
| 0.6
Line 901: Line 919:
| <code>minecraft:witch</code>
| <code>minecraft:witch</code>
|-
|-
| 146
| 149
| Wither
| Wither
| 0.9
| 0.9
Line 907: Line 925:
| <code>minecraft:wither</code>
| <code>minecraft:wither</code>
|-
|-
| 147
| 150
| Wither Skeleton
| Wither Skeleton
| 0.7
| 0.7
Line 913: Line 931:
| <code>minecraft:wither_skeleton</code>
| <code>minecraft:wither_skeleton</code>
|-
|-
| 148
| 151
| Wither Skull
| Wither Skull
| 0.3125
| 0.3125
Line 919: Line 937:
| <code>minecraft:wither_skull</code>
| <code>minecraft:wither_skull</code>
|-
|-
| 149
| 152
| Wolf
| Wolf
| 0.6
| 0.6
Line 925: Line 943:
| <code>minecraft:wolf</code>
| <code>minecraft:wolf</code>
|-
|-
| 150
| 153
| Zoglin
| Zoglin
| 1.3964844
| 1.3964844
Line 931: Line 949:
| <code>minecraft:zoglin</code>
| <code>minecraft:zoglin</code>
|-
|-
| 151
| 154
| Zombie
| Zombie
| 0.6
| 0.6
Line 937: Line 955:
| <code>minecraft:zombie</code>
| <code>minecraft:zombie</code>
|-
|-
| 152
| 155
| Zombie Horse
| Zombie Horse
| 1.3964844
| 1.3964844
Line 943: Line 961:
| <code>minecraft:zombie_horse</code>
| <code>minecraft:zombie_horse</code>
|-
|-
| 153
| 156
| Zombie Nautilus
| Zombie Nautilus
| 0.875
| 0.875
Line 949: Line 967:
| <code>minecraft:zombie_nautilus</code>
| <code>minecraft:zombie_nautilus</code>
|-
|-
| 154
| 157
| Zombie Villager
| Zombie Villager
| 0.6
| 0.6
Line 955: Line 973:
| <code>minecraft:zombie_villager</code>
| <code>minecraft:zombie_villager</code>
|-
|-
| 155
| 158
| Zombified Piglin
| Zombified Piglin
| 0.6
| 0.6
Line 961: Line 979:
| <code>minecraft:zombified_piglin</code>
| <code>minecraft:zombified_piglin</code>
|-
|-
| 156
| 159
| Player
| Player
| 0.6
| 0.6
Line 967: Line 985:
| <code>minecraft:player</code>
| <code>minecraft:player</code>
|-
|-
| 157
| 160
| Fishing Bobber
| Fishing Bobber
| 0.25
| 0.25
Line 1,130: Line 1,148:
  | {{Type|Varint}} {{Type|Enum}}
  | {{Type|Varint}} {{Type|Enum}}
  | LEFT = 0, RIGHT = 1
  | LEFT = 0, RIGHT = 1
{{Metadata type definition|Dye Color}}
| {{Type|Varint}}
| WHITE = 0, ORANGE = 1, MAGENTA = 2, LIGHT_BLUE = 3, YELLOW = 4, LIME = 5, PINK = 6, GRAY = 7, LIGHT_GRAY = 8, CYAN = 9, PURPLE = 10, BLUE = 11, BROWN = 12, GREEN = 13, RED = 14, BLACK = 15
  |}
  |}


Line 1,242: Line 1,263:
  | Title
  | Title
  | {{Type|Prefixed Optional}} {{Type|Text Component}}
  | {{Type|Prefixed Optional}} {{Type|Text Component}}
  | The displayed title of the painting. Only present if Has title is true.
  | The displayed title of the painting.
  |-
  |-
  | Author
  | Author
  | {{Type|Prefixed Optional}} {{Type|Text Component}}
  | {{Type|Prefixed Optional}} {{Type|Text Component}}
  | The displayed author of the painting. Only present if Has author is true.
  | The displayed author of the painting.
   |}
   |}


Line 1,362: Line 1,383:


No additional metadata.
No additional metadata.
=== Cushion ===
{{Metadata inherit|Cushion|inherits=Entity}}
{| class="wikitable"
! Index
! Type
!style="width: 250px;" colspan="2"| Meaning
! Default
|-
| {{Metadata id|}}
| {{Metadata type|Dye Color}}
|colspan="2"| Color
| WHITE
|}


=== Dragon Fireball ===
=== Dragon Fireball ===
Line 2,621: Line 2,658:
  | {{Metadata type|VarLong}}
  | {{Metadata type|VarLong}}
  |colspan="2"| Anger time in ticks
  |colspan="2"| Anger time in ticks
  | 0 (Not angry)
  | -1 (Not angry)
|}
|}


Line 3,295: Line 3,332:
  | {{Metadata type|VarLong}}
  | {{Metadata type|VarLong}}
  |colspan="2"| Anger time
  |colspan="2"| Anger time
  | 0
  | -1
  |-
  |-
  | {{Metadata id|}}
  | {{Metadata id|}}
Line 4,236: Line 4,273:


{{Metadata inherit|Pale Oak Boat with Chest|inherits=Boat}}
{{Metadata inherit|Pale Oak Boat with Chest|inherits=Boat}}
No additional metadata.
=== Poplar Boat ===
{{Metadata inherit|Poplar Boat|inherits=Boat}}
No additional metadata.
=== Poplar Boat with Chest ===
{{Metadata inherit|Poplar Boat with Chest|inherits=Boat}}


No additional metadata.
No additional metadata.

Latest revision as of 11:12, 25 September 2026

Various Entities have different metadata fields and status codes.

These are the valid codes for Minecraft Java Edition 26.3; for upcoming snapshots, see Minecraft:Java Edition protocol/Development version#Entity Metadata.

This page is maintained semi-automatically using a work-in-progress script made by mat, so it should update fairly quickly to new Minecraft versions. Regardless, it's not recommended that you parse it programmatically. Instead, consider using Bixilon's PixLyzer or Burger (or mat's Burger fork, which the script for updating this page depends on).

Entities

Template:Warning

Most entities are spawned via Spawn Entity, however, care should be taken for the following cases:

Entities marked in __ blue must be spawned in their own special ways:

Entities marked in __ red must not be spawned at all, as they're server-side only:

  • Marker, more info can be found here.
Type Name bounding box width bounding box height ID
0 Acacia Boat 1.375 0.5625 minecraft:acacia_boat
1 Acacia Boat with Chest 1.375 0.5625 minecraft:acacia_chest_boat
2 Allay 0.35 0.6 minecraft:allay
3 Area Effect Cloud 2.0 * Radius 0.5 minecraft:area_effect_cloud
4 Armadillo 0.7 0.65 minecraft:armadillo
5 Armor Stand normal: 0.5 marker: 0.0 small: 0.25 normal: 1.975 marker: 0.0 small: 0.9875 minecraft:armor_stand
6 Arrow 0.5 0.5 minecraft:arrow
7 Axolotl 0.75 0.42 minecraft:axolotl
8 Bamboo Raft with Chest 1.375 0.5625 minecraft:bamboo_chest_raft
9 Bamboo Raft 1.375 0.5625 minecraft:bamboo_raft
10 Bat 0.5 0.9 minecraft:bat
11 Bee 0.7 0.6 minecraft:bee
12 Birch Boat 1.375 0.5625 minecraft:birch_boat
13 Birch Boat with Chest 1.375 0.5625 minecraft:birch_chest_boat
14 Blaze 0.6 1.8 minecraft:blaze
15 Block Display 0.0 0.0 minecraft:block_display
16 Bogged 0.6 1.99 minecraft:bogged
17 Breeze 0.6 1.77 minecraft:breeze
18 Wind Charge 0.3125 0.3125 minecraft:breeze_wind_charge
19 Camel 1.7 2.375 minecraft:camel
20 Camel Husk 1.7 2.375 minecraft:camel_husk
21 Cat 0.6 0.7 minecraft:cat
22 Cave Spider 0.7 0.5 minecraft:cave_spider
23 Cherry Boat 1.375 0.5625 minecraft:cherry_boat
24 Cherry Boat with Chest 1.375 0.5625 minecraft:cherry_chest_boat
25 Minecart with Chest 0.98 0.7 minecraft:chest_minecart
26 Chicken 0.4 0.7 minecraft:chicken
27 Cod 0.5 0.3 minecraft:cod
28 Copper Golem 0.49 0.98 minecraft:copper_golem
29 Minecart with Command Block 0.98 0.7 minecraft:command_block_minecart
30 Cow 0.9 1.4 minecraft:cow
31 Creaking 0.9 2.7 minecraft:creaking
32 Creeper 0.6 1.7 minecraft:creeper
33 Cushion 1.0 0.25 minecraft:cushion
34 Dark Oak Boat 1.375 0.5625 minecraft:dark_oak_boat
35 Dark Oak Boat with Chest 1.375 0.5625 minecraft:dark_oak_chest_boat
36 Dolphin 0.9 0.6 minecraft:dolphin
37 Donkey 1.3964844 1.5 minecraft:donkey
38 Dragon Fireball 1.0 1.0 minecraft:dragon_fireball
39 Drowned 0.6 1.95 minecraft:drowned
40 Thrown Egg 0.25 0.25 minecraft:egg
41 Elder Guardian 1.9975 (2.35 * guardian) 1.9975 (2.35 * guardian) minecraft:elder_guardian
42 Enderman 0.6 2.9 minecraft:enderman
43 Endermite 0.4 0.3 minecraft:endermite
44 Ender Dragon 16.0 8.0 minecraft:ender_dragon
45 Thrown Ender Pearl 0.25 0.25 minecraft:ender_pearl
46 End Crystal 2.0 2.0 minecraft:end_crystal
47 Evoker 0.6 1.95 minecraft:evoker
48 Evoker Fangs 0.5 0.8 minecraft:evoker_fangs
49 Thrown Bottle o' Enchanting 0.25 0.25 minecraft:experience_bottle
50 Experience Orb 0.5 0.5 minecraft:experience_orb
51 Eye of Ender 0.25 0.25 minecraft:eye_of_ender
52 Falling Block 0.98 0.98 minecraft:falling_block
53 Fireball 1.0 1.0 minecraft:fireball
54 Firework Rocket 0.25 0.25 minecraft:firework_rocket
55 Fox 0.6 0.7 minecraft:fox
56 Frog 0.5 0.5 minecraft:frog
57 Minecart with Furnace 0.98 0.7 minecraft:furnace_minecart
58 Ghast 4.0 4.0 minecraft:ghast
59 Happy Ghast 4.0 4.0 minecraft:happy_ghast
60 Giant 3.6 12.0 minecraft:giant
61 Glow Item Frame 0.75 or 0.0625 (depth) 0.75 minecraft:glow_item_frame
62 Glow Squid 0.8 0.8 minecraft:glow_squid
63 Goat 1.3 0.9 minecraft:goat
64 Guardian 0.85 0.85 minecraft:guardian
65 Hoglin 1.3964844 1.4 minecraft:hoglin
66 Minecart with Hopper 0.98 0.7 minecraft:hopper_minecart
67 Horse 1.3964844 1.6 minecraft:horse
68 Husk 0.6 1.95 minecraft:husk
69 Illusioner 0.6 1.95 minecraft:illusioner
70 Interaction 0.0 0.0 minecraft:interaction
71 Iron Golem 1.4 2.7 minecraft:iron_golem
72 Item 0.25 0.25 minecraft:item
73 Item Display 0.0 0.0 minecraft:item_display
74 Item Frame 0.75 or 0.0625 (depth) 0.75 minecraft:item_frame
75 Jungle Boat 1.375 0.5625 minecraft:jungle_boat
76 Jungle Boat with Chest 1.375 0.5625 minecraft:jungle_chest_boat
77 Leash Knot 0.375 0.5 minecraft:leash_knot
78 Lightning Bolt 0.0 0.0 minecraft:lightning_bolt
79 Llama 0.9 1.87 minecraft:llama
80 Llama Spit 0.25 0.25 minecraft:llama_spit
81 Magma Cube 0.5202 * size 0.5202 * size minecraft:magma_cube
82 Mangrove Boat 1.375 0.5625 minecraft:mangrove_boat
83 Mangrove Boat with Chest 1.375 0.5625 minecraft:mangrove_chest_boat
84 Mannequin 0.6 1.8 minecraft:mannequin
85 Marker 0.0 0.0 minecraft:marker
86 Minecart 0.98 0.7 minecraft:minecart
87 Mooshroom 0.9 1.4 minecraft:mooshroom
88 Mule 1.3964844 1.6 minecraft:mule
89 Nautilus 0.875 0.95 minecraft:nautilus
90 Oak Boat 1.375 0.5625 minecraft:oak_boat
91 Oak Boat with Chest 1.375 0.5625 minecraft:oak_chest_boat
92 Ocelot 0.6 0.7 minecraft:ocelot
93 Ominous Item Spawner 0.25 0.25 minecraft:ominous_item_spawner
94 Painting type width or 0.0625 (depth) type height minecraft:painting
95 Pale Oak Boat 1.375 0.5625 minecraft:pale_oak_boat
96 Pale Oak Boat with Chest 1.375 0.5625 minecraft:pale_oak_chest_boat
97 Panda 1.3 1.25 minecraft:panda
98 Parched 0.6 1.99 minecraft:parched
99 Parrot 0.5 0.9 minecraft:parrot
100 Phantom 0.9 0.5 minecraft:phantom
101 Pig 0.9 0.9 minecraft:pig
102 Piglin 0.6 1.95 minecraft:piglin
103 Piglin Brute 0.6 1.95 minecraft:piglin_brute
104 Pillager 0.6 1.95 minecraft:pillager
105 Polar Bear 1.4 1.4 minecraft:polar_bear
106 Poplar Boat 1.375 0.5625 minecraft:poplar_boat
107 Poplar Boat with Chest 1.375 0.5625 minecraft:poplar_chest_boat
108 Splash Potion 0.25 0.25 minecraft:splash_potion
109 Lingering Potion 0.25 0.25 minecraft:lingering_potion
110 Pufferfish 0.7 0.7 minecraft:pufferfish
111 Rabbit 0.4 0.5 minecraft:rabbit
112 Ravager 1.95 2.2 minecraft:ravager
113 Salmon 0.7 0.4 minecraft:salmon
114 Sheep 0.9 1.3 minecraft:sheep
115 Shulker 1.0 1.0-2.0 (depending on peek) minecraft:shulker
116 Shulker Bullet 0.3125 0.3125 minecraft:shulker_bullet
117 Silverfish 0.4 0.3 minecraft:silverfish
118 Skeleton 0.6 1.99 minecraft:skeleton
119 Skeleton Horse 1.3964844 1.6 minecraft:skeleton_horse
120 Slime 0.5202 * size 0.5202 * size minecraft:slime
121 Small Fireball 0.3125 0.3125 minecraft:small_fireball
122 Sniffer 1.9 1.75 minecraft:sniffer
123 Snowball 0.25 0.25 minecraft:snowball
124 Snow Golem 0.7 1.9 minecraft:snow_golem
125 Minecart with Monster Spawner 0.98 0.7 minecraft:spawner_minecart
126 Spectral Arrow 0.5 0.5 minecraft:spectral_arrow
127 Spider 1.4 0.9 minecraft:spider
128 Spruce Boat 1.375 0.5625 minecraft:spruce_boat
129 Spruce Boat with Chest 1.375 0.5625 minecraft:spruce_chest_boat
130 Squid 0.8 0.8 minecraft:squid
131 Stray 0.6 1.99 minecraft:stray
132 Strider 0.9 1.7 minecraft:strider
133 Sulfur Cube 0.49 0.49 minecraft:sulfur_cube
134 Tadpole 0.4 0.3 minecraft:tadpole
135 Text Display 0.0 0.0 minecraft:text_display
136 Primed TNT 0.98 0.98 minecraft:tnt
137 Minecart with TNT 0.98 0.7 minecraft:tnt_minecart
138 Trader Llama 0.9 1.87 minecraft:trader_llama
139 Trident 0.5 0.5 minecraft:trident
140 Tropical Fish 0.5 0.4 minecraft:tropical_fish
141 Turtle 1.2 0.4 minecraft:turtle
142 Vex 0.4 0.8 minecraft:vex
143 Villager 0.6 1.95 minecraft:villager
144 Vindicator 0.6 1.95 minecraft:vindicator
145 Wandering Trader 0.6 1.95 minecraft:wandering_trader
146 Warden 0.9 2.9 minecraft:warden
147 Wind Charge 0.3125 0.3125 minecraft:wind_charge
148 Witch 0.6 1.95 minecraft:witch
149 Wither 0.9 3.5 minecraft:wither
150 Wither Skeleton 0.7 2.4 minecraft:wither_skeleton
151 Wither Skull 0.3125 0.3125 minecraft:wither_skull
152 Wolf 0.6 0.85 minecraft:wolf
153 Zoglin 1.3964844 1.4 minecraft:zoglin
154 Zombie 0.6 1.95 minecraft:zombie
155 Zombie Horse 1.3964844 1.6 minecraft:zombie_horse
156 Zombie Nautilus 0.875 0.95 minecraft:zombie_nautilus
157 Zombie Villager 0.6 1.95 minecraft:zombie_villager
158 Zombified Piglin 0.6 1.95 minecraft:zombified_piglin
159 Player 0.6 1.8 minecraft:player
160 Fishing Bobber 0.25 0.25 minecraft:fishing_bobber

Entity Metadata Format

Note that entity metadata is a totally distinct concept from block metadata. It is not required to send all metadata fields, or even any metadata fields, so long as the terminating entry is correctly sent.

Entity Metadata is an array of entries, each of which looks like the following:

Name Type Meaning
Index Template:Type Unique index key determining the meaning of the following value, see the table below. If this is 0xff then the it is the end of the Entity Metadata array and no more is read.
Type Template:Type Template:Type Only if Index is not 0xff; the type of the index, see the table below
Value Varies Only if Index is not 0xff: the value of the metadata field, see the table below

Template:Metadata type definition/begin

! Value
! Notes

Template:Metadata type definition

| Template:Type
|

Template:Metadata type definition

| Template:Type
|

Template:Metadata type definition

| Template:Type
|

Template:Metadata type definition

| Template:Type
|

Template:Metadata type definition

| Template:Type (32767)
|

Template:Metadata type definition

| Template:Type
|

Template:Metadata type definition

| (Template:Type, Template:Type Template:Type)
| Text Component is present if the Boolean is set to true.

Template:Metadata type definition

| Template:Type
|

Template:Metadata type definition

| Template:Type
|

Template:Metadata type definition

| (Template:Type, Template:Type, Template:Type)
| rotation on x, rotation on y, rotation on z

Template:Metadata type definition

| Template:Type
|

Template:Metadata type definition

| (Template:Type, Template:Type Template:Type)
| Position is present if the Boolean is set to true.

Template:Metadata type definition

| Template:Type Template:Type
| Down = 0, Up = 1, North = 2, South = 3, West = 4, East = 5

Template:Metadata type definition

| (Template:Type, Template:Type Template:Type)
| UUID is present if the Boolean is set to true.

Template:Metadata type definition

| Template:Type
| An ID in the block state registry.

Template:Metadata type definition

| Template:Type
| 0 for absent (air is unrepresentable); otherwise, an ID in the block state registry.

Template:Metadata type definition

| (Template:Type, Varies)
| particle type (an ID in the minecraft:particle_type registry), particle data (See Particles.)

Template:Metadata type definition

| (Template:Type, Template:Type of (Template:Type, Varies))
| length-prefixed list of particle defintions (as above).

Template:Metadata type definition

| (Template:Type, Template:Type, Template:Type)
| villager type, villager profession, level (See below.)

Template:Metadata type definition

| Template:Type
| 0 for absent; 1 + actual value otherwise. Used for entity IDs.

Template:Metadata type definition

| Template:Type Template:Type
| STANDING = 0, FALL_FLYING = 1, SLEEPING = 2, SWIMMING = 3, SPIN_ATTACK = 4, SNEAKING = 5, LONG_JUMPING = 6, DYING = 7, CROAKING = 8, USING_TONGUE = 9, SITTING = 10, ROARING = 11, SNIFFING = 12, EMERGING = 13, DIGGING = 14, SLIDING = 15, SHOOTING = 16, INHALING = 17

Template:Metadata type definition

| Template:Type
| An ID in the minecraft:cat_variant registry.

Template:Metadata type definition

| Template:Type
| An ID in the minecraft:cat_sound_variant registry.

Template:Metadata type definition

| Template:Type
| An ID in the minecraft:cow_variant registry.

Template:Metadata type definition

| Template:Type
| An ID in the minecraft:cow_sound_variant registry.

Template:Metadata type definition

| Template:Type
| An ID in the minecraft:wolf_variant registry.

Template:Metadata type definition

| Template:Type
| An ID in the minecraft:wolf_sound_variant registry.

Template:Metadata type definition

| Template:Type
| An ID in the minecraft:frog_variant registry.

Template:Metadata type definition

| Template:Type
| An ID in the minecraft:pig_variant registry.

Template:Metadata type definition

| Template:Type
| An ID in the minecraft:pig_sound_variant registry.

Template:Metadata type definition

| Template:Type
| An ID in the minecraft:chicken_variant registry.

Template:Metadata type definition

| Template:Type
| An ID in the minecraft:chicken_sound_variant registry.

Template:Metadata type definition

| Template:Type
| An ID in the minecraft:zombie_nautilus_variant registry.

Template:Metadata type definition

| (Template:Type, Template:Type Template:Type, Template:Type Template:Type)
| dimension identifier, position; only if the Boolean is set to true.

Template:Metadata type definition

| Template:Type Painting Variant
| An ID in the minecraft:painting_variant registry, or an inline definition.

Template:Metadata type definition

| Template:Type Template:Type
| IDLING = 0, FEELING_HAPPY = 1, SCENTING = 2, SNIFFING = 3, SEARCHING = 4, DIGGING = 5, RISING = 6

Template:Metadata type definition

| Template:Type Template:Type
| IDLE = 0, ROLLING = 1, SCARED = 2, UNROLLING = 3

Template:Metadata type definition

| Template:Type Template:Type
| IDLE = 0, GETTING_ITEM = 1, GETTING_NO_ITEM = 2, DROPPING_ITEM = 3, DROPPING_NO_ITEM = 4

Template:Metadata type definition

| Template:Type Template:Type
| UNAFFECTED = 0, EXPOSED = 1, WEATHERED = 2, OXIDIZED = 3

Template:Metadata type definition

| (Template:Type, Template:Type, Template:Type)
| x, y, z

Template:Metadata type definition

| (Template:Type, Template:Type, Template:Type, Template:Type)
| x, y, z, w

Template:Metadata type definition

| Template:Type
|

Template:Metadata type definition

| Template:Type Template:Type
| LEFT = 0, RIGHT = 1

Template:Metadata type definition

| Template:Type
| WHITE = 0, ORANGE = 1, MAGENTA = 2, LIGHT_BLUE = 3, YELLOW = 4, LIME = 5, PINK = 6, GRAY = 7, LIGHT_GRAY = 8, CYAN = 9, PURPLE = 10, BLUE = 11, BROWN = 12, GREEN = 13, RED = 14, BLACK = 15
|}

Villager types (minecraft:villager_type registry):

Name ID
minecraft:desert 0
minecraft:jungle 1
minecraft:plains 2
minecraft:savanna 3
minecraft:snow 4
minecraft:swamp 5
minecraft:taiga 6

Villager professions (minecraft:villager_profession registry):

Name ID
minecraft:none 0
minecraft:armorer 1
minecraft:butcher 2
minecraft:cartographer 3
minecraft:cleric 4
minecraft:farmer 5
minecraft:fisherman 6
minecraft:fletcher 7
minecraft:leatherworker 8
minecraft:librarian 9
minecraft:mason 10
minecraft:nitwit 11
minecraft:shepherd 12
minecraft:toolsmith 13
minecraft:weaponsmith 14

Wolf Variant

Template:See also

Name Type Meaning
Wild texture Template:Type The texture for the wild version of this wolf.

The Notchian client uses the corresponding asset located at textures.

Tame texture Template:Type The texture for the tamed version of this wolf.

The Notchian client uses the corresponding asset located at textures.

Angry texture Template:Type The texture for the angry version of this wolf.

The Notchian client uses the corresponding asset located at textures.

Biomes Template:Type Biomes in which this wolf can spawn in (IDs in the minecraft:biome registry).

Painting Variant

Template:See also

Name Type Meaning
Width Template:Type The width of the painting, in blocks.
Height Template:Type The height of the painting, in blocks.
Asset ID Template:Type The texture for the painting.

The Notchian client uses the corresponding asset located at textures/painting.

Title Template:Type Template:Type The displayed title of the painting.
Author Template:Type Template:Type The displayed author of the painting.

Entity Metadata

Entity

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Bit mask Meaning 0
0x01 Is on fire
0x02 Is pressing sneak key (hides the name tag, but does not make the entity visually sneak.)
0x04 Unused (previously riding)
0x08 Is sprinting (shows sprinting particles when on ground.)
0x10 Is swimming
0x20 Is invisible
0x40 has glowing effect
0x80 Is flying with an Minecraft:elytra
Template:Metadata id Template:Metadata type Air ticks 300
Template:Metadata id Template:Metadata type Custom name empty
Template:Metadata id Template:Metadata type Is custom name visible false
Template:Metadata id Template:Metadata type Is silent false
Template:Metadata id Template:Metadata type Has no gravity false
Template:Metadata id Template:Metadata type Pose STANDING
Template:Metadata id Template:Metadata type Ticks frozen in powder snow 0

On the Notchan server Is pressing sneak key reflects the sneak key state indicated by the client rather than the entity's pose, and can thus be set while swimming, flying or crawling, or unset while stuck sneaking under a block.

Freezing ticks cap at 140 in the client for the player's snow overlay when stuck in powder snow. If the entity extends LivingEntity and freezing ticks reaches the cap, the mob will start shaking (this excludes the skeleton, which has its own indicator).

Area Effect Cloud

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Radius 3.0
Template:Metadata id Template:Metadata type Ignore radius and show effect as single point, not area false
Template:Metadata id Template:Metadata type The particle -1

Wind Charge

Template:Metadata inherit

No additional metadata.

Cushion

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Color WHITE

Dragon Fireball

Template:Metadata inherit

No additional metadata.

End Crystal

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Beam target Empty
Template:Metadata id Template:Metadata type Show bottom true

Evoker Fangs

Template:Metadata inherit

No additional metadata.

Experience Orb

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type The amount of experience this orb will reward once collected. 0

Eye of Ender

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Item Empty (which behaves as if it were a minecraft:ender_eye)

Falling Block

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type spawn position (0, 0, 0)

Fireball

Template:Metadata inherit

This is the large fireball shot by ghasts.

Index Type Meaning Default
Template:Metadata id Template:Metadata type Item Empty

Firework Rocket

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Firework info Empty
Template:Metadata id Template:Metadata type Entity ID of entity which used firework (for elytra boosting) Empty
Template:Metadata id Template:Metadata type Is shot at angle (from a crossbow) false

Interaction

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Width 1.0
Template:Metadata id Template:Metadata type Height 1.0
Template:Metadata id Template:Metadata type Responsive - can be attacked/interacted with if true false

Item

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Item Empty

Item Frame

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Direction SOUTH
Template:Metadata id Template:Metadata type Item Empty
Template:Metadata id Template:Metadata type Rotation 0

Glow Item Frame

Template:Metadata inherit

No additional metadata.

Leash Knot

Template:Metadata inherit

No additional metadata.

Lightning Bolt

Template:Metadata inherit

No additional metadata.

Llama Spit

Template:Metadata inherit

No additional metadata.

Marker

Template:Metadata inherit

No additional metadata.

Ominous Item Spawner

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Item Empty

Painting

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type SOUTH
Template:Metadata id Template:Metadata type Painting Type KEBAB

Shulker Bullet

Template:Metadata inherit

No additional metadata.

Small Fireball

Template:Metadata inherit

This is the fireball shot by blazes and dispensers with fire charges.

Index Type Meaning Default
Template:Metadata id Template:Metadata type Item Empty (which behaves as if it were a minecraft:fire_charge)

Primed TNT

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Fuse time. Automatically decreases by 1 each client tick. On the tick on which it is decremented to 0, the entity is deleted by the client, and further attempts to set this value will be ignored. 80
Template:Metadata id Template:Metadata type The block state ID that is exploding TNT

Wind Charge

Template:Metadata inherit

No additional metadata.

Wither Skull

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Is invulnerable false

Fishing Bobber

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Hooked entity id + 1, or 0 if there is no hooked entity 0
Template:Metadata id Template:Metadata type Is catchable False

Abstract Arrow

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Bit mask Meaning 0
0x01 Is critical
0x02 Is noclip (used by loyalty tridents when returning)
Template:Metadata id Template:Metadata type Piercing level 0
Template:Metadata id Template:Metadata type Is in ground false

Arrow

Template:Metadata inherit

Used for both tipped and regular arrows. If not tipped, then color is set to -1 and no tipped arrow particles are used.

Index Type Meaning Default
Template:Metadata id Template:Metadata type Color (-1 for no particles) -1

Spectral Arrow

Template:Metadata inherit

No additional metadata.

Trident

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Loyalty level (enchantment) 0
Template:Metadata id Template:Metadata type Has enchantment glint False

Display

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Interpolation delay 0
Template:Metadata id Template:Metadata type Transformation interpolation duration 0
Template:Metadata id Template:Metadata type Position/Rotation interpolation duration 0
Template:Metadata id Template:Metadata type Translation (0.0, 0.0, 0.0)
Template:Metadata id Template:Metadata type Scale (1.0, 1.0, 1.0)
Template:Metadata id Template:Metadata type Rotation left (0.0, 0.0, 0.0, 1.0)
Template:Metadata id Template:Metadata type Rotation right (0.0, 0.0, 0.0, 1.0)
Template:Metadata id Template:Metadata type Billboard Constraints (FIXED = 0, VERTICAL = 1, HORIZONTAL = 2, CENTER = 3) 0
Template:Metadata id Template:Metadata type Brightness override (blockLight << 4 | skyLight << 20) -1
Template:Metadata id Template:Metadata type View range 1.0
Template:Metadata id Template:Metadata type Shadow radius 0.0
Template:Metadata id Template:Metadata type Shadow strength 1.0
Template:Metadata id Template:Metadata type Width 0.0
Template:Metadata id Template:Metadata type Height 0.0
Template:Metadata id Template:Metadata type Glow color override -1

Block Display

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Displayed block state 0 (Air)

Item Display

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Displayed item Empty
Template:Metadata id Template:Metadata type Display type:
  • NONE = 0
  • THIRD_PERSON_LEFT_HAND = 1
  • THIRD_PERSON_RIGHT_HAND = 2
  • FIRST_PERSON_LEFT_HAND = 3
  • FIRST_PERSON_RIGHT_HAND = 4
  • HEAD = 5
  • GUI = 6
  • GROUND = 7
  • FIXED = 8
0 (NONE)

Text Display

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Text Empty
Template:Metadata id Template:Metadata type Line width 200
Template:Metadata id Template:Metadata type Background color 1073741824 (0x40000000)
Template:Metadata id Template:Metadata type Text opacity -1 (fully opaque)
Template:Metadata id Template:Metadata type Bit mask Meaning 0
0x01 Has shadow
0x02 Is see through
0x04 Use default background color
0x08 Alignment:
  • CENTER = 0
  • LEFT = 1 or 3
  • RIGHT = 2

Living Entity

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Hand states, used to trigger blocking/eating/drinking animation. 0
Bit mask Meaning
0x01 Is hand active
0x02 Active hand (main hand = 0, offhand = 1)
0x04 Is in riptide spin attack
Template:Metadata id Template:Metadata type Health 1.0
Template:Metadata id Template:Metadata type Potion effect color (or 0 if there is no effect) 0
Template:Metadata id Template:Metadata type Is potion effect ambient: reduces the number of particles generated by potions to 1/5 the normal amount false
Template:Metadata id Template:Metadata type Number of arrows in entity 0
Template:Metadata id Template:Metadata type Number of bee stingers in entity 0
Template:Metadata id Template:Metadata type Location of the bed that the entity is currently sleeping in (Empty if it isn't sleeping) Empty

Armor Stand

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Bit mask Meaning 0
0x01 Is Small
0x02 Unused
0x04 Has Arms
0x08 Has no BasePlate
0x10 Is Marker
Template:Metadata id Template:Metadata type Head rotation (0.0, 0.0, 0.0)
Template:Metadata id Template:Metadata type Body rotation (0.0, 0.0, 0.0)
Template:Metadata id Template:Metadata type Left arm rotation (-10.0, 0.0, -10.0)
Template:Metadata id Template:Metadata type Right arm rotation (-15.0, 0.0, 10.0)
Template:Metadata id Template:Metadata type Left leg rotation (-1.0, 0.0, -1.0)
Template:Metadata id Template:Metadata type Right leg rotation (1.0, 0.0, 1.0)

Note that armor stands with the invisible flag from the base entity class set also cannot be attacked or damaged, except for by the void.

Avatar

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Main hand (0: left, 1: right) right (1)
Template:Metadata id Template:Metadata type The Displayed Skin Parts bit mask that is sent in Client Information 0
Bit mask Meaning
0x01 Cape enabled
0x02 Jacket enabled
0x04 Left sleeve enabled
0x08 Right sleeve enabled
0x10 Left pants leg enabled
0x20 Right pants leg enabled
0x40 Hat enabled
0x80 Unused

Mannequin

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type The player's skin and display name Partial profile with all fields empty
Template:Metadata id Template:Metadata type Immovable false
Template:Metadata id Template:Metadata type The description text below the player's username, usually "NPC" Empty

Player

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Additional Hearts 0.0
Template:Metadata id Template:Metadata type Score 0
Template:Metadata id Template:Metadata type Left shoulder entity data (for occupying parrot) Empty
Template:Metadata id Template:Metadata type Right shoulder entity data (for occupying parrot) Empty

Mob

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Bit mask Meaning 0
0x01 NoAI
0x02 Is left handed
0x04 Is aggressive

Bat

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Bit mask Meaning 0
0x01 Is hanging

Ender Dragon

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Dragon phase 10 (hover)

Phases (according to the wiki page on dragon data values) are:

  • 0: circling
  • 1: strafing (preparing to shoot a fireball)
  • 2: flying to the portal to land (part of transition to landed state)
  • 3: landing on the portal (part of transition to landed state)
  • 4: taking off from the portal (part of transition out of landed state)
  • 5: landed, performing breath attack
  • 6: landed, looking for a player for breath attack
  • 7: landed, roar before beginning breath attack
  • 8: charging player
  • 9: flying to portal to die
  • 10: hovering with no AI (default when using the /summon command).

Ghast

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Is attacking false

Phantom

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Size 0

Hitbox size is determined by horizontal=0.9 + 0.2*size and vertical=0.5 + 0.1 * i

Creature

Template:Metadata inherit

No additional metadata.

Allay

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Is dancing false
Template:Metadata id Template:Metadata type Can duplicate true

Copper Golem

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Weathering state UNAFFECTED
Template:Metadata id Template:Metadata type Copper golem state IDLE

Iron Golem

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Bit mask Meaning 0
0x01 Is player-created

Pufferfish

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type From bucket false
Template:Metadata id Template:Metadata type Puff state (0: small, 1: mid, 2: full) 0

Shulker

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Attach face Down (0)
Template:Metadata id Template:Metadata type Shield height 0
Template:Metadata id Template:Metadata type Color (dye color) 16

Snow Golem

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Bit mask Meaning 0x10
0x01 Unused
0x02 Unused
0x04 Unused
0x08 Unused
0x10 Has pumpkin hat

Tadpole

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Is from bucket false
Template:Metadata id Template:Metadata type Age locked false

Ageable Mob

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Is baby false
Template:Metadata id Template:Metadata type Age locked false

Dolphin

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Has fish false
Template:Metadata id Template:Metadata type Moisture level 2400

Squid

Template:Metadata inherit

No additional metadata.

Glow Squid

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Dark ticks remaining 0

Animal

Template:Metadata inherit

No additional metadata.

Armadillo

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Armadillo state IDLE

Axolotl

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Variant (lucy = 0, wild = 1, gold = 2, cyan = 3, blue = 4) 0 (lucy)
Template:Metadata id Template:Metadata type If it is currently playing dead. false
Template:Metadata id Template:Metadata type If it was spawned from a bucket. false

Bee

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Bit mask Meaning 0
0x01 Unused
0x02 Is angry
0x04 Has stung
0x08 Has nectar
Template:Metadata id Template:Metadata type Anger time in ticks -1 (Not angry)

Chicken

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Variant TEMPERATE
Template:Metadata id Template:Metadata type Sound variant CLASSIC

Cow

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Variant TEMPERATE
Template:Metadata id Template:Metadata type Sound variant CLASSIC

Fox

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Type (0: red, 1: snow) 0 (red)
Template:Metadata id Template:Metadata type Bit mask Meaning 0
0x01 Is sitting
0x02 Unused
0x04 Is crouching
0x08 Is interested
0x10 Is pouncing
0x20 Is sleeping
0x40 Is faceplanted
0x80 Is defending
Template:Metadata id Template:Metadata type First UUID (in UUIDs NBT)? Absent
Template:Metadata id Template:Metadata type Second UUID (in UUIDs NBT)? Absent

Frog

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Frog Variant TEMPERATE
Template:Metadata id Template:Metadata type Tongue Target 0

Happy Ghast

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Is leash holder false
Template:Metadata id Template:Metadata type Stays still false

Goat

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Is Screaming Goat false
Template:Metadata id Template:Metadata type Has Left Horn true
Template:Metadata id Template:Metadata type Has Right Horn true

Hoglin

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Is immune to zombification false

Mooshroom

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Variant ("red" or "brown") red

Ocelot

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Is trusting false

Panda

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Breed timer? Set to 32 when something happens, and then counts down to 0 again. At 29 and 14 (before counting down), will play the entity.panda.cant_breed sound event. 0
Template:Metadata id Template:Metadata type Sneeze timer. Counts up from 0; when it hits 1 the entity.panda.pre_sneeze event plays and when it hits 21 the entity.panda.sneeze event plays (and it is set back to 0 and the sneeze flag is cleared). 0
Template:Metadata id Template:Metadata type Eat timer. If nonzero, counts upwards. 0
Template:Metadata id Template:Metadata type Main Gene 0
Template:Metadata id Template:Metadata type Hidden Gene 0
Template:Metadata id Template:Metadata type Bit mask Meaning 0
0x01 Unused
0x02 Is sneezing
0x04 Is rolling
0x08 Is sitting
0x10 Is on back

Pig

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Total time to "boost" with a carrot on a stick for 0
Template:Metadata id Template:Metadata type Variant TEMPERATE
Template:Metadata id Template:Metadata type Sound variant CLASSIC

Whenever a carrot on a stick is used, if the pig is not currently boosting it will start to boost for 140 to 980 (inclusive) ticks. When boost time is changed, a counter is reset which counts up to the boost time, after which boosting will stop. The value remains set at its modified value even after boosting is stopped.

Polar Bear

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Is standing up false

Rabbit

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Type 0

Sheep

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Bit mask Meaning 0
0x0F Color ID
0x10 Is sheared

Sniffer

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Sniffer State IDLING
Template:Metadata id Template:Metadata type Drop seed at tick 0

Strider

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Total time to "boost" with warped fungus on a stick for 0
Template:Metadata id Template:Metadata type Is shaking (true unless riding a vehicle or on or in a block tagged with strider_warm_blocks (default: lava)) false

Turtle

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Has egg false
Template:Metadata id Template:Metadata type Laying egg false

Abstract Horse

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Bit mask Meaning 0
0x01 Unused
0x02 Is tame
0x04 Unused (previously is saddled)
0x08 Has bred
0x10 Is eating
0x20 Is rearing (on hind legs)
0x40 Is mouth open

Camel

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Is dashing False
Template:Metadata id Template:Metadata type Last pose change tick 0

Camel Husk

Template:Metadata inherit

No additional metadata.

Horse

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Variant (Color & Style) 0

Skeleton Horse

Template:Metadata inherit

No additional metadata.

Zombie Horse

Template:Metadata inherit

No additional metadata.

Chested Horse

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Has Chest false

Donkey

Template:Metadata inherit

No additional metadata.

Llama

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Strength (number of columns of 3 slots in the llama's inventory once a chest is equipped) 0
Template:Metadata id Template:Metadata type Variant (0: llama_creamy.png, 1: llama_white.png, 2: llama_brown.png, 3: llama_gray.png) 0

Trader Llama

Template:Metadata inherit

No additional metadata.

Mule

Template:Metadata inherit

No additional metadata.

Tameable Animal

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Bit mask Meaning 0
0x01 Is sitting
0x02 Unused
0x04 Is tamed
Template:Metadata id Template:Metadata type Owner Absent

Cat

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Cat Variant BLACK
Template:Metadata id Template:Metadata type Is lying false
Template:Metadata id Template:Metadata type Is relaxed? (This makes their head go slightly upwards, unknown when used) false
Template:Metadata id Template:Metadata type Collar color (values are those used with dyes) 14 (Red)
Template:Metadata id Template:Metadata type Sound variant CLASSIC

Parrot

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Variant (0: red/blue, 1: blue, 2: green, 3: yellow/blue, 4: grey) 0

Wolf

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Is begging false
Template:Metadata id Template:Metadata type Collar color (values are those used with dyes) 14 (Red)
Template:Metadata id Template:Metadata type Anger time -1
Template:Metadata id Template:Metadata type Variant PALE
Template:Metadata id Template:Metadata type Sound variant CLASSIC

Abstract Nautilus

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Is dashing false

Nautilus

Template:Metadata inherit

No additional metadata.

Zombie Nautilus

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Variant ID TEMPERATE

Abstract Cube Mob

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Size 1

Magma Cube

Template:Metadata inherit

No additional metadata.

Slime

Template:Metadata inherit

No additional metadata.

Sulfur Cube

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Max fuse -1
Template:Metadata id Template:Metadata type From bucket false

Abstract Villager

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Head shake timer (starts at 40, decrements each tick) 0

Villager

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Villager Data Plains/None/1
Template:Metadata id Template:Metadata type Villager data finalized false

Wandering Trader

Template:Metadata inherit

No additional metadata.

Abstract Fish

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type From bucket False

Cod

Template:Metadata inherit

No additional metadata.

Salmon

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Type (SMALL = 0, MEDIUM = 1, LARGE = 2) 1

Tropical Fish

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Variant 0

Monster

Template:Metadata inherit

No additional metadata.

Blaze

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Bit mask Meaning 0
0x01 Is on fire

Bogged

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Is sheared false

Breeze

Template:Metadata inherit

No additional metadata.

Creaking

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Can move true
Template:Metadata id Template:Metadata type Is active false
Template:Metadata id Template:Metadata type Is tearing down false
Template:Metadata id Template:Metadata type Home position Empty

Creeper

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type State (idle = -1, fuse = 1) -1
Template:Metadata id Template:Metadata type Is charged false
Template:Metadata id Template:Metadata type Is ignited false

Enderman

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Carried block Absent
Template:Metadata id Template:Metadata type Is screaming false
Template:Metadata id Template:Metadata type Is staring false

Endermite

Template:Metadata inherit

No additional metadata.

Giant

Template:Metadata inherit

No additional metadata.

Guardian

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Is retracting spikes false
Template:Metadata id Template:Metadata type Target EID 0

Elder Guardian

Template:Metadata inherit

No additional metadata.

Parched

Template:Metadata inherit

No additional metadata.

Silverfish

Template:Metadata inherit

No additional metadata.

Skeleton

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Is being converted into a Stray false

Spider

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Bit mask Meaning 0
0x01 Is climbing

Cave Spider

Template:Metadata inherit

No additional metadata.

Stray

Template:Metadata inherit

No additional metadata.

Vex

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Bit mask Meaning 0
0x01 Is attacking

Warden

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Anger Level 0

Wither

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Center head's target (entity ID, or 0 if no target) 0
Template:Metadata id Template:Metadata type Left head's target (entity ID, or 0 if no target) 0
Template:Metadata id Template:Metadata type Right head's target (entity ID, or 0 if no target) 0
Template:Metadata id Template:Metadata type Invulnerable time 0

Wither Skeleton

Template:Metadata inherit

No additional metadata.

Zoglin

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Is baby false

Zombie

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Is baby false
Template:Metadata id Template:Metadata type Unused (previously type) 0
Template:Metadata id Template:Metadata type Is becoming a drowned false

Drowned

Template:Metadata inherit

No additional metadata.

Husk

Template:Metadata inherit

No additional metadata.

Zombie Villager

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Is converting false
Template:Metadata id Template:Metadata type Villager Data Plains/None/1
Template:Metadata id Template:Metadata type Villager data finalized false

Zombified Piglin

Template:Metadata inherit

No additional metadata.

Base Piglin

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Is immune to zombification false

Piglin

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Is baby false
Template:Metadata id Template:Metadata type Is charging crossbow false
Template:Metadata id Template:Metadata type Is dancing false

Piglin Brute

Template:Metadata inherit

No additional metadata.

Raider

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Is celebrating false

"Is celebrating" appears to control the pose for vindicators and does not appear to be used by other types.

Pillager

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Is charging false

Ravager

Template:Metadata inherit

No additional metadata.

Vindicator

Template:Metadata inherit

No additional metadata.

Witch

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Is drinking potion false

Spellcaster Illager

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Spell (0: none, 1: summon vex, 2: attack, 3: wololo, 4: disappear, 5: blindness) 0

Evoker

Template:Metadata inherit

No additional metadata.

Illusioner

Template:Metadata inherit

No additional metadata.

Thrown Item Projectile

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Item Empty (which behaves as the default)

Thrown Egg

Template:Metadata inherit

Default item is minecraft:egg.

No additional metadata.

Thrown Ender Pearl

Template:Metadata inherit

Default item is minecraft:ender_pearl.

No additional metadata.

Thrown Bottle o' Enchanting

Template:Metadata inherit

Default item is minecraft:experience_bottle.

No additional metadata.

Splash Potion

Template:Metadata inherit

No additional metadata.

Lingering Potion

Template:Metadata inherit

No additional metadata.

Snowball

Template:Metadata inherit

Default item is minecraft:snowball.

No additional metadata.

Abstract Vehicle

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Shaking power 0
Template:Metadata id Template:Metadata type Shaking direction 1
Template:Metadata id Template:Metadata type Shaking multiplier 0.0

Boat

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Is left paddle turning false
Template:Metadata id Template:Metadata type Is right paddle turning false
Template:Metadata id Template:Metadata type Splash timer 0

Acacia Boat

Template:Metadata inherit

No additional metadata.

Acacia Boat with Chest

Template:Metadata inherit

No additional metadata.

Bamboo Raft with Chest

Template:Metadata inherit

No additional metadata.

Bamboo Raft

Template:Metadata inherit

No additional metadata.

Birch Boat

Template:Metadata inherit

No additional metadata.

Birch Boat with Chest

Template:Metadata inherit

No additional metadata.

Cherry Boat

Template:Metadata inherit

No additional metadata.

Cherry Boat with Chest

Template:Metadata inherit

No additional metadata.

Dark Oak Boat

Template:Metadata inherit

No additional metadata.

Dark Oak Boat with Chest

Template:Metadata inherit

No additional metadata.

Jungle Boat

Template:Metadata inherit

No additional metadata.

Jungle Boat with Chest

Template:Metadata inherit

No additional metadata.

Mangrove Boat

Template:Metadata inherit

No additional metadata.

Mangrove Boat with Chest

Template:Metadata inherit

No additional metadata.

Oak Boat

Template:Metadata inherit

No additional metadata.

Oak Boat with Chest

Template:Metadata inherit

No additional metadata.

Pale Oak Boat

Template:Metadata inherit

No additional metadata.

Pale Oak Boat with Chest

Template:Metadata inherit

No additional metadata.

Poplar Boat

Template:Metadata inherit

No additional metadata.

Poplar Boat with Chest

Template:Metadata inherit

No additional metadata.

Spruce Boat

Template:Metadata inherit

No additional metadata.

Spruce Boat with Chest

Template:Metadata inherit

No additional metadata.

Abstract Minecart

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Custom block state 0
Template:Metadata id Template:Metadata type Custom block Y position (in 16ths of a block) 6

If custom block state is unset, then each type of Minecart will render its own type of block with its own properties. Note that one does not need to send these values for the metadata fields, as the client will automatically select them if they are not overridden by the metadata field. They are only provided for reference to help with swapping out other blocks.

  • Rideable Minecarts contain air (minecraft:air) and have a y position of 6
  • Chest Minecarts contain chests facing north (minecraft:chest[facing=north]) and have a y position of 8
  • Furnace Minecarts contain a normal furnace facing north when unpowered (minecraft:furnace[facing=north]) and a lit furnace facing north when powered (minecraft:furnace[facing=north, lit=true]) and have a y position of 6 in both cases
  • Hopper Minecarts contain a hopper (minecraft:hopper) and have a y position of 1
  • TNT Minecarts contain TNT (minecraft:tnt) and have a y position of 6
  • Command block minecarts contain a Command Block (minecraft:command_block) and have a y position of 6
  • Spawner Minecarts contain a spawner (minecraft:spawner) and have a y position of 6

Minecart with Chest

Template:Metadata inherit

No additional metadata.

Minecart with Command Block

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Command
Template:Metadata id Template:Metadata type Last output {"text":""}

Minecart with Furnace

Template:Metadata inherit

Index Type Meaning Default
Template:Metadata id Template:Metadata type Has fuel false

Minecart with Hopper

Template:Metadata inherit

No additional metadata.

Minecart

Template:Metadata inherit

No additional metadata.

Minecart with Monster Spawner

Template:Metadata inherit

No additional metadata.

Minecart with TNT

Template:Metadata inherit

No additional metadata. Template:License wiki.vg

Contents