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

Started by Allegator on

Topic category: Help with Minecraft modding (Java Edition)

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)