How to cancel vanilla right click action and add another on top of it

Started by Disketaa on

Topic category: Help with MCreator software

Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to cancel vanilla right click action and add another on top of it

Hello everyone! 

I have a food item, and also I have a right-click procedure for it, (like click this item to a cauldron). And I don't know how to fix situation when I right click with my food item to a block player starts to eat this item instead of continually do the procedure.

Current action: Player choose to eat item when I try to right click this item to a cauldron. 
For example: Composter. You can compost berries in it by right clicking, and player will'nt try to eat them.