Package net.minecraft.entity.ai.goal
Class WanderAroundFarGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.WanderAroundGoal
net.minecraft.entity.ai.goal.WanderAroundFarGoal
- Direct Known Subclasses:
FlyOntoTreeGoal
public class WanderAroundFarGoal extends WanderAroundGoal
- Mappings:
Namespace Name official bac
intermediary net/minecraft/class_1394
named net/minecraft/entity/ai/goal/WanderAroundFarGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Fields Modifier and Type Field Description static float
field_30229
protected float
probability
Fields inherited from class net.minecraft.entity.ai.goal.WanderAroundGoal
chance, field_30226, ignoringChance, mob, speed, targetX, targetY, targetZ
-
Constructor Summary
Constructors Constructor Description WanderAroundFarGoal(PathAwareEntity mob, double speed)
WanderAroundFarGoal(PathAwareEntity mob, double speed, float probability)
-
Method Summary
Modifier and Type Method Description protected @Nullable 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
-
Field Details
-
field_30229
public static final float field_30229- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official i
Lbac;i:F
intermediary field_30229
Lnet/minecraft/class_1394;field_30229:F
named field_30229
Lnet/minecraft/entity/ai/goal/WanderAroundFarGoal;field_30229:F
-
probability
protected final float probability- Mappings:
Namespace Name Mixin selector official j
Lbac;j:F
intermediary field_6626
Lnet/minecraft/class_1394;field_6626:F
named probability
Lnet/minecraft/entity/ai/goal/WanderAroundFarGoal;probability:F
-
-
Constructor Details
-
WanderAroundFarGoal
- Mappings:
Namespace Name Mixin selector official <init>
Lazm;<init>(Latg;D)V
intermediary <init>
Lnet/minecraft/class_1379;<init>(Lnet/minecraft/class_1314;D)V
named <init>
Lnet/minecraft/entity/ai/goal/WanderAroundGoal;<init>(Lnet/minecraft/entity/mob/PathAwareEntity;D)V
-
WanderAroundFarGoal
- Mappings:
Namespace Name Mixin selector official <init>
Lbac;<init>(Latg;DF)V
intermediary <init>
Lnet/minecraft/class_1394;<init>(Lnet/minecraft/class_1314;DF)V
named <init>
Lnet/minecraft/entity/ai/goal/WanderAroundFarGoal;<init>(Lnet/minecraft/entity/mob/PathAwareEntity;DF)V
-
-
Method Details
-
getWanderTarget
- Overrides:
getWanderTarget
in classWanderAroundGoal
- Mappings:
Namespace Name Mixin selector official g
Lazm;g()Ldly;
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;
-