static blockID for all blocks

This commit is contained in:
GameHerobrine 2024-07-10 19:58:25 +03:00
parent 205e432f52
commit 36be0211f9
109 changed files with 111 additions and 13 deletions

View file

@ -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 [];