Can I disable the eating sound somehow?

Started by Trinicrafter10 on

Topic category: Help with MCreator software

Active 2 months ago
Joined Oct 2014
Points:
825

User statistics:

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

Active 3 months ago
Joined Jun 2019
Points:
2784

User statistics:

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

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

Active 4 years ago
Joined Jan 2020
Points:
779

User statistics:

  • Modifications: 1
  • Forum topics: 21
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 80
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.

Active 1 year ago
Joined Mar 2020
Points:
885

User statistics:

  • Modifications: 3
  • Forum topics: 11
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 369
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

Active 4 years ago
Joined Sep 2019
Points:
973

User statistics:

  • Modifications: 1
  • Forum topics: 14
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 507
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.

Active 4 years ago
Joined May 2019
Points:
877

User statistics:

  • Modifications: 1
  • Forum topics: 31
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 122
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

Active 3 months ago
Joined Jun 2019
Points:
2784

User statistics:

  • Modifications: 4
  • Forum topics: 48
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3716
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.

 

Active 4 years ago
Joined Sep 2019
Points:
973

User statistics:

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

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

 

Active 4 years ago
Joined Sep 2019
Points:
973

User statistics:

  • Modifications: 1
  • Forum topics: 14
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 507
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.

Active 3 months ago
Joined Jun 2019
Points:
2784

User statistics:

  • Modifications: 4
  • Forum topics: 48
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3716
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...

Active 4 years ago
Joined Sep 2019
Points:
973

User statistics:

  • Modifications: 1
  • Forum topics: 14
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 507
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...