Class DrownedEntity.WanderAroundOnSurfaceGoal

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

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

    • mob

      private final PathAwareEntity mob
      Mappings:
      Namespace Name Mixin selector
      official a Lbtr$c;a:Lbep;
      intermediary field_7242 Lnet/minecraft/class_1551$class_1555;field_7242:Lnet/minecraft/class_1314;
      named mob Lnet/minecraft/entity/mob/DrownedEntity$WanderAroundOnSurfaceGoal;mob:Lnet/minecraft/entity/mob/PathAwareEntity;
    • x

      private double x
      Mappings:
      Namespace Name Mixin selector
      official b Lbtr$c;b:D
      intermediary field_7240 Lnet/minecraft/class_1551$class_1555;field_7240:D
      named x Lnet/minecraft/entity/mob/DrownedEntity$WanderAroundOnSurfaceGoal;x:D
    • y

      private double y
      Mappings:
      Namespace Name Mixin selector
      official c Lbtr$c;c:D
      intermediary field_7239 Lnet/minecraft/class_1551$class_1555;field_7239:D
      named y Lnet/minecraft/entity/mob/DrownedEntity$WanderAroundOnSurfaceGoal;y:D
    • z

      private double z
      Mappings:
      Namespace Name Mixin selector
      official d Lbtr$c;d:D
      intermediary field_7238 Lnet/minecraft/class_1551$class_1555;field_7238:D
      named z Lnet/minecraft/entity/mob/DrownedEntity$WanderAroundOnSurfaceGoal;z:D
    • speed

      private final double speed
      Mappings:
      Namespace Name Mixin selector
      official e Lbtr$c;e:D
      intermediary field_7243 Lnet/minecraft/class_1551$class_1555;field_7243:D
      named speed Lnet/minecraft/entity/mob/DrownedEntity$WanderAroundOnSurfaceGoal;speed:D
    • world

      private final World world
      Mappings:
      Namespace Name Mixin selector
      official f Lbtr$c;f:Lcjw;
      intermediary field_7241 Lnet/minecraft/class_1551$class_1555;field_7241:Lnet/minecraft/class_1937;
      named world Lnet/minecraft/entity/mob/DrownedEntity$WanderAroundOnSurfaceGoal;world:Lnet/minecraft/world/World;
  • Constructor Details

    • WanderAroundOnSurfaceGoal

      public WanderAroundOnSurfaceGoal(PathAwareEntity mob, double speed)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbtr$c;<init>(Lbep;D)V
      intermediary <init> Lnet/minecraft/class_1551$class_1555;<init>(Lnet/minecraft/class_1314;D)V
      named <init> Lnet/minecraft/entity/mob/DrownedEntity$WanderAroundOnSurfaceGoal;<init>(Lnet/minecraft/entity/mob/PathAwareEntity;D)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
    • 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
    • getWanderTarget

      @Nullable private @Nullable Vec3d getWanderTarget()
      Mappings:
      Namespace Name Mixin selector
      official h Lbtr$c;h()Leae;
      intermediary method_7021 Lnet/minecraft/class_1551$class_1555;method_7021()Lnet/minecraft/class_243;
      named getWanderTarget Lnet/minecraft/entity/mob/DrownedEntity$WanderAroundOnSurfaceGoal;getWanderTarget()Lnet/minecraft/util/math/Vec3d;