17class DoorInteractGoal :
public ::Goal {
21 ::ll::TypedStorage<4, 12, ::BlockPos> mDoorPos;
22 ::ll::TypedStorage<8, 8, ::DoorBlock const*> mDoorBlock;
23 ::ll::TypedStorage<1, 1, bool> mInitialToggledState;
24 ::ll::TypedStorage<1, 1, bool> mMobOversized;
25 ::ll::TypedStorage<1, 1, bool> mExited;
26 ::ll::TypedStorage<4, 4, float> mDoorOpenDirX;
27 ::ll::TypedStorage<4, 4, float> mDoorOpenDirZ;
28 ::ll::TypedStorage<1, 1, ::Direction::Type> mEnterDirection;
29 ::ll::TypedStorage<1, 1, ::Direction::Type> mExitDirection;
30 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
35 DoorInteractGoal& operator=(DoorInteractGoal
const&);
36 DoorInteractGoal(DoorInteractGoal
const&);
42 virtual ~DoorInteractGoal() =
default;
44 virtual bool canUse() ;
46 virtual bool canContinueToUse() ;
48 virtual void start() ;
52 virtual void appendDebugInfo(::std::string& str)
const ;
58 MCAPI static ::DoorBlock
const* _findBlockingDoorAtPos(
62 ::Direction::Type& dirIn,
63 ::Direction::Type& dirOut
72 MCAPI
bool $canContinueToUse();
78 MCAPI
void $appendDebugInfo(::std::string& str)
const;