Class AbstractFish.FishSwimGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.RandomStrollGoal
net.minecraft.world.entity.ai.goal.RandomSwimmingGoal
net.minecraft.world.entity.animal.AbstractFish.FishSwimGoal
- Enclosing class:
- AbstractFish
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.world.entity.ai.goal.RandomStrollGoal
DEFAULT_INTERVAL, forceTrigger, interval, mob, speedModifier, wantedX, wantedY, wantedZ
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.RandomSwimmingGoal
getPosition
Methods inherited from class net.minecraft.world.entity.ai.goal.RandomStrollGoal
canContinueToUse, setInterval, start, stop, trigger
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, tick, toString
-
Field Details
-
fish
-
-
Constructor Details
-
FishSwimGoal
-
-
Method Details
-
canUse
public boolean canUse()- Overrides:
canUse
in classRandomStrollGoal
-