Class PlayerEatFoodEvent

All Implemented Interfaces:
Cancellable

public final class PlayerEatFoodEvent extends PlayerEvent implements Cancellable
Created by Snake1999 on 2016/1/14. Package cn.nukkit.event.player in project nukkit.
  • Constructor Details

    • PlayerEatFoodEvent

      public PlayerEatFoodEvent(Player player, Food food)
  • Method Details

    • getFood

      public Food getFood()
    • setFood

      public void setFood(Food food)