4jcraft/targets/minecraft/world/entity/ai/goal/target/NonTameRandomTargetGoal.h
2026-04-01 13:27:58 -05:00

19 lines
435 B
C++

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