How to make a potion effect that plays random sounds

Started by Birb_ on

Topic category: Help with Minecraft modding (Java Edition)

Active 6 months ago
Joined Jun 2021
Points:
568

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 0
How to make a potion effect that plays random sounds

So the premise here is pretty simple: I'm trying to make an "insanity" potion effect where every tick there is a chance that a random sound is played. Among these sounds are: mob noises, footsteps and cave sounds. The only problem here is I have no idea how to do this. Some guidance would be much appreciated!