aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/NonTameRandomTargetGoal.h
blob: f30244a15432ad7c2e37030b6d66c6b642c019fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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();
};