mirror of
https://github.com/GeyserMC/MCProtocolLib.git
synced 2024-12-04 21:01:02 -05:00
Add missing entity IDs to MobType.
This commit is contained in:
parent
6513ff5a91
commit
a9d83ee61b
2 changed files with 73 additions and 1 deletions
|
@ -332,9 +332,12 @@ public class MagicValues {
|
|||
|
||||
register(GlobalEntityType.LIGHTNING_BOLT, 1);
|
||||
|
||||
register(MobType.AREA_EFFECT_CLOUD, 0);
|
||||
register(MobType.ARMOR_STAND, 1);
|
||||
register(MobType.ARROW, 2);
|
||||
register(MobType.BAT, 3);
|
||||
register(MobType.BLAZE, 4);
|
||||
register(MobType.BOAT, 5);
|
||||
register(MobType.CAVE_SPIDER, 6);
|
||||
register(MobType.CHICKEN, 7);
|
||||
register(MobType.COD, 8);
|
||||
|
@ -342,42 +345,70 @@ public class MagicValues {
|
|||
register(MobType.CREEPER, 10);
|
||||
register(MobType.DONKEY, 11);
|
||||
register(MobType.DOLPHIN, 12);
|
||||
register(MobType.DRAGON_FIREBALL, 13);
|
||||
register(MobType.DROWNED, 14);
|
||||
register(MobType.ELDER_GUARDIAN, 15);
|
||||
register(MobType.ENDER_CRYSTAL, 16);
|
||||
register(MobType.ENDER_DRAGON, 17);
|
||||
register(MobType.ENDERMAN, 18);
|
||||
register(MobType.ENDERMITE, 19);
|
||||
register(MobType.EVOCATION_ILLAGER, 21);
|
||||
register(MobType.XP_ORB, 22);
|
||||
register(MobType.EYE_OF_ENDER_SIGNAL, 23);
|
||||
register(MobType.FALLING_SAND, 24);
|
||||
register(MobType.FIREWORKS_ROCKET_ENTITY, 25);
|
||||
register(MobType.GHAST, 26);
|
||||
register(MobType.GIANT_ZOMBIE, 27);
|
||||
register(MobType.GUARDIAN, 28);
|
||||
register(MobType.HORSE, 29);
|
||||
register(MobType.HUSK, 30);
|
||||
register(MobType.ILLUSION_ILLAGER, 31);
|
||||
register(MobType.ITEM, 32);
|
||||
register(MobType.ITEM_FRAME, 33);
|
||||
register(MobType.GHAST_FIREBALL, 34);
|
||||
register(MobType.LEASH_KNOT, 35);
|
||||
register(MobType.LLAMA, 36);
|
||||
register(MobType.LLAMA_SPIT, 37);
|
||||
register(MobType.MAGMA_CUBE, 38);
|
||||
register(MobType.MINECART_RIDEABLE, 39);
|
||||
register(MobType.MINECART_CHEST, 40);
|
||||
register(MobType.MINECART_COMMAND_BLOCK, 41);
|
||||
register(MobType.MINECART_FURNACE, 42);
|
||||
register(MobType.MINECART_HOPPER, 43);
|
||||
register(MobType.MINECART_SPAWNER, 44);
|
||||
register(MobType.MINECART_TNT, 45);
|
||||
register(MobType.MULE, 46);
|
||||
register(MobType.MOOSHROOM, 47);
|
||||
register(MobType.OCELOT, 48);
|
||||
register(MobType.PAINTING, 49);
|
||||
register(MobType.PARROT, 50);
|
||||
register(MobType.PIG, 51);
|
||||
register(MobType.PUFFERFISH, 52);
|
||||
register(MobType.ZOMBIE_PIGMAN, 53);
|
||||
register(MobType.POLAR_BEAR, 54);
|
||||
register(MobType.PRIMED_TNT, 55);
|
||||
register(MobType.RABBIT, 56);
|
||||
register(MobType.SALMON, 57);
|
||||
register(MobType.SHEEP, 58);
|
||||
register(MobType.SHULKER, 59);
|
||||
register(MobType.SHULKER_BULLET, 60);
|
||||
register(MobType.SILVERFISH, 61);
|
||||
register(MobType.SKELETON, 62);
|
||||
register(MobType.SKELETON_HORSE, 63);
|
||||
register(MobType.SLIME, 64);
|
||||
register(MobType.BLAZE_FIREBALL, 65);
|
||||
register(MobType.SNOWMAN, 66);
|
||||
register(MobType.SNOWBALL, 67);
|
||||
register(MobType.SPECTRAL_ARROW, 68);
|
||||
register(MobType.SPIDER, 69);
|
||||
register(MobType.SQUID, 70);
|
||||
register(MobType.STRAY, 71);
|
||||
register(MobType.TROPICAL_FISH, 72);
|
||||
register(MobType.TURTLE, 73);
|
||||
register(MobType.THROWN_EGG, 74);
|
||||
register(MobType.THROWN_ENDERPEARL, 75);
|
||||
register(MobType.THROWN_EXP_BOTTLE, 76);
|
||||
register(MobType.THROWN_POTION, 77);
|
||||
register(MobType.VEX, 78);
|
||||
register(MobType.VILLAGER, 79);
|
||||
register(MobType.IRON_GOLEM, 80);
|
||||
|
@ -385,11 +416,16 @@ public class MagicValues {
|
|||
register(MobType.WITCH, 82);
|
||||
register(MobType.WITHER, 83);
|
||||
register(MobType.WITHER_SKELETON, 84);
|
||||
register(MobType.WITHER_SKULL, 85);
|
||||
register(MobType.WOLF, 86);
|
||||
register(MobType.ZOMBIE, 87);
|
||||
register(MobType.ZOMBIE_HORSE, 88);
|
||||
register(MobType.ZOMBIE_VILLAGER, 89);
|
||||
register(MobType.PHANTOM, 90);
|
||||
register(MobType.LIGHTNING_BOLT, 91);
|
||||
register(MobType.PLAYER, 92);
|
||||
register(MobType.FISHING_BOBBER, 93);
|
||||
register(MobType.TRIDENT, 94);
|
||||
|
||||
register(ObjectType.BOAT, 1);
|
||||
register(ObjectType.ITEM, 2);
|
||||
|
|
|
@ -1,9 +1,12 @@
|
|||
package com.github.steveice10.mc.protocol.data.game.entity.type;
|
||||
|
||||
public enum MobType {
|
||||
AREA_EFFECT_CLOUD,
|
||||
ARMOR_STAND,
|
||||
ARROW,
|
||||
BAT,
|
||||
BLAZE,
|
||||
BOAT,
|
||||
CAVE_SPIDER,
|
||||
CHICKEN,
|
||||
COD,
|
||||
|
@ -11,42 +14,70 @@ public enum MobType {
|
|||
CREEPER,
|
||||
DONKEY,
|
||||
DOLPHIN,
|
||||
DRAGON_FIREBALL,
|
||||
DROWNED,
|
||||
ELDER_GUARDIAN,
|
||||
ENDER_CRYSTAL,
|
||||
ENDER_DRAGON,
|
||||
ENDERMAN,
|
||||
ENDERMITE,
|
||||
EVOCATION_ILLAGER,
|
||||
XP_ORB,
|
||||
EYE_OF_ENDER_SIGNAL,
|
||||
FALLING_SAND,
|
||||
FIREWORKS_ROCKET_ENTITY,
|
||||
GHAST,
|
||||
GIANT_ZOMBIE,
|
||||
GUARDIAN,
|
||||
HORSE,
|
||||
HUSK,
|
||||
ILLUSION_ILLAGER,
|
||||
ITEM,
|
||||
ITEM_FRAME,
|
||||
GHAST_FIREBALL,
|
||||
LEASH_KNOT,
|
||||
LLAMA,
|
||||
LLAMA_SPIT,
|
||||
MAGMA_CUBE,
|
||||
MINECART_RIDEABLE,
|
||||
MINECART_CHEST,
|
||||
MINECART_COMMAND_BLOCK,
|
||||
MINECART_FURNACE,
|
||||
MINECART_HOPPER,
|
||||
MINECART_SPAWNER,
|
||||
MINECART_TNT,
|
||||
MULE,
|
||||
MOOSHROOM,
|
||||
OCELOT,
|
||||
PAINTING,
|
||||
PARROT,
|
||||
PIG,
|
||||
PUFFERFISH,
|
||||
ZOMBIE_PIGMAN,
|
||||
POLAR_BEAR,
|
||||
PRIMED_TNT,
|
||||
RABBIT,
|
||||
SALMON,
|
||||
SHEEP,
|
||||
SHULKER,
|
||||
SHULKER_BULLET,
|
||||
SILVERFISH,
|
||||
SKELETON,
|
||||
SKELETON_HORSE,
|
||||
SLIME,
|
||||
BLAZE_FIREBALL,
|
||||
SNOWMAN,
|
||||
SNOWBALL,
|
||||
SPECTRAL_ARROW,
|
||||
SPIDER,
|
||||
SQUID,
|
||||
STRAY,
|
||||
TROPICAL_FISH,
|
||||
TURTLE,
|
||||
THROWN_EGG,
|
||||
THROWN_ENDERPEARL,
|
||||
THROWN_EXP_BOTTLE,
|
||||
THROWN_POTION,
|
||||
VEX,
|
||||
VILLAGER,
|
||||
IRON_GOLEM,
|
||||
|
@ -54,9 +85,14 @@ public enum MobType {
|
|||
WITCH,
|
||||
WITHER,
|
||||
WITHER_SKELETON,
|
||||
WITHER_SKULL,
|
||||
WOLF,
|
||||
ZOMBIE,
|
||||
ZOMBIE_HORSE,
|
||||
ZOMBIE_VILLAGER,
|
||||
PHANTOM;
|
||||
PHANTOM,
|
||||
LIGHTNING_BOLT,
|
||||
PLAYER,
|
||||
FISHING_BOBBER,
|
||||
TRIDENT;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue