Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
BribeableComponent Class Reference

Public Member Functions

MCAPI bool _canBribe (::ItemStack const &item)
MCAPI bool clientBribeCheck (::Actor &owner)
MCAPI::Interaction getInteraction (::Actor &owner, ::Player &player, ::HandSlot handSlot)
MCAPI void readAdditionalSaveData (::Actor &owner, ::CompoundTag const &tag, ::DataLoadHelper &dataLoadHelper)

Public Attributes

::ll::TypedStorage< 8, 8, ::BribeableDefinition const * > mStaticData
::ll::TypedStorage< 4, 4, int > mBribeTimer
::ll::TypedStorage< 4, 4, int > mBribeCooldown
::ll::TypedStorage< 4, 4, int > mBribeCooldownTime

Member Function Documentation

◆ _canBribe()

MCAPI bool BribeableComponent::_canBribe ( ::ItemStack const & item)
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.

◆ clientBribeCheck()

MCAPI bool BribeableComponent::clientBribeCheck ( ::Actor & owner)
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::Interaction BribeableComponent::getInteraction ( ::Actor & owner,
::Player & player,
::HandSlot handSlot )
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.

◆ readAdditionalSaveData()

MCAPI void BribeableComponent::readAdditionalSaveData ( ::Actor & owner,
::CompoundTag const & tag,
::DataLoadHelper & dataLoadHelper )
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: