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

Classes

class  ContainerCloser

Public Types

enum class  Event : int {
  StartTakeInteractionWillFail = 0 , StartTakeInteractionWillSucceed = 1 , StartPlaceInteractionWillFail = 2 , StartPlaceInteractionWillSucceed = 3 ,
  FinishedInteraction = 4
}
enum class  State : int { Idle = 0 , Travelling = 1 , Queuing = 2 , Interacting = 3 }

Public Member Functions

TransportItemsGoal & operator= (TransportItemsGoal const &)
 TransportItemsGoal (TransportItemsGoal const &)
virtual bool canUse ()
virtual bool canContinueToUse ()
virtual void start ()
virtual void stop ()
virtual void tick ()
virtual void appendDebugInfo (::std::string &str) const
MCAPI TransportItemsGoal (::Mob &mob, ::std::string name, ::GoalId const &goalId)
MCAPI bool _canSeeTarget (::BlockPos const &targetPosition) const
MCAPI void _executeEvent (::TransportItemsGoal::Event event) const
MCAPI void _reset ()
MCAPI void _startCooldown ()
MCAPI void * $ctor (::Mob &mob, ::std::string name, ::GoalId const &goalId)
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)
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, ::Mob & > mMob
::ll::TypedStorage< 8, 136, ::TransportItemsGoalSettings > mSettings
::ll::TypedStorage< 4, 4, ::TransportItemsGoal::State > mState
::ll::TypedStorage< 4, 4, uint > mCountedPositions
::ll::TypedStorage< 8, 24, ::std::vector<::BlockPos > > mVisitedPositions
::ll::TypedStorage< 8, 16, ::std::optional<::Tick > > mInteractEndTick
::ll::TypedStorage< 8, 16, ::std::optional<::Tick > > mCooldownEndTick
::ll::TypedStorage< 4, 16, ::std::optional<::BlockPos > > mTargetContainerPosition
::ll::TypedStorage< 1, 2, ::std::optional< bool > > mWasHoldingItemLastTick
::ll::TypedStorage< 8, 24, ::std::optional<::TransportItemsGoal::ContainerCloser > > mContainerCloser
::ll::TypedStorage< 1, 1, bool > mCheckLineOfSight
::ll::TypedStorage< 8, 32, ::std::string > mName
::ll::TypedStorage< 4, 4, int > mRequiredControlFlags
::ll::TypedStorage< 2, 2, ushort > mTypeId

Constructor & Destructor Documentation

◆ TransportItemsGoal()

MCAPI TransportItemsGoal::TransportItemsGoal ( ::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

◆ canUse()

virtual bool TransportItemsGoal::canUse ( )
virtual

Implements BaseGoal.

◆ canContinueToUse()

virtual bool TransportItemsGoal::canContinueToUse ( )
virtual

Reimplemented from BaseGoal.

◆ start()

virtual void TransportItemsGoal::start ( )
virtual

Reimplemented from BaseGoal.

◆ stop()

virtual void TransportItemsGoal::stop ( )
virtual

Reimplemented from BaseGoal.

◆ tick()

virtual void TransportItemsGoal::tick ( )
virtual

Reimplemented from BaseGoal.

◆ appendDebugInfo()

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

Implements BaseGoal.

◆ _canSeeTarget()

MCAPI bool TransportItemsGoal::_canSeeTarget ( ::BlockPos const & targetPosition) 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.

◆ _reset()

MCAPI void TransportItemsGoal::_reset ( )
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.

◆ _startCooldown()

MCAPI void TransportItemsGoal::_startCooldown ( )
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 * TransportItemsGoal::$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.

◆ $canUse()

MCAPI bool TransportItemsGoal::$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 TransportItemsGoal::$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 TransportItemsGoal::$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 TransportItemsGoal::$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 TransportItemsGoal::$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.

◆ $appendDebugInfo()

MCAPI void TransportItemsGoal::$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()

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

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