Class DrownedEntity.LeaveWaterGoal

Enclosing class:
DrownedEntity

private static class DrownedEntity.LeaveWaterGoal extends MoveToTargetPosGoal
Mappings:
Namespace Name
named net/minecraft/entity/mob/DrownedEntity$LeaveWaterGoal
intermediary net/minecraft/class_1551$class_1554
official cmk$b
  • Field Details

    • drowned

      private final DrownedEntity drowned
      Mappings:
      Namespace Name Mixin selector
      named drowned Lnet/minecraft/entity/mob/DrownedEntity$LeaveWaterGoal;drowned:Lnet/minecraft/entity/mob/DrownedEntity;
      intermediary field_7237 Lnet/minecraft/class_1551$class_1554;field_7237:Lnet/minecraft/class_1551;
      official g Lcmk$b;g:Lcmk;
  • Constructor Details

    • LeaveWaterGoal

      public LeaveWaterGoal(DrownedEntity drowned, double speed)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/mob/DrownedEntity$LeaveWaterGoal;<init>(Lnet/minecraft/entity/mob/DrownedEntity;D)V
      intermediary <init> Lnet/minecraft/class_1551$class_1554;<init>(Lnet/minecraft/class_1551;D)V
      official <init> Lcmk$b;<init>(Lcmk;D)V
  • Method Details

    • canStart

      public boolean canStart()
      Overrides:
      canStart in class MoveToTargetPosGoal
      Mappings:
      Namespace Name Mixin selector
      named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
      intermediary method_6264 Lnet/minecraft/class_1352;method_6264()Z
      official b Lcdd;b()Z
    • shouldContinue

      public boolean shouldContinue()
      Overrides:
      shouldContinue in class MoveToTargetPosGoal
      Mappings:
      Namespace Name Mixin selector
      named shouldContinue Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
      intermediary method_6266 Lnet/minecraft/class_1352;method_6266()Z
      official c Lcdd;c()Z
    • isTargetPos

      protected boolean isTargetPos(WorldView world, BlockPos pos)
      Specified by:
      isTargetPos in class MoveToTargetPosGoal
      Mappings:
      Namespace Name Mixin selector
      named isTargetPos Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;isTargetPos(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
      intermediary method_6296 Lnet/minecraft/class_1367;method_6296(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z
      official a Lcdq;a(Ldhk;Ljh;)Z
    • start

      public void start()
      Overrides:
      start in class MoveToTargetPosGoal
      Mappings:
      Namespace Name Mixin selector
      named start Lnet/minecraft/entity/ai/goal/Goal;start()V
      intermediary method_6269 Lnet/minecraft/class_1352;method_6269()V
      official d Lcdd;d()V
    • stop

      public void stop()
      Overrides:
      stop in class Goal
      Mappings:
      Namespace Name Mixin selector
      named stop Lnet/minecraft/entity/ai/goal/Goal;stop()V
      intermediary method_6270 Lnet/minecraft/class_1352;method_6270()V
      official e Lcdd;e()V