the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at master 18 lines 310 B view raw
1#pragma once 2 3#include "Goal.h" 4 5class MoveTowardsRestrictionGoal : public Goal 6{ 7private: 8 PathfinderMob *mob; 9 double wantedX, wantedY, wantedZ; 10 double speedModifier; 11 12public: 13 MoveTowardsRestrictionGoal(PathfinderMob *mob, double speedModifier); 14 15 bool canUse(); 16 bool canContinueToUse(); 17 void start(); 18};