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

Classes

class  Definition
 
struct  WeightedJumpToBlockPos
 

Public Types

enum class  JumpState : uchar {
  LookingForBlock = 0 , FaceJump = 1 , Jump = 2 , Airborne = 3 ,
  Done = 4
}
 

Public Member Functions

JumpToBlockGoaloperator= (JumpToBlockGoal const &)
 
 JumpToBlockGoal (JumpToBlockGoal const &)
 
virtual bool canUse ()
 
virtual bool canContinueToUse ()
 
virtual void start ()
 
virtual void stop ()
 
virtual void tick ()
 
virtual bool canBeInterrupted ()
 
virtual void appendDebugInfo (::std::string &str) const
 
MCAPI JumpToBlockGoal (::Mob &mob)
 
MCAPI void _clearGoalState ()
 
MCAPI bool _findCandidateBlocks (::NavigationComponent &navigation)
 
MCAPI bool _findJumpableBlocks (bool useOnlyPreferredBlocksIfAny)
 
MCAPI bool _findTargetBlock ()
 
MCAPI void resetCooldown ()
 
MCAPI void * $ctor (::Mob &mob)
 
MCAPI void $dtor ()
 
MCAPI bool $canUse ()
 
MCAPI bool $canContinueToUse ()
 
MCAPI void $start ()
 
MCAPI void $stop ()
 
MCAPI void $tick ()
 
MCAPI bool $canBeInterrupted ()
 
MCAPI void $appendDebugInfo (::std::string &str) const
 
virtual bool isTargetGoal () const
 
virtual void onPlayerDimensionChanged (::Player *player, ::DimensionType fromDimension, ::DimensionType toDimension)
 
MCAPI bool $isTargetGoal () const
 
MCAPI void $onPlayerDimensionChanged (::Player *player, ::DimensionType fromDimension, ::DimensionType toDimension)
 

Static Public Member Functions

static MCAPI void ** $vftable ()
 

Public Attributes

::ll::TypedStorage< 8, 8, ::Mob & > mMob
 
::ll::TypedStorage< 1, 1, bool > mDiscardFrictionDefault
 
::ll::TypedStorage< 8, 8, ::TickmCooldownTimeout
 
::ll::TypedStorage< 8, 8, ::TickmNextCandidateCheck
 
::ll::TypedStorage< 4, 4, int > mCandidateAttemptCounter
 
::ll::TypedStorage< 1, 1, ::JumpToBlockGoal::JumpState > mState
 
::ll::TypedStorage< 8, 24, ::std::vector<::Vec3 > > mJumpCurve
 
::ll::TypedStorage< 4, 12, ::BlockPosmTargetBlockPos
 
::ll::TypedStorage< 8, 24, ::std::vector<::BlockPos > > mCandidateBlocksPositions
 
::ll::TypedStorage< 4, 12, ::BlockPosmStartingPos
 
::ll::TypedStorage< 8, 24, ::std::vector<::JumpToBlockGoal::WeightedJumpToBlockPos > > mJumpableBlocksPositions
 
::ll::TypedStorage< 4, 12, ::Vec3mVelocityVector
 
::ll::TypedStorage< 8, 8, ::TickmFaceJumpTimer
 
::ll::TypedStorage< 8, 104, ::JumpToBlockGoal::DefinitionmDefinition
 
::ll::TypedStorage< 4, 24, ::AABB const > mOriginalAabb
 
::ll::TypedStorage< 4, 4, int > mRequiredControlFlags
 
::ll::TypedStorage< 8, 32, ::std::string > mName
 
::ll::TypedStorage< 2, 2, ushort > mTypeId
 

Constructor & Destructor Documentation

◆ JumpToBlockGoal()

MCAPI JumpToBlockGoal::JumpToBlockGoal ( ::Mob & mob)
explicit
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 JumpToBlockGoal::canUse ( )
virtual

Implements Goal.

◆ canContinueToUse()

virtual bool JumpToBlockGoal::canContinueToUse ( )
virtual

Reimplemented from Goal.

◆ start()

virtual void JumpToBlockGoal::start ( )
virtual

Reimplemented from Goal.

◆ stop()

virtual void JumpToBlockGoal::stop ( )
virtual

Reimplemented from Goal.

◆ tick()

virtual void JumpToBlockGoal::tick ( )
virtual

Reimplemented from Goal.

◆ canBeInterrupted()

virtual bool JumpToBlockGoal::canBeInterrupted ( )
virtual

Reimplemented from Goal.

◆ appendDebugInfo()

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

Implements Goal.

◆ _clearGoalState()

MCAPI void JumpToBlockGoal::_clearGoalState ( )
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.

◆ _findCandidateBlocks()

MCAPI bool JumpToBlockGoal::_findCandidateBlocks ( ::NavigationComponent & navigation)
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.

◆ _findJumpableBlocks()

MCAPI bool JumpToBlockGoal::_findJumpableBlocks ( bool useOnlyPreferredBlocksIfAny)
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.

◆ _findTargetBlock()

MCAPI bool JumpToBlockGoal::_findTargetBlock ( )
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.

◆ resetCooldown()

MCAPI void JumpToBlockGoal::resetCooldown ( )
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 * JumpToBlockGoal::$ctor ( ::Mob & mob)
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 JumpToBlockGoal::$dtor ( )
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 JumpToBlockGoal::$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 JumpToBlockGoal::$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 JumpToBlockGoal::$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 JumpToBlockGoal::$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 JumpToBlockGoal::$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.

◆ $canBeInterrupted()

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

◆ $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: