Package buildcraft.transport

Examples of buildcraft.transport.Gate.writeToNBT()


    for (int i = 0; i < ForgeDirection.VALID_DIRECTIONS.length; i++) {
      final String key = "Gate[" + i + "]";
      Gate gate = gates[i];
      if (gate != null) {
        NBTTagCompound gateNBT = new NBTTagCompound();
        gate.writeToNBT(gateNBT);
        data.setTag(key, gateNBT);
      } else {
        data.removeTag(key);
      }
    }
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.