Package buildcraft.transport

Examples of buildcraft.transport.Gate.readFromNBT()


    if (nbt.hasKey("direction")) {
      direction = ForgeDirection.getOrientation(nbt.getInteger("direction"));
    }

    Gate gate = makeGate(pipe, material, logic, direction);
    gate.readFromNBT(nbt);

    // Legacy support
    if (nbt.hasKey("Pulser")) {
      NBTTagCompound pulsarTag = nbt.getCompoundTag("Pulser");
      GateExpansionController pulsarCon = GateExpansionPulsar.INSTANCE.makeController(pipe.container);
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.