类 DolphinEntity.SwimWithPlayerGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.passive.DolphinEntity.SwimWithPlayerGoal
-
- 封闭类:
- DolphinEntity
static class DolphinEntity.SwimWithPlayerGoal extends Goal
- Mappings:
Namespace Name official bdg$bintermediary net/minecraft/class_1433$class_1436named net/minecraft/entity/passive/DolphinEntity$SwimWithPlayerGoal
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.entity.ai.goal.Goal
Goal.Control
-
-
字段概要
字段 修饰符和类型 字段 说明 private PlayerEntityclosestPlayerprivate DolphinEntitydolphinprivate doublespeed
-
构造器概要
构造器 构造器 说明 SwimWithPlayerGoal(DolphinEntity dolphin, double speed)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleancanStart()booleanshouldContinue()voidstart()voidstop()voidtick()-
从类继承的方法 net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
-
-
-
字段详细资料
-
dolphin
private final DolphinEntity dolphin
- Mappings:
Namespace Name Mixin selector official aLbdg$b;a:Lbdg;intermediary field_6755Lnet/minecraft/class_1433$class_1436;field_6755:Lnet/minecraft/class_1433;named dolphinLnet/minecraft/entity/passive/DolphinEntity$SwimWithPlayerGoal;dolphin:Lnet/minecraft/entity/passive/DolphinEntity;
-
speed
private final double speed
- Mappings:
Namespace Name Mixin selector official bLbdg$b;b:Dintermediary field_6754Lnet/minecraft/class_1433$class_1436;field_6754:Dnamed speedLnet/minecraft/entity/passive/DolphinEntity$SwimWithPlayerGoal;speed:D
-
closestPlayer
private PlayerEntity closestPlayer
- Mappings:
Namespace Name Mixin selector official cLbdg$b;c:Lbjf;intermediary field_6756Lnet/minecraft/class_1433$class_1436;field_6756:Lnet/minecraft/class_1657;named closestPlayerLnet/minecraft/entity/passive/DolphinEntity$SwimWithPlayerGoal;closestPlayer:Lnet/minecraft/entity/player/PlayerEntity;
-
-
构造器详细资料
-
SwimWithPlayerGoal
SwimWithPlayerGoal(DolphinEntity dolphin, double speed)
- Mappings:
Namespace Name Mixin selector official <init>Lbdg$b;<init>(Lbdg;D)Vintermediary <init>Lnet/minecraft/class_1433$class_1436;<init>(Lnet/minecraft/class_1433;D)Vnamed <init>Lnet/minecraft/entity/passive/DolphinEntity$SwimWithPlayerGoal;<init>(Lnet/minecraft/entity/passive/DolphinEntity;D)V
-
-
方法详细资料
-
canStart
public boolean canStart()
-
shouldContinue
public boolean shouldContinue()
- 覆盖:
shouldContinue在类中Goal- Mappings:
Namespace Name Mixin selector official bLayq;b()Zintermediary method_6266Lnet/minecraft/class_1352;method_6266()Znamed shouldContinueLnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
-
start
public void start()
-
stop
public void stop()
-
-