Trouble with Overlays in the Fabric Generator

Started by mikeybrikey on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Trouble with Overlays in the Fabric Generator

Hello, I'm working on a mod with a weapon that has a cloak effect when you right click. An overlay is supposed to temporarily show up while you're cloaked.

It isn't working and I'm getting errors in the code saying "error: cannot find symbol" when I make the overlay procedure.

.

This is what the if condition for the overlay is right now. (On player tick was supposed to be the global trigger, oops)