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

16 lines
358 B
C++

#pragma once
#include "NearestAttackableTargetGoal.h"
class TamableAnimal;
class NonTameRandomTargetGoal : public NearestAttackableTargetGoal
{
private:
TamableAnimal *tamableMob; // Owner of this goal
public:
NonTameRandomTargetGoal(TamableAnimal *mob, const type_info& targetType, int randomInterval, bool mustSee);
bool canUse();
};