Started by
MrSandMan7
on
Topic category: Help with Minecraft modding (Java Edition)
I’ve watched several tutorials but it has yet to work in game any help is appreciated
What am I doing wrong?: https://imgur.com/gallery/help-MvUNkT6
Topic category: Help with Minecraft modding (Java Edition)
I’ve watched several tutorials but it has yet to work in game any help is appreciated
What am I doing wrong?: https://imgur.com/gallery/help-MvUNkT6
Do you have a Global trigger for the procedure or another kind of trigger?
I would suggest going to the item element and adding this procedure in the when used trigger.
-PixelKid
Set the number for ticks to 5. Also, you can remove that if part that checks if the player is wearing the helmet because it seems to already be in the helmet tick procedure. Let me know if this doesn't fix it.
@AwsomeCoderDude
Thanks this got me closer, the night vision effect does appear now but only briefly every few seconds, I added a sound procedure to check and it look like the entire procedure just repeats itself indefinitely as the sound I added loops endlessly
Yes, that's how that would work. If it is only appearing for a few seconds, try setting it to like 60. What are you trying to do? Because the current code for the helmet will give you night vision for as long as you wear it.