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 cdb
-
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, castToServerWorld, getControls, getServerWorld, 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
Lcdb;a:Lbxc;
-
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
Lcdb;b:Lbwf;
-
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
Lcdb;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
Lcdb;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
Lcdb;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
Lcdb;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
Lcdb;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>
Lcdb;<init>(Lbxc;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
Lcdd;c()Z
-
start
public void start() -
stop
public void stop() -
tick
public void tick()
-