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)
MCFOLD int getBoostTime () const
MCFOLD int getBoostTimeTotal () const
MCFOLD bool getIsBoosting () const
MCAPI bool itemUseText (::Actor const &actor, ::ItemStack const &item, ::std::string &text)
MCAPI bool onItemInteract (::Actor &actor, ::ItemStack &item, ::Player &player)
MCFOLD void setBoostTime (int boostTime)
MCFOLD void setIsBoosting (bool isBoosting)

Static Public Member Functions

static MCAPI ::mce::UUID getSpeedModifierUUID ()
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

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