Package net.minecraft.tileentity

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


      tileEntity.invalidate();
    }
    toInvalidate.clear();
    for (Map.Entry<ChunkPosition, TileEntity> entry : tileMap.entrySet()) {
      TileEntity tileEntity = entry.getValue();
      if ((!tileEntity.canUpdate() && tileEntity.isInvalid()) || tileEntity.getClass() == TileEntity.class) {
        tileEntity.invalidate();
        ChunkPosition position = entry.getKey();
        tileMap.remove(position);
        worldObj.loadedTileEntityList.remove(tileEntity);
        int x = position.x, y = position.y, z = position.z;
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.