@Deprecated
public boolean isOpaqueCube(IBlockState state)
{
return true;
}
This method in the block class is deprecated.
Before I use it is there an equivalent/other way. Also, why do other methods of the block class call a deprecated.
/**
* Check if the face of a block should block rendering.
*
* Faces which are fully opaque should return true, faces with transparency
* or faces which do not span the full size of the block should return false.
*
* @param state The current block state
* @param world The current world
* @param pos Block position in world
* @param face The side to check
* @return True if the block is opaque on the specified side.
*/
public boolean doesSideBlockRendering(IBlockState state, IBlockAccess world, BlockPos pos, EnumFacing face)
{
return state.isOpaqueCube();
}