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 buz$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 Lbuz$b;a:Lbuz;
      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 Lbuz$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 Lbuz$b;c:Lcbu;
      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> Lbuz$b;<init>(Lbuz;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 Lbqb;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 Lbqb;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 Lbqb;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 Lbqb;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 Lbqb;e()V
      intermediary method_6268 Lnet/minecraft/class_1352;method_6268()V
      named tick Lnet/minecraft/entity/ai/goal/Goal;tick()V