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

Public Member Functions

virtual bool canUse ()
 
virtual bool canContinueToUse ()
 
virtual void start ()
 
virtual void stop ()
 
virtual void tick ()
 
virtual void appendDebugInfo (::std::string &str) const
 
MCAPI ::std::pair< int, ::ItemStackselectEntityToShareWith (::std::vector<::std::pair< int, ::ItemStack > > const &shareableItems)
 
MCAPI void $dtor ()
 
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)
 
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 > mThrowCountdown
 
::ll::TypedStorage< 4, 4, int > mSearchRange
 
::ll::TypedStorage< 4, 4, float > mSpeedModifier
 
::ll::TypedStorage< 4, 4, float > mGoalRadiusSq
 
::ll::TypedStorage< 4, 4, int > mTimeToRecalcPath
 
::ll::TypedStorage< 8, 24, ::std::vector<::MobDescriptor > > mMobFilters
 
::ll::TypedStorage< 8, 152, ::ItemStackmItemToShare
 
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::Path > > mPath
 
::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 ShareItemsGoal::canUse ( )
virtual

Implements Goal.

◆ canContinueToUse()

virtual bool ShareItemsGoal::canContinueToUse ( )
virtual

Reimplemented from Goal.

◆ start()

virtual void ShareItemsGoal::start ( )
virtual

Reimplemented from Goal.

◆ stop()

virtual void ShareItemsGoal::stop ( )
virtual

Reimplemented from Goal.

◆ tick()

virtual void ShareItemsGoal::tick ( )
virtual

Reimplemented from Goal.

◆ appendDebugInfo()

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

Implements Goal.


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