Package buildcraft.api.gates

Examples of buildcraft.api.gates.TriggerParameter


          GateSettings gS = GateSettings.createFromNBT(itemStack.stackTagCompound);
          if (gS.kind == pipe.gate.kind && gS.isAutarchic == (pipe.gate instanceof GateVanilla && ((GateVanilla) pipe.gate).hasPulser())) {
            for (int i = 0; i < 8; ++i) {
              pipe.gate.actions[i] = ActionManager.actions.get(gS.slots[i].action);
              pipe.gate.triggers[i] = ActionManager.triggers.get(gS.slots[i].trigger);
              pipe.gate.triggerParameters[i] = new TriggerParameter();
              pipe.gate.triggerParameters[i].set(gS.slots[i].triggerParameter);
            }

            entityPlayer.sendChatToPlayer(ChatMessageComponent.createFromText(StringUtils.localize("gui.GateSettings.pasted")));
          }
View Full Code Here

TOP

Related Classes of buildcraft.api.gates.TriggerParameter

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.