24class Guardian :
public ::Monster {
27 using DataFlagIdType = schar;
32 ::ll::TypedStorage<8, 32, ::std::string> ATTACK_SOUND;
33 ::ll::TypedStorage<4, 4, float> ELDER_SIZE_SCALE;
34 ::ll::TypedStorage<4, 4, int> FLAG_MOVING;
35 ::ll::TypedStorage<4, 4, int> FLAG_ELDER;
36 ::ll::TypedStorage<4, 12, ::Vec3> startPos;
37 ::ll::TypedStorage<8, 8, ::Mob*> clientSideCachedAttackTarget;
38 ::ll::TypedStorage<4, 4, int> clientSideAttackTime;
39 ::ll::TypedStorage<1, 1, bool> clientSideTouchedGround;
40 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mAttackTargetId;
41 ::ll::TypedStorage<1, 1, bool> mElderGhost;
42 ::ll::TypedStorage<8, 8, uint64> mLaserLoop;
43 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mEyeTarget;
57 virtual void reloadHardcodedClient(::ActorInitializationMethod method) ;
59 virtual bool checkSpawnRules(
bool) ;
61 virtual void setTarget(::Actor* entity) ;
63 virtual float getMaxHeadXRot() ;
65 virtual void addAdditionalSaveData(
::CompoundTag& tag)
const ;
69 virtual bool isDarkEnoughToSpawn()
const ;
71 virtual bool _hurt(
::ActorDamageSource const& source,
float damage,
bool knock,
bool ignite) ;
83 MCAPI ::Vec3 getMoveEyeVector();
85 MCAPI
bool isElder()
const;
87 MCAPI
void preAiStep();
89 MCAPI
void registerLoopingSounds();
91 MCAPI
void setElder(
bool value);
115 MCAPI
void $reloadHardcodedClient(::ActorInitializationMethod method);
117 MCAPI
bool $checkSpawnRules(
bool);
119 MCFOLD
void $setTarget(::Actor* entity);
121 MCFOLD
float $getMaxHeadXRot();
127 MCFOLD
bool $isDarkEnoughToSpawn()
const;
129 MCAPI
bool $_hurt(
::ActorDamageSource const& source,
float damage,
bool knock,
bool ignite);
137 MCAPI
static void** $vftable();
Definition EntityContext.h:16