readded ability to keep chunks unloaded, fixed entities falling on farmland

This commit is contained in:
GameHerobrine 2024-05-30 03:26:49 +03:00
parent 7bc97cca37
commit 8353607451
4 changed files with 13 additions and 7 deletions

View file

@ -17,7 +17,7 @@ class FarmlandBlock extends TransparentBlock{
}
public static function getCollisionBoundingBoxes(Level $level, $x, $y, $z, Entity $entity){
return [new AxisAlignedBB($x, $y, $z, $x + 1, $y + 0.9375, $z + 1)];
return [new AxisAlignedBB($x, $y, $z, $x + 1, $y + 1, $z + 1)];
}
public static function fallOn(Level $level, $x, $y, $z, Entity $entity, $fallDistance){