mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
separated neighbor updates and scheduled updates
This commit is contained in:
parent
ee989ef556
commit
2ebc482e3d
36 changed files with 197 additions and 262 deletions
|
|
@ -154,6 +154,9 @@ abstract class Block extends Position{
|
|||
public $y = 0;
|
||||
public $z = 0;
|
||||
public $slipperiness;
|
||||
public static function interact(Level $level, $x, $y, $z, Player $player){}
|
||||
|
||||
public static function neighborChanged(Level $level, $x, $y, $z, $nX, $nY, $nZ, $oldID){}
|
||||
|
||||
public static function getAABB(Level $level, $x, $y, $z){
|
||||
return StaticBlock::getAABB($level, $x, $y, $z);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue