return tile.getPartContainer().isAABBInsideMaterial(aabb, material);
}
@Override
public Boolean isEntityInsideMaterial(World world, BlockPos pos, IBlockState state, Entity entity, double yToTest, Material material,
boolean testingHead) {
<BUG>TileMultipart tile = ((TileMultipart) world.getTileEntity(pos));
if (tile == null) return null;</BUG>
return tile.getPartContainer().isEntityInsideMaterial(entity, yToTest, material, testingHead);
}
@Override

return tile.getPartContainer().isAABBInsideMaterial(aabb, material);
}
@Override
public Boolean isEntityInsideMaterial(World world, BlockPos pos, IBlockState state, Entity entity, double yToTest, Material material,
boolean testingHead) {
TileMultipart tile = getMultipartTile(world, pos);
if (tile == null) return null;
return tile.getPartContainer().isEntityInsideMaterial(entity, yToTest, material, testingHead);
}
@Override
