Package net.minecraft.entity.ai.goal
Class SwimAroundGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.WanderAroundGoal
net.minecraft.entity.ai.goal.SwimAroundGoal
- Direct Known Subclasses:
FishEntity.SwimToRandomPlaceGoal
public class SwimAroundGoal extends WanderAroundGoal
- Mappings:
Namespace Name official axw
intermediary net/minecraft/class_1378
named net/minecraft/entity/ai/goal/SwimAroundGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.goal.WanderAroundGoal
chance, ignoringChance, mob, speed, targetX, targetY, targetZ
-
Constructor Summary
Constructors Constructor Description SwimAroundGoal(PathAwareEntity mob, double speed, int chance)
-
Method Summary
Modifier and Type Method Description protected Vec3d
getWanderTarget()
Methods inherited from class net.minecraft.entity.ai.goal.WanderAroundGoal
canStart, ignoreChanceOnce, setChance, shouldContinue, start, stop
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, tick, toString
-
Constructor Details
-
SwimAroundGoal
- Mappings:
Namespace Name Mixin selector official <init>
Laxv;<init>(Larq;DI)V
intermediary <init>
Lnet/minecraft/class_1379;<init>(Lnet/minecraft/class_1314;DI)V
named <init>
Lnet/minecraft/entity/ai/goal/WanderAroundGoal;<init>(Lnet/minecraft/entity/mob/PathAwareEntity;DI)V
-
-
Method Details
-
getWanderTarget
- Overrides:
getWanderTarget
in classWanderAroundGoal
- Mappings:
Namespace Name Mixin selector official g
Laxv;g()Ldiu;
intermediary method_6302
Lnet/minecraft/class_1379;method_6302()Lnet/minecraft/class_243;
named getWanderTarget
Lnet/minecraft/entity/ai/goal/WanderAroundGoal;getWanderTarget()Lnet/minecraft/util/math/Vec3d;
-