LeviLamina
Loading...
Searching...
No Matches
InteractComponent Class Reference

Public Member Functions

MCAPI bool _runInteraction (::Actor &owner, ::Interaction const &desc, ::Player &player, ::ActorInteraction &interaction)
MCAPI bool getInteraction (::Actor &owner, ::Player &player, ::ActorInteraction &interaction)

Static Public Member Functions

static MCAPI void _tryDropItem (::BlockSource &region, ::Actor &owner, ::ItemSlotInfo const &itemSlotInfo, float yOffset)
static MCAPI void _tryEquipItem (::Actor &owner, ::Player &player, ::ItemStack &usingItem, ::ItemStack const &usedItemCopy, ::ItemSlotInfo const &itemSlotInfo, bool &useItemEventSent, bool &postponedReplace)
static MCAPI void _tryRepairItem (::Actor &owner, ::ItemSlotInfo const &itemSlotInfo, int amount)
static MCAPI void _trySendEquipmentSlot (::Actor &owner, ::SharedTypes::Legacy::EquipmentSlot equipmentSlot)
static MCAPI void _trySpawnItems (::Level &level, ::Actor &owner, ::LootTables &lootTables, ::std::string const &lootTableName, float yOffset)

Public Attributes

::ll::TypedStorage< 2, 2, short > mCooldownCounter

The documentation for this class was generated from the following file: