mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 23:10:16 +01:00
Deprecate set/doesBounce from Projectile (#7800)
This commit is contained in:
parent
ee13266378
commit
eb29f4b571
1 changed files with 23 additions and 0 deletions
|
@ -339,6 +339,29 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
public boolean canSee(@NotNull Entity entity);
|
||||
|
||||
/**
|
||||
diff --git a/src/main/java/org/bukkit/entity/Projectile.java b/src/main/java/org/bukkit/entity/Projectile.java
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/main/java/org/bukkit/entity/Projectile.java
|
||||
+++ b/src/main/java/org/bukkit/entity/Projectile.java
|
||||
@@ -0,0 +0,0 @@ public interface Projectile extends Entity {
|
||||
* If a small fireball does not bounce it will set the target on fire.
|
||||
*
|
||||
* @return true if it should bounce.
|
||||
+ * @deprecated Does not do anything
|
||||
*/
|
||||
+ @Deprecated(forRemoval = true) // Paper
|
||||
public boolean doesBounce();
|
||||
|
||||
/**
|
||||
@@ -0,0 +0,0 @@ public interface Projectile extends Entity {
|
||||
* something.
|
||||
*
|
||||
* @param doesBounce whether or not it should bounce.
|
||||
+ * @deprecated Does not do anything
|
||||
*/
|
||||
+ @Deprecated(forRemoval = true) // Paper
|
||||
public void setBounce(boolean doesBounce);
|
||||
}
|
||||
diff --git a/src/main/java/org/bukkit/event/enchantment/PrepareItemEnchantEvent.java b/src/main/java/org/bukkit/event/enchantment/PrepareItemEnchantEvent.java
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/main/java/org/bukkit/event/enchantment/PrepareItemEnchantEvent.java
|
||||
|
|
Loading…
Reference in a new issue