26class Guardian :
public ::Monster {
29 using DataFlagIdType = schar;
34 ::ll::TypedStorage<8, 32, ::std::string> ATTACK_SOUND;
35 ::ll::TypedStorage<4, 4, float> ELDER_SIZE_SCALE;
36 ::ll::TypedStorage<4, 4, int> FLAG_MOVING;
37 ::ll::TypedStorage<4, 4, int> FLAG_ELDER;
38 ::ll::TypedStorage<4, 12, ::Vec3> startPos;
39 ::ll::TypedStorage<8, 8, ::Mob*> clientSideCachedAttackTarget;
40 ::ll::TypedStorage<4, 4, int> clientSideAttackTime;
41 ::ll::TypedStorage<1, 1, bool> clientSideTouchedGround;
42 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mAttackTargetId;
43 ::ll::TypedStorage<1, 1, bool> mElderGhost;
44 ::ll::TypedStorage<8, 8, uint64> mLaserLoop;
45 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mEyeTarget;
55 virtual ~Guardian() =
default;
59 virtual void reloadHardcodedClient(::ActorInitializationMethod method) ;
61 virtual bool checkSpawnRules(
bool fromSpawner) ;
63 virtual void setTarget(::Actor* target) ;
65 virtual float getMaxHeadXRot() ;
67 virtual void addAdditionalSaveData(
::CompoundTag& tag)
const ;
71 virtual bool isDarkEnoughToSpawn()
const ;
73 virtual ::ActorHurtResult
86 MCAPI ::Vec3 getMoveEyeVector();
88 MCAPI
void preAiStep();
90 MCAPI
void registerLoopingSounds();
93 MCAPI
void setElderGhost();
112 MCAPI
void $reloadHardcodedClient(::ActorInitializationMethod method);
114 MCAPI
bool $checkSpawnRules(
bool fromSpawner);
116 MCFOLD
void $setTarget(::Actor* target);
118 MCAPI
float $getMaxHeadXRot();
124 MCFOLD
bool $isDarkEnoughToSpawn()
const;
126 MCAPI ::ActorHurtResult
Definition EntityContext.h:15