mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-20 05:14:15 +00:00
Add MagmaCube interface.
Also, add MagmaCube to CreatureType Enum, as per BUKKIT-57. Thanks snowleo!
This commit is contained in:
parent
fe1bfc3f43
commit
ee4a975998
2 changed files with 8 additions and 0 deletions
|
@ -27,6 +27,7 @@ public enum CreatureType {
|
||||||
VILLAGER("Villager", Villager.class),
|
VILLAGER("Villager", Villager.class),
|
||||||
BLAZE("Blaze", Blaze.class),
|
BLAZE("Blaze", Blaze.class),
|
||||||
MUSHROOM_COW("MushroomCow", MushroomCow.class),
|
MUSHROOM_COW("MushroomCow", MushroomCow.class),
|
||||||
|
MAGMA_CUBE("MagmaCube", MagmaCube.class),
|
||||||
SNOWMAN("Snowman", Snowman.class);
|
SNOWMAN("Snowman", Snowman.class);
|
||||||
|
|
||||||
private String name;
|
private String name;
|
||||||
|
|
7
src/main/java/org/bukkit/entity/MagmaCube.java
Normal file
7
src/main/java/org/bukkit/entity/MagmaCube.java
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
package org.bukkit.entity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Represents a MagmaCube.
|
||||||
|
*/
|
||||||
|
public interface MagmaCube extends Slime {
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue