Skip to content

File enchant_item_event.h

FileList > enchantment > enchant_item_event.h

Go to the source code of this file

  • #include <unordered_map>
  • #include <utility>
  • #include "endstone/enchantments/enchantment.h"
  • #include "endstone/event/cancellable.h"
  • #include "endstone/event/inventory/inventory_event.h"
  • #include "endstone/inventory/item_stack.h"
  • #include "endstone/player.h"
  • #include "endstone/util/pointers.h"

Namespaces

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

Classes

Type Name
class EnchantItemEvent
Called when a player enchants an item at an enchanting table.

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