attempt to fix crash when switching world, entity physics in water

This commit is contained in:
GameHerobrine 2024-05-26 13:39:52 +03:00
parent 995ece3571
commit 686f6e1056
5 changed files with 140 additions and 4 deletions

View file

@ -219,6 +219,7 @@ abstract class Block extends Position{
return MovingObjectPosition::fromBlock($x, $y, $z, $v14, $v13->add($x, $y, $z));
}
public static function onPlace(Level $level, $x, $y, $z){}
public static function addVelocityToEntity(Level $level, $x, $y, $z, Entity $entity, Vector3 $velocityVector){}
public static function onRandomTick(Level $level, $x, $y, $z){}