Files
DrPerkyLegit-LCEServerTest/Minecraft.World/DefendVillageTargetGoal.h
2026-05-16 11:30:28 -04:00

18 lines
299 B
C++

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