mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-11 19:37:39 +00:00
Added isAirborne() function to ScriptEntity
This commit is contained in:
1 parent
9109c134c1
commit
90ca1a0200
1 file changed
+4
@@ -185,6 +185,10 @@ public class ScriptEntity<T extends Entity> implements IEntity {
|
||||
this.setMotionZ(z);
|
||||
}
|
||||
|
||||
public boolean isAirborne(){
|
||||
return entity.isAirBorne;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return The block x position
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user