How to detect clicking a block when it's being canceled

Started by Lord_Of_Crumbs on

Topic category: Help with modding (Java Edition)

Last seen on 00:41, 13. Apr 2024
Joined Sep 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to detect clicking a block when it's being canceled

So, I'm trying to make a procedure that happens when I click a block with a certain item. But that block is Create's hand crank and when you click the hand crank it cancels whatever click action you were going to make. The problem is that unlike a note block it still cancels the action even if you're sneaking. So I can't seem to figure out how to activate the procedure.