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

Method setTagCompound

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

Assigns a NBTTagCompound to the ItemStack, minecraft validates that only non-stackable items can have it.

(NBTTagCompound nbt)

Source from the content-addressed store, hash-verified

575 * Assigns a NBTTagCompound to the ItemStack, minecraft validates that only non-stackable items can have it.
576 */
577 public void setTagCompound(NBTTagCompound nbt)
578 {
579 this.stackTagCompound = nbt;
580 }
581
582 /**
583 * returns the display name of the itemstack

Callers 15

func_181036_aMethod · 0.95
onItemRightClickMethod · 0.95
getSubItemsMethod · 0.95
clearCustomNameMethod · 0.95
addEnchantmentMethod · 0.95
setTagInfoMethod · 0.95
getCraftingResultMethod · 0.95
getCraftingResultMethod · 0.95
getCraftingResultMethod · 0.95
processCommandMethod · 0.95
processCommandMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected