* Add PathfinderMob base

* Normalize tab style in source/CMakeLists.txt
This commit is contained in:
iProgramInCpp
2023-12-06 21:20:14 +02:00
parent 8602de2428
commit 805087d36a
15 changed files with 471 additions and 112 deletions

View File

@@ -1,3 +1,4 @@
#include "Mob.hpp"
/********************************************************************
Minecraft: Pocket Edition - Decompilation Project
Copyright (C) 2023 iProgramInCpp
@@ -547,7 +548,6 @@ void Mob::travel(float a2, float a3)
if (onLadder())
{
m_distanceFallen = 0.0f;
if (m_vel.y < -0.15f)
@@ -873,6 +873,11 @@ std::string Mob::getDeathSound()
return "random.hurt";
}
float Mob::getWalkingSpeedModifier()
{
return 0.7f;
}
void Mob::defineSynchedData()
{