Class CatSitOnBlockGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.MoveToBlockGoal
net.minecraft.world.entity.ai.goal.CatSitOnBlockGoal
- 
Nested Class Summary
 - 
Field Summary
FieldsFields inherited from class net.minecraft.world.entity.ai.goal.MoveToBlockGoal
blockPos, mob, nextStartTick, speedModifier, tryTicks, verticalSearchStart - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleancanUse()protected booleanisValidTarget(LevelReader p_25153_, BlockPos p_25154_) voidstart()voidstop()voidtick()Methods inherited from class net.minecraft.world.entity.ai.goal.MoveToBlockGoal
acceptedDistance, canContinueToUse, findNearestBlock, getMoveToTarget, isReachedTarget, moveMobToBlock, nextStartTick, requiresUpdateEveryTick, shouldRecalculatePathMethods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, setFlags, toString 
- 
Field Details
- 
cat
 
 - 
 - 
Constructor Details
- 
CatSitOnBlockGoal
 
 - 
 - 
Method Details
- 
canUse
public boolean canUse()- Overrides:
 canUsein classMoveToBlockGoal
 - 
start
public void start()- Overrides:
 startin classMoveToBlockGoal
 - 
stop
public void stop() - 
tick
public void tick()- Overrides:
 tickin classMoveToBlockGoal
 - 
isValidTarget
- Specified by:
 isValidTargetin classMoveToBlockGoal
 
 -