Class DrownedEntity.LeaveWaterGoal

Enclosing class:
DrownedEntity

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

    • drowned

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

    • LeaveWaterGoal

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

    • canStart

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

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

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

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

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