Class DrownedEntity.TargetAboveWaterGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.mob.DrownedEntity.TargetAboveWaterGoal
Enclosing class:
DrownedEntity

private static class DrownedEntity.TargetAboveWaterGoal extends Goal
Mappings:
Namespace Name
official btr$e
intermediary net/minecraft/class_1551$class_1557
named net/minecraft/entity/mob/DrownedEntity$TargetAboveWaterGoal
  • Field Details

    • drowned

      private final DrownedEntity drowned
      Mappings:
      Namespace Name Mixin selector
      official a Lbtr$e;a:Lbtr;
      intermediary field_7246 Lnet/minecraft/class_1551$class_1557;field_7246:Lnet/minecraft/class_1551;
      named drowned Lnet/minecraft/entity/mob/DrownedEntity$TargetAboveWaterGoal;drowned:Lnet/minecraft/entity/mob/DrownedEntity;
    • speed

      private final double speed
      Mappings:
      Namespace Name Mixin selector
      official b Lbtr$e;b:D
      intermediary field_7245 Lnet/minecraft/class_1551$class_1557;field_7245:D
      named speed Lnet/minecraft/entity/mob/DrownedEntity$TargetAboveWaterGoal;speed:D
    • minY

      private final int minY
      Mappings:
      Namespace Name Mixin selector
      official c Lbtr$e;c:I
      intermediary field_7247 Lnet/minecraft/class_1551$class_1557;field_7247:I
      named minY Lnet/minecraft/entity/mob/DrownedEntity$TargetAboveWaterGoal;minY:I
    • foundTarget

      private boolean foundTarget
      Mappings:
      Namespace Name Mixin selector
      official d Lbtr$e;d:Z
      intermediary field_7248 Lnet/minecraft/class_1551$class_1557;field_7248:Z
      named foundTarget Lnet/minecraft/entity/mob/DrownedEntity$TargetAboveWaterGoal;foundTarget:Z
  • Constructor Details

    • TargetAboveWaterGoal

      public TargetAboveWaterGoal(DrownedEntity drowned, double speed, int minY)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbtr$e;<init>(Lbtr;DI)V
      intermediary <init> Lnet/minecraft/class_1551$class_1557;<init>(Lnet/minecraft/class_1551;DI)V
      named <init> Lnet/minecraft/entity/mob/DrownedEntity$TargetAboveWaterGoal;<init>(Lnet/minecraft/entity/mob/DrownedEntity;DI)V
  • Method Details

    • canStart

      public boolean canStart()
      Specified by:
      canStart in class Goal
      Mappings:
      Namespace Name Mixin selector
      official a Lbky;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 Goal
      Mappings:
      Namespace Name Mixin selector
      official b Lbky;b()Z
      intermediary method_6266 Lnet/minecraft/class_1352;method_6266()Z
      named shouldContinue Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
    • tick

      public void tick()
      Overrides:
      tick in class Goal
      Mappings:
      Namespace Name Mixin selector
      official e Lbky;e()V
      intermediary method_6268 Lnet/minecraft/class_1352;method_6268()V
      named tick Lnet/minecraft/entity/ai/goal/Goal;tick()V
    • start

      public void start()
      Overrides:
      start in class Goal
      Mappings:
      Namespace Name Mixin selector
      official c Lbky;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 Lbky;d()V
      intermediary method_6270 Lnet/minecraft/class_1352;method_6270()V
      named stop Lnet/minecraft/entity/ai/goal/Goal;stop()V