How do I make a chat message trigger an event?

Started by LagLiniJacob on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make a chat message trigger an event?

I'm trying to make a simple mod that plays a sound effect whenever "CRITICAL HIT!" is seen in chat, how would I go about doing this?

Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Idk if the global trigger is…
Wed, 09/23/2020 - 11:05

Idk if the global trigger is in 2020.4 or if it will arrive in 2020.5 but there's one called "Player send chat" that should do the job.