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
static class DolphinEntity.SwimWithPlayerGoal extends Goal
- Mappings:
Namespace Name official bbq$b
intermediary net/minecraft/class_1433$class_1436
named net/minecraft/entity/passive/DolphinEntity$SwimWithPlayerGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Fields Modifier and Type Field Description private PlayerEntity
closestPlayer
private DolphinEntity
dolphin
private double
speed
-
Constructor Summary
Constructors Constructor Description SwimWithPlayerGoal(DolphinEntity dolphin, double speed)
-
Method Summary
Modifier and Type Method Description boolean
canStart()
boolean
shouldContinue()
void
start()
void
stop()
void
tick()
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
Field Details
-
dolphin
- Mappings:
Namespace Name Mixin selector official a
Lbbq$b;a:Lbbq;
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
Lbbq$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
- Mappings:
Namespace Name Mixin selector official c
Lbbq$b;c:Lbhl;
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>
Lbbq$b;<init>(Lbbq;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() -
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinue
in classGoal
- Mappings:
Namespace Name Mixin selector official b
Lawx;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() -
stop
public void stop() -
tick
public void tick()
-