Expose isUnderWater to Entity (#8454)

This commit is contained in:
SoSeDiK
2022-10-11 15:43:10 +03:00
parent 5afab91756
commit 9ff21585db
5 changed files with 28 additions and 19 deletions

View File

@@ -11,11 +11,11 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
@@ -0,0 +0,0 @@ public interface Entity extends Metadatable, CommandSender, Nameable, Persistent
* Check if entity is in lava
*/
public boolean isInLava();
boolean isInLava();
+
+ /**
+ * Check if entity is inside a ticking chunk
+ */
+ public boolean isTicking();
+ boolean isTicking();
// Paper end
}