Class AbstractFishEntity.SwimGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.RandomWalkingGoal
net.minecraft.entity.ai.goal.RandomSwimmingGoal
net.minecraft.entity.passive.fish.AbstractFishEntity.SwimGoal
- Enclosing class:
- AbstractFishEntity
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.goal.RandomWalkingGoal
forceTrigger, interval, mob, speedModifier, wantedX, wantedY, wantedZ
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.RandomSwimmingGoal
getPosition
Methods inherited from class net.minecraft.entity.ai.goal.RandomWalkingGoal
canContinueToUse, setInterval, start, stop, trigger
-
Field Details
-
fish
-
-
Constructor Details
-
SwimGoal
-
-
Method Details
-
canUse
public boolean canUse()- Overrides:
canUse
in classRandomWalkingGoal
-