Files
cafeberry/Minecraft.World/DefendVillageTargetGoal.h
T
2026-07-03 18:34:01 +01:00

18 lines
316 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();
};