summaryrefslogtreecommitdiffstats
path: root/src/Entities/Entity.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2021-02-06 19:37:03 +0100
committerTiger Wang <ziwei.tiger@outlook.com>2021-02-07 23:36:15 +0100
commitbe2bf999c280d6892b38272d3f783b3462f0b745 (patch)
tree6567e7f011e50dd8e6f65f7dd933a1d7dc34ea93 /src/Entities/Entity.h
parentAdds playerlist header and footer broadcasting (1.8-1.13) (diff)
downloadcuberite-be2bf999c280d6892b38272d3f783b3462f0b745.tar
cuberite-be2bf999c280d6892b38272d3f783b3462f0b745.tar.gz
cuberite-be2bf999c280d6892b38272d3f783b3462f0b745.tar.bz2
cuberite-be2bf999c280d6892b38272d3f783b3462f0b745.tar.lz
cuberite-be2bf999c280d6892b38272d3f783b3462f0b745.tar.xz
cuberite-be2bf999c280d6892b38272d3f783b3462f0b745.tar.zst
cuberite-be2bf999c280d6892b38272d3f783b3462f0b745.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/Entity.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/Entities/Entity.h b/src/Entities/Entity.h
index 143993dad..9fe7f16f5 100644
--- a/src/Entities/Entity.h
+++ b/src/Entities/Entity.h
@@ -591,12 +591,6 @@ public:
/** Returs whether the entity has any mob leashed to it. */
bool HasAnyMobLeashed() const { return m_LeashedMobs.size() > 0; }
- /** a lightweight calculation approach to get explosion exposure rate
- @param a_ExplosionPosition explosion position
- @param a_ExlosionPower explosion power
- @return exposure rate */
- virtual float GetExplosionExposureRate(Vector3d a_ExplosionPosition, float a_ExlosionPower);
-
protected:
@@ -705,11 +699,6 @@ protected:
/** The number of ticks this entity has been alive for */
long int m_TicksAlive;
-
- /** Does the actual speed-setting. The default implementation just sets the member variable value;
- overrides can provide further processing, such as forcing players to move at the given speed. */
- virtual void DoSetSpeed(double a_SpeedX, double a_SpeedY, double a_SpeedZ);
-
/** Handles the moving of this entity between worlds.
Should handle degenerate cases such as moving to the same world. */
void DoMoveToWorld(const sWorldChangeInfo & a_WorldChangeInfo);