fixed trunkshell not dissapearing on neighbor update
@@ -187,6 +187,11 @@ public class TrunkShellBlock extends BlockWithDynamicHardness implements IWaterL
this.getMuse(world, pos);
}
+ @Override
+ public void neighborChanged(BlockState state, World world, BlockPos pos, Block neighborBlock, BlockPos neighborPos, boolean p_220069_6_) {
+ this.getMuse(world, pos);
+ }
+
@Override
public VoxelShape getShape(BlockState state, IBlockReader reader, BlockPos pos, ISelectionContext context) {
return Null.applyIfNonnull(this.getMuse(reader, state, pos), muse -> VoxelShapes.create(muse.state.getShape(reader, muse.pos).bounds().move(muse.museOffset)), VoxelShapes.empty());
