Files
MinecraftConsoles/Minecraft.World/RunAroundLikeCrazyGoal.h
2026-03-01 11:00:23 -06:00

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