Package buildcraft.api.robots

Examples of buildcraft.api.robots.ResourceId


    if (resourcesTakenByRobot.containsKey(robot.getRobotId())) {
      HashSet<ResourceId> resourceSet = (HashSet<ResourceId>) resourcesTakenByRobot.get(robot.getRobotId())
          .clone();

      ResourceId mainId = null;

      for (ResourceId id : resourceSet) {
        release(id);
      }
View Full Code Here


    NBTTagList resourceList = nbt.getTagList("resourceList", Constants.NBT.TAG_COMPOUND);

    for (int i = 0; i < resourceList.tagCount(); ++i) {
      NBTTagCompound cpt = resourceList.getCompoundTagAt(i);
      ResourceId resourceId = ResourceId.load(cpt.getCompoundTag("resourceId"));
      long robotId = cpt.getLong("robotId");

      take(resourceId, robotId);
    }
View Full Code Here

TOP

Related Classes of buildcraft.api.robots.ResourceId

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.