LeviLamina
Loading...
Searching...
No Matches
DrinkPotionGoal Class Reference
+ Inheritance diagram for DrinkPotionGoal:

Public Member Functions

DrinkPotionGoaloperator= (DrinkPotionGoal const &)
 
 DrinkPotionGoal (DrinkPotionGoal const &)
 
virtual bool canUse ()
 
virtual bool canContinueToUse ()
 
virtual void start ()
 
virtual void stop ()
 
virtual void tick ()
 
virtual void appendDebugInfo (::std::string &str) const
 
MCAPI DrinkPotionGoal (::Mob &mob, float walkSpeedModifier, ::std::vector<::DrinkPotionData > const &drinkPotionData)
 
MCAPI ::std::optional< int > _findPotionToUse () const
 
MCAPI void * $ctor (::Mob &mob, float walkSpeedModifier, ::std::vector<::DrinkPotionData > const &drinkPotionData)
 
MCAPI bool $canUse ()
 
MCAPI bool $canContinueToUse ()
 
MCAPI void $start ()
 
MCAPI void $stop ()
 
MCAPI void $tick ()
 
MCAPI void $appendDebugInfo (::std::string &str) const
 
virtual bool canBeInterrupted ()
 
virtual bool isTargetGoal () const
 
virtual void onPlayerDimensionChanged (::Player *player, ::DimensionType fromDimension, ::DimensionType toDimension)
 
MCAPI void $dtor ()
 
MCAPI bool $canBeInterrupted ()
 
MCAPI bool $isTargetGoal () const
 
MCAPI void $onPlayerDimensionChanged (::Player *player, ::DimensionType fromDimension, ::DimensionType toDimension)
 

Static Public Member Functions

static MCAPI ::mce::UUID const & SPEED_MODIFIER_DRINKING_UUID ()
 
static MCAPI void ** $vftable ()
 

Public Attributes

::ll::TypedStorage< 8, 8, ::Mob & > mMob
 
::ll::TypedStorage< 4, 4, float const > mWalkSpeedModifier
 
::ll::TypedStorage< 8, 24, ::std::vector<::DrinkPotionData > const > mDrinkPotionData
 
::ll::TypedStorage< 4, 4, int > mThrottleCooldown
 
::ll::TypedStorage< 8, 8, ::TickmFinishUsingItemTick
 
::ll::TypedStorage< 8, 80, ::AttributeModifiermSpeedAttributeModifier
 
::ll::TypedStorage< 4, 4, int > mRequiredControlFlags
 
::ll::TypedStorage< 8, 32, ::std::string > mName
 
::ll::TypedStorage< 2, 2, ushort > mTypeId
 

Constructor & Destructor Documentation

◆ DrinkPotionGoal()

MCAPI DrinkPotionGoal::DrinkPotionGoal ( ::Mob & mob,
float walkSpeedModifier,
::std::vector<::DrinkPotionData > const & drinkPotionData )
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.

Member Function Documentation

◆ canUse()

virtual bool DrinkPotionGoal::canUse ( )
virtual

Implements Goal.

◆ canContinueToUse()

virtual bool DrinkPotionGoal::canContinueToUse ( )
virtual

Reimplemented from Goal.

◆ start()

virtual void DrinkPotionGoal::start ( )
virtual

Reimplemented from Goal.

◆ stop()

virtual void DrinkPotionGoal::stop ( )
virtual

Reimplemented from Goal.

◆ tick()

virtual void DrinkPotionGoal::tick ( )
virtual

Reimplemented from Goal.

◆ appendDebugInfo()

virtual void DrinkPotionGoal::appendDebugInfo ( ::std::string & str) const
virtual

Implements Goal.

◆ _findPotionToUse()

MCAPI ::std::optional< int > DrinkPotionGoal::_findPotionToUse ( ) const
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_DRINKING_UUID()

static MCAPI ::mce::UUID const & DrinkPotionGoal::SPEED_MODIFIER_DRINKING_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.

◆ $ctor()

MCAPI void * DrinkPotionGoal::$ctor ( ::Mob & mob,
float walkSpeedModifier,
::std::vector<::DrinkPotionData > const & drinkPotionData )
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.

◆ $canUse()

MCAPI bool DrinkPotionGoal::$canUse ( )
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.

◆ $canContinueToUse()

MCAPI bool DrinkPotionGoal::$canContinueToUse ( )
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.

◆ $start()

MCAPI void DrinkPotionGoal::$start ( )
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.

◆ $stop()

MCAPI void DrinkPotionGoal::$stop ( )
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.

◆ $tick()

MCAPI void DrinkPotionGoal::$tick ( )
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.

◆ $appendDebugInfo()

MCAPI void DrinkPotionGoal::$appendDebugInfo ( ::std::string & str) const
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.

◆ $vftable()

static MCAPI void ** DrinkPotionGoal::$vftable ( )
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.

◆ $dtor()

MCAPI void Goal::$dtor ( )
inherited
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.

◆ $canBeInterrupted()

MCAPI bool Goal::$canBeInterrupted ( )
inherited
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.

◆ $isTargetGoal()

MCAPI bool Goal::$isTargetGoal ( ) const
inherited
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.

◆ $onPlayerDimensionChanged()

MCAPI void Goal::$onPlayerDimensionChanged ( ::Player * player,
::DimensionType fromDimension,
::DimensionType toDimension )
inherited
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: