Package buildcraft.core.robots

Examples of buildcraft.core.robots.ResourceIdRequest


  public StackRequest getAvailableRequest(int i) {
    if (requests.getStackInSlot(i) == null) {
      return null;
    } else if (isFulfilled(i)) {
      return null;
    } else if (RobotRegistry.getRegistry(worldObj).isTaken(new ResourceIdRequest(this, i))) {
      return null;
    } else {
      StackRequest r = new StackRequest();

      r.index = i;
View Full Code Here


    if (requests.getStackInSlot(i) == null) {
      return false;
    } else if (isFulfilled(i)) {
      return false;
    } else {
      return RobotRegistry.getRegistry(worldObj).take(new ResourceIdRequest(this, i), robot);
    }
  }
View Full Code Here

    if (currentBuilder == null) {
      return false;
    } else if (!(currentBuilder instanceof BptBuilderBlueprint)) {
      return false;
    } else {
      return RobotRegistry.getRegistry(worldObj).take(new ResourceIdRequest(this, i), robot);
    }
  }
View Full Code Here

TOP

Related Classes of buildcraft.core.robots.ResourceIdRequest

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.