Started by
timothédoda
on
Topic category: Help with Minecraft modding (Java Edition)
I have a piece of code that runs when an item is right-clicked. If it meets a certain condition (which you don’t need to know), it should remove the item and replace it with another item that has the same texture.
Additionally, I want to add data to this new item so that I can use it later in a procedure triggered by the second item.
Also just wanted to mention that the two blocks at the beggining of the code do not really matter
like this?
yeah that is perfect thank you so much
also I just have one more question, do you know how I could set the custom data text tag value to an item?
um like this?
https://mcreator.net/comment/298838/#comment-298838