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

Public Member Functions

MCAPI bool _canUseItem (::Actor const &actor, ::ItemStack const &item)
MCAPI void _useItem (::Actor &actor, ::ItemStack &item, ::Player &player)
MCAPI void boost (::Actor &actor)
MCAPI bool onItemInteract (::Actor &actor, ::ItemStack &item, ::Player &player)

Static Public Member Functions

static MCAPI ::mce::UUID const & SPEED_MODIFIER_BOOSTING_UUID ()

Public Attributes

::ll::TypedStorage< 1, 1, bool > mIsBoosting
::ll::TypedStorage< 4, 4, int > mBoostTime
::ll::TypedStorage< 4, 4, int > mBoostTimeTotal
::ll::TypedStorage< 4, 4, float > mSpeedMultiplier

Member Function Documentation

◆ _canUseItem()

MCAPI bool BoostableComponent::_canUseItem ( ::Actor const & actor,
::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.

◆ _useItem()

MCAPI void BoostableComponent::_useItem ( ::Actor & actor,
::ItemStack & item,
::Player & player )
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.

◆ boost()

MCAPI void BoostableComponent::boost ( ::Actor & actor)
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.

◆ onItemInteract()

MCAPI bool BoostableComponent::onItemInteract ( ::Actor & actor,
::ItemStack & item,
::Player & player )
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.

◆ SPEED_MODIFIER_BOOSTING_UUID()

MCAPI ::mce::UUID const & BoostableComponent::SPEED_MODIFIER_BOOSTING_UUID ( )
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: