Package buildcraft.api.tiles

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

Related Classes of buildcraft.api.tiles.IHasWork

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.