mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 11:44:19 +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.
|
||||
*
|
||||
* @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();
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue