"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

Submitted by Spookey on Fri, 01/11/2019 - 18:51

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

This feature will be added in 1.8.3. I am closing this ticket now.