Class Turtle.TurtleLayEggGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.MoveToBlockGoal
net.minecraft.world.entity.animal.Turtle.TurtleLayEggGoal
- Enclosing class:
- Turtle
- 
Nested Class Summary
- 
Field SummaryFieldsFields inherited from class net.minecraft.world.entity.ai.goal.MoveToBlockGoalblockPos, mob, nextStartTick, speedModifier, tryTicks, verticalSearchStart
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanbooleancanUse()protected booleanisValidTarget(LevelReader p_30280_, BlockPos p_30281_) voidtick()Methods inherited from class net.minecraft.world.entity.ai.goal.MoveToBlockGoalacceptedDistance, findNearestBlock, getMoveToTarget, isReachedTarget, moveMobToBlock, nextStartTick, requiresUpdateEveryTick, shouldRecalculatePath, startMethods inherited from class net.minecraft.world.entity.ai.goal.GoaladjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, setFlags, stop, toString
- 
Field Details- 
turtle
 
- 
- 
Constructor Details- 
TurtleLayEggGoalTurtleLayEggGoal(Turtle p_30276_, double p_30277_) 
 
- 
- 
Method Details- 
canUsepublic boolean canUse()- Overrides:
- canUsein class- MoveToBlockGoal
 
- 
canContinueToUsepublic boolean canContinueToUse()- Overrides:
- canContinueToUsein class- MoveToBlockGoal
 
- 
tickpublic void tick()- Overrides:
- tickin class- MoveToBlockGoal
 
- 
isValidTarget- Specified by:
- isValidTargetin class- MoveToBlockGoal
 
 
-