How to run procedure when player crouches & right-clicks sign?

Started by TCMFatbird on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to run procedure when player crouches & right-clicks sign?

I am trying to make a mod to get more customizable signs where my first item is a "bolding agent" which when crouching & right-clicking on a sign, it turns the text on the sign bold. Problem is, I have no idea how to do that. I just mostly need help with the part to run a procedure when the player right-clicks a sign while crouching with the item.

Thanks in advance!

Joined Nov 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(The player doesn't actually…
Wed, 11/26/2025 - 15:41

(The player doesn't actually have to shift-click they can just right click the sign while holding the item; I noticed this when dye-ing signs.)