public class MusicBox extends Block {
private static VoxelShape shape;
static {
VoxelShape box = Block.box(0, 0, 0, 16, 16, 16);
shape = Shapes.or(box);
}
public MusicBox() {
super(Properties.of(Material.DECORATION));
}
public VoxelShape getShape(BlockState blockState, BlockGetter blockGetter, BlockPos blockPos, CollisionContext collisionContext) {
return shape;
}
}