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

Method readUUID

common/buildcraft/lib/misc/NBTUtils.java:71–77  ·  view source on GitHub ↗
(NBTTagCompound data, String tag)

Source from the content-addressed store, hash-verified

69 }
70
71 public static UUID readUUID(NBTTagCompound data, String tag) {
72 if (data.hasKey(tag)) {
73 NBTTagCompound nbtTag = data.getCompoundTag(tag);
74 return new UUID(nbtTag.getLong("most"), nbtTag.getLong("least"));
75 }
76 return null;
77 }
78
79 public static byte[] save(NBTTagCompound compound) {
80 ByteArrayOutputStream baos = new ByteArrayOutputStream();

Callers

nothing calls this directly

Calls 1

getLongMethod · 0.80

Tested by

no test coverage detected