Deprecate magic values in CreatureSpawner

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2017-02-22 09:59:23 +11:00
parent 49c0540f9d
commit a082c22d47

View file

@ -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();
/**