minecart rotation serversided, better sync

This commit is contained in:
GameHerobrine 2024-06-09 22:08:51 +03:00
parent 39dbd6db34
commit 5c41d9605f
4 changed files with 53 additions and 26 deletions

View file

@ -8,6 +8,10 @@ abstract class RailBaseBlock extends FlowableBlock //TODO move some methods here
return $id === POWERED_RAIL || $id === RAIL;
}
public static function isRailID($id){
return $id == POWERED_RAIL || $id == RAIL;
}
public static function getAABB(Level $level, $x, $y, $z){
return null;
}