26 enum class Event :
int {
27 StartTakeInteractionWillFail = 0,
28 StartTakeInteractionWillSucceed = 1,
29 StartPlaceInteractionWillFail = 2,
30 StartPlaceInteractionWillSucceed = 3,
31 FinishedInteraction = 4,
34 enum class State :
int {
45 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::ChestBlockActor::ChestCloser>> mChestCloser;
52 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
53 ::ll::TypedStorage<8, 136, ::TransportItemsGoalSettings> mSettings;
54 ::ll::TypedStorage<4, 4, ::TransportItemsGoal::State> mState;
55 ::ll::TypedStorage<4, 4, uint> mCountedPositions;
56 ::ll::TypedStorage<8, 24, ::std::vector<::BlockPos>> mVisitedPositions;
57 ::ll::TypedStorage<8, 16, ::std::optional<::Tick>> mInteractEndTick;
58 ::ll::TypedStorage<8, 16, ::std::optional<::Tick>> mCooldownEndTick;
59 ::ll::TypedStorage<4, 16, ::std::optional<::BlockPos>> mTargetContainerPosition;
60 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mWasHoldingItemLastTick;
61 ::ll::TypedStorage<8, 24, ::std::optional<::TransportItemsGoal::ContainerCloser>> mContainerCloser;
62 ::ll::TypedStorage<1, 1, bool> mCheckLineOfSight;
67 TransportItemsGoal& operator=(TransportItemsGoal
const&);
68 TransportItemsGoal(TransportItemsGoal
const&);
74 virtual bool canUse() ;
76 virtual bool canContinueToUse() ;
78 virtual void start() ;
84 virtual void appendDebugInfo(::std::string& str)
const ;
90 MCAPI TransportItemsGoal(
::Mob& mob, ::std::string name,
::GoalId const& goalId);
92 MCAPI
bool _canSeeTarget(
::BlockPos const& targetPosition)
const;
94 MCAPI
void _executeEvent(::TransportItemsGoal::Event event)
const;
98 MCAPI
void _startCooldown();
104 MCAPI
void* $ctor(
::Mob& mob, ::std::string name,
::GoalId const& goalId);
110 MCAPI
bool $canUse();
112 MCAPI
bool $canContinueToUse();
120 MCAPI
void $appendDebugInfo(::std::string& str)
const;