|
Cuberite
A lightweight, fast and extensible game server for Minecraft
|
Go to the documentation of this file.
48 virtual void Tick(std::chrono::milliseconds a_Dt,
cChunk & a_Chunk)
override;
bool DisplaysBeam() const
If the EnderCrystal should send it's beam to the client and save it.
cEntity(eEntityType a_EntityType, Vector3d a_Pos, float a_Width, float a_Height)
#define CLASS_PROTODEF(classname)
void SetDisplayBeam(bool a_DisplayBeam)
virtual void KilledBy(TakeDamageInfo &a_TDI) override
Called when the health drops below zero.
void SetShowBottom(bool a_ShowBottom)
virtual void Tick(std::chrono::milliseconds a_Dt, cChunk &a_Chunk) override
virtual void SpawnOn(cClientHandle &a_ClientHandle) override
Descendants override this function to send a command to the specified client to spawn the entity on t...
cEnderCrystal(Vector3d a_Pos, bool a_ShowBottom)
void SetBeamTarget(Vector3i a_BeamTarget)
Vector3i GetBeamTarget() const