diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/bukkit/block/CreatureSpawner.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/block/CreatureSpawner.java b/src/main/java/org/bukkit/block/CreatureSpawner.java index cf4fb717..a455bbcf 100644 --- a/src/main/java/org/bukkit/block/CreatureSpawner.java +++ b/src/main/java/org/bukkit/block/CreatureSpawner.java @@ -25,14 +25,19 @@ public interface CreatureSpawner extends BlockState { * Set the spawner mob type. * * @param creatureType The creature type's name. + * @deprecated magic value, use + * {@link #setSpawnedType(org.bukkit.entity.EntityType)}. */ + @Deprecated public void setCreatureTypeByName(String creatureType); /** * Get the spawner's creature type. * * @return The creature type's name. + * @deprecated magic value, use {@link #getSpawnedType()}. */ + @Deprecated public String getCreatureTypeName(); /** |