Files
cafeberry/Minecraft.World/RunAroundLikeCrazyGoal.h
T
2026-07-03 18:34:01 +01:00

21 lines
354 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();
};