mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 20:19:44 +00:00
some hitboxes tweaks
This commit is contained in:
parent
73a36a1ea2
commit
589922daaf
10 changed files with 28 additions and 7 deletions
|
|
@ -9,4 +9,8 @@ class GlassBlock extends TransparentBlock{
|
|||
public function getDrops(Item $item, Player $player){
|
||||
return array();
|
||||
}
|
||||
|
||||
public static function getCollisionBoundingBoxes(Level $level, $x, $y, $z, Entity $entity){
|
||||
return [new AxisAlignedBB($x, $y, $z, $x + 1, $y + 1, $z + 1)];
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue