play sound attached to player

Started by keenan1127 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
play sound attached to player

I want a sound to stick to the player as they move very fast by a single call in a procedure, anyone know how?

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could just make your…
Wed, 04/02/2025 - 11:52

You could just make your sound stereo and play it at a very high level.

This would sound weird for other players around the player that is playing the sound though, so you should only do this if the sound is only supposed to be heard by that one player.

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Making a sound stereo in…
Wed, 04/02/2025 - 11:54

Making a sound stereo in Minecraft makes it have no "attenuation distance" which basically just means it doesn't get quieter the further away from it you go.