4jcraft/targets/minecraft/world/entity/ai/goal/RunAroundLikeCrazyGoal.h
2026-04-01 13:27:58 -05:00

20 lines
359 B
C++

#pragma once
#include "Goal.h"
class EntityHorse;
class RunAroundLikeCrazyGoal : public Goal {
private:
EntityHorse* horse; // Owner
double speedModifier;
double posX, posY, posZ;
public:
RunAroundLikeCrazyGoal(EntityHorse* mob, double speedModifier);
bool canUse();
void start();
bool canContinueToUse();
void tick();
};