diff options
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Player.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp index 0f18ebe66..a24b9d94c 100644 --- a/src/Entities/Player.cpp +++ b/src/Entities/Player.cpp @@ -984,6 +984,7 @@ void cPlayer::SetFlying(bool a_IsFlying) + void cPlayer::ApplyArmorDamage(int a_DamageBlocked) { short ArmorDamage = static_cast<short>(std::max(a_DamageBlocked / 4, 1)); @@ -1247,6 +1248,7 @@ double cPlayer::GetEyeHeight(void) const + Vector3d cPlayer::GetEyePosition(void) const { return Vector3d( GetPosX(), m_Stance, GetPosZ()); @@ -1282,6 +1284,7 @@ bool cPlayer::IsGameModeAdventure(void) const + bool cPlayer::IsGameModeSpectator(void) const { return (GetEffectiveGameMode() == gmSpectator); @@ -2979,6 +2982,7 @@ void cPlayer::FreezeInternal(const Vector3d & a_Location, bool a_ManuallyFrozen) + float cPlayer::GetLiquidHeightPercent(NIBBLETYPE a_Meta) { if (a_Meta >= 8) @@ -3073,7 +3077,6 @@ float cPlayer::GetPlayerRelativeBlockHardness(BLOCKTYPE a_Block) - float cPlayer::GetExplosionExposureRate(Vector3d a_ExplosionPosition, float a_ExlosionPower) { if ( |