the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at master 27 lines 459 B view raw
1#pragma once 2 3#include "Goal.h" 4 5class TemptGoal : public Goal 6{ 7private: 8 PathfinderMob *mob; 9 double speedModifier; 10 double px, py, pz, pRotX, pRotY; 11 weak_ptr<Player> player; 12 int calmDown ; 13 bool _isRunning; 14 int itemId; 15 bool canScare; 16 bool oldAvoidWater; 17 18public: 19 TemptGoal(PathfinderMob *mob, double speedModifier, int itemId, bool canScare); 20 21 bool canUse(); 22 bool canContinueToUse(); 23 void start(); 24 void stop(); 25 void tick(); 26 bool isRunning(); 27};