geforkt von Mirrors/Paper
SPIGOT-2159: Deprecate fish bite chance method
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
640346e011
Commit
cbe5cc0768
@ -11,7 +11,9 @@ public interface FishHook extends Projectile {
|
|||||||
* 1.0 = Instant catch.
|
* 1.0 = Instant catch.
|
||||||
*
|
*
|
||||||
* @return chance the bite chance
|
* @return chance the bite chance
|
||||||
|
* @deprecated has no effect in newer Minecraft versions
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public double getBiteChance();
|
public double getBiteChance();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -23,6 +25,8 @@ public interface FishHook extends Projectile {
|
|||||||
* @param chance the bite chance
|
* @param chance the bite chance
|
||||||
* @throws IllegalArgumentException if the bite chance is not between 0
|
* @throws IllegalArgumentException if the bite chance is not between 0
|
||||||
* and 1
|
* and 1
|
||||||
|
* @deprecated has no effect in newer Minecraft versions
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public void setBiteChance(double chance) throws IllegalArgumentException;
|
public void setBiteChance(double chance) throws IllegalArgumentException;
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren