Package net.minecraft.entity.passive
Class DolphinEntity.SwimWithPlayerGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.passive.DolphinEntity.SwimWithPlayerGoal
- Enclosing class:
- DolphinEntity
- Mappings:
- Namespace - Name - named - net/minecraft/entity/passive/DolphinEntity$SwimWithPlayerGoal- intermediary - net/minecraft/class_1433$class_1436- official - chh$b
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.entity.ai.goal.GoalGoal.Control
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate @Nullable PlayerEntityprivate final DolphinEntityprivate final double
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class net.minecraft.entity.ai.goal.GoalcanStop, castToServerWorld, getControls, getServerWorld, getTickCount, setControls, shouldRunEveryTick, toGoalTicks, toString
- 
Field Details- 
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- Lchh$b;a:Lchh;
 
- 
speedprivate 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- Lchh$b;b:D
 
- 
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- Lchh$b;c:Lcoy;
 
 
- 
- 
Constructor Details- 
SwimWithPlayerGoalSwimWithPlayerGoal(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>- Lchh$b;<init>(Lchh;D)V
 
 
- 
- 
Method Details- 
canStartpublic boolean canStart()
- 
shouldContinuepublic boolean shouldContinue()- Overrides:
- shouldContinuein 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- Lccg;c()Z
 
- 
startpublic void start()
- 
stoppublic void stop()
- 
tickpublic void tick()
 
-