net.minecraft.world.entity.ai.control

public class MoveControl

implements Control

bzs
net.minecraft.world.entity.ai.control.MoveControl
net.minecraft.class_1335
net.minecraft.entity.ai.control.MoveControl
net.minecraft.src.C_668_
net.minecraft.world.entity.ai.control.ControllerMove

Field summary

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

Constructor summary

ModifierConstructor
public (Mob entity)

Method summary

Modifier and TypeMethod
public boolean
b()
hasWanted()
method_6241()
isMoving()
m_24995_()
public double
c()
getSpeedModifier()
method_6242()
getSpeed()
m_24999_()
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)
m_6849_(double p_24985_, double p_24987_, double arg2, double arg3)
public void
a(float arg0, float arg1)
strafe(float arg0, float arg1)
method_6243(float arg0, float arg1)
strafeTo(float forward, float sideways)
m_24988_(float p_24990_, float arg1)
public void
a()
tick()
method_6240()
tick()
m_8126_()
private boolean
b(float arg0, float arg1)
isWalkable(float arg0, float arg1)
method_25946(float arg0, float arg1)
isPosWalkable(float x, float z)
m_24996_(float p_24998_, float arg1)
protected float
a(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)
m_24991_(float p_24993_, float p_24994_, float arg2)
public double
d()
getWantedX()
method_6236()
getTargetX()
m_25000_()
public double
e()
getWantedY()
method_6235()
getTargetY()
m_25001_()
public double
f()
getWantedZ()
method_6237()
getTargetZ()
m_25002_()