Files
MinecraftCommunityEdition-c…/Minecraft.World/OwnerHurtTargetGoal.h
LazyByteDev b40d5e9d01 src stuff
2026-03-02 03:31:00 -05: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();
};