mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-19 13:38:44 +01:00
Deprecate magic values in CreatureSpawner
By: md_5 <git@md-5.net>
This commit is contained in:
parent
49c0540f9d
commit
a082c22d47
1 changed files with 5 additions and 0 deletions
|
@ -25,14 +25,19 @@ public interface CreatureSpawner extends BlockState {
|
||||||
* Set the spawner mob type.
|
* Set the spawner mob type.
|
||||||
*
|
*
|
||||||
* @param creatureType The creature type's name.
|
* @param creatureType The creature type's name.
|
||||||
|
* @deprecated magic value, use
|
||||||
|
* {@link #setSpawnedType(org.bukkit.entity.EntityType)}.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public void setCreatureTypeByName(String creatureType);
|
public void setCreatureTypeByName(String creatureType);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the spawner's creature type.
|
* Get the spawner's creature type.
|
||||||
*
|
*
|
||||||
* @return The creature type's name.
|
* @return The creature type's name.
|
||||||
|
* @deprecated magic value, use {@link #getSpawnedType()}.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public String getCreatureTypeName();
|
public String getCreatureTypeName();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue