Class BodyControl

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

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

    • entity

      private final MobEntity entity
      Mappings:
      Namespace Name Mixin selector
      official a Lavw;a:Larj;
      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 b Lavw;b: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 c Lavw;c: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> Lavw;<init>(Larj;)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 Lavw;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 Lavw;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 Lavw;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 Lavw;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 Lavw;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 Lavw;f()Z
      intermediary method_20247 Lnet/minecraft/class_1330;method_20247()Z
      named isMoving Lnet/minecraft/entity/ai/control/BodyControl;isMoving()Z