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:
FlyGoal
- Mappings:
Namespace Name named net/minecraft/entity/ai/goal/WanderAroundFarGoalintermediary net/minecraft/class_1394official cbz
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control -
Field Summary
FieldsFields inherited from class net.minecraft.entity.ai.goal.WanderAroundGoal
chance, DEFAULT_CHANCE, ignoringChance, mob, speed, targetX, targetY, targetZ -
Constructor Summary
ConstructorsConstructorDescriptionWanderAroundFarGoal(PathAwareEntity mob, double speed) WanderAroundFarGoal(PathAwareEntity mob, double speed, float probability) -
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.WanderAroundGoal
canStart, ignoreChanceOnce, setChance, shouldContinue, start, stopMethods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, getTickCount, setControls, shouldRunEveryTick, tick, toGoalTicks, toString
-
Field Details
-
CHANCE
public static final float CHANCE- See Also:
- Mappings:
Namespace Name Mixin selector named CHANCELnet/minecraft/entity/ai/goal/WanderAroundFarGoal;CHANCE:Fintermediary field_30229Lnet/minecraft/class_1394;field_30229:Fofficial iLcbz;i:F
-
probability
protected final float probability- Mappings:
Namespace Name Mixin selector named probabilityLnet/minecraft/entity/ai/goal/WanderAroundFarGoal;probability:Fintermediary field_6626Lnet/minecraft/class_1394;field_6626:Fofficial jLcbz;j:F
-
-
Constructor Details
-
WanderAroundFarGoal
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/ai/goal/WanderAroundGoal;<init>(Lnet/minecraft/entity/mob/PathAwareEntity;D)Vintermediary <init>Lnet/minecraft/class_1379;<init>(Lnet/minecraft/class_1314;D)Vofficial <init>Lcbj;<init>(Lbtw;D)V
-
WanderAroundFarGoal
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/ai/goal/WanderAroundFarGoal;<init>(Lnet/minecraft/entity/mob/PathAwareEntity;DF)Vintermediary <init>Lnet/minecraft/class_1394;<init>(Lnet/minecraft/class_1314;DF)Vofficial <init>Lcbz;<init>(Lbtw;DF)V
-
-
Method Details
-
getWanderTarget
- Overrides:
getWanderTargetin classWanderAroundGoal- Mappings:
Namespace Name Mixin selector named getWanderTargetLnet/minecraft/entity/ai/goal/WanderAroundGoal;getWanderTarget()Lnet/minecraft/util/math/Vec3d;intermediary method_6302Lnet/minecraft/class_1379;method_6302()Lnet/minecraft/class_243;official hLcbj;h()Lexc;
-