Skip to content

These docs were made completely by AI, so they might be right, or wrong, you'll need to test them yourself. This was made for a easier understanding of everything. So use at your own risk. If anything is wrong, please don't hurt to make a PR on the page you have a problem with. ON GITHUB

Entity Type Registry

Entity types are registered in EntityIO::staticCtor() in Minecraft.World/EntityIO.cpp. Each call to EntityIO::setId() maps a factory function, an internal enum value (eINSTANCEOF), a string identifier, and a numeric ID.

Entities that can be spawned in Creative mode through the Spawn Egg also include egg colors and a name string ID.

IDString IDEnumClassCategory
1ItemeTYPE_ITEMENTITYItemEntityItem
2XPOrbeTYPE_EXPERIENCEORBExperienceOrbItem
9PaintingeTYPE_PAINTINGPaintingHanging
10ArroweTYPE_ARROWArrowProjectile
11SnowballeTYPE_SNOWBALLSnowballProjectile
12FireballeTYPE_FIREBALLFireballProjectile
13SmallFireballeTYPE_SMALL_FIREBALLSmallFireballProjectile
14ThrownEnderpearleTYPE_THROWNENDERPEARLThrownEnderpearlProjectile
15EyeOfEnderSignaleTYPE_EYEOFENDERSIGNALEyeOfEnderSignalProjectile
16ThrownPotioneTYPE_THROWNPOTIONThrownPotionProjectile
17ThrownExpBottleeTYPE_THROWNEXPBOTTLEThrownExpBottleProjectile
18ItemFrameeTYPE_ITEM_FRAMEItemFrameHanging
20PrimedTnteTYPE_PRIMEDTNTPrimedTntBlock
21FallingSandeTYPE_FALLINGTILEFallingTileBlock
40MinecarteTYPE_MINECARTMinecartVehicle
41BoateTYPE_BOATBoatVehicle
48MobeTYPE_MOBMobMob (base)
49MonstereTYPE_MONSTERMonsterMob (base)
50CreepereTYPE_CREEPERCreeperHostile Mob
51SkeletoneTYPE_SKELETONSkeletonHostile Mob
52SpidereTYPE_SPIDERSpiderHostile Mob
53GianteTYPE_GIANTGiantHostile Mob
54ZombieeTYPE_ZOMBIEZombieHostile Mob
55SlimeeTYPE_SLIMESlimeHostile Mob
56GhasteTYPE_GHASTGhastHostile Mob
57PigZombieeTYPE_PIGZOMBIEPigZombieHostile Mob
58EndermaneTYPE_ENDERMANEnderManHostile Mob
59CaveSpidereTYPE_CAVESPIDERCaveSpiderHostile Mob
60SilverfisheTYPE_SILVERFISHSilverfishHostile Mob
61BlazeeTYPE_BLAZEBlazeHostile Mob
62LavaSlimeeTYPE_LAVASLIMELavaSlimeHostile Mob
63EnderDragoneTYPE_ENDERDRAGONEnderDragonBoss
90PigeTYPE_PIGPigPassive Mob
91SheepeTYPE_SHEEPSheepPassive Mob
92CoweTYPE_COWCowPassive Mob
93ChickeneTYPE_CHICKENChickenPassive Mob
94SquideTYPE_SQUIDSquidPassive Mob
95WolfeTYPE_WOLFWolfPassive Mob
96MushroomCoweTYPE_MUSHROOMCOWMushroomCowPassive Mob
97SnowManeTYPE_SNOWMANSnowManUtility Mob
98OzeloteTYPE_OZELOTOzelotPassive Mob
99VillagerGolemeTYPE_VILLAGERGOLEMVillagerGolemUtility Mob
120VillagereTYPE_VILLAGERVillagerPassive Mob
200EnderCrystaleTYPE_ENDER_CRYSTALEnderCrystalBlock
1000DragonFireballeTYPE_DRAGON_FIREBALLDragonFireballProjectile

The MinecraftConsoles repo adds these entities not present in the LCEMP source:

IDString IDEnumClassCategory
8LeashKnoteTYPE_LEASHFENCEKNOTLeashFenceKnotEntityMisc
12FireballeTYPE_FIREBALLLargeFireballProjectile
19WitherSkulleTYPE_WITHER_SKULLWitherSkullProjectile
22FireworksRocketEntityeTYPE_FIREWORKS_ROCKETFireworksRocketEntityMisc
42MinecartRideableeTYPE_MINECART_RIDEABLEMinecartRideableVehicle
43MinecartChesteTYPE_MINECART_CHESTMinecartChestVehicle
44MinecartFurnaceeTYPE_MINECART_FURNACEMinecartFurnaceVehicle
45MinecartTNTeTYPE_MINECART_TNTMinecartTNTVehicle
46MinecartHoppereTYPE_MINECART_HOPPERMinecartHopperVehicle
47MinecartSpawnereTYPE_MINECART_SPAWNERMinecartSpawnerVehicle
64WitherBosseTYPE_WITHERBOSSWitherBossBoss
65BateTYPE_BATBatPassive Mob
66WitcheTYPE_WITCHWitchHostile Mob
100EntityHorseeTYPE_HORSEEntityHorsePassive Mob

These entities can be spawned with the Spawn Egg item (ID 383) using the entity ID as the data value. They’re the entities registered with the SpawnableMobInfo overload of setId():

Entity IDName
50Creeper
51Skeleton
52Spider
54Zombie
55Slime
56Ghast
57PigZombie
58Enderman
59CaveSpider
60Silverfish
61Blaze
62LavaSlime
90Pig
91Sheep
92Cow
93Chicken
94Squid
95Wolf
96MushroomCow
98Ozelot
120Villager
Entity IDName
63EnderDragon (has egg colors in MinecraftConsoles but not LCEMP)
65Bat
66Witch
100EntityHorse (Horse)
100 + subDonkey, Mule (sub-type encoded in upper bits)

The entity ID space follows Minecraft’s standard conventions:

RangeCategory
1-2Dropped items and XP orbs
8Leash knot (MinecraftConsoles only)
9-19Paintings, projectiles, item frames, wither skulls
20-22Physics blocks (TNT, falling sand), fireworks rockets
41-47Vehicles (boat, minecart variants)
48-66Hostile mobs, bosses (and base mob types)
90-100Passive and utility mobs, horses
120Villager
200Ender Crystal
1000Dragon Fireball
  • LCEMP entity registration in: Minecraft.World/EntityIO.cpp, EntityIO::staticCtor() (line 42)
  • MinecraftConsoles entity registration in: Minecraft.World/EntityIO.cpp, EntityIO::staticCtor() (line 44)
  • Entity enum declarations: eINSTANCEOF enum (referenced throughout entity headers)