mirror of
https://github.com/celisej567/mcpe.git
synced 2026-01-04 14:09:47 +03:00
* Add PathfinderMob base
* Normalize tab style in source/CMakeLists.txt
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user