Class DrownedEntity.LeaveWaterGoal

Enclosing class:
DrownedEntity

private static class DrownedEntity.LeaveWaterGoal extends MoveToTargetPosGoal
Mappings:
Namespace Name
official bvo$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 Lbvo$b;g:Lbvo;
      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> Lbvo$b;<init>(Lbvo;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 Lbmt;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 Lbmt;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 Lbng;a(Lcml;Lgt;)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 Lbmt;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 Lbmt;d()V
      intermediary method_6270 Lnet/minecraft/class_1352;method_6270()V
      named stop Lnet/minecraft/entity/ai/goal/Goal;stop()V