When I eat my food it eats the bowl?

Started by Jingothejumper on Thu, 08/13/2020 - 15:52

Topic category: Help with modding (Java Edition)

Last seen on 00:39, 17. Mar 2021
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
When I eat my food it eats the bowl?
Thu, 08/13/2020 - 15:52

I have a new type of soup in my mod, and I made a procedure that makes it add a bowl to your inventory when you eat it. If I do not have any existing bowls in my inventory and I eat it, you see the bowl flash up for a fraction of a second and dissapear. How do I fix this?

 

Last seen on 15:28, 3. Apr 2021
Joined Jul 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
you can try to replace item…
Fri, 08/14/2020 - 12:47

you can try to replace item in entity main hand with an empty bowl

Last seen on 15:28, 3. Apr 2021
Joined Jul 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
or set item in entity main…
Fri, 08/14/2020 - 12:48

or set item in entity main hand as an empty bowl