Update a whole lot of deprecated annotations

This commit is contained in:
Nassim Jahnke
2025-03-21 17:50:04 +01:00
parent bb1beda67b
commit 9f00461456
113 changed files with 785 additions and 710 deletions
@@ -20,9 +20,9 @@ public interface AbstractArrow extends Projectile {
*
* @return the knockback strength value
* @see #getWeapon()
* @deprecated a function of the firing weapon
* @deprecated moved to being a function of the firing weapon, always returns 0 here
*/
@Deprecated(since = "1.21")
@Deprecated(since = "1.21", forRemoval = true)
public int getKnockbackStrength();
/**
@@ -30,9 +30,9 @@ public interface AbstractArrow extends Projectile {
*
* @param knockbackStrength the knockback strength value
* @see #setWeapon(org.bukkit.inventory.ItemStack)
* @deprecated a function of the firing weapon
* @deprecated moved to being a function of the firing weapon, does nothing here
*/
@Deprecated(since = "1.21")
@Deprecated(since = "1.21", forRemoval = true)
public void setKnockbackStrength(int knockbackStrength);
/**
@@ -145,9 +145,9 @@ public interface AbstractArrow extends Projectile {
*
* @param shotFromCrossbow if shot from a crossbow
* @see #setWeapon(org.bukkit.inventory.ItemStack)
* @deprecated a function of the firing weapon instead
* @deprecated a function of the firing weapon instead, this method does nothing
*/
@Deprecated(since = "1.21")
@Deprecated(since = "1.21", forRemoval = true)
public void setShotFromCrossbow(boolean shotFromCrossbow);
/**