mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-07 23:52:11 -07:00
Add MagmaCube interface.
Also, add MagmaCube to CreatureType Enum, as per BUKKIT-57. Thanks snowleo! By: Andrew Ardill <andrew.ardill@gmail.com>
This commit is contained in:
@@ -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
paper-api/src/main/java/org/bukkit/entity/MagmaCube.java
Normal file
7
paper-api/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 {
|
||||||
|
}
|
Reference in New Issue
Block a user