类 DrownedEntity.TargetAboveWaterGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.mob.DrownedEntity.TargetAboveWaterGoal
-
- 封闭类:
- DrownedEntity
static class DrownedEntity.TargetAboveWaterGoal extends Goal
- Mappings:
Namespace Name official bgn$eintermediary net/minecraft/class_1551$class_1557named net/minecraft/entity/mob/DrownedEntity$TargetAboveWaterGoal
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.entity.ai.goal.Goal
Goal.Control
-
-
字段概要
字段 修饰符和类型 字段 说明 private DrownedEntitydrownedprivate booleanfoundTargetprivate intminYprivate doublespeed
-
构造器概要
构造器 构造器 说明 TargetAboveWaterGoal(DrownedEntity drowned, double speed, int minY)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleancanStart()booleanshouldContinue()voidstart()voidstop()voidtick()-
从类继承的方法 net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
-
-
-
字段详细资料
-
drowned
private final DrownedEntity drowned
- Mappings:
Namespace Name Mixin selector official aLbgn$e;a:Lbgn;intermediary field_7246Lnet/minecraft/class_1551$class_1557;field_7246:Lnet/minecraft/class_1551;named drownedLnet/minecraft/entity/mob/DrownedEntity$TargetAboveWaterGoal;drowned:Lnet/minecraft/entity/mob/DrownedEntity;
-
speed
private final double speed
- Mappings:
Namespace Name Mixin selector official bLbgn$e;b:Dintermediary field_7245Lnet/minecraft/class_1551$class_1557;field_7245:Dnamed speedLnet/minecraft/entity/mob/DrownedEntity$TargetAboveWaterGoal;speed:D
-
minY
private final int minY
- Mappings:
Namespace Name Mixin selector official cLbgn$e;c:Iintermediary field_7247Lnet/minecraft/class_1551$class_1557;field_7247:Inamed minYLnet/minecraft/entity/mob/DrownedEntity$TargetAboveWaterGoal;minY:I
-
foundTarget
private boolean foundTarget
- Mappings:
Namespace Name Mixin selector official dLbgn$e;d:Zintermediary field_7248Lnet/minecraft/class_1551$class_1557;field_7248:Znamed foundTargetLnet/minecraft/entity/mob/DrownedEntity$TargetAboveWaterGoal;foundTarget:Z
-
-
构造器详细资料
-
TargetAboveWaterGoal
public TargetAboveWaterGoal(DrownedEntity drowned, double speed, int minY)
- Mappings:
Namespace Name Mixin selector official <init>Lbgn$e;<init>(Lbgn;DI)Vintermediary <init>Lnet/minecraft/class_1551$class_1557;<init>(Lnet/minecraft/class_1551;DI)Vnamed <init>Lnet/minecraft/entity/mob/DrownedEntity$TargetAboveWaterGoal;<init>(Lnet/minecraft/entity/mob/DrownedEntity;DI)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
-
tick
public void tick()
-
start
public void start()
-
-