Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I need to change some nbt tags of a player item. How can this be done? I know there is a command /data but I could not do it.
For example, I need to change the author's tag from the written book that the player is holding in his hands
/data get entity @e[type=item,sort=nearest,limit=1]
Required, but never shown
20 days ago