22class Squid :
public ::Mob {
26 ::ll::TypedStorage<4, 16, ::mce::Color> mInkColor;
27 ::ll::TypedStorage<4, 4, float> mSpeed;
28 ::ll::TypedStorage<4, 4, float> mTentacleSpeed;
29 ::ll::TypedStorage<4, 4, float> mRotateSpeed;
30 ::ll::TypedStorage<4, 4, float> mXBodyRot;
31 ::ll::TypedStorage<4, 4, float> mXBodyRotO;
32 ::ll::TypedStorage<4, 4, float> mZBodyRot;
33 ::ll::TypedStorage<4, 4, float> mZBodyRotO;
34 ::ll::TypedStorage<4, 4, float> mTx;
35 ::ll::TypedStorage<4, 4, float> mTy;
36 ::ll::TypedStorage<4, 4, float> mTz;
37 ::ll::TypedStorage<4, 4, float> mTentacleMovement;
38 ::ll::TypedStorage<4, 4, float> mOldTentacleMovement;
39 ::ll::TypedStorage<4, 4, float> mTentacleAngle;
40 ::ll::TypedStorage<4, 4, float> mOldTentacleAngle;
50 virtual void handleEntityEvent(::ActorEvent eventId,
int data) ;
52 virtual bool checkSpawnObstruction()
const ;
54 virtual bool checkSpawnRules(
bool fromSpawner) ;
56 virtual bool _hurt(
::ActorDamageSource const& source,
float damage,
bool knock,
bool ignite) ;
58 virtual ::SharedTypes::Legacy::LevelSoundEvent _getInkSquirtSoundEvent()
const;
75 MCAPI ::Vec3 _randomInkDir();
77 MCAPI
void postAiStep();
79 MCAPI
void spawnInkParticles();
102 MCAPI
void $handleEntityEvent(::ActorEvent eventId,
int data);
104 MCFOLD
bool $checkSpawnObstruction()
const;
106 MCAPI
bool $checkSpawnRules(
bool fromSpawner);
108 MCAPI
bool $_hurt(
::ActorDamageSource const& source,
float damage,
bool knock,
bool ignite);
110 MCAPI ::SharedTypes::Legacy::LevelSoundEvent $_getInkSquirtSoundEvent()
const;
Definition EntityContext.h:16