272829303132333435363738
calculateColisions(); move(); } private void calculateColisions(){ Cube under = world.getCube(position.x, position.y-1, position.z); if(under.getType() == Material.AIR && !jumping){ falling = true; }else{ falling = false; } }