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 _spawnParticle (::BlockSource &region, ::Actor &owner, ::Player &player, ::ItemStack const &usedItemCopy, ::Interaction const &description)
 
static MCAPI void _tryDropItem (::BlockSource &region, ::Actor &owner, ::ItemSlotInfo const &itemSlotInfo, float dropOffsetY)
 
static MCAPI void _tryEquipItem (::Actor &owner, ::Player &player, ::ItemStack &usingItem, ::ItemStack const &usedItemCopy, ::ItemSlotInfo const &itemSlotInfo, bool &useItemEventSent, bool &postponedReplace)
 
static MCAPI void _trySendArmorSlot (::Actor &owner, ::SharedTypes::Legacy::ArmorSlot armorSlot)
 

Public Attributes

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

Member Function Documentation

◆ _runInteraction()

MCAPI bool InteractComponent::_runInteraction ( ::Actor & owner,
::Interaction const & desc,
::Player & player,
::ActorInteraction & interaction )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getInteraction()

MCAPI bool InteractComponent::getInteraction ( ::Actor & owner,
::Player & player,
::ActorInteraction & interaction )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _spawnParticle()

static MCAPI void InteractComponent::_spawnParticle ( ::BlockSource & region,
::Actor & owner,
::Player & player,
::ItemStack const & usedItemCopy,
::Interaction const & description )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _tryDropItem()

static MCAPI void InteractComponent::_tryDropItem ( ::BlockSource & region,
::Actor & owner,
::ItemSlotInfo const & itemSlotInfo,
float dropOffsetY )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _tryEquipItem()

static MCAPI void InteractComponent::_tryEquipItem ( ::Actor & owner,
::Player & player,
::ItemStack & usingItem,
::ItemStack const & usedItemCopy,
::ItemSlotInfo const & itemSlotInfo,
bool & useItemEventSent,
bool & postponedReplace )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _trySendArmorSlot()

static MCAPI void InteractComponent::_trySendArmorSlot ( ::Actor & owner,
::SharedTypes::Legacy::ArmorSlot armorSlot )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

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