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 "TargetGoal.h"
4
5class VillagerGolem;
6
7class DefendVillageTargetGoal : public TargetGoal
8{
9private:
10 VillagerGolem *golem; // Owner of this goal
11 weak_ptr<LivingEntity> potentialTarget;
12
13public:
14 DefendVillageTargetGoal(VillagerGolem *golem);
15
16 bool canUse();
17 void start();
18};