Something went wrong. Try again.
the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
Something went wrong. Try again.
448 B · 13 lines
C++
at master
1234567891011121314#include "stdafx.h"#include "net.minecraft.world.entity.animal.h"#include "NonTameRandomTargetGoal.h"
NonTameRandomTargetGoal::NonTameRandomTargetGoal(TamableAnimal *mob, const type_info& targetType, int randomInterval, bool mustSee) : NearestAttackableTargetGoal(mob, targetType, randomInterval, mustSee){ tamableMob = mob;}
bool NonTameRandomTargetGoal::canUse(){ return !tamableMob->isTame() && NearestAttackableTargetGoal::canUse();}