Started by
RPJOF
on
Topic category: Help with Minecraft modding (Java Edition)
Good morning all,
I created a block which, with energy, adds power to an item (which works with an NBT tag of item 0 -> 1000), everything works fine, except that now I should be able to if possible add an NBT tag to the item located in slot # 1 of my GUI.
I don't know if this is possible?
Thank you very much and good day !
maybe use nbt tag block with entity/player mainhand/itemstack block
I misspoke, infact, the player puts a pickaxe in a slot in the GUI and I would like that when he presses a button in the GUI, an NBT tag is added on the pickaxe.
oh um
maybe if i understand you right nbt tag edit "entitymainhand/itemstack" in a "if" block checking that its 1 of the pickaxes/custom pickaxes if you have them
if this does not work you could send the workspace and i could try
No not exactly, 😬, I would just need to add an NBT tag to an item that is in a GUI input, if that is possible?