mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
some hitboxes tweaks
This commit is contained in:
parent
73a36a1ea2
commit
589922daaf
10 changed files with 28 additions and 7 deletions
|
|
@ -10,4 +10,8 @@ class MelonBlock extends TransparentBlock{
|
|||
array(MELON_SLICE, 0, mt_rand(3, 7)),
|
||||
);
|
||||
}
|
||||
|
||||
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