Class GhastEntity.GhastMoveControl

java.lang.Object
net.minecraft.entity.ai.control.MoveControl
net.minecraft.entity.mob.GhastEntity.GhastMoveControl
All Implemented Interfaces:
Control
Enclosing class:
GhastEntity

public static class GhastEntity.GhastMoveControl extends MoveControl
Mappings:
Namespace Name
named net/minecraft/entity/mob/GhastEntity$GhastMoveControl
intermediary net/minecraft/class_1571$class_1573
official crp$b
  • Field Details

    • ghast

      private final MobEntity ghast
      Mappings:
      Namespace Name Mixin selector
      named ghast Lnet/minecraft/entity/mob/GhastEntity$GhastMoveControl;ghast:Lnet/minecraft/entity/mob/MobEntity;
      intermediary field_59704 Lnet/minecraft/class_1571$class_1573;field_59704:Lnet/minecraft/class_1308;
      official l Lcrp$b;l:Lcao;
    • collisionCheckCooldown

      private int collisionCheckCooldown
      Mappings:
      Namespace Name Mixin selector
      named collisionCheckCooldown Lnet/minecraft/entity/mob/GhastEntity$GhastMoveControl;collisionCheckCooldown:I
      intermediary field_7276 Lnet/minecraft/class_1571$class_1573;field_7276:I
      official m Lcrp$b;m:I
    • happy

      private final boolean happy
      Mappings:
      Namespace Name Mixin selector
      named happy Lnet/minecraft/entity/mob/GhastEntity$GhastMoveControl;happy:Z
      intermediary field_59705 Lnet/minecraft/class_1571$class_1573;field_59705:Z
      official n Lcrp$b;n:Z
    • shouldStayStill

      private final BooleanSupplier shouldStayStill
      Mappings:
      Namespace Name Mixin selector
      named shouldStayStill Lnet/minecraft/entity/mob/GhastEntity$GhastMoveControl;shouldStayStill:Ljava/util/function/BooleanSupplier;
      intermediary field_60554 Lnet/minecraft/class_1571$class_1573;field_60554:Ljava/util/function/BooleanSupplier;
      official o Lcrp$b;o:Ljava/util/function/BooleanSupplier;
  • Constructor Details

    • GhastMoveControl

      public GhastMoveControl(MobEntity ghast, boolean happy, BooleanSupplier shouldStayStill)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/mob/GhastEntity$GhastMoveControl;<init>(Lnet/minecraft/entity/mob/MobEntity;ZLjava/util/function/BooleanSupplier;)V
      intermediary <init> Lnet/minecraft/class_1571$class_1573;<init>(Lnet/minecraft/class_1308;ZLjava/util/function/BooleanSupplier;)V
      official <init> Lcrp$b;<init>(Lcao;ZLjava/util/function/BooleanSupplier;)V
  • Method Details

    • tick

      public void tick()
      Overrides:
      tick in class MoveControl
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/entity/ai/control/MoveControl;tick()V
      intermediary method_6240 Lnet/minecraft/class_1335;method_6240()V
      official a Lcgl;a()V
    • willCollide

      private boolean willCollide(Vec3d movement)
      Mappings:
      Namespace Name Mixin selector
      named willCollide Lnet/minecraft/entity/mob/GhastEntity$GhastMoveControl;willCollide(Lnet/minecraft/util/math/Vec3d;)Z
      intermediary method_7051 Lnet/minecraft/class_1571$class_1573;method_7051(Lnet/minecraft/class_243;)Z
      official a Lcrp$b;a(Lfis;)Z
    • canPassThrough

      private boolean canPassThrough(BlockView world, @Nullable @Nullable Vec3d oldPos, @Nullable @Nullable Vec3d newPos, BlockPos blockPos, boolean waterAllowed, boolean lavaAllowed)
      Mappings:
      Namespace Name Mixin selector
      named canPassThrough Lnet/minecraft/entity/mob/GhastEntity$GhastMoveControl;canPassThrough(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/BlockPos;ZZ)Z
      intermediary method_71149 Lnet/minecraft/class_1571$class_1573;method_71149(Lnet/minecraft/class_1922;Lnet/minecraft/class_243;Lnet/minecraft/class_243;Lnet/minecraft/class_2338;ZZ)Z
      official a Lcrp$b;a(Ldly;Lfis;Lfis;Ljb;ZZ)Z