Package net.minecraft.entity.ai.goal
Class CatLieOnBedGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.MoveToBlockGoal
net.minecraft.entity.ai.goal.CatLieOnBedGoal
- 
Nested Class Summary
- 
Field SummaryFieldsFields inherited from class net.minecraft.entity.ai.goal.MoveToBlockGoalblockPos, mob, nextStartTick, speedModifier, tryTicks, verticalSearchStart
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleancanUse()protected booleanisValidTarget(IWorldReader p_179488_1_, BlockPos p_179488_2_) protected intnextStartTick(CreatureEntity p_203109_1_) voidstart()voidstop()voidtick()Methods inherited from class net.minecraft.entity.ai.goal.MoveToBlockGoalacceptedDistance, canContinueToUse, findNearestBlock, getMoveToTarget, isReachedTarget, moveMobToBlock, shouldRecalculatePathMethods inherited from class net.minecraft.entity.ai.goal.GoalgetFlags, isInterruptable, setFlags, toString
- 
Field Details- 
cat
 
- 
- 
Constructor Details- 
CatLieOnBedGoal
 
- 
- 
Method Details- 
canUsepublic boolean canUse()- Overrides:
- canUsein class- MoveToBlockGoal
 
- 
startpublic void start()- Overrides:
- startin class- MoveToBlockGoal
 
- 
nextStartTick- Overrides:
- nextStartTickin class- MoveToBlockGoal
 
- 
stoppublic void stop()
- 
tickpublic void tick()- Overrides:
- tickin class- MoveToBlockGoal
 
- 
isValidTarget- Specified by:
- isValidTargetin class- MoveToBlockGoal
 
 
-