17class SleepGoal :
public ::MoveToPOIGoal {
21 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
22 ::ll::TypedStorage<4, 40, ::BedHelper> mBedHelper;
23 ::ll::TypedStorage<4, 12, ::BlockPos> mBedPos;
24 ::ll::TypedStorage<4, 12, ::Vec3> mSleepPos;
25 ::ll::TypedStorage<4, 12, ::Vec3> mBedOffset;
26 ::ll::TypedStorage<4, 12, ::Vec3> mEnterPos;
27 ::ll::TypedStorage<4, 12, ::Vec3> mExitPos;
28 ::ll::TypedStorage<4, 4, int> mBedDir;
29 ::ll::TypedStorage<4, 4, float> mBodyRot;
30 ::ll::TypedStorage<4, 4, float> mSleepYOffset;
31 ::ll::TypedStorage<4, 4, float> mSleepColliderHeight;
32 ::ll::TypedStorage<4, 4, float> mSleepColliderWidth;
33 ::ll::TypedStorage<1, 1, bool> mCanSleepWhileRiding;
34 ::ll::TypedStorage<8, 8, ::Tick> mGoalCooldownMax;
35 ::ll::TypedStorage<8, 8, ::Tick> mCooldownTick;
36 ::ll::TypedStorage<1, 1, bool> mWoken;
37 ::ll::TypedStorage<1, 1, bool> mGoalEndedEarly;
42 SleepGoal& operator=(SleepGoal
const&);
43 SleepGoal(SleepGoal
const&);
49 virtual bool canUse() ;
51 virtual void start() ;
57 virtual bool canContinueToUse() ;
59 virtual void appendDebugInfo(::std::string& str)
const ;
61 virtual uint64 _getRepathTime()
const ;
67 MCAPI
explicit SleepGoal(
::Mob& mob);
69 MCAPI
void _findExitPos();
71 MCAPI
void _setSleepVariables();
79 MCAPI
void* $ctor(
::Mob& mob);
93 MCAPI
bool $canContinueToUse();
95 MCAPI
void $appendDebugInfo(::std::string& str)
const;
97 MCFOLD uint64 $_getRepathTime()
const;