From 2aca23d84a52cd66c04eb6b9c363b7f17b7c20a7 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Mon, 28 Nov 2011 11:12:08 +1100 Subject: [PATCH] Add MagmaCube interface. Also, add MagmaCube to CreatureType Enum, as per BUKKIT-57. Thanks snowleo! By: Andrew Ardill --- .../src/main/java/org/bukkit/entity/CreatureType.java | 1 + paper-api/src/main/java/org/bukkit/entity/MagmaCube.java | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 paper-api/src/main/java/org/bukkit/entity/MagmaCube.java diff --git a/paper-api/src/main/java/org/bukkit/entity/CreatureType.java b/paper-api/src/main/java/org/bukkit/entity/CreatureType.java index 26b3407bfb..a4b8515199 100644 --- a/paper-api/src/main/java/org/bukkit/entity/CreatureType.java +++ b/paper-api/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/paper-api/src/main/java/org/bukkit/entity/MagmaCube.java b/paper-api/src/main/java/org/bukkit/entity/MagmaCube.java new file mode 100644 index 0000000000..714b4426da --- /dev/null +++ b/paper-api/src/main/java/org/bukkit/entity/MagmaCube.java @@ -0,0 +1,7 @@ +package org.bukkit.entity; + +/** + * Represents a MagmaCube. + */ +public interface MagmaCube extends Slime { +}