MCPcopy Create free account
hub / github.com/GregTech6/gregtech6 / getNBT

Method getNBT

src/main/java/gregapi/util/UT.java:2027–2030  ·  view source on GitHub ↗
(ItemStack aStack)

Source from the content-addressed store, hash-verified

2025 }
2026
2027 public static NBTTagCompound getNBT(ItemStack aStack) {
2028 NBTTagCompound rNBT = aStack.getTagCompound();
2029 return rNBT==null?make():rNBT;
2030 }
2031
2032 public static NBTTagCompound getOrCreate(ItemStack aStack) {
2033 NBTTagCompound rNBT = aStack.getTagCompound();

Callers 15

setPunchCardDataMethod · 0.95
getPunchCardDataMethod · 0.95
setBlueprintCraftingMethod · 0.95
getBlueprintCraftingMethod · 0.95
setLighterFuelMethod · 0.95
getLighterFuelMethod · 0.95
setMapIDMethod · 0.95
getMapIDMethod · 0.95
setMagicMapIDMethod · 0.95
getMagicMapIDMethod · 0.95
setMazeMapIDMethod · 0.95
getMazeMapIDMethod · 0.95

Calls 1

makeMethod · 0.95

Tested by

no test coverage detected