How to run a function if player right clicks a water source?

Started by RealACKtbt on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to run a function if player right clicks a water source?

I haven't found anything online that could help me but i did see that some people were successful in doing this. I'm guessing you have to use raytracing and stuff and i have absolutely no clue what to do. Thanks for any help.