Files
MinecraftConsoles/Minecraft.World/NonTameRandomTargetGoal.h

16 lines
343 B
C
Raw Normal View History

2026-03-01 12:16:08 +08:00
#pragma once
#include "NearestAttackableTargetGoal.h"
class TamableAnimal;
class NonTameRandomTargetGoal : public NearestAttackableTargetGoal
{
private:
TamableAnimal *tamableMob; // Owner of this goal
public:
2026-03-01 11:00:23 -06:00
NonTameRandomTargetGoal(TamableAnimal *mob, const type_info& targetType, int randomInterval, bool mustSee);
2026-03-01 12:16:08 +08:00
bool canUse();
};