mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
attempt to fix crash when switching world, entity physics in water
This commit is contained in:
parent
995ece3571
commit
686f6e1056
5 changed files with 140 additions and 4 deletions
|
|
@ -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){}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue