mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-27 22:13:51 +00:00
Initial commit
This commit is contained in:
parent
def8cb4153
commit
b691c43c44
19437 changed files with 4363922 additions and 0 deletions
13
Minecraft.World/InteractGoal.cpp
Normal file
13
Minecraft.World/InteractGoal.cpp
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#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);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue