Started by
Ima-builder
on
Topic category: Help with Minecraft modding (Java Edition)
Hi, I was wondering if there is a way to make semi-custom items for datapacks.
Basically Where you right click the item and it runs a script, something similar to this this.
That datapack uses a texture pack to change the texture of a carrot on a stick, they make the wands using a carrot on a stick right-click detection system.
just make a scoreboard that detects right-clicking with a carrot on a stick and have a function that is constantly checking if it is right-clicked
Just follow this tutorial: https://www.youtube.com/watch?v=xcOw4conrVM
it will explain it better than me and it's made by someone who makes really good datapacks.