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

Public Member Functions

virtual bool canUse ()
 
virtual bool canContinueToUse ()
 
virtual void stop ()
 
virtual void tick ()
 
virtual void appendDebugInfo (::std::string &str) const
 
MCAPI bool _isCloseEnoughToBreed (::Vec3 pos1, ::Vec2 size1, ::Vec3 pos2, ::Vec2 size2) const
 
MCAPI::Mob * _moveToFreePartner () const
 
MCAPI bool $canUse ()
 
MCAPI bool $canContinueToUse ()
 
MCAPI void $stop ()
 
MCAPI void $tick ()
 
MCAPI void $appendDebugInfo (::std::string &str) const
 
virtual bool canBeInterrupted ()
 
virtual void start ()
 
virtual bool isTargetGoal () const
 
virtual void onPlayerDimensionChanged (::Player *player, ::DimensionType fromDimension, ::DimensionType toDimension)
 
MCFOLD void $dtor ()
 
MCFOLD bool $canBeInterrupted ()
 
MCFOLD void $start ()
 
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 & > mOwner
 
::ll::TypedStorage< 8, 24, ::WeakEntityRefmPartner
 
::ll::TypedStorage< 4, 4, int > mLoveTime
 
::ll::TypedStorage< 4, 4, float const > mSpeed
 
::ll::TypedStorage< 1, 1, bool const > mStopNavigationOnStop
 
::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 BreedGoal::canUse ( )
virtual

Implements Goal.

◆ canContinueToUse()

virtual bool BreedGoal::canContinueToUse ( )
virtual

Reimplemented from Goal.

◆ stop()

virtual void BreedGoal::stop ( )
virtual

Reimplemented from Goal.

◆ tick()

virtual void BreedGoal::tick ( )
virtual

Reimplemented from Goal.

◆ appendDebugInfo()

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

Implements Goal.


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