Cancel right click swing animation

Started by NapTap0 on

Topic category: Feature requests and ideas for MCreator

Last seen on 01:55, 6. Oct 2024
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Cancel right click swing animation

I made a block where if you right click on it with the correct tool/item, it triggers a procedure that does something to the block. However, it would be nice if you could disable the player arm swing animation when right clicking the block if they have the wrong tool/item.

Last seen on 02:24, 6. Oct 2024
Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is caused by this line;…
Sun, 10/06/2024 - 02:24

This is caused by this line;

It seems like MCreator doesn't currently have any way to change what the interaction result will be for right click event.

So, if you want to fix this you'd have to use code locking.