MCPcopy Index your code
hub / github.com/GregTech6/gregtech6 / update_

Method update_

src/main/java/gregapi/util/ST.java:257–261  ·  view source on GitHub ↗
(ItemStack aStack)

Source from the content-addressed store, hash-verified

255 return invalid(aStack)?aStack:update_(aStack);
256 }
257 public static ItemStack update_(ItemStack aStack) {
258 if (aStack.hasTagCompound() && aStack.getTagCompound().hasNoTags()) aStack.setTagCompound(null);
259 if (item_(aStack) instanceof IItemUpdatable) ((IItemUpdatable)item_(aStack)).updateItemStack(aStack);
260 return aStack;
261 }
262 public static ItemStack update (ItemStack aStack, World aWorld, int aX, int aY, int aZ) {
263 return invalid(aStack)?aStack:update_(aStack, aWorld, aX, aY, aZ);
264 }

Callers 12

setEnergyStoredMethod · 0.95
onItemUseFirstMethod · 0.95
runMethod · 0.95
setEnergyStoredMethod · 0.95
setEnergyStoredMethod · 0.95
runMethod · 0.95
updateMethod · 0.95
entity_Method · 0.95
generateLootMethod · 0.95
loadMethod · 0.95
update_Method · 0.95
shapedMethod · 0.95

Calls 3

item_Method · 0.95
roundDownMethod · 0.80
updateItemStackMethod · 0.65

Tested by

no test coverage detected