help with offhand procedure

Started by brnonymous on

Topic category: Help with modding (Java Edition)

Last seen on 01:38, 4. Dec 2021
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
help with offhand procedure

ok so im trying to make a mod that adds different rings that grant effects when held in the offhand. basically, regen ring grants regen in offhand or water breathing ring grants water breathing in offhand. i only have one ring made but the code isnt giving my player regen. ive made a sword thats pretty much the exact same but with the "item in main hand" block and it works. it just seems like the "item in off-hand" block isnt working. any clue how to fix this? heres my procedure btw 

https://drive.google.com/file/d/1myastpROkcQALgQdSaBdr_SIorBB0GdB/view?…

Last seen on 08:09, 24. Apr 2024
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Change Event trigger to: On…
Fri, 11/19/2021 - 07:35

Change Event trigger to: On player tick update 

Last seen on 01:38, 4. Dec 2021
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
it worked. thank you!  
Fri, 11/19/2021 - 08:06

it worked. thank you!