Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to find food consume amount?

Comments in 'Plugin Development' started by Muqsit, Apr 16, 2016.

  1. Muqsit
    Offline

    Muqsit Active Member

    Joined:
    Sep 9, 2015
    Posts:
    175
    Minecraft User:
    Muqsit
    How do I send $player a message when $player consumes 6 steak in 60 seconds?
  2. minebuilder0110
    Offline

    minebuilder0110 Notable Member

    Joined:
    Dec 8, 2014
    Posts:
    485
    Minecraft User:
    Apparitional
    I am not sure on how to get how much hunger it refills, but you would make an array where it saves $player=>$hunger.
  3. Muqsit
    Offline

    Muqsit Active Member

    Joined:
    Sep 9, 2015
    Posts:
    175
    Minecraft User:
    Muqsit
    Hunger was not what I wanted :p
    I'd like to make a cooldown plugin for godapples. There's a new event called 'EntityEatEvent' but idk how I could use it.

Share This Page

Advertisement