MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / hasTagCompound

Method hasTagCompound

src/main/java/net/minecraft/item/ItemStack.java:532–535  ·  view source on GitHub ↗

Returns true if the ItemStack has an NBTTagCompound. Currently used to store enchantments.

()

Source from the content-addressed store, hash-verified

530 * Returns true if the ItemStack has an NBTTagCompound. Currently used to store enchantments.
531 */
532 public boolean hasTagCompound()
533 {
534 return this.stackTagCompound != null;
535 }
536
537 /**
538 * Returns the NBTTagCompound of the ItemStack.

Callers 15

doRenderLayerMethod · 0.95
isItemStackDamageableMethod · 0.95
getTooltipMethod · 0.95
getRepairCostMethod · 0.95
setRepairCostMethod · 0.95
getAttributeModifiersMethod · 0.95
canDestroyMethod · 0.95
canPlaceOnMethod · 0.95
getRemainingItemsMethod · 0.95
matchesMethod · 0.95
getCraftingResultMethod · 0.95
processCommandMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected