make food be edible quickly like dried kelp

Started by benji bon on

Topic category: Help with modding (Java Edition)

Last seen on 06:26, 18. Jul 2024
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
make food be edible quickly like dried kelp

as you know,  you can eat dried kelp twice as fast as a normal food, I was wondering, how do I make my modded food be consumed faster? I'm fine with editing the actual code if that's needed. 

 

here's the part from the generated code, if that helps at all.

super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON).food((new FoodProperties.Builder()).nutrition(2).saturationMod(3f).meat().build()));
Last seen on 06:26, 18. Jul 2024
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
boost
Thu, 07/11/2024 - 05:04

boost

Last seen on 06:26, 18. Jul 2024
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I figured it out... In case…
Sat, 07/13/2024 - 19:22

I figured it out... In case any future people are wondering this, it's the item use duration section at the bottom of the properties tab, change it from 32 to 16.