CanaryModTeam / CanaryLib

The CanaryMod API Library
http://canarymod.net
28 stars 22 forks source link

Add player.isDrinking / isEating #66

Closed svdragster closed 9 years ago

svdragster commented 9 years ago

there is already .isBlocking() and .isShooting()

darkdiplomat commented 9 years ago

There isnt anything that specifically states that a player is eating/drinking

iirc, there is just a ItemInUse

svdragster commented 9 years ago

I assumed there would be something since packets are being sent. So something like isConsuming() also wouldn't work?

darkdiplomat commented 9 years ago

I found a isEating in Entity but in Player is falls under the isUsingItem