mirror of
https://github.com/GeyserMC/MCProtocolLib.git
synced 2024-12-04 21:01:02 -05:00
Add ObjectTypes to MobTypes
This commit is contained in:
parent
36e5eafd28
commit
ceddf6728a
2 changed files with 53 additions and 2 deletions
|
@ -345,8 +345,12 @@ public class MagicValues {
|
|||
|
||||
register(GlobalEntityType.LIGHTNING_BOLT, 99);
|
||||
|
||||
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.CAT, 6);
|
||||
register(MobType.CAVE_SPIDER, 7);
|
||||
register(MobType.CHICKEN, 8);
|
||||
|
@ -355,12 +359,19 @@ public class MagicValues {
|
|||
register(MobType.CREEPER, 11);
|
||||
register(MobType.DONKEY, 12);
|
||||
register(MobType.DOLPHIN, 13);
|
||||
register(MobType.DRAGON_FIREBALL, 14);
|
||||
register(MobType.DROWNED, 15);
|
||||
register(MobType.ELDER_GUARDIAN, 16);
|
||||
register(MobType.END_CRYSTAL, 17);
|
||||
register(MobType.ENDER_DRAGON, 18);
|
||||
register(MobType.ENDERMAN, 19);
|
||||
register(MobType.ENDERMITE, 20);
|
||||
register(MobType.EVOKER_FANGS, 21);
|
||||
register(MobType.EVOKER, 22);
|
||||
register(MobType.EXPERIENCE_ORB, 23);
|
||||
register(MobType.EYE_OF_ENDER, 24);
|
||||
register(MobType.FALLING_BLOCK, 25);
|
||||
register(MobType.FIREWORK_ROCKET, 26);
|
||||
register(MobType.FOX, 27);
|
||||
register(MobType.GHAST, 28);
|
||||
register(MobType.GIANT, 29);
|
||||
|
@ -368,8 +379,20 @@ public class MagicValues {
|
|||
register(MobType.HORSE, 31);
|
||||
register(MobType.HUSK, 32);
|
||||
register(MobType.ILLUSIONER, 33);
|
||||
register(MobType.ITEM, 34);
|
||||
register(MobType.ITEM_FRAME, 35);
|
||||
register(MobType.FIREBALL, 36);
|
||||
register(MobType.LEASH_KNOT, 37);
|
||||
register(MobType.LLAMA, 38);
|
||||
register(MobType.LLAMA_SPIT, 39);
|
||||
register(MobType.MAGMA_CUBE, 40);
|
||||
register(MobType.MINECART, 41);
|
||||
register(MobType.MINECART_CHEST, 42);
|
||||
register(MobType.MINECART_COMMAND_BLOCK, 43);
|
||||
register(MobType.MINECART_FURNACE, 44);
|
||||
register(MobType.MINECART_HOPPER, 45);
|
||||
register(MobType.MINECART_SPAWNER, 46);
|
||||
register(MobType.MINECART_TNT, 47);
|
||||
register(MobType.MULE, 48);
|
||||
register(MobType.MOOSHROOM, 49);
|
||||
register(MobType.OCELOT, 50);
|
||||
|
@ -379,21 +402,31 @@ public class MagicValues {
|
|||
register(MobType.PUFFERFISH, 55);
|
||||
register(MobType.ZOMBIE_PIGMAN, 56);
|
||||
register(MobType.POLAR_BEAR, 57);
|
||||
register(MobType.PRIMED_TNT, 58);
|
||||
register(MobType.RABBIT, 59);
|
||||
register(MobType.SALMON, 60);
|
||||
register(MobType.SHEEP, 61);
|
||||
register(MobType.SHULKER, 62);
|
||||
register(MobType.SHULKER_BULLET, 63);
|
||||
register(MobType.SILVERFISH, 64);
|
||||
register(MobType.SKELETON, 65);
|
||||
register(MobType.SKELETON_HORSE, 66);
|
||||
register(MobType.SLIME, 67);
|
||||
register(MobType.SMALL_FIREBALL, 68);
|
||||
register(MobType.SNOW_GOLEM, 69);
|
||||
register(MobType.SNOWBALL, 70);
|
||||
register(MobType.SPECTRAL_ARROW, 71);
|
||||
register(MobType.SPIDER, 72);
|
||||
register(MobType.SQUID, 73);
|
||||
register(MobType.STRAY, 74);
|
||||
register(MobType.TRADER_LLAMA, 75);
|
||||
register(MobType.TROPICAL_FISH, 76);
|
||||
register(MobType.TURTLE, 77);
|
||||
register(MobType.THROWN_EGG, 78);
|
||||
register(MobType.THROWN_ENDERPEARL, 79);
|
||||
register(MobType.THROWN_EXP_BOTTLE, 80);
|
||||
register(MobType.THROWN_POTION, 81);
|
||||
register(MobType.TRIDENT, 82);
|
||||
register(MobType.VEX, 83);
|
||||
register(MobType.VILLAGER, 84);
|
||||
register(MobType.IRON_GOLEM, 85);
|
||||
|
@ -403,6 +436,7 @@ public class MagicValues {
|
|||
register(MobType.WITCH, 89);
|
||||
register(MobType.WITHER, 90);
|
||||
register(MobType.WITHER_SKELETON, 91);
|
||||
register(MobType.WITHER_SKULL, 92);
|
||||
register(MobType.WOLF, 93);
|
||||
register(MobType.ZOMBIE, 94);
|
||||
register(MobType.ZOMBIE_HORSE, 95);
|
||||
|
@ -410,6 +444,7 @@ public class MagicValues {
|
|||
register(MobType.PHANTOM, 97);
|
||||
register(MobType.RAVAGER, 98);
|
||||
register(MobType.PLAYER, 100);
|
||||
register(MobType.FISHING_BOBBER, 101);
|
||||
|
||||
register(ObjectType.AREA_EFFECT_CLOUD, 0);
|
||||
register(ObjectType.ARMOR_STAND, 1);
|
||||
|
|
|
@ -5,6 +5,7 @@ public enum MobType {
|
|||
ARMOR_STAND,
|
||||
ARROW,
|
||||
BAT,
|
||||
BOAT,
|
||||
BLAZE,
|
||||
CAT,
|
||||
CAVE_SPIDER,
|
||||
|
@ -17,11 +18,17 @@ public enum MobType {
|
|||
DRAGON_FIREBALL,
|
||||
DROWNED,
|
||||
ELDER_GUARDIAN,
|
||||
END_CRYSTAL,
|
||||
ENDER_CRYSTAL,
|
||||
ENDER_DRAGON,
|
||||
ENDERMAN,
|
||||
ENDERMITE,
|
||||
EVOKER_FANGS,
|
||||
EVOKER,
|
||||
EXPERIENCE_ORB,
|
||||
EYE_OF_ENDER,
|
||||
FALLING_BLOCK,
|
||||
FIREWORK_ROCKET,
|
||||
FOX,
|
||||
GHAST,
|
||||
GIANT,
|
||||
|
@ -29,10 +36,14 @@ public enum MobType {
|
|||
HORSE,
|
||||
HUSK,
|
||||
ILLUSIONER,
|
||||
ITEM,
|
||||
ITEM_FRAME,
|
||||
FIREBALL,
|
||||
LEASH_KNOT,
|
||||
LLAMA,
|
||||
LLAMA_SPIT,
|
||||
MAGMA_CUBE,
|
||||
MINECART_RIDEABLE,
|
||||
MINECART,
|
||||
MINECART_CHEST,
|
||||
MINECART_COMMAND_BLOCK,
|
||||
MINECART_FURNACE,
|
||||
|
@ -58,7 +69,10 @@ public enum MobType {
|
|||
SKELETON,
|
||||
SKELETON_HORSE,
|
||||
SLIME,
|
||||
SMALL_FIREBALL,
|
||||
SNOW_GOLEM,
|
||||
SNOWBALL,
|
||||
SPECTRAL_ARROW,
|
||||
SPIDER,
|
||||
SQUID,
|
||||
STRAY,
|
||||
|
@ -69,6 +83,7 @@ public enum MobType {
|
|||
THROWN_ENDERPEARL,
|
||||
THROWN_EXP_BOTTLE,
|
||||
THROWN_POTION,
|
||||
TRIDENT,
|
||||
VEX,
|
||||
VILLAGER,
|
||||
IRON_GOLEM,
|
||||
|
@ -85,5 +100,6 @@ public enum MobType {
|
|||
ZOMBIE_VILLAGER,
|
||||
PHANTOM,
|
||||
RAVAGER,
|
||||
PLAYER;
|
||||
PLAYER,
|
||||
FISHING_BOBBER;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue