Files
LegacyMultiplayerProject/Minecraft.World/DefendVillageTargetGoal.h
DrPerkyLegit 5b19646cc6 init
2026-06-23 01:27:12 -04:00

18 lines
290 B
C++

#pragma once
#include "TargetGoal.h"
class VillagerGolem;
class DefendVillageTargetGoal : public TargetGoal
{
private:
VillagerGolem *golem; // Owner of this goal
weak_ptr<Mob> potentialTarget;
public:
DefendVillageTargetGoal(VillagerGolem *golem);
bool canUse();
void start();
};