Package net.minecraft.entity.passive
Class FishEntity.SwimToRandomPlaceGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.WanderAroundGoal
net.minecraft.entity.ai.goal.SwimAroundGoal
net.minecraft.entity.passive.FishEntity.SwimToRandomPlaceGoal
- Enclosing class:
- FishEntity
static class FishEntity.SwimToRandomPlaceGoal extends SwimAroundGoal
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description private FishEntityfishFields inherited from class net.minecraft.entity.ai.goal.WanderAroundGoal
chance, ignoringChance, mob, speed, targetX, targetY, targetZ -
Constructor Summary
Constructors Constructor Description SwimToRandomPlaceGoal(FishEntity fish) -
Method Summary
Modifier and Type Method Description booleancanStart()Methods inherited from class net.minecraft.entity.ai.goal.WanderAroundGoal
ignoreChanceOnce, setChance, shouldContinue, start, stopMethods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, tick, toString
-
Field Details
-
Constructor Details
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStartin classWanderAroundGoal
-