Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
StompEggGoal Class Reference
Inheritance diagram for StompEggGoal:

Public Member Functions

virtual void appendDebugInfo (::std::string &str) const
virtual void setInterval (int const interval)
virtual void _createBreakProgressParticles (::Level &level, ::BlockSource &region, ::BlockPos pos)
virtual void _createDestroyParticles (::Level &level, ::BlockSource &region, ::BlockPos pos)
virtual void _playBreakProgressSound (::Level &level, ::BlockSource &region, ::BlockPos pos)
virtual void _playDestroySound (::Level &level, ::BlockSource &region, ::BlockPos pos)
MCAPI StompEggGoal (::Mob &mob, ::std::string name, ::GoalId const &goalId)
MCAPI void * $ctor (::Mob &mob, ::std::string name, ::GoalId const &goalId)
MCAPI void $appendDebugInfo (::std::string &str) const
MCAPI void $setInterval (int const interval)
MCAPI void $_createBreakProgressParticles (::Level &level, ::BlockSource &region, ::BlockPos pos)
MCAPI void $_createDestroyParticles (::Level &level, ::BlockSource &region, ::BlockPos pos)
MCAPI void $_playBreakProgressSound (::Level &level, ::BlockSource &region, ::BlockPos pos)
MCAPI void $_playDestroySound (::Level &level, ::BlockSource &region, ::BlockPos pos)
virtual bool findTargetBlock ()
virtual bool canUse ()
virtual bool canContinueToUse ()
virtual void start ()
virtual void stop ()
virtual void tick ()
virtual bool isValidTarget (::BlockSource &region, ::BlockPos const &pos)
virtual void _moveToBlock ()
virtual bool _canReach (::BlockPos const &pos)
MCAPI void * $ctor (::Block const *block, ::Mob &mob, ::std::string name, ::GoalId const &goalId, float speedModifier, int horizontalSearchRange, int verticalSearchRange, float goalRadius, int interval)
MCAPI void * $ctor (::Mob &mob, ::std::string name, ::GoalId const &goalId, float speedModifier, int searchRange, int searchHeight, int searchCount, float goalRadius, float cooldownTime)
MCAPI void * $ctor (::Mob &mob, ::std::string name, ::GoalId const &goalId, float speedMultiplier, float cooldownTimeout, float goalRadius)
MCAPI bool $findTargetBlock ()
MCAPI bool $canUse ()
MCAPI bool $canContinueToUse ()
MCAPI void $start ()
MCAPI void $stop ()
MCAPI void $tick ()
MCAPI bool $isValidTarget (::BlockSource &region, ::BlockPos const &pos)
MCAPI void $_moveToBlock ()
MCAPI bool $_canReach (::BlockPos const &pos)
virtual bool hasReachedTarget () const
virtual int _nextStartTick ()
virtual::Vec3 _getTargetPosition () const
virtual uint64 _getRepathTime () const
MCAPI bool $hasReachedTarget () const
MCAPI int $_nextStartTick ()
MCAPI::Vec3 $_getTargetPosition () const
MCAPI uint64 $_getRepathTime () const
virtual bool canBeInterrupted ()
virtual bool isTargetGoal () const
virtual void onPlayerDimensionChanged (::Player *player, ::DimensionType fromDimension, ::DimensionType toDimension)
virtual::GoalId getGoalId () const
MCAPI void $dtor ()
MCAPI bool $canBeInterrupted ()
MCAPI bool $isTargetGoal () const
MCAPI void $onPlayerDimensionChanged (::Player *player, ::DimensionType fromDimension, ::DimensionType toDimension)
MCAPI::GoalId $getGoalId () const

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 8, ::Block const * > mBlockToRemove
::ll::TypedStorage< 4, 4, int > mTicksSinceReachedGoal
::ll::TypedStorage< 4, 4, int > mSearchRange
::ll::TypedStorage< 4, 4, int > mSearchHeight
::ll::TypedStorage< 4, 4, int > mSearchCount
::ll::TypedStorage< 4, 4, int > mTravelTicks
::ll::TypedStorage< 4, 4, int > mNextStartTick
::ll::TypedStorage< 4, 4, int > mGiveUpTicks
::ll::TypedStorage< 4, 4, int > mStayTicks
::ll::TypedStorage< 4, 4, int > mMaxStayTicks
::ll::TypedStorage< 1, 1, bool > mReachedTarget
::ll::TypedStorage< 4, 4, float > mSpeedMultiplier
::ll::TypedStorage< 4, 4, float > mGoalRadiusSq
::ll::TypedStorage< 8, 8, uint64 > mCooldownCounter
::ll::TypedStorage< 8, 8, uint64 > mCooldownTimeoutTime
::ll::TypedStorage< 4, 12, ::BlockPos > mStartPos
::ll::TypedStorage< 4, 12, ::Vec3 > mBlockPos
::ll::TypedStorage< 4, 12, ::Vec3 > mTargetPositionOffset
::ll::TypedStorage< 4, 4, float > mChanceToStart
::ll::TypedStorage< 8, 8, ::Mob & > mMob
::ll::TypedStorage< 4, 4, int > mInterval
::ll::TypedStorage< 8, 32, ::std::string > mName
::ll::TypedStorage< 4, 4, int > mRequiredControlFlags
::ll::TypedStorage< 2, 2, ushort > mTypeId

Constructor & Destructor Documentation

◆ StompEggGoal()

MCAPI StompEggGoal::StompEggGoal ( ::Mob & mob,
::std::string name,
::GoalId const & goalId )
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

◆ appendDebugInfo()

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

Reimplemented from StompBlockGoal.

◆ setInterval()

virtual void StompEggGoal::setInterval ( int const interval)
virtual

Reimplemented from BaseMoveToGoal.

◆ _createBreakProgressParticles()

virtual void StompEggGoal::_createBreakProgressParticles ( ::Level & level,
::BlockSource & region,
::BlockPos pos )
virtual

Reimplemented from StompBlockGoal.

◆ _createDestroyParticles()

virtual void StompEggGoal::_createDestroyParticles ( ::Level & level,
::BlockSource & region,
::BlockPos pos )
virtual

Reimplemented from StompBlockGoal.

◆ _playBreakProgressSound()

virtual void StompEggGoal::_playBreakProgressSound ( ::Level & level,
::BlockSource & region,
::BlockPos pos )
virtual

Reimplemented from StompBlockGoal.

◆ _playDestroySound()

virtual void StompEggGoal::_playDestroySound ( ::Level & level,
::BlockSource & region,
::BlockPos pos )
virtual

Reimplemented from StompBlockGoal.

◆ $ctor() [1/4]

MCAPI void * StompEggGoal::$ctor ( ::Mob & mob,
::std::string name,
::GoalId const & goalId )
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 StompEggGoal::$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.

◆ $setInterval()

MCAPI void StompEggGoal::$setInterval ( int const interval)
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.

◆ $_createBreakProgressParticles()

MCAPI void StompEggGoal::$_createBreakProgressParticles ( ::Level & level,
::BlockSource & region,
::BlockPos pos )
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.

◆ $_createDestroyParticles()

MCAPI void StompEggGoal::$_createDestroyParticles ( ::Level & level,
::BlockSource & region,
::BlockPos pos )
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.

◆ $_playBreakProgressSound()

MCAPI void StompEggGoal::$_playBreakProgressSound ( ::Level & level,
::BlockSource & region,
::BlockPos pos )
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.

◆ $_playDestroySound()

MCAPI void StompEggGoal::$_playDestroySound ( ::Level & level,
::BlockSource & region,
::BlockPos pos )
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()

MCAPI void ** StompEggGoal::$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.

◆ findTargetBlock()

virtual bool StompBlockGoal::findTargetBlock ( )
virtualinherited

Reimplemented from BaseMoveToBlockGoal.

◆ canUse()

virtual bool StompBlockGoal::canUse ( )
virtualinherited

Reimplemented from BaseMoveToBlockGoal.

◆ canContinueToUse()

virtual bool StompBlockGoal::canContinueToUse ( )
virtualinherited

Reimplemented from BaseMoveToBlockGoal.

◆ start()

virtual void StompBlockGoal::start ( )
virtualinherited

Reimplemented from BaseMoveToGoal.

◆ stop()

virtual void StompBlockGoal::stop ( )
virtualinherited

Reimplemented from BaseMoveToGoal.

◆ tick()

virtual void StompBlockGoal::tick ( )
virtualinherited

Reimplemented from BaseMoveToGoal.

◆ isValidTarget()

virtual bool StompBlockGoal::isValidTarget ( ::BlockSource & region,
::BlockPos const & pos )
virtualinherited

Implements BaseMoveToGoal.

◆ _moveToBlock()

virtual void StompBlockGoal::_moveToBlock ( )
virtualinherited

Reimplemented from BaseMoveToBlockGoal.

◆ _canReach()

virtual bool StompBlockGoal::_canReach ( ::BlockPos const & pos)
virtualinherited

Reimplemented from BaseMoveToGoal.

◆ $ctor() [2/4]

MCAPI void * StompBlockGoal::$ctor ( ::Block const * block,
::Mob & mob,
::std::string name,
::GoalId const & goalId,
float speedModifier,
int horizontalSearchRange,
int verticalSearchRange,
float goalRadius,
int interval )
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.

◆ $ctor() [3/4]

MCAPI void * BaseMoveToBlockGoal::$ctor ( ::Mob & mob,
::std::string name,
::GoalId const & goalId,
float speedModifier,
int searchRange,
int searchHeight,
int searchCount,
float goalRadius,
float cooldownTime )
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.

◆ $ctor() [4/4]

MCAPI void * BaseMoveToGoal::$ctor ( ::Mob & mob,
::std::string name,
::GoalId const & goalId,
float speedMultiplier,
float cooldownTimeout,
float goalRadius )
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.

◆ $findTargetBlock()

MCAPI bool StompBlockGoal::$findTargetBlock ( )
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.

◆ $canUse()

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

◆ $canContinueToUse()

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

◆ $start()

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

◆ $stop()

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

◆ $tick()

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

◆ $isValidTarget()

MCAPI bool StompBlockGoal::$isValidTarget ( ::BlockSource & region,
::BlockPos const & pos )
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.

◆ $_moveToBlock()

MCAPI void StompBlockGoal::$_moveToBlock ( )
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.

◆ $_canReach()

MCAPI bool StompBlockGoal::$_canReach ( ::BlockPos const & pos)
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.

◆ $hasReachedTarget()

MCAPI bool BaseMoveToGoal::$hasReachedTarget ( ) 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.

◆ $_nextStartTick()

MCAPI int BaseMoveToGoal::$_nextStartTick ( )
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.

◆ $_getTargetPosition()

MCAPI::Vec3 BaseMoveToGoal::$_getTargetPosition ( ) 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.

◆ $_getRepathTime()

MCAPI uint64 BaseMoveToGoal::$_getRepathTime ( ) 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.

◆ $dtor()

MCAPI void BaseGoal::$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 BaseGoal::$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 BaseGoal::$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 BaseGoal::$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.

◆ $getGoalId()

MCAPI::GoalId BaseGoal::$getGoalId ( ) 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.

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