"Eating speed" for food items

Upvotes: 0
Issue description

By adding this snippet of code, it's possible to change how many ticks it takes to eat the food (default is 32). It'd be nice to be able to set this value without having to lock the element.

public int getMaxItemUseDuration(ItemStack stack) {
       	return 32;
}

 

Issue comments

I've been wanting this feature as well but didn't have enough time to post a request



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.