How to make a potion effect that plays random sounds

Started by Birb_ on

Topic category: Help with modding (Java Edition)

Last seen on 01:46, 24. Nov 2022
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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!