Examples of shouldRefresh()


Examples of net.minecraft.tileentity.TileEntity.shouldRefresh()

      var10.setExtBlockID(x, y & 15, z, id);

      if (var8 != 0) {
        if (Block.blocksList[var8] != null && Block.blocksList[var8].hasTileEntity(var9)) {
          TileEntity te = worldObj.getBlockTileEntity(var12, y, var13);
          if (te != null && te.shouldRefresh(var8, id, var9, meta, worldObj, var12, y, var13)) {
            worldObj.removeBlockTileEntity(var12, y, var13);
          }
        }
      }
View Full Code Here

Examples of net.minecraft.tileentity.TileEntity.shouldRefresh()

      if (oldBlock != null) {
        if (!worldObj.isRemote) {
          oldBlock.breakBlock(worldObj, wX, y, wZ, oldId, oldMeta);
        } else if (oldBlock.hasTileEntity(oldMeta)) {
          TileEntity te = worldObj.getBlockTileEntity(wX, y, wZ);
          if (te != null && te.shouldRefresh(oldId, id, oldMeta, meta, worldObj, wX, y, wZ)) {
            worldObj.removeBlockTileEntity(wX, y, wZ);
          }
        }
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.