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

Method setTagInfo

src/main/java/net/minecraft/item/ItemStack.java:914–922  ·  view source on GitHub ↗
(String key, NBTBase value)

Source from the content-addressed store, hash-verified

912 }
913
914 public void setTagInfo(String key, NBTBase value)
915 {
916 if (this.stackTagCompound == null)
917 {
918 this.setTagCompound(new NBTTagCompound());
919 }
920
921 this.stackTagCompound.setTag(key, value);
922 }
923
924 public boolean canEditBlocks()
925 {

Callers 8

func_181036_aMethod · 0.95
getSubCompoundMethod · 0.95
harvestBlockMethod · 0.95
sendBookToServerMethod · 0.80
setEnchantmentsMethod · 0.80

Calls 2

setTagCompoundMethod · 0.95
setTagMethod · 0.80

Tested by

no test coverage detected