mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-24 09:16:06 +01:00
Deprecate Evoker spell methods in preparation for 1.12
By: md_5 <git@md-5.net>
This commit is contained in:
parent
f9e76a6924
commit
75201d066c
1 changed files with 11 additions and 0 deletions
|
@ -7,7 +7,11 @@ public interface Evoker extends Monster {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents the current spell the Evoker is using.
|
* Represents the current spell the Evoker is using.
|
||||||
|
*
|
||||||
|
* @deprecated future versions of Minecraft have additional spell casting
|
||||||
|
* entities.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public enum Spell {
|
public enum Spell {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -32,13 +36,20 @@ public interface Evoker extends Monster {
|
||||||
* Gets the {@link Spell} the Evoker is currently using.
|
* Gets the {@link Spell} the Evoker is currently using.
|
||||||
*
|
*
|
||||||
* @return the current spell
|
* @return the current spell
|
||||||
|
* @deprecated future versions of Minecraft have additional spell casting
|
||||||
|
* entities.
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
Spell getCurrentSpell();
|
Spell getCurrentSpell();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the {@link Spell} the Evoker is currently using.
|
* Sets the {@link Spell} the Evoker is currently using.
|
||||||
*
|
*
|
||||||
* @param spell the spell the evoker should be using
|
* @param spell the spell the evoker should be using
|
||||||
|
* @deprecated future versions of Minecraft have additional spell casting
|
||||||
|
* entities.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
void setCurrentSpell(Spell spell);
|
void setCurrentSpell(Spell spell);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue