类 DrownedEntity.LeaveWaterGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.ai.goal.MoveToTargetPosGoal
-
- net.minecraft.entity.mob.DrownedEntity.LeaveWaterGoal
-
- 封闭类:
- DrownedEntity
static class DrownedEntity.LeaveWaterGoal extends MoveToTargetPosGoal
- Mappings:
Namespace Name official bgn$bintermediary net/minecraft/class_1551$class_1554named net/minecraft/entity/mob/DrownedEntity$LeaveWaterGoal
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.entity.ai.goal.Goal
Goal.Control
-
-
字段概要
字段 修饰符和类型 字段 说明 private DrownedEntitydrowned-
从类继承的字段 net.minecraft.entity.ai.goal.MoveToTargetPosGoal
cooldown, lowestY, mob, speed, targetPos, tryingTime
-
-
构造器概要
构造器 构造器 说明 LeaveWaterGoal(DrownedEntity drowned, double speed)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleancanStart()protected booleanisTargetPos(WorldView world, BlockPos pos)booleanshouldContinue()voidstart()voidstop()-
从类继承的方法 net.minecraft.entity.ai.goal.MoveToTargetPosGoal
findTargetPos, getDesiredSquaredDistanceToTarget, getInterval, getTargetPos, hasReached, shouldResetPath, startMovingToTarget, tick
-
从类继承的方法 net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
-
-
-
字段详细资料
-
drowned
private final DrownedEntity drowned
- Mappings:
Namespace Name Mixin selector official gLbgn$b;g:Lbgn;intermediary field_7237Lnet/minecraft/class_1551$class_1554;field_7237:Lnet/minecraft/class_1551;named drownedLnet/minecraft/entity/mob/DrownedEntity$LeaveWaterGoal;drowned:Lnet/minecraft/entity/mob/DrownedEntity;
-
-
构造器详细资料
-
LeaveWaterGoal
public LeaveWaterGoal(DrownedEntity drowned, double speed)
- Mappings:
Namespace Name Mixin selector official <init>Lbgn$b;<init>(Lbgn;D)Vintermediary <init>Lnet/minecraft/class_1551$class_1554;<init>(Lnet/minecraft/class_1551;D)Vnamed <init>Lnet/minecraft/entity/mob/DrownedEntity$LeaveWaterGoal;<init>(Lnet/minecraft/entity/mob/DrownedEntity;D)V
-
-
方法详细资料
-
canStart
public boolean canStart()
- 覆盖:
canStart在类中MoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector official aLayq;a()Zintermediary method_6264Lnet/minecraft/class_1352;method_6264()Znamed canStartLnet/minecraft/entity/ai/goal/Goal;canStart()Z
-
shouldContinue
public boolean shouldContinue()
- 覆盖:
shouldContinue在类中MoveToTargetPosGoal- 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
-
isTargetPos
protected boolean isTargetPos(WorldView world, BlockPos pos)
- 指定者:
isTargetPos在类中MoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector official aLazd;a(Lbvu;Lgb;)Zintermediary method_6296Lnet/minecraft/class_1367;method_6296(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Znamed isTargetPosLnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;isTargetPos(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
-
start
public void start()
- 覆盖:
start在类中MoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector official cLayq;c()Vintermediary method_6269Lnet/minecraft/class_1352;method_6269()Vnamed startLnet/minecraft/entity/ai/goal/Goal;start()V
-
-