#1082: Add "since" to Deprecation annotations

By: DerFrZocker <derrieple@gmail.com>
This commit is contained in:
Bukkit/Spigot
2024-11-25 07:52:33 +11:00
parent 98f6ab9a04
commit 0023e5549a
257 changed files with 1523 additions and 1176 deletions
@@ -57,7 +57,7 @@ public enum EntityEffect {
*
* @deprecated Use {@link LivingEntity#playHurtAnimation(float)}
*/
@Deprecated
@Deprecated(since = "1.20.1")
HURT(2, LivingEntity.class),
/**
* When a mob dies.
@@ -69,7 +69,7 @@ public enum EntityEffect {
* @see #SNOWBALL_BREAK
* @see #ENTITY_DEATH
*/
@Deprecated
@Deprecated(since = "1.12.2")
DEATH(3, Entity.class),
/**
* Spawns the egg breaking particles
@@ -132,7 +132,7 @@ public enum EntityEffect {
* @see #SHEEP_EAT_GRASS
* @see #TNT_MINECART_IGNITE
*/
@Deprecated
@Deprecated(since = "1.12.2")
SHEEP_EAT(10, Entity.class),
/**
* Plays the sheep eating grass animation
@@ -347,7 +347,7 @@ public enum EntityEffect {
* @return The data value
* @deprecated Magic value
*/
@Deprecated
@Deprecated(since = "1.6.2")
public byte getData() {
return data;
}