Fixed bulbs constantly respawning their tentacles

This commit is contained in:
Sollace 2024-10-05 03:15:10 +01:00
parent ae86396a86
commit e543dab3eb
No known key found for this signature in database
GPG key ID: E52FACE7B5C773DB

View file

@ -327,7 +327,7 @@ public class TentacleEntity extends AbstractDecorationEntity {
@Override @Override
protected Box calculateBoundingBox(BlockPos pos, Direction side) { protected Box calculateBoundingBox(BlockPos pos, Direction side) {
visibilityBox = null; visibilityBox = null;
return Box.of(pos.toCenterPos(), 1, 1, 1).stretch(0, 2, 0); return Box.of(pos.down().toCenterPos(), 1, 1, 1).stretch(0, 2, 0);
} }
@Override @Override