Files
MinecraftConsoles/Minecraft.World/MoveTowardsRestrictionGoal.h

18 lines
292 B
C
Raw Normal View History

2026-03-01 12:16:08 +08:00
#pragma once
#include "Goal.h"
class MoveTowardsRestrictionGoal : public Goal
{
private:
PathfinderMob *mob;
double wantedX, wantedY, wantedZ;
float speed;
public:
MoveTowardsRestrictionGoal(PathfinderMob *mob, float speed);
bool canUse();
bool canContinueToUse();
void start();
};