Added isAirborne() function to ScriptEntity

This commit is contained in:
luisc committed 2022-02-01 02:30:50 -06:00
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
*/