the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2
3#include "Goal.h"
4
5class MoveTowardsTargetGoal : public Goal
6{
7private:
8 PathfinderMob *mob;
9 weak_ptr<LivingEntity> target;
10 double wantedX, wantedY, wantedZ;
11 double speedModifier;
12 float within;
13
14public:
15 MoveTowardsTargetGoal(PathfinderMob *mob, double speedModifier, float within);
16
17 bool canUse();
18 bool canContinueToUse();
19 void stop();
20 void start();
21};