I need to add an NBT tag to a mob, but I don't know how to do it.
Oh, maybe you don't understand. "execute as @a run" is a vanilla command, it is native to the game...
Yes
[ATTACH]
The command just turns red
Oh yeah. You're right. But in "execute as @a run" command it doesn't work. Is it possible to fix this? And further. How do I get the coordinates...
I need to create a command that can be used in a command block. How to do it?
So the player will take the original and a copy. How to delete the original?
All the same. Does not work.
Yes. Checked by outputting a message to the console
OK. Thanks again for your help When I pick up an item I can't edit it. @EventHandler public void onPickupItem(PlayerPickupItemEvent event) {...
Thanks a lot. It works now Is it possible to edit the item if the player drop it? EDIT by Moderator: merged posts, please use the edit button...
How can I do this and when?
Separate names with a comma.