mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 20:49:43 +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
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
class FenceGateBlock extends TransparentBlock{
|
||||
|
||||
public static $blockID;
|
||||
public static function getCollisionBoundingBoxes(Level $level, $x, $y, $z, Entity $entity){
|
||||
$aabb = static::getAABB($level, $x, $y, $z);
|
||||
if($aabb == null) return [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue