Started by
Gravitas
on
Topic category: Help with Minecraft modding (Java Edition)
Currently I'm trying to make an item that gives you a potion effect if you hold it. I can't seem to get it work though and need some help doing it. I tried the following:
The first thing I tried was this and it gave me an error in the compilation: https://imgur.com/a/uNqi3gC
The second thing I tried was this and it didn't do anything when I tried it out in game: https://imgur.com/a/ihiqOCg
"When item in use tick" refers to when you hold the place button (default: right click)
try "when item is in inventory" with condition "itemInPlayersHand[]"