Class DolphinEntity.SwimWithPlayerGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.passive.DolphinEntity.SwimWithPlayerGoal
Enclosing class:
DolphinEntity

private static class DolphinEntity.SwimWithPlayerGoal extends Goal
Mappings:
Namespace Name
official bhs$b
intermediary net/minecraft/class_1433$class_1436
named net/minecraft/entity/passive/DolphinEntity$SwimWithPlayerGoal
  • Field Details

    • dolphin

      private final DolphinEntity dolphin
      Mappings:
      Namespace Name Mixin selector
      official a Lbhs$b;a:Lbhs;
      intermediary field_6755 Lnet/minecraft/class_1433$class_1436;field_6755:Lnet/minecraft/class_1433;
      named dolphin Lnet/minecraft/entity/passive/DolphinEntity$SwimWithPlayerGoal;dolphin:Lnet/minecraft/entity/passive/DolphinEntity;
    • speed

      private final double speed
      Mappings:
      Namespace Name Mixin selector
      official b Lbhs$b;b:D
      intermediary field_6754 Lnet/minecraft/class_1433$class_1436;field_6754:D
      named speed Lnet/minecraft/entity/passive/DolphinEntity$SwimWithPlayerGoal;speed:D
    • closestPlayer

      @Nullable private @Nullable PlayerEntity closestPlayer
      Mappings:
      Namespace Name Mixin selector
      official c Lbhs$b;c:Lbnr;
      intermediary field_6756 Lnet/minecraft/class_1433$class_1436;field_6756:Lnet/minecraft/class_1657;
      named closestPlayer Lnet/minecraft/entity/passive/DolphinEntity$SwimWithPlayerGoal;closestPlayer:Lnet/minecraft/entity/player/PlayerEntity;
  • Constructor Details

    • SwimWithPlayerGoal

      SwimWithPlayerGoal(DolphinEntity dolphin, double speed)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbhs$b;<init>(Lbhs;D)V
      intermediary <init> Lnet/minecraft/class_1433$class_1436;<init>(Lnet/minecraft/class_1433;D)V
      named <init> Lnet/minecraft/entity/passive/DolphinEntity$SwimWithPlayerGoal;<init>(Lnet/minecraft/entity/passive/DolphinEntity;D)V
  • Method Details

    • canStart

      public boolean canStart()
      Specified by:
      canStart in class Goal
      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 Goal
      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
    • start

      public void start()
      Overrides:
      start in class Goal
      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
    • tick

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