mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-22 06:55:36 +01:00
Add 'MONSTER' to CreatureType
By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
parent
d17f2813d9
commit
ac1bef5739
1 changed files with 4 additions and 4 deletions
|
@ -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…
Add table
Reference in a new issue