Package net.minecraft.entity.ai.goal
Class FollowMobGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.FollowMobGoal
- Mappings:
Namespace Name official bdq
intermediary net/minecraft/class_1348
named net/minecraft/entity/ai/goal/FollowMobGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Modifier and TypeFieldDescriptionprivate final float
private final float
private final MobEntity
private final EntityNavigation
private float
private final double
private int
-
Constructor Summary
ConstructorDescriptionFollowMobGoal
(MobEntity mob, double speed, float minDistance, float maxDistance) -
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, getTickCount, setControls, shouldRunEveryTick, toGoalTicks, toString
-
Field Details
-
mob
- Mappings:
Namespace Name Mixin selector official a
Lbdq;a:Laya;
intermediary field_6432
Lnet/minecraft/class_1348;field_6432:Lnet/minecraft/class_1308;
named mob
Lnet/minecraft/entity/ai/goal/FollowMobGoal;mob:Lnet/minecraft/entity/mob/MobEntity;
-
targetPredicate
- Mappings:
Namespace Name Mixin selector official b
Lbdq;b:Ljava/util/function/Predicate;
intermediary field_6436
Lnet/minecraft/class_1348;field_6436:Ljava/util/function/Predicate;
named targetPredicate
Lnet/minecraft/entity/ai/goal/FollowMobGoal;targetPredicate:Ljava/util/function/Predicate;
-
target
- Mappings:
Namespace Name Mixin selector official c
Lbdq;c:Laya;
intermediary field_6433
Lnet/minecraft/class_1348;field_6433:Lnet/minecraft/class_1308;
named target
Lnet/minecraft/entity/ai/goal/FollowMobGoal;target:Lnet/minecraft/entity/mob/MobEntity;
-
speed
private final double speed- Mappings:
Namespace Name Mixin selector official d
Lbdq;d:D
intermediary field_6430
Lnet/minecraft/class_1348;field_6430:D
named speed
Lnet/minecraft/entity/ai/goal/FollowMobGoal;speed:D
-
updateCountdownTicks
private int updateCountdownTicks- Mappings:
Namespace Name Mixin selector official f
Lbdq;f:I
intermediary field_6431
Lnet/minecraft/class_1348;field_6431:I
named updateCountdownTicks
Lnet/minecraft/entity/ai/goal/FollowMobGoal;updateCountdownTicks:I
-
minDistance
private final float minDistance- Mappings:
Namespace Name Mixin selector official g
Lbdq;g:F
intermediary field_6438
Lnet/minecraft/class_1348;field_6438:F
named minDistance
Lnet/minecraft/entity/ai/goal/FollowMobGoal;minDistance:F
-
oldWaterPathFindingPenalty
private float oldWaterPathFindingPenalty- Mappings:
Namespace Name Mixin selector official h
Lbdq;h:F
intermediary field_6437
Lnet/minecraft/class_1348;field_6437:F
named oldWaterPathFindingPenalty
Lnet/minecraft/entity/ai/goal/FollowMobGoal;oldWaterPathFindingPenalty:F
-
maxDistance
private final float maxDistance- Mappings:
Namespace Name Mixin selector official i
Lbdq;i:F
intermediary field_6435
Lnet/minecraft/class_1348;field_6435:F
named maxDistance
Lnet/minecraft/entity/ai/goal/FollowMobGoal;maxDistance:F
-
-
Constructor Details
-
FollowMobGoal
- Mappings:
Namespace Name Mixin selector official <init>
Lbdq;<init>(Laya;DFF)V
intermediary <init>
Lnet/minecraft/class_1348;<init>(Lnet/minecraft/class_1308;DFF)V
named <init>
Lnet/minecraft/entity/ai/goal/FollowMobGoal;<init>(Lnet/minecraft/entity/mob/MobEntity;DFF)V
-
-
Method Details
-
canStart
public boolean canStart() -
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinue
in classGoal
- Mappings:
Namespace Name Mixin selector official b
Lbdt;b()Z
intermediary method_6266
Lnet/minecraft/class_1352;method_6266()Z
named shouldContinue
Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
-
start
public void start() -
stop
public void stop() -
tick
public void tick()
-