Skip to content

File player_item_consume_event.h

FileList > endstone > event > player > player_item_consume_event.h

Go to the source code of this file

  • #include "endstone/event/cancellable.h"
  • #include "endstone/event/player/player_event.h"
  • #include "endstone/inventory/equipment_slot.h"
  • #include "endstone/inventory/item_stack.h"

Namespaces

Type Name
namespace endstone
Represents a button with text and an optional icon.

Classes

Type Name
class PlayerItemConsumeEvent
Called when a player is finishing consuming an item (food, potion, milk bucket).

The documentation for this class was generated from the following file include/endstone/event/player/player_item_consume_event.h