类 TurtleEntity.WanderInWaterGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.ai.goal.MoveToTargetPosGoal
-
- net.minecraft.entity.passive.TurtleEntity.WanderInWaterGoal
-
- 封闭类:
- TurtleEntity
static class TurtleEntity.WanderInWaterGoal extends MoveToTargetPosGoal
- Mappings:
Namespace Name official bdy$cintermediary net/minecraft/class_1481$class_1484named net/minecraft/entity/passive/TurtleEntity$WanderInWaterGoal
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.entity.ai.goal.Goal
Goal.Control
-
-
字段概要
字段 修饰符和类型 字段 说明 private static intfield_30385private TurtleEntityturtle-
从类继承的字段 net.minecraft.entity.ai.goal.MoveToTargetPosGoal
cooldown, lowestY, mob, speed, targetPos, tryingTime
-
-
构造器概要
构造器 限定符 构造器 说明 privateWanderInWaterGoal(TurtleEntity turtle, double speed)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleancanStart()protected booleanisTargetPos(WorldView world, BlockPos pos)booleanshouldContinue()booleanshouldResetPath()-
从类继承的方法 net.minecraft.entity.ai.goal.MoveToTargetPosGoal
findTargetPos, getDesiredSquaredDistanceToTarget, getInterval, getTargetPos, hasReached, start, startMovingToTarget, tick
-
从类继承的方法 net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, stop, toString
-
-
-
-
字段详细资料
-
field_30385
private static final int field_30385
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official gLbdy$c;g:Iintermediary field_30385Lnet/minecraft/class_1481$class_1484;field_30385:Inamed field_30385Lnet/minecraft/entity/passive/TurtleEntity$WanderInWaterGoal;field_30385:I
-
turtle
private final TurtleEntity turtle
- Mappings:
Namespace Name Mixin selector official hLbdy$c;h:Lbdy;intermediary field_6931Lnet/minecraft/class_1481$class_1484;field_6931:Lnet/minecraft/class_1481;named turtleLnet/minecraft/entity/passive/TurtleEntity$WanderInWaterGoal;turtle:Lnet/minecraft/entity/passive/TurtleEntity;
-
-
构造器详细资料
-
WanderInWaterGoal
private WanderInWaterGoal(TurtleEntity turtle, double speed)
- Mappings:
Namespace Name Mixin selector official <init>Lbdy$c;<init>(Lbdy;D)Vintermediary <init>Lnet/minecraft/class_1481$class_1484;<init>(Lnet/minecraft/class_1481;D)Vnamed <init>Lnet/minecraft/entity/passive/TurtleEntity$WanderInWaterGoal;<init>(Lnet/minecraft/entity/passive/TurtleEntity;D)V
-
-
方法详细资料
-
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
-
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
-
shouldResetPath
public boolean shouldResetPath()
- 覆盖:
shouldResetPath在类中MoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector official kLazd;k()Zintermediary method_6294Lnet/minecraft/class_1367;method_6294()Znamed shouldResetPathLnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;shouldResetPath()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
-
-