geforkt von Mirrors/Paper
Deprecate Evoker spell methods in preparation for 1.12
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
f9e76a6924
Commit
75201d066c
@ -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);
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren