mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
static blockID for all blocks
This commit is contained in:
parent
205e432f52
commit
36be0211f9
109 changed files with 111 additions and 13 deletions
|
|
@ -159,7 +159,7 @@ abstract class Block extends Position{
|
|||
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);
|
||||
return StaticBlock::getAABB(static::$blockID, $x, $y, $z);
|
||||
}
|
||||
|
||||
public static function containsX($id, $v){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue