net.minecraft.world.entity.ai.control

public class BodyRotationControl

implements Control

bcr
net.minecraft.world.entity.ai.control.BodyRotationControl
net.minecraft.class_1330
net.minecraft.entity.ai.control.BodyControl
net.minecraft.src.C_661_
net.minecraft.world.entity.ai.control.EntityAIBodyControl

Field summary

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

Constructor summary

ModifierConstructor
public (Mob entity)

Method summary

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