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

Method getLighterFuel

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

Source from the content-addressed store, hash-verified

2089 return tNBT;
2090 }
2091 public static long getLighterFuel(ItemStack aStack) {
2092 NBTTagCompound tNBT = getNBT(aStack);
2093 return tNBT.getLong("gt.lighter");
2094 }
2095 public static NBTTagCompound setLighterFuel(NBTTagCompound aNBT, long aFuel) {
2096 setNumber(aNBT, "gt.lighter", aFuel);
2097 return aNBT;

Callers 3

onLeftClickEntityMethod · 0.80
onItemUseFirstMethod · 0.80
getAdditionalToolTipsMethod · 0.80

Calls 2

getNBTMethod · 0.95
getLongMethod · 0.65

Tested by

no test coverage detected