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

Public Member Functions

virtual bool canUse ()
 
virtual void start ()
 
virtual void stop ()
 
virtual void tick ()
 
virtual bool _canReach (::BlockPos const &pos)
 
virtual bool isValidTarget (::BlockSource &region, ::BlockPos const &pos)
 
virtual void appendDebugInfo (::std::string &str) const
 
MCAPI bool $canUse ()
 
MCFOLD void $start ()
 
MCFOLD void $stop ()
 
MCAPI void $tick ()
 
MCAPI bool $_canReach (::BlockPos const &pos)
 
MCAPI bool $isValidTarget (::BlockSource &region, ::BlockPos const &pos)
 
MCAPI void $appendDebugInfo (::std::string &str) const
 
virtual bool findTargetBlock ()
 
virtual bool canContinueToUse ()
 
virtual void _moveToBlock ()
 
MCAPI void * $ctor (::Mob &mob, float speedModifier, int searchRange, int searchHeight, int searchCount, float goalRadius, float cooldownTime)
 
MCFOLD void $dtor ()
 
MCAPI bool $findTargetBlock ()
 
MCAPI bool $canContinueToUse ()
 
MCAPI void $_moveToBlock ()
 
virtual bool hasReachedTarget () const
 
virtual int _nextStartTick ()
 
virtual::Vec3 _getTargetPosition () const
 
virtual uint64 _getRepathTime () const
 
MCAPI void _checkIfStuck ()
 
MCAPI bool $hasReachedTarget () const
 
MCAPI int $_nextStartTick ()
 
MCAPI::Vec3 $_getTargetPosition () const
 
MCFOLD uint64 $_getRepathTime () const
 
virtual bool canBeInterrupted ()
 
virtual bool isTargetGoal () const
 
virtual void onPlayerDimensionChanged (::Player *player, ::DimensionType fromDimension, ::DimensionType toDimension)
 
MCFOLD bool $canBeInterrupted ()
 
MCFOLD bool $isTargetGoal () const
 
MCFOLD 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< 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 > mSpeedMod
 
::ll::TypedStorage< 4, 4, float > mGoalRadiusSq
 
::ll::TypedStorage< 8, 8, uint64 > mCooldownCounter
 
::ll::TypedStorage< 8, 8, uint64 > mCooldownTimeoutTime
 
::ll::TypedStorage< 4, 12, ::BlockPosmStartPos
 
::ll::TypedStorage< 4, 12, ::Vec3mBlockPos
 
::ll::TypedStorage< 4, 12, ::Vec3mTargetPositionOffset
 
::ll::TypedStorage< 4, 4, float > mChanceToStart
 
::ll::TypedStorage< 4, 4, int > mInterval
 
::ll::TypedStorage< 4, 4, int > mRequiredControlFlags
 
::ll::TypedStorage< 8, 32, ::std::string > mName
 
::ll::TypedStorage< 2, 2, ushort > mTypeId
 

Member Function Documentation

◆ canUse()

virtual bool OcelotSitOnBlockGoal::canUse ( )
virtual

Reimplemented from BaseMoveToBlockGoal.

◆ start()

virtual void OcelotSitOnBlockGoal::start ( )
virtual

Reimplemented from BaseMoveToGoal.

◆ stop()

virtual void OcelotSitOnBlockGoal::stop ( )
virtual

Reimplemented from BaseMoveToGoal.

◆ tick()

virtual void OcelotSitOnBlockGoal::tick ( )
virtual

Reimplemented from BaseMoveToGoal.

◆ _canReach()

virtual bool OcelotSitOnBlockGoal::_canReach ( ::BlockPos const & pos)
virtual

Reimplemented from BaseMoveToGoal.

◆ isValidTarget()

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

Implements BaseMoveToGoal.

◆ appendDebugInfo()

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

Implements Goal.

◆ canContinueToUse()

virtual bool BaseMoveToBlockGoal::canContinueToUse ( )
virtualinherited

Reimplemented from BaseMoveToGoal.

◆ _moveToBlock()

virtual void BaseMoveToBlockGoal::_moveToBlock ( )
virtualinherited

Implements BaseMoveToGoal.


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