the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 16 lines 343 B view raw
1#pragma once 2 3#include "NearestAttackableTargetGoal.h" 4 5class TamableAnimal; 6 7class NonTameRandomTargetGoal : public NearestAttackableTargetGoal 8{ 9private: 10 TamableAnimal *tamableMob; // Owner of this goal 11 12public: 13 NonTameRandomTargetGoal(TamableAnimal *mob, const type_info& targetType, int randomInterval, bool mustSee); 14 15 bool canUse(); 16};