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

Method load

common/buildcraft/lib/misc/NBTUtils.java:38–47  ·  view source on GitHub ↗
(byte[] data)

Source from the content-addressed store, hash-verified

36 }
37
38 public static NBTTagCompound load(byte[] data) {
39 try {
40 NBTTagCompound nbt = CompressedStreamTools.readCompressed(new ByteArrayInputStream(data));
41 return nbt;
42 } catch (IOException e) {
43 e.printStackTrace();
44 }
45
46 return null;
47 }
48
49 public static NBTTagCompound getItemData(ItemStack stack) {
50 if (stack == null) {

Callers 4

loadMethod · 0.95
getRegionMethod · 0.95
fmlPostInitMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected