player.isEating() ??

Discussion in 'Plugin Development' started by thebigdolphin1, Dec 28, 2012.

Thread Status:
Not open for further replies.
  1. Theres .isSprinting, .isSleeping, but no .isEating ?
    How can I detect if they're eating/drinking?
     
  2. Offline

    Retherz_

    eating is an event
     
  3. Offline

    GodzOfMadness

    thebigdolphin1 MercilessPvP
    yes eating is an event but it's not
    PlayerEatEvent it is PlayerInteractEvent
    and just get what is in there hand and do what you want
     
  4. Offline

    GodzOfMadness

    There is no function only an event
     
  5. Offline

    chenr1

    There is no IsEating Even is there? Unless its something new in 1.4.6, I recall discussing this same thing when I first got into java.
     
  6. Offline

    fireblast709

    No only an event when your foodlevel changes and when you start interacting with it
     
Thread Status:
Not open for further replies.

Share This Page