net.minecraft.world.entity.ai.control

public class BodyRotationControl

implements Control

cbe
net.minecraft.world.entity.ai.control.BodyRotationControl
net.minecraft.class_1330
net.minecraft.entity.ai.control.BodyControl
net.minecraft.world.entity.ai.control.EntityAIBodyControl

Field summary

Modifier and TypeField
private final Mob
a
mob
field_6356
entity
private static final int
b
HEAD_STABLE_ANGLE
field_30194
BODY_KEEP_UP_THRESHOLD
private static final int
c
DELAY_UNTIL_STARTING_TO_FACE_FORWARD
field_30195
ROTATE_BODY_START_TICK
private static final int
d
HOW_LONG_IT_TAKES_TO_FACE_FORWARD
field_30196
ROTATION_INCREMENTS
private int
e
headStableTime
field_6355
bodyAdjustTicks
private float
f
lastStableYHeadRot
field_6354
lastHeadYaw

Constructor summary

ModifierConstructor
public (Mob entity)

Method summary

Modifier and TypeMethod
public void
a()
clientTick()
method_6224()
tick()
private void
b()
rotateBodyIfNecessary()
method_20243()
keepUpBody()
private void
c()
rotateHeadIfNecessary()
method_20244()
keepUpHead()
private void
d()
rotateHeadTowardsFront()
method_20245()
slowlyAdjustBody()
private boolean
e()
notCarryingMobPassengers()
method_20246()
isIndependent()
private boolean
f()
isMoving()
method_20247()
isMoving()