33 enum class WitherAttackType :
int {
94 virtual void reloadHardcodedClient(::ActorInitializationMethod method) ;
97 virtual void aiStep() ;
100 virtual void newServerAiStep() ;
103 virtual bool canFreeze()
const ;
106 virtual bool canBeAffected(uint effectId)
const ;
112 virtual void hurtEffects(
::ActorDamageSource const& source,
float damage,
bool knock,
bool ignite) ;
115 virtual void addAdditionalSaveData(
::CompoundTag& tag)
const ;
124 virtual int getArmorValue()
const ;
130 virtual void remove() ;
133 virtual bool startRiding(
::Actor& vehicle,
bool forceRiding) ;
136 virtual void handleEntityEvent(::ActorEvent
id,
int data) ;
142 virtual ::Vec3 getFiringPos()
const ;
145 virtual bool _hurt(
::ActorDamageSource const& source,
float damage,
bool knock,
bool ignite) ;
160 MCAPI
void _destroyBlocks(
165 ::WitherBoss::WitherAttackType attackType
168 MCAPI
void _performRangedAttack(
int headID,
::Actor& target);
170 MCAPI
void _performRangedAttack(
int headID,
::Vec3 const& targetPos,
bool dangerous);
172 MCAPI
bool canShoot();
174 MCAPI
bool getAerialAttack()
const;
176 MCAPI ::ActorUniqueID getAlternativeTarget(
int headIndex);
178 MCAPI ::Vec3 getHeadPos(
int headID)
const;
180 MCAPI
int getInvulnerableTicks()
const;
182 MCAPI
bool hasAerialAttack()
const;
184 MCAPI
void postAiStep();
186 MCAPI ::WitherBossPreAIStepResult preAiStep();
188 MCAPI
void setAerialAttack(
bool aerialAttack);
190 MCAPI
void setAlternativeTarget(
int headIndex,
::ActorUniqueID entityId);
192 MCAPI
void setInvulnerableTicks(
int invulnerableTicks);
198 MCAPI static ::mce::UUID
const& MAX_HEALTH_CAP_UUID();
216 MCAPI
void $reloadHardcodedClient(::ActorInitializationMethod method);
218 MCAPI
void $aiStep();
220 MCAPI
void $newServerAiStep();
222 MCFOLD
bool $canFreeze()
const;
224 MCAPI
bool $canBeAffected(uint effectId)
const;
228 MCAPI
void $hurtEffects(
::ActorDamageSource const& source,
float damage,
bool knock,
bool ignite);
236 MCAPI
int $getArmorValue()
const;
240 MCAPI
void $remove();
242 MCFOLD
bool $startRiding(
::Actor& vehicle,
bool forceRiding);
244 MCAPI
void $handleEntityEvent(::ActorEvent
id,
int data);
248 MCAPI ::Vec3 $getFiringPos()
const;
250 MCAPI
bool $_hurt(
::ActorDamageSource const& source,
float damage,
bool knock,
bool ignite);
Definition EntityContext.h:16