public class PlayerEatFoodEvent extends PlayerEvent implements Cancellable
| Constructor and Description |
|---|
PlayerEatFoodEvent(Player player,
Food food) |
| Modifier and Type | Method and Description |
|---|---|
Food |
getFood() |
static HandlerList |
getHandlers() |
void |
setFood(Food food) |
getPlayergetEventName, isCancelled, setCancelled, setCancelledclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisCancelled, setCancelled, setCancelledpublic static HandlerList getHandlers()
public Food getFood()
public void setFood(Food food)
Copyright © 2020. All rights reserved.