Examples of IHasWork


Examples of buildcraft.api.tiles.IHasWork

  }

  @Override
  public boolean isTriggerActive(TileEntity tile, ForgeDirection side, IStatementContainer container, IStatementParameter[] parameters) {
    if (tile instanceof IHasWork) {
      IHasWork machine = (IHasWork) tile;

      if (active) {
        return machine.hasWork();
      } else {
        return !machine.hasWork();
      }
    }

    return false;
  }
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.