Package net.minecraft.entity.ai.control
Class YawAdjustingLookControl
java.lang.Object
net.minecraft.entity.ai.control.LookControl
net.minecraft.entity.ai.control.YawAdjustingLookControl
- All Implemented Interfaces:
- Control
- Direct Known Subclasses:
- AxolotlEntity.AxolotlLookControl
The yaw adjusting look control adjusts the entity's body yaw to be close to the
 head yaw. In vanilla, this is used by entities that cannot rotate their heads
 easily, such as axolotl and dolphin.
- Mappings:
- Namespace - Name - named - net/minecraft/entity/ai/control/YawAdjustingLookControl- intermediary - net/minecraft/class_1332- official - cbk
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intprivate final intFields inherited from class net.minecraft.entity.ai.control.LookControlentity, lookAtTimer, maxPitchChange, maxYawChange, x, y, z
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class net.minecraft.entity.ai.control.LookControlclampHeadYaw, getLookX, getLookY, getLookZ, getTargetPitch, getTargetYaw, isLookingAtSpecificPosition, lookAt, lookAt, lookAt, lookAt, lookAt, shouldStayHorizontalMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.entity.ai.control.ControlchangeAngle
- 
Field Details- 
ADDED_PITCHprivate static final int ADDED_PITCH- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - ADDED_PITCH- Lnet/minecraft/entity/ai/control/YawAdjustingLookControl;ADDED_PITCH:I- intermediary - field_30200- Lnet/minecraft/class_1332;field_30200:I- official - i- Lcbk;i:I
 
- 
ADDED_YAWprivate static final int ADDED_YAW- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - ADDED_YAW- Lnet/minecraft/entity/ai/control/YawAdjustingLookControl;ADDED_YAW:I- intermediary - field_30201- Lnet/minecraft/class_1332;field_30201:I- official - j- Lcbk;j:I
 
- 
yawAdjustThresholdprivate final int yawAdjustThreshold- Mappings:
- Namespace - Name - Mixin selector - named - yawAdjustThreshold- Lnet/minecraft/entity/ai/control/YawAdjustingLookControl;yawAdjustThreshold:I- intermediary - field_6357- Lnet/minecraft/class_1332;field_6357:I- official - h- Lcbk;h:I
 
 
- 
- 
Constructor Details- 
YawAdjustingLookControl- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/entity/ai/control/YawAdjustingLookControl;<init>(Lnet/minecraft/entity/mob/MobEntity;I)V- intermediary - <init>- Lnet/minecraft/class_1332;<init>(Lnet/minecraft/class_1308;I)V- official - <init>- Lcbk;<init>(Lbvk;I)V
 
 
- 
- 
Method Details- 
tickpublic void tick()- Overrides:
- tickin class- LookControl
- Mappings:
- Namespace - Name - Mixin selector - named - tick- Lnet/minecraft/entity/ai/control/LookControl;tick()V- intermediary - method_6231- Lnet/minecraft/class_1333;method_6231()V- official - a- Lcbi;a()V
 
 
-