Can I disable the eating sound somehow?

Started by Trinicrafter10 on Thu, 04/23/2020 - 05:00

Topic category: Help with MCreator software

Last seen on 20:45, 27. Jun 2020
Joined Oct 2014
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
Can I disable the eating sound somehow?
Thu, 04/23/2020 - 05:00

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

Last seen on 13:08, 5. Jul 2020
Joined Jun 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 06:52, 17. Jun 2020
Joined Jan 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 10:33, 1. Jul 2020
Joined Mar 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 12:30, 4. Jul 2020
Joined Sep 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 18:42, 21. Jun 2020
Joined May 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 13:08, 5. Jul 2020
Joined Jun 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 12:30, 4. Jul 2020
Joined Sep 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 12:30, 4. Jul 2020
Joined Sep 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.