Class BodyControl

java.lang.Object
net.minecraft.entity.ai.control.BodyControl
All Implemented Interfaces:
Control
Direct Known Subclasses:
PhantomEntity.PhantomBodyControl, ShulkerEntity.ShulkerBodyControl

public class BodyControl extends Object implements Control
Mappings:
Namespace Name
official ayn
intermediary net/minecraft/class_1330
named net/minecraft/entity/ai/control/BodyControl
  • Field Details

    • MAX_HEAD_YAW

      private static final int MAX_HEAD_YAW
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official b Layn;b:I
      intermediary field_30194 Lnet/minecraft/class_1330;field_30194:I
      named MAX_HEAD_YAW Lnet/minecraft/entity/ai/control/BodyControl;MAX_HEAD_YAW:I
    • MAX_ACTIVE_TICKS

      private static final int MAX_ACTIVE_TICKS
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official c Layn;c:I
      intermediary field_30195 Lnet/minecraft/class_1330;field_30195:I
      named MAX_ACTIVE_TICKS Lnet/minecraft/entity/ai/control/BodyControl;MAX_ACTIVE_TICKS:I
    • ROTATION_INCREMENTS

      private static final int ROTATION_INCREMENTS
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official d Layn;d:I
      intermediary field_30196 Lnet/minecraft/class_1330;field_30196:I
      named ROTATION_INCREMENTS Lnet/minecraft/entity/ai/control/BodyControl;ROTATION_INCREMENTS:I
    • entity

      private final MobEntity entity
      Mappings:
      Namespace Name Mixin selector
      official a Layn;a:Latv;
      intermediary field_6356 Lnet/minecraft/class_1330;field_6356:Lnet/minecraft/class_1308;
      named entity Lnet/minecraft/entity/ai/control/BodyControl;entity:Lnet/minecraft/entity/mob/MobEntity;
    • activeTicks

      private int activeTicks
      Mappings:
      Namespace Name Mixin selector
      official e Layn;e:I
      intermediary field_6355 Lnet/minecraft/class_1330;field_6355:I
      named activeTicks Lnet/minecraft/entity/ai/control/BodyControl;activeTicks:I
    • lastHeadYaw

      private float lastHeadYaw
      Mappings:
      Namespace Name Mixin selector
      official f Layn;f:F
      intermediary field_6354 Lnet/minecraft/class_1330;field_6354:F
      named lastHeadYaw Lnet/minecraft/entity/ai/control/BodyControl;lastHeadYaw:F
  • Constructor Details

    • BodyControl

      public BodyControl(MobEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official <init> Layn;<init>(Latv;)V
      intermediary <init> Lnet/minecraft/class_1330;<init>(Lnet/minecraft/class_1308;)V
      named <init> Lnet/minecraft/entity/ai/control/BodyControl;<init>(Lnet/minecraft/entity/mob/MobEntity;)V
  • Method Details

    • tick

      public void tick()
      Mappings:
      Namespace Name Mixin selector
      official a Layn;a()V
      intermediary method_6224 Lnet/minecraft/class_1330;method_6224()V
      named tick Lnet/minecraft/entity/ai/control/BodyControl;tick()V
    • rotateLook

      private void rotateLook()
      Mappings:
      Namespace Name Mixin selector
      official b Layn;b()V
      intermediary method_20243 Lnet/minecraft/class_1330;method_20243()V
      named rotateLook Lnet/minecraft/entity/ai/control/BodyControl;rotateLook()V
    • rotateHead

      private void rotateHead()
      Mappings:
      Namespace Name Mixin selector
      official c Layn;c()V
      intermediary method_20244 Lnet/minecraft/class_1330;method_20244()V
      named rotateHead Lnet/minecraft/entity/ai/control/BodyControl;rotateHead()V
    • rotateBody

      private void rotateBody()
      Mappings:
      Namespace Name Mixin selector
      official d Layn;d()V
      intermediary method_20245 Lnet/minecraft/class_1330;method_20245()V
      named rotateBody Lnet/minecraft/entity/ai/control/BodyControl;rotateBody()V
    • isIndependent

      private boolean isIndependent()
      Mappings:
      Namespace Name Mixin selector
      official e Layn;e()Z
      intermediary method_20246 Lnet/minecraft/class_1330;method_20246()Z
      named isIndependent Lnet/minecraft/entity/ai/control/BodyControl;isIndependent()Z
    • isMoving

      private boolean isMoving()
      Mappings:
      Namespace Name Mixin selector
      official f Layn;f()Z
      intermediary method_20247 Lnet/minecraft/class_1330;method_20247()Z
      named isMoving Lnet/minecraft/entity/ai/control/BodyControl;isMoving()Z