Custom Block Step Sound

Started by Mariojacob7red on Sun, 09/25/2022 - 02:48

Topic category: Help with modding (Java Edition)

Last seen on 16:00, 27. Sep 2022
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Custom Block Step Sound
Sun, 09/25/2022 - 02:48

Hi everyone. I know that there is another forum post with the exact same title as mine, but I have a different situation.

 

First, I'll go ahead and mention that I use MCreator 2020.2 and have been making my mod for a map I started 3 1/2 years ago when 1.12.2 was out.

 

What I have implemented so far is when a player walks on top of the block I made, using the "When entity walks on the block", it will play an ogg file I added to my mod.

Here's the problem: When I walk on the block, it keeps on playing the sound file repeatedly every split second. I have been trying to figure out how to make it only play the 1 second in length file only one time. Here's a link to the video I have unlisted on my YouTube channel to explain what I mean. --> My Mod Problem

 

Any help would be appreciated on how I can figure this out. :)

Last seen on 19:21, 24. Nov 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
maybe try using: "while"…
Sun, 09/25/2022 - 10:40

maybe try using: "while" instead of "when"

Last seen on 16:00, 27. Sep 2022
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I'm still having the same…
Sun, 09/25/2022 - 22:07

I'm still having the same problem even while trying to do what you said.

I'll keep trying any ideas that anyone gives me, but I might still just put that on the back burner for now until I get farther along with my map and want to start implementing my mod into it.