Package buildcraft.core.inventory.filters

Examples of buildcraft.core.inventory.filters.StatementParameterStackFilter.matches()


    for (StatementSlot s : new ActionIterator(pipe)) {
      if (actionClass.isAssignableFrom(s.statement.getClass())) {
        StatementParameterStackFilter param = new StatementParameterStackFilter(s.parameters);

        if (!param.hasFilter() || param.matches(filter)) {
          actionFound = true;
          break;
        }
      }
    }
View Full Code Here


  public boolean insert(DockingStation station, EntityRobot robot, StatementSlot actionSlot, IInvSlot invSlot,
      boolean doInsert) {
    StatementParameterStackFilter param = new StatementParameterStackFilter(actionSlot.parameters);

    return !param.hasFilter() || param.matches(invSlot.getStackInSlot());
  }

  @Override
  public void actionActivate(IStatementContainer source,
      IStatementParameter[] parameters) {
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.