3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/shared_types/legacy/item/EquipmentSlot.h"
24 ::ll::TypedStorage<2, 2, short> mCooldownCounter;
45 bool& useItemEventSent,
46 bool& postponedReplace
55 ::std::string
const& lootTableName,
Definition ActorInteraction.h:5
Definition InteractComponent.h:20
static MCAPI void _tryEquipItem(::Actor &owner, ::Player &player, ::ItemStack &usingItem, ::ItemStack const &usedItemCopy, ::ItemSlotInfo const &itemSlotInfo, bool &useItemEventSent, bool &postponedReplace)
MCAPI bool _runInteraction(::Actor &owner, ::Interaction const &desc, ::Player &player, ::ActorInteraction &interaction)
static MCAPI void _trySpawnItems(::Level &level, ::Actor &owner, ::LootTables &lootTables, ::std::string const &lootTableName, float yOffset)
MCAPI bool getInteraction(::Actor &owner, ::Player &player, ::ActorInteraction &interaction)
static MCAPI void _trySendEquipmentSlot(::Actor &owner, ::SharedTypes::Legacy::EquipmentSlot equipmentSlot)
Definition Interaction.h:10
Definition ItemStack.h:23
Definition LootTables.h:11
Definition ItemSlotInfo.h:5