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

18 lines
290 B
C++

#pragma once
#include "TargetGoal.h"
class TamableAnimal;
class OwnerHurtTargetGoal : public TargetGoal
{
private:
TamableAnimal *tameAnimal; // Owner of this goal
weak_ptr<Mob> ownerLastHurt;
public:
OwnerHurtTargetGoal(TamableAnimal *tameAnimal);
bool canUse();
void start();
};