Examples of ChunkCoordinates


Examples of net.minecraft.util.ChunkCoordinates

    int x = cmp.getInteger(TAG_COLLECTOR_X);
    int y = cmp.getInteger(TAG_COLLECTOR_Y);
    int z = cmp.getInteger(TAG_COLLECTOR_Z);

    cachedCollectorCoordinates = new ChunkCoordinates(x, y, z);
  }
View Full Code Here

Examples of net.minecraft.util.ChunkCoordinates

  @Override
  public ChunkCoordinates getBinding() {
    if(linkedCollector == null)
      return null;
    return new ChunkCoordinates(linkedCollector.xCoord, linkedCollector.yCoord, linkedCollector.zCoord);
  }
View Full Code Here

Examples of net.minecraft.util.ChunkCoordinates

    if(needsNew) {
      IManaNetwork network = BotaniaAPI.internalHandler.getManaNetworkInstance();
      int size = network.getAllPoolsInWorld(supertile.getWorldObj()).size();
      if(BotaniaAPI.internalHandler.shouldForceCheck() || size != sizeLastCheck) {
        ChunkCoordinates coords = new ChunkCoordinates(supertile.xCoord, supertile.yCoord, supertile.zCoord);
        linkedPool = network.getClosestPool(coords, supertile.getWorldObj(), range);
        sizeLastCheck = size;
      }
    }
  }
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.