Add Discord RPC back with new features, add beta splitscreen support, PR's from MCLCE used in this https://github.com/MCLCE/MinecraftConsoles/pull/1044 https://github.com/MCLCE/MinecraftConsoles/pull/1136 https://github.com/MCLCE/MinecraftConsoles/pull/1245
16 lines
343 B
C++
16 lines
343 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, int randomInterval, bool mustSee);
|
|
|
|
bool canUse();
|
|
}; |