Help me create an NPC that sends random text to the chat.

Started by Allegator on

Topic category: Help with modding (Java Edition)

Last seen on 13:03, 9. Sep 2024
Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help me create an NPC that sends random text to the chat.

How do I create a mob that will send random text with sound to the chat when the PKM button is pressed (the main thing is that the text and sound are played together, and not randomly). I've already tried to create this using a random integer from 1 to 10, but nothing worked.(sorry for the bad English)