Examples of resetGate()


Examples of buildcraft.transport.Gate.resetGate()

  @Override
  public void resetGate() {
    for (int i = 0; i < gates.length; i++) {
      Gate gate = gates[i];
      if (gate != null) {
        gate.resetGate();
      }
      gates[i] = null;
    }

    this.container.pipe.internalUpdateScheduled = true;
View Full Code Here

Examples of buildcraft.transport.Gate.resetGate()

    public void onDetachedPipe(IPipeTile pipe, ForgeDirection direction) {
      TileGenericPipe pipeReal = (TileGenericPipe) pipe;
      if (!pipeReal.getWorld().isRemote) {
        Gate gate = pipeReal.pipe.gates[direction.ordinal()];
        if (gate != null) {
          gate.resetGate();
          pipeReal.pipe.gates[direction.ordinal()] = null;
        }
        pipeReal.scheduleRenderUpdate();
      }
    }
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.