8 #include "../Blocks/BlockHandler.h"
9 #include "../Blocks/BlockInfested.h"
16 Super(
"Endermite",
mtEndermite,
"entity.endermite.hurt",
"entity.endermite.death",
"entity.endermite.ambient", 0.4f, 0.3f),
18 m_Lifetime(2 * 1000 * 60)
void Destroy()
Destroys the entity, schedules it for memory freeing and broadcasts the DestroyEntity packet.
virtual void Tick(std::chrono::milliseconds a_Dt, cChunk &a_Chunk) override
void Tick(std::chrono::milliseconds a_Dt, cChunk &a_Chunk) override
std::chrono::milliseconds m_Timer
std::chrono::milliseconds m_Lifetime