Package net.minecraft.entity.ai.goal
Class FollowOwnerGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.FollowOwnerGoal
- Mappings:
Namespace Name named net/minecraft/entity/ai/goal/FollowOwnerGoal
intermediary net/minecraft/class_1350
official cai
-
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 EntityNavigation
private float
private @Nullable LivingEntity
private final double
private final TameableEntity
private int
-
Constructor Summary
ConstructorDescriptionFollowOwnerGoal
(TameableEntity tameable, 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
-
tameable
- Mappings:
Namespace Name Mixin selector named tameable
Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;tameable:Lnet/minecraft/entity/passive/TameableEntity;
intermediary field_6448
Lnet/minecraft/class_1350;field_6448:Lnet/minecraft/class_1321;
official a
Lcai;a:Lbuj;
-
owner
- Mappings:
Namespace Name Mixin selector named owner
Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;owner:Lnet/minecraft/entity/LivingEntity;
intermediary field_6444
Lnet/minecraft/class_1350;field_6444:Lnet/minecraft/class_1309;
official b
Lcai;b:Lbtl;
-
speed
private final double speed- Mappings:
Namespace Name Mixin selector named speed
Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;speed:D
intermediary field_6442
Lnet/minecraft/class_1350;field_6442:D
official c
Lcai;c:D
-
updateCountdownTicks
private int updateCountdownTicks- Mappings:
Namespace Name Mixin selector named updateCountdownTicks
Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;updateCountdownTicks:I
intermediary field_6443
Lnet/minecraft/class_1350;field_6443:I
official e
Lcai;e:I
-
maxDistance
private final float maxDistance- Mappings:
Namespace Name Mixin selector named maxDistance
Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;maxDistance:F
intermediary field_6450
Lnet/minecraft/class_1350;field_6450:F
official f
Lcai;f:F
-
minDistance
private final float minDistance- Mappings:
Namespace Name Mixin selector named minDistance
Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;minDistance:F
intermediary field_6449
Lnet/minecraft/class_1350;field_6449:F
official g
Lcai;g:F
-
oldWaterPathfindingPenalty
private float oldWaterPathfindingPenalty- Mappings:
Namespace Name Mixin selector named oldWaterPathfindingPenalty
Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;oldWaterPathfindingPenalty:F
intermediary field_6447
Lnet/minecraft/class_1350;field_6447:F
official h
Lcai;h:F
-
-
Constructor Details
-
FollowOwnerGoal
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;<init>(Lnet/minecraft/entity/passive/TameableEntity;DFF)V
intermediary <init>
Lnet/minecraft/class_1350;<init>(Lnet/minecraft/class_1321;DFF)V
official <init>
Lcai;<init>(Lbuj;DFF)V
-
-
Method Details
-
canStart
public boolean canStart() -
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinue
in classGoal
- Mappings:
Namespace Name Mixin selector named shouldContinue
Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
intermediary method_6266
Lnet/minecraft/class_1352;method_6266()Z
official c
Lcak;c()Z
-
start
public void start() -
stop
public void stop() -
tick
public void tick()
-