28 enum class State :
int {
39 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::ChestBlockActor::ChestCloser>> mChestCloser;
43 enum class Event :
int {
44 StartTakeInteractionWillFail = 0,
45 StartTakeInteractionWillSucceed = 1,
46 StartPlaceInteractionWillFail = 2,
47 StartPlaceInteractionWillSucceed = 3,
48 FinishedInteraction = 4,
54 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
55 ::ll::TypedStorage<8, 136, ::TransportItemsGoalSettings> mSettings;
56 ::ll::TypedStorage<4, 4, ::TransportItemsGoal::State> mState;
57 ::ll::TypedStorage<4, 4, uint> mCountedPositions;
58 ::ll::TypedStorage<8, 24, ::std::vector<::BlockPos>> mVisitedPositions;
59 ::ll::TypedStorage<8, 16, ::std::optional<::Tick>> mInteractEndTick;
60 ::ll::TypedStorage<8, 16, ::std::optional<::Tick>> mCooldownEndTick;
61 ::ll::TypedStorage<4, 16, ::std::optional<::BlockPos>> mTargetContainerPosition;
62 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mWasHoldingItemLastTick;
63 ::ll::TypedStorage<8, 24, ::std::optional<::TransportItemsGoal::ContainerCloser>> mContainerCloser;
64 ::ll::TypedStorage<1, 1, bool> mCheckLineOfSight;
77 virtual bool canUse() ;
80 virtual bool canContinueToUse() ;
83 virtual void start() ;
92 virtual void appendDebugInfo(::std::string& str)
const ;
101 MCAPI
bool _canSeeTarget(
::BlockPos const& targetPosition)
const;
103 MCAPI
void _executeEvent(::TransportItemsGoal::Event event)
const;
105 MCAPI
void _tickIdle();
107 MCAPI
void _tickQueuing(
::BlockPos const& targetPos);
109 MCAPI
void _tickTravelling(
::BlockPos const& targetPos);
115 MCAPI
static bool _canSeeTarget(
117 ::Vec3 const& mobHeadPosition,
118 ::AABB const& visualShape,
126 MCAPI
bool $canUse();
128 MCAPI
bool $canContinueToUse();
136 MCAPI
void $appendDebugInfo(::std::string& str)
const;