类 BodyRotationControl
java.lang.Object
net.minecraft.world.entity.ai.control.BodyRotationControl
- 所有已实现的接口:
Control
- 直接已知子类:
Camel.CamelBodyRotationControl
,Creaking.CreakingBodyRotationControl
,Phantom.PhantomBodyRotationControl
,Shulker.ShulkerBodyRotationControl
-
字段概要
字段修饰符和类型字段说明private static final int
private static final int
private int
private static final int
private float
private final Mob
-
构造器概要
构造器 -
方法概要
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.world.entity.ai.control.Control
rotateTowards
-
字段详细资料
-
mob
-
HEAD_STABLE_ANGLE
private static final int HEAD_STABLE_ANGLE- 另请参阅:
-
DELAY_UNTIL_STARTING_TO_FACE_FORWARD
private static final int DELAY_UNTIL_STARTING_TO_FACE_FORWARD- 另请参阅:
-
HOW_LONG_IT_TAKES_TO_FACE_FORWARD
private static final int HOW_LONG_IT_TAKES_TO_FACE_FORWARD- 另请参阅:
-
headStableTime
private int headStableTime -
lastStableYHeadRot
private float lastStableYHeadRot
-
-
构造器详细资料
-
BodyRotationControl
-
-
方法详细资料
-
clientTick
public void clientTick() -
rotateBodyIfNecessary
private void rotateBodyIfNecessary() -
rotateHeadIfNecessary
private void rotateHeadIfNecessary() -
rotateHeadTowardsFront
private void rotateHeadTowardsFront() -
notCarryingMobPassengers
private boolean notCarryingMobPassengers() -
isMoving
private boolean isMoving()
-