Skip to content

Commit

Permalink
Merge pull request #16 from D3v1s0m/master
Browse files Browse the repository at this point in the history
Added all mob type
  • Loading branch information
Pyrbu authored Apr 22, 2023
2 parents d79d9f5 + 88687aa commit e709dc5
Show file tree
Hide file tree
Showing 3 changed files with 263 additions and 99 deletions.
121 changes: 78 additions & 43 deletions src/main/java/io/github/znetworkw/znpcservers/npc/NPCType.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,50 +15,85 @@

@SuppressWarnings("unused")
public enum NPCType {
ALLAY(ENTITY_ALLAY_CLASS, -1.14),
ARMOR_STAND(ENTITY_ARMOR_STAND_CLASS, 0.2775, "setSmall", "setArms"),
AXOLOTL(ENTITY_AXOLOTL_CLASS, -1.395, "setVariant", "setAge"),
BAT(ENTITY_BAT_CLASS, -0.915, "setAwake"),
BEE(ENTITY_BEE_CLASS, -1.215, "setAnger", "setHasNectar", "setHasStung"),
BLAZE(ENTITY_BLAZE_CLASS, -0.015),
CAT(ENTITY_CAT_CLASS, -1.115, "setCatType", "setAge", "setCollarColor", "setTamed"),
CAVE_SPIDER(ENTITY_CAVE_SPIDER_CLASS, -1.315),
CHICKEN(ENTITY_CHICKEN_CLASS, -1.115, "setAge"),
COD(ENTITY_COD_CLASS, -1.515),
COW(ENTITY_COW_CLASS, -0.415, "setAge"),
CREEPER(ENTITY_CREEPER_CLASS, -0.115, "setPowered"),
DOLPHIN(ENTITY_DOLPHIN_CLASS, -1.215),
DONKEY(ENTITY_DONKEY_CLASS, -0.315, "setAge", "setCarryingChest"),
DROWNED(ENTITY_DROWNED_CLASS, 0.135),
ELDER_GUARDIAN(ENTITY_ELDER_GUARDIAN_CLASS, 0.182),
ENDER_DRAGON(ENTITY_ENDER_DRAGON_CLASS, 6.185, "setSilent"),
ENDERMAN(ENTITY_ENDERMAN_CLASS, 1.085),
ENDERMITE(ENTITY_ENDERMITE_CLASS, -1.515),
EVOKER(ENTITY_EVOKER_CLASS, 0.135, "setCurrentSpell"),
FOX(ENTITY_FOX_CLASS, -1.115, "setFoxType", "setSitting", "setSleeping", "setAge", "setCrouching"),
FROG(ENTITY_FROG_CLASS, -1.315, "setVariant"),
GHAST(ENTITY_GHAST_CLASS, 2.185),
GIANT(ENTITY_GIANT_ZOMBIE_CLASS, 10.185),
GLOW_SQUID(ENTITY_GLOW_SQUID_CLASS, -1.015),
GOAT(ENTITY_GOAT_CLASS, -0.515, "setScreamingGoat", "setAge", "setLeftHorn", "setRightHorn"),
GUARDIAN(ENTITY_GUARDIAN_CLASS, -0.965),
HORSE(ENTITY_HORSE_CLASS, -0.215, "setStyle", "setAge", "setColor", "setVariant"),
HOGLIN(ENTITY_HOGLIN_CLASS, -0.415, "setAge"),
HUSK(ENTITY_HUSK_CLASS, 0.135),
ILLUSIONER(ENTITY_ILLUSIONER_CLASS, 0.135),
IRON_GOLEM(ENTITY_IRON_GOLEM_CLASS, 0.885),
LLAMA(ENTITY_LLAMA_CLASS, 0.055, "setAge", "setColor"),
MAGMA_CUBE(ENTITY_MAGMA_CUBE_CLASS, 0.225, "setSize"),
MUSHROOM_COW(ENTITY_MUSHROOM_COW_CLASS, -0.415, "setAge", "setVariant"),
MULE(ENTITY_MULE_CLASS, -0.215, "setAge", "setCarryingChest"),
OCELOT(ENTITY_OCELOT_CLASS, -1.115, "setCatType", "setAge"),
PANDA(ENTITY_PANDA_CLASS, -0.565, "setAge", "setMainGene", "setHiddenGene"),
PARROT(ENTITY_PARROT_CLASS, -0.915, "setVariant", "setAge", "setSitting"),
PHANTOM(ENTITY_PHANTOM_CLASS, -1.315, "setSize"),
PIG(ENTITY_PIG_CLASS, -0.915, "setAge", "setSaddle"),
PIGLIN(ENTITY_PIGLIN_CLASS, 0.135, "setBaby"),
PIGLIN_BRUTE(ENTITY_PIGLIN_BRUTE_CLASS, 0.135, "setBaby"),
PILLAGER(ENTITY_PILLAGER_CLASS, 0.135),
PLAYER(ENTITY_PLAYER_CLASS, 0.0),
ARMOR_STAND(ENTITY_ARMOR_STAND_CLASS, 0.0, "setSmall", "setArms"),
CREEPER(ENTITY_CREEPER_CLASS, -0.15, "setPowered"),
BAT(ENTITY_BAT_CLASS, -0.5, "setAwake"),
BLAZE(ENTITY_BLAZE_CLASS, 0.0),
CAVE_SPIDER(ENTITY_CAVE_SPIDER_CLASS, -1.0),
COW(ENTITY_COW_CLASS, -0.25, "setAge"),
CHICKEN(ENTITY_CHICKEN_CLASS, -1.0, "setAge"),
ENDER_DRAGON(ENTITY_ENDER_DRAGON_CLASS, 1.5),
ENDERMAN(ENTITY_ENDERMAN_CLASS, 0.7),
ENDERMITE(ENTITY_ENDERMITE_CLASS, -1.5),
GHAST(ENTITY_GHAST_CLASS, 3.0),
IRON_GOLEM(ENTITY_IRON_GOLEM_CLASS, 0.75),
GIANT(ENTITY_GIANT_ZOMBIE_CLASS, 11.0),
GUARDIAN(ENTITY_GUARDIAN_CLASS, -0.7),
HORSE(ENTITY_HORSE_CLASS, 0.0, "setStyle", "setAge", "setColor", "setVariant"),
LLAMA(ENTITY_LLAMA_CLASS, 0.0, "setAge"),
MAGMA_CUBE(ENTITY_MAGMA_CUBE_CLASS, -1.25, "setSize"),
MUSHROOM_COW(ENTITY_MUSHROOM_COW_CLASS, -0.25, "setAge"),
OCELOT(ENTITY_OCELOT_CLASS, -1.0, "setCatType", "setAge"),
PARROT(ENTITY_PARROT_CLASS, -1.5, "setVariant"),
PIG(ENTITY_PIG_CLASS, -1.0, "setAge"),
PANDA(ENTITY_PANDA_CLASS, -0.6, "setAge", "setMainGene", "setHiddenGene"),
RABBIT(ENTITY_RABBIT_CLASS, -1.0, "setRabbitType"),
POLAR_BEAR(ENTITY_POLAR_BEAR_CLASS, -0.5),
SHEEP(ENTITY_SHEEP_CLASS, -0.5, "setAge", "setSheared", "setColor"),
SILVERFISH(ENTITY_SILVERFISH_CLASS, -1.5),
SNOWMAN(ENTITY_SNOWMAN_CLASS, 0.0, "setHasPumpkin", "setDerp"),
SKELETON(ENTITY_SKELETON_CLASS, 0.0),
SHULKER(ENTITY_SHULKER_CLASS, 0.0),
SLIME(ENTITY_SLIME_CLASS, -1.25, "setSize"),
SPIDER(ENTITY_SPIDER_CLASS, -1.0),
SQUID(ENTITY_SQUID_CLASS, -1.0),
VILLAGER(ENTITY_VILLAGER_CLASS, 0.0, "setProfession", "setVillagerType", "setAge"),
WITCH(ENTITY_WITCH_CLASS, 0.5),
WITHER(ENTITY_WITHER_CLASS, 1.75),
ZOMBIE(ENTITY_ZOMBIE_CLASS, 0.0, "setBaby"),
WOLF(ENTITY_WOLF_CLASS, -1.0, "setSitting", "setTamed", "setAngry", "setAge", "setCollarColor"),
FOX(ENTITY_FOX_CLASS, -1.0, "setFoxType", "setSitting", "setSleeping", "setAge", "setCrouching"),
BEE(ENTITY_BEE_CLASS, -1.0, "setAnger", "setHasNectar", "setHasStung"),
TURTLE(ENTITY_TURTLE, -1.0),
WARDEN(ENTITY_WARDEN, 1.0),
AXOLOTL(ENTITY_AXOLOTL_CLASS, -1.0, "setVariant", "setAge"),
GOAT(ENTITY_GOAT_CLASS, -0.5, "setScreamingGoat", "setAge");
POLAR_BEAR(ENTITY_POLAR_BEAR_CLASS, -0.415, "setAge"),
PUFFERFISH(ENTITY_PUFFERFISH_CLASS, -1.115, "setPuffState"),
RABBIT(ENTITY_RABBIT_CLASS, -1.315, "setRabbitType"),
RAVAGER(ENTITY_RAVAGER_CLASS, 0.385),
SALMON(ENTITY_SALMON_CLASS, -1.415),
SHEEP(ENTITY_SHEEP_CLASS, -0.515, "setAge", "setSheared", "setColor"),
SHULKER(ENTITY_SHULKER_CLASS, -0.815, "setPeek", "setColor"),
SILVERFISH(ENTITY_SILVERFISH_CLASS, -1.515),
SKELETON(ENTITY_SKELETON_CLASS, 0.175, "setSkeletonType"),
SKELETON_HORSE(ENTITY_SKELETON_HORSE_CLASS, -0.215),
SLIME(ENTITY_SLIME_CLASS, 0.225, "setSize"),
SNOWMAN(ENTITY_SNOWMAN_CLASS, 0.085, "setHasPumpkin", "setDerp"),
SPIDER(ENTITY_SPIDER_CLASS, -0.915),
SQUID(ENTITY_SQUID_CLASS, -1.015),
STRAY(ENTITY_STRAY_CLASS, 0.175),
STRIDER(ENTITY_STRIDER_CLASS, -0.115, "setSaddled", "setShivering", "setBaby"),
TADPOLE(ENTITY_TADPOLE_CLASS, -1.515, "setAge"),
TRADER_LLAMA(ENTITY_TRADER_LLAMA_CLASS, 0.055, "setAge", "setColor"),
TROPICAL_FISH(ENTITY_TROPICAL_FISH_CLASS, -1.415, "setPattern", "setBodyColor", "setPatternColor"),
TURTLE(ENTITY_TURTLE, -1.415, "setAge"),
VEX(ENTITY_VEX_CLASS, -1.015, "setCharging"),
VILLAGER(ENTITY_VILLAGER_CLASS, 0.135, "setProfession", "setVillagerType", "setAge", "setVillagerLevel"),
VINDICATOR(ENTITY_VINDICATOR_CLASS, 0.135),
WANDERING_TRADER(ENTITY_WANDERING_TRADER_CLASS, 0.135),
WARDEN(ENTITY_WARDEN, 1.085, "setSilent"),
WITCH(ENTITY_WITCH_CLASS, 0.135),
WITHER(ENTITY_WITHER_CLASS, 1.685),
WITHER_SKELETON(ENTITY_WITHER_SKELETON_CLASS, 0.585),
WOLF(ENTITY_WOLF_CLASS, -0.965, "setSitting", "setTamed", "setAngry", "setAge", "setCollarColor"),
ZOGLIN(ENTITY_ZOGLIN_CLASS, -0.415, "setBaby"),
ZOMBIE(ENTITY_ZOMBIE_CLASS, 0.135, "setBaby"),
ZOMBIE_HORSE(ENTITY_ZOMBIE_HORSE_CLASS, -0.215, "setBaby"),
ZOMBIE_VILLAGER(ENTITY_ZOMBIE_VILLAGER_CLASS, 0.135, "setVillagerType", "setVillagerProfession", "setBaby"),
ZOMBIFIED_PIGLIN(ENTITY_ZOMBIFIED_PIGLIN_CLASS, 0.135, "setBaby");

private final double holoHeight;
private final CustomizationLoader customizationLoader;
Expand Down
Loading

0 comments on commit e709dc5

Please sign in to comment.