net.minecraft.world.entity.ai.control

public class MoveControl

implements Control

cch
net.minecraft.world.entity.ai.control.MoveControl
net.minecraft.class_1335
net.minecraft.entity.ai.control.MoveControl
net.minecraft.world.entity.ai.control.ControllerMove

Field summary

Modifier and TypeField
public static final float
a
MIN_SPEED
field_30197
field_30197
public static final float
b
MIN_SPEED_SQR
field_30198
REACHED_DESTINATION_DISTANCE_SQUARED
protected static final int
c
MAX_TURN
field_30199
field_30199
protected final Mob
d
mob
field_6371
entity
protected double
e
wantedX
field_6370
targetX
protected double
f
wantedY
field_6369
targetY
protected double
g
wantedZ
field_6367
targetZ
protected double
h
speedModifier
field_6372
speed
protected float
i
strafeForwards
field_6368
forwardMovement
protected float
j
strafeRight
field_6373
sidewaysMovement
protected MoveControl$Operation
k
operation
field_6374
state

Constructor summary

ModifierConstructor
public (Mob entity)

Method summary

Modifier and TypeMethod
public boolean
b()
hasWanted()
method_6241()
isMoving()
public double
c()
getSpeedModifier()
method_6242()
getSpeed()
public void
a(double arg0, double arg1, double arg2, double arg3)
setWantedPosition(double arg0, double arg1, double arg2, double arg3)
method_6239(double arg0, double arg1, double arg2, double arg3)
moveTo(double x, double y, double z, double speed)
public void
a(float arg0, float arg1)
strafe(float arg0, float arg1)
method_6243(float arg0, float arg1)
strafeTo(float forward, float sideways)
public void
a()
tick()
method_6240()
tick()
private boolean
b(float arg0, float arg1)
isWalkable(float arg0, float arg1)
method_25946(float arg0, float arg1)
isPosWalkable(float x, float z)
protected float
b(float arg0, float arg1, float arg2)
rotlerp(float arg0, float arg1, float arg2)
method_6238(float arg0, float arg1, float arg2)
wrapDegrees(float from, float to, float max)
public double
d()
getWantedX()
method_6236()
getTargetX()
public double
e()
getWantedY()
method_6235()
getTargetY()
public double
f()
getWantedZ()
method_6237()
getTargetZ()