use of forestry.core.blocks.BlockBase in project ForestryMC by ForestryMC.
the class TileBase method shouldRefresh.
@Override
public boolean shouldRefresh(World world, BlockPos pos, IBlockState oldState, IBlockState newState) {
Block oldBlock = oldState.getBlock();
Block newBlock = newState.getBlock();
return oldBlock != newBlock || !(oldBlock instanceof BlockBase) || !(newBlock instanceof BlockBase);
}
Aggregations