Need help with getting sounds to play in the air while riding

Started by LadyMoo on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Need help with getting sounds to play in the air while riding

Thanks for taking the time to read my post, I need guidance - as I have been at it for a week - with getting a motor sound to play while I'm riding my airship in the air! Sounds simple enough, I've tried-- Timers (crash my game), Key bindings (only plays sound while on the ground...oof...) Piles of suggested code with checks and logic loops, (if the sound does play it plays like 20 copies of the same sound... double oof...) The key bindings might work if I could get the sound to loop but not play multiple copies at once, I just cant figure out the code for that. 

Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Just use the "step sound"…
Sun, 02/09/2025 - 08:14

Just use the "step sound" inside the entitys visual and sound settings. 

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Step sound doesn't work…
Mon, 02/10/2025 - 00:26

Step sound doesn't work right when the mount is in the air, it stops playing! Step sound only works on the ground and not when the entity is in the air unfortunately, not good for a motor sound. Also the step sound creates a problem playing many copies of itself over and over. :(

Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use the same sound for step…
Mon, 02/10/2025 - 02:01

Use the same sound for step sound and living sound. Do not fade out the sounds. This is how I make my flying mounts "flying sound".

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I was trying to get the…
Mon, 02/10/2025 - 05:23

I was trying to get the sound to happen only while it was being ridden or even just moving. I didn't really want a motor running constantly. I really thought key binds would be the ticket, but its playing to many at once. 

Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you make the step sound…
Tue, 02/11/2025 - 03:26

If you make the step sound longer. It will not stop making the sound till after you stop pressing forward. Works on my end. 

I think my flying "step sound" is 5-7 seconds long. Default step sounds are 1-2 seconds long.

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Alrighty I will give that a…
Tue, 02/11/2025 - 23:25

Alrighty I will give that a try since my motor sample is actually 5 seconds long! Much appreciated!

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Tragically, while the sound…
Wed, 02/12/2025 - 21:05

Tragically, while the sound plays correctly as you said on the ground, the step sound does not carry into the air. My airship is silent while flying, but motors like the dickens on the ground... ::sigh:: back to looking for a workaround.

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
maybe you could do, is it…
Wed, 02/19/2025 - 11:22

maybe you could do, is it moving and is it in the air

play <sound>

Image: