mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-11 18:22:08 -07:00
#913: Deprecate Projectile#doesBounce() and #setBounce()
They do nothing. By: Parker Hawke <hawkeboyz2@hotmail.com>
This commit is contained in:
@@ -25,11 +25,11 @@ public interface Projectile extends Entity {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Determine if this projectile should bounce or not when it hits.
|
* Determine if this projectile should bounce or not when it hits.
|
||||||
* <p>
|
|
||||||
* If a small fireball does not bounce it will set the target on fire.
|
|
||||||
*
|
*
|
||||||
* @return true if it should bounce.
|
* @return true if it should bounce.
|
||||||
|
* @deprecated does not do anything
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public boolean doesBounce();
|
public boolean doesBounce();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -37,6 +37,8 @@ public interface Projectile extends Entity {
|
|||||||
* something.
|
* something.
|
||||||
*
|
*
|
||||||
* @param doesBounce whether or not it should bounce.
|
* @param doesBounce whether or not it should bounce.
|
||||||
|
* @deprecated does not do anything
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public void setBounce(boolean doesBounce);
|
public void setBounce(boolean doesBounce);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user