类 Turtle.TurtleGoToWaterGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.MoveToBlockGoal
net.minecraft.world.entity.animal.Turtle.TurtleGoToWaterGoal
- 封闭类:
- Turtle
-
嵌套类概要
-
字段概要
字段从类继承的字段 net.minecraft.world.entity.ai.goal.MoveToBlockGoal
blockPos, mob, nextStartTick, speedModifier, tryTicks, verticalSearchStart
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明boolean
boolean
canUse()
protected boolean
isValidTarget
(LevelReader pLevel, BlockPos pPos) boolean
从类继承的方法 net.minecraft.world.entity.ai.goal.MoveToBlockGoal
acceptedDistance, findNearestBlock, getMoveToTarget, isReachedTarget, moveMobToBlock, nextStartTick, requiresUpdateEveryTick, start, tick
从类继承的方法 net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, setFlags, stop, toString
-
字段详细资料
-
GIVE_UP_TICKS
private static final int GIVE_UP_TICKS- 另请参阅:
-
turtle
-
-
构造器详细资料
-
TurtleGoToWaterGoal
TurtleGoToWaterGoal(Turtle pTurtle, double pSpeedModifier)
-
-
方法详细资料
-
canContinueToUse
public boolean canContinueToUse()- 覆盖:
canContinueToUse
在类中MoveToBlockGoal
-
canUse
public boolean canUse()- 覆盖:
canUse
在类中MoveToBlockGoal
-
shouldRecalculatePath
public boolean shouldRecalculatePath()- 覆盖:
shouldRecalculatePath
在类中MoveToBlockGoal
-
isValidTarget
- 指定者:
isValidTarget
在类中MoveToBlockGoal
-