Cancel Event Player left click using Fabric generator

Started by luxlacis on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Cancel Event Player left click using Fabric generator

I'm trying to make it so that if you're not using an axe you cannot punch logs (birch log in this instance). I'm using the the "cancel even that triggered global trigger" block but I'm getting an error. I'm not really sure where I've gone wrong.

Any advice?

Perhaps there's another way to do this?