MCPcopy Create free account
hub / github.com/BuildCraft/BuildCraft / writeToNBT

Method writeToNBT

common/buildcraft/lib/misc/data/Box.java:106–109  ·  view source on GitHub ↗
(NBTTagCompound nbt)

Source from the content-addressed store, hash-verified

104 }
105
106 public void writeToNBT(NBTTagCompound nbt) {
107 if (min != null) nbt.setTag("min", NBTUtils.writeBlockPos(min));
108 if (max != null) nbt.setTag("max", NBTUtils.writeBlockPos(max));
109 }
110
111 public NBTTagCompound writeToNBT() {
112 NBTTagCompound nbt = new NBTTagCompound();

Callers

nothing calls this directly

Calls 1

writeBlockPosMethod · 0.95

Tested by

no test coverage detected