4jcraft/Minecraft.World/AI/Goals/NonTameRandomTargetGoal.h
2026-03-06 12:14:56 -06:00

16 lines
362 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 std::type_info& targetType, float within, int randomInterval, bool mustSee);
bool canUse();
};