Package nallar.tickthreading.util

Examples of nallar.tickthreading.util.BlockInfo


        tileMap.remove(position);
        worldObj.loadedTileEntityList.remove(tileEntity);
        int x = position.x, y = position.y, z = position.z;
        int id = getBlockID(x, y, z);
        int meta = getBlockMetadata(x, y, z);
        Log.info("Resetting invalid TileEntity " + Log.toString(tileEntity) + " for block: " + new BlockInfo(id, meta) + " at within chunk coords " + x + ',' + y + ',' + z + " in chunk " + this);
        setBlockIDWithMetadata(x, y, z, 0, 0);
        setBlockIDWithMetadata(x, y, z, id, meta);
      }
    }
  }
View Full Code Here


      }
      if (longestIndex == -1) {
        break;
      }
      blockFrequencies[longestIndex] = 0;
      BlockInfo blockInfo = new BlockInfo(longestIndex, 0);
      tf
          .row(blockInfo.id + ':' + blockInfo.name)
          .row(longest);
    }
    tf.finishTable();
View Full Code Here

    int blockId = world.getBlockIdWithoutLoad(x, y, z);
    if (blockId < 1) {
      sb.append("No block at ").append(Log.name(world)).append(" x,y,z").append(x).append(',').append(y).append(',').append(z).append('\n');
    } else {
      int metaData = world.getBlockMetadata(x, y, z);
      BlockInfo blockInfo = new BlockInfo(blockId, metaData);
      sb.append(blockId).append(':').append(blockInfo.name).append(':').append(metaData).append('\n');
    }
    sb.append("World time: ").append(world.getWorldTime()).append('\n');
    TileEntity toDump = world.getTEWithoutLoad(x, y, z);
    if (toDump == null) {
View Full Code Here

TOP

Related Classes of nallar.tickthreading.util.BlockInfo

Copyright © 2018 www.massapicom. 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.