"Eating speed" for food items

Status
Fixed
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