declare namespace org {
    namespace bukkit {
        namespace event {
            namespace entity {
                // @ts-ignore
                 class FoodLevelChangeEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable {
                    // @ts-ignore
                    constructor(what: org.bukkit.entity.HumanEntity, level: number)
                    // @ts-ignore
                    constructor(what: org.bukkit.entity.HumanEntity, level: number, item: org.bukkit.inventory.ItemStack)
                    // @ts-ignore
                    public getEntity(): org.bukkit.entity.HumanEntity;
                    /**
                     * Gets the item that triggered this event, if any.
                     */
                    // @ts-ignore
                    public getItem(): org.bukkit.inventory.ItemStack;
                    /**
                     * Gets the resultant food level that the entity involved in this event
                     * should be set to.
                     * <p>
                     * Where 20 is a full food bar and 0 is an empty one.
                     */
                    // @ts-ignore
                    public getFoodLevel(): number;
                    /**
                     * Sets the resultant food level that the entity involved in this event
                     * should be set to
                     */
                    // @ts-ignore
                    public setFoodLevel(level: number): void;
                    // @ts-ignore
                    public isCancelled(): boolean;
                    // @ts-ignore
                    public setCancelled(cancel: boolean): void;
                    // @ts-ignore
                    public getHandlers(): org.bukkit.event.HandlerList;
                    // @ts-ignore
                    public static getHandlerList(): org.bukkit.event.HandlerList;
                }
            }
        }
    }
}
