Can I disable the eating sound somehow?

Started by Trinicrafter10 on

Topic category: Help with MCreator software

Last seen on 04:39, 13. Nov 2023
Joined Oct 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can I disable the eating sound somehow?

I wanna make a med-kit as a food item; how can I get rid of the eating sound though

Last seen on 03:10, 19. Feb 2022
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you can't. But you could use…
Thu, 04/23/2020 - 07:48

you can't. But you could use a item though

Last seen on 17:02, 24. Jan 2021
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use something like…
Thu, 04/23/2020 - 08:32

Use something like ResourcePackWorkbench2 to locate the sound and replace it with a blank sound file.

Last seen on 06:33, 1. May 2023
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
make item,and use WHEN ITEM…
Thu, 05/07/2020 - 15:16

make item,and use WHEN ITEM RIGHT-CLICKED IN AIR(PLAYER LOC.) TRIGGER

Last seen on 04:35, 17. Jan 2021
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No, use this snippet but…
Mon, 06/01/2020 - 16:00

No, use this snippet but obviously change the sound event to your sound,

    @Override
    public SoundEvent func_225519_S__()
    {
        return SoundEvents.AMBIENT_CAVE;
    }

If you use this,

make item,and use WHEN ITEM RIGHT-CLICKED IN AIR(PLAYER LOC.) TRIGGER

You are going to get overlapping sounds, you don't want that.

 

Func_225519_S__() is the sound event for food if you want to change the drinking sound override func_225520_U__().

This is how you do it :D.

Last seen on 15:10, 2. Feb 2021
Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Tbh, if I make a med-kit, I…
Mon, 06/01/2020 - 16:35

Tbh, if I make a med-kit, I would rather add a when item right-clicked, heal player, and add in item cool down procedure block. This is very simple yet effective

Last seen on 03:10, 19. Feb 2022
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you won't. Telling people to…
Mon, 06/01/2020 - 23:22

you won't.

Telling people to code without understanding it is a very bad idea @tbroski.

 

Last seen on 04:35, 17. Jan 2021
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I am not telling them to…
Mon, 06/01/2020 - 23:26

I am not telling them to code, I provided them with code...

 

Last seen on 04:35, 17. Jan 2021
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Crispy, you're putting me in…
Tue, 06/02/2020 - 01:08

Crispy, you're putting me in a pickle here lol. I can't have them code, but can't give the code (you see?). Now if you have a better idea of how to do this without errors go ahead. 

that's even worse. Spoon feeding others code is one of the worst things a programmer can do. More info: https://www.javaprogrammingforums.com/cafe/9544-problem-spoon-feeding.html

This thread is about the sounds. So create a new thread for "spoon feeding" lmao.

Last seen on 03:10, 19. Feb 2022
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
so just don't.... you don't…
Tue, 06/02/2020 - 01:35

so just don't....

you don't have to tell them to code something, just tell them it's impossible with MCreator and you would need to learn to code it...

Last seen on 04:35, 17. Jan 2021
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
But he is gonna get an error…
Tue, 06/02/2020 - 01:38

But he is gonna get an error. This is a person who has ambition to do something new. Let's say you want to get a can on top of a cabinet, but you are short and I am tall. I am gonna pick you up like my little brother and help you get there, you can't get better if you don't try new things right?

And you have the audacity to get on my "behind" about 3 lines of code...