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 PlayGoal : public Goal
6{
7private:
8 Villager *mob;
9 weak_ptr<LivingEntity> followFriend;
10 double speedModifier;
11 double wantedX, wantedY, wantedZ;
12 int playTime;
13
14public:
15 PlayGoal(Villager *mob, double speedModifier);
16
17 virtual bool canUse();
18 virtual bool canContinueToUse();
19 virtual void start();
20 virtual void stop();
21 virtual void tick();
22};