mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-23 22:13:52 +00:00
16 lines
357 B
C
16 lines
357 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, float within, int randomInterval, bool mustSee);
|
||
|
|
|
||
|
|
bool canUse();
|
||
|
|
};
|