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
named net/minecraft/entity/passive/DolphinEntity$SwimWithPlayerGoal
intermediary net/minecraft/class_1433$class_1436
official cfm$b
  • Field Details

    • dolphin

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

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

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

    • SwimWithPlayerGoal

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

    • canStart

      public boolean canStart()
      Specified by:
      canStart in class Goal
      Mappings:
      Namespace Name Mixin selector
      named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
      intermediary method_6264 Lnet/minecraft/class_1352;method_6264()Z
      official b Lcam;b()Z
    • shouldContinue

      public boolean shouldContinue()
      Overrides:
      shouldContinue in class Goal
      Mappings:
      Namespace Name Mixin selector
      named shouldContinue Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
      intermediary method_6266 Lnet/minecraft/class_1352;method_6266()Z
      official c Lcam;c()Z
    • start

      public void start()
      Overrides:
      start in class Goal
      Mappings:
      Namespace Name Mixin selector
      named start Lnet/minecraft/entity/ai/goal/Goal;start()V
      intermediary method_6269 Lnet/minecraft/class_1352;method_6269()V
      official d Lcam;d()V
    • stop

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

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