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.fish.AbstractFish.FishSwimGoal
- Enclosing class:
AbstractFish
-
Nested Class Summary
-
Field Summary
FieldsFields inherited from class RandomStrollGoal
DEFAULT_INTERVAL, forceTrigger, interval, mob, speedModifier, wantedX, wantedY, wantedZ -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class RandomSwimmingGoal
getPositionMethods inherited from class RandomStrollGoal
canContinueToUse, setInterval, start, stop, triggerMethods inherited from class Goal
adjustedTickDelay, getFlags, getServerLevel, getServerLevel, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, tick, toString
-
Field Details
-
fish
-
-
Constructor Details
-
FishSwimGoal
-
-
Method Details
-
canUse
public boolean canUse()- Overrides:
canUsein classRandomStrollGoal
-