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.
568 B · 13 lines
C++
at main
12345678910111213#include "stdafx.h"#include "net.minecraft.world.entity.ai.control.h"#include "InteractGoal.h"
InteractGoal::InteractGoal(Mob *mob, const type_info& lookAtType, float lookDistance) : LookAtPlayerGoal(mob, lookAtType, lookDistance){ setRequiredControlFlags(Control::LookControlFlag | Control::MoveControlFlag);}
InteractGoal::InteractGoal(Mob *mob, const type_info& lookAtType, float lookDistance, float probability) : LookAtPlayerGoal(mob, lookAtType, lookDistance, probability){ setRequiredControlFlags(Control::LookControlFlag | Control::MoveControlFlag);}