1111import net .minecraft .util .Hand ;
1212import net .minecraft .util .math .BlockPos ;
1313import net .minecraft .util .math .BlockRayTraceResult ;
14- import net .minecraft .util .math .shapes .ISelectionContext ;
15- import net .minecraft .util .math .shapes .VoxelShape ;
16- import net .minecraft .util .math .shapes .VoxelShapes ;
1714import net .minecraft .world .IBlockReader ;
1815import net .minecraft .world .World ;
1916import net .minecraftforge .api .distmarker .Dist ;
2017import net .minecraftforge .api .distmarker .OnlyIn ;
2118import net .minecraftforge .fml .DistExecutor ;
2219
23- import javax .annotation .Nonnull ;
2420import javax .annotation .Nullable ;
2521
2622/**
@@ -44,27 +40,6 @@ public TileEntity createTileEntity(final BlockState state, final IBlockReader wo
4440 return ModTileEntityTypes .MINI_MODEL .create ();
4541 }
4642
47- /**
48- * @deprecated Call via {@link BlockState#isSolid()} whenever possible.
49- * Implementing/overriding is fine.
50- */
51- @ Override
52- public boolean isSolid (final BlockState state ) {
53- // This prevents xraying through the world and allows light to go through this block.
54- return false ;
55- }
56-
57- /**
58- * @deprecated Call via {@link BlockState#getCollisionShape(IBlockReader, BlockPos, ISelectionContext)} whenever possible.
59- * Implementing/overriding is fine.
60- */
61- @ Override
62- @ Nonnull
63- public VoxelShape getCollisionShape (final BlockState state , final IBlockReader reader , final BlockPos pos , final ISelectionContext context ) {
64- // Allow entities to walk through the model
65- return VoxelShapes .empty ();
66- }
67-
6843 /**
6944 * @deprecated Call via {@link BlockState#onBlockActivated(World, PlayerEntity, Hand, BlockRayTraceResult)} whenever possible.
7045 * Implementing/overriding is fine.
0 commit comments