Add 'MONSTER' to CreatureType
This commit is contained in:
parent
57b1b50610
commit
08e33ad0c6
@ -10,19 +10,19 @@ public enum CreatureType {
|
|||||||
CREEPER("Creeper"),
|
CREEPER("Creeper"),
|
||||||
GHAST("Ghast"),
|
GHAST("Ghast"),
|
||||||
GIANT("Giant"),
|
GIANT("Giant"),
|
||||||
|
MONSTER("Monster"),
|
||||||
PIG("Pig"),
|
PIG("Pig"),
|
||||||
PIG_ZOMBIE("PigZombie"),
|
PIG_ZOMBIE("PigZombie"),
|
||||||
SHEEP("Sheep"),
|
SHEEP("Sheep"),
|
||||||
SKELETON("Skeleton"),
|
SKELETON("Skeleton"),
|
||||||
|
SLIME("Slime"),
|
||||||
SPIDER("Spider"),
|
SPIDER("Spider"),
|
||||||
ZOMBIE("Zombie"),
|
|
||||||
SQUID("Squid"),
|
SQUID("Squid"),
|
||||||
SLIME("Slime");
|
ZOMBIE("Zombie");
|
||||||
|
|
||||||
private String name;
|
private String name;
|
||||||
|
|
||||||
private static final Map<String, CreatureType> mapping
|
private static final Map<String, CreatureType> mapping = new HashMap<String, CreatureType>();
|
||||||
= new HashMap<String, CreatureType>();
|
|
||||||
|
|
||||||
static {
|
static {
|
||||||
for (CreatureType type : EnumSet.allOf(CreatureType.class)) {
|
for (CreatureType type : EnumSet.allOf(CreatureType.class)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user