Discussion in 'Plugin Development' started by yologamer384, Feb 28, 2017.
Hi forum only one question. It's possible to eat food when player have food bar full?
You could check for player right click event, and check if they're holding a food item. If they are set the item in their hand to null.
Note: This wouldn't produce an eating animation.
If you really want, you can use packets (specifically, the animation packet) to make it seem that the player is eating, even when they are not. Besides that, no, the player cannot eat when they are full.
Separate names with a comma.