defining entitytype (wip)

This commit is contained in:
nossr50 2019-02-15 15:20:36 -08:00
parent 4ea9037dd4
commit f9fb9a17a9
2 changed files with 111 additions and 4 deletions

View File

@ -1,7 +1,7 @@
This file is just going to take note of all the caveats of mcMMO code as I abstract out bukkit
1) In several places mcMMO is disabling itself, pretty sure this is not a good idea and this should be changed
eg: in McMMOPlayer, and when loading configs and finding bad vlaues
eg: in McMMOPlayer, and when loading configs and finding bad values
2) mcMMO uses a a global reference of its Plugin class for Bukkit in order to schedule tasks
@ -9,4 +9,10 @@ This file is just going to take note of all the caveats of mcMMO code as I abstr
4) Safety check the hardcore/vampirism commands
5) Tweak configs to not do any string operations
5) Tweak configs to not do any string operations
6) Need to add and check validation for all current configs
7) Weird stuff going on with ageables and strings in general in StringUtils
8) Reduce the amount of string operations in mcMMO as much as possible

View File

@ -1,10 +1,111 @@
package com.gmail.nossr50.core.mcmmo.entity;
/**
* Used bukkit as a reference for this, should probably make sure nothing weird is in here
*/
public enum EntityType {
//TODO: Fill this out
AREA_EFFECT_CLOUD,
ARROW,
BAT,
BLAZE,
BOAT,
CAVE_SPIDER,
CHICKEN,
COD,
COMPLEX_PART,
COW,
CREEPER,
DOLPHIN,
DONKEY,
DRAGON_FIREBALL,
DROPPED_ITEM,
DROWNED,
EGG,
ELDER_GUARDIAN,
ENDER_CRYSTAL,
ENDER_DRAGON,
ENDER_PEARL,
ENDER_SIGNAL,
ENDERMAN,
ENDERMITE,
EVOKER,
EVOKER_FANGS,
EXPERIENCE_ORB,
FALLING_BLOCK,
FIREBALL,
FIREWORK,
FISHING_HOOK,
GHAST,
GIANT,
GUARDIAN,
HORSE,
HUSK,
ILLUSIONER,
IRON_GOLEM,
ITEM_FRAME,
LEASH_HITCH,
LIGHTNING,
LINGERING_POTION,
LLAMA,
LLAMA_SPIT,
MAGMA_CUBE,
MINECART,
MINECART_CHEST,
MINECART_COMMAND,
MINECART_FURNACE,
MINECART_HOPPER,
MINECART_MOB_SPAWNER,
MINECART_TNT,
MULE,
MUSHROOM_COW,
OCELOT,
PAINTING,
PARROT,
PHANTOM,
PIG,
PIG_ZOMBIE,
PLAYER,
POLAR_BEAR,
PRIMED_TNT,
PUFFERFISH,
RABBIT,
SALMON,
SHEEP,
SHULKER,
SHULKER_BULLET,
SILVERFISH,
SKELETON,
SKELETON_HORSE,
SLIME,
SMALL_FIREBALL,
SNOWBALL,
SNOWMAN,
SPECTRAL_ARROW,
SPIDER,
SPLASH_POTION,
SQUID,
STRAY,
THROWN_XP_BOTTLE,
TIPPED_ARROW,
TRIDENT,
TROPICAL_FISH,
TURTLE,
VEX,
VILLAGER,
VINDICATOR,
WEATHER,
WITCH,
WITHER,
WITHER_SKELETON,
WITHER_SKULL,
WOLF,
OCELOT;
ZOMBIE,
ZOMBIE_HORSE,
ZOMBIE_VILLAGER;
//TODO: Wire this up
public String getConfigName() { return toString(); }
public String getConfigName() {
//return toString();
}
}