Package buildcraft.transport.gates.GateDefinition

Examples of buildcraft.transport.gates.GateDefinition.GateMaterial


    return gate;
  }

  public static Gate makeGate(Pipe<?> pipe, NBTTagCompound nbt) {
    GateMaterial material = GateMaterial.REDSTONE;
    GateLogic logic = GateLogic.AND;
    ForgeDirection direction = ForgeDirection.UNKNOWN;

    // Legacy Support
    if (nbt.hasKey("Kind")) {
View Full Code Here


      } else if (gate == null) {
        player.addChatMessage(new ChatComponentTranslation("chat.gateCopier.noGate"));
        return true;
      }
     
      GateMaterial dataMaterial = GateMaterial.fromOrdinal(data.getByte("material"));
      GateMaterial gateMaterial = gate.material;
     
      if (gateMaterial.numSlots < dataMaterial.numSlots) {
        player.addChatMessage(new ChatComponentTranslation("chat.gateCopier.warning.slots"));
      }
      if (gateMaterial.numActionParameters < dataMaterial.numActionParameters) {
View Full Code Here

TOP

Related Classes of buildcraft.transport.gates.GateDefinition.GateMaterial

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.