Package net.minecraft.entity.monster
Class DrownedEntity.GoToBeachGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.MoveToBlockGoal
net.minecraft.entity.monster.DrownedEntity.GoToBeachGoal
- Enclosing class:
- DrownedEntity
- 
Nested Class Summary
- 
Field SummaryFieldsFields inherited from class net.minecraft.entity.ai.goal.MoveToBlockGoalblockPos, mob, nextStartTick, speedModifier, tryTicks, verticalSearchStart
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanbooleancanUse()protected booleanisValidTarget(IWorldReader p_179488_1_, BlockPos p_179488_2_) voidstart()voidstop()Methods inherited from class net.minecraft.entity.ai.goal.MoveToBlockGoalacceptedDistance, findNearestBlock, getMoveToTarget, isReachedTarget, moveMobToBlock, nextStartTick, shouldRecalculatePath, tickMethods inherited from class net.minecraft.entity.ai.goal.GoalgetFlags, isInterruptable, setFlags, toString
- 
Field Details- 
drowned
 
- 
- 
Constructor Details- 
GoToBeachGoal
 
- 
- 
Method Details- 
canUsepublic boolean canUse()- Overrides:
- canUsein class- MoveToBlockGoal
 
- 
canContinueToUsepublic boolean canContinueToUse()- Overrides:
- canContinueToUsein class- MoveToBlockGoal
 
- 
isValidTarget- Specified by:
- isValidTargetin class- MoveToBlockGoal
 
- 
startpublic void start()- Overrides:
- startin class- MoveToBlockGoal
 
- 
stoppublic void stop()
 
-