diff options
author | Andrew Ardill <andrew.ardill@gmail.com> | 2011-11-28 11:12:08 +1100 |
---|---|---|
committer | Andrew Ardill <andrew.ardill@gmail.com> | 2011-11-28 11:12:08 +1100 |
commit | ee4a975998082b601cf7e1db00e64371cc81867c (patch) | |
tree | ed090e9cdac853241184a2ee0e4e0d7f94c64776 /src | |
parent | fe1bfc3f431bb712887103ace73df3ba4f2444db (diff) | |
download | bukkit-ee4a975998082b601cf7e1db00e64371cc81867c.tar bukkit-ee4a975998082b601cf7e1db00e64371cc81867c.tar.gz bukkit-ee4a975998082b601cf7e1db00e64371cc81867c.tar.lz bukkit-ee4a975998082b601cf7e1db00e64371cc81867c.tar.xz bukkit-ee4a975998082b601cf7e1db00e64371cc81867c.zip |
Add MagmaCube interface.
Also, add MagmaCube to CreatureType Enum, as per BUKKIT-57. Thanks snowleo!
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/bukkit/entity/CreatureType.java | 1 | ||||
-rw-r--r-- | src/main/java/org/bukkit/entity/MagmaCube.java | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/entity/CreatureType.java b/src/main/java/org/bukkit/entity/CreatureType.java index 26b3407b..a4b85151 100644 --- a/src/main/java/org/bukkit/entity/CreatureType.java +++ b/src/main/java/org/bukkit/entity/CreatureType.java @@ -27,6 +27,7 @@ public enum CreatureType { VILLAGER("Villager", Villager.class), BLAZE("Blaze", Blaze.class), MUSHROOM_COW("MushroomCow", MushroomCow.class), + MAGMA_CUBE("MagmaCube", MagmaCube.class), SNOWMAN("Snowman", Snowman.class); private String name; diff --git a/src/main/java/org/bukkit/entity/MagmaCube.java b/src/main/java/org/bukkit/entity/MagmaCube.java new file mode 100644 index 00000000..714b4426 --- /dev/null +++ b/src/main/java/org/bukkit/entity/MagmaCube.java @@ -0,0 +1,7 @@ +package org.bukkit.entity; + +/** + * Represents a MagmaCube. + */ +public interface MagmaCube extends Slime { +} |