Package net.minecraft.entity.ai.goal
Class FollowParentGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.FollowParentGoal
- Direct Known Subclasses:
FoxEntity.FollowParentGoal
- Mappings:
Namespace Name named net/minecraft/entity/ai/goal/FollowParentGoal
intermediary net/minecraft/class_1353
official cdc
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Modifier and TypeFieldDescriptionprivate final AnimalEntity
private int
static final int
static final int
private @Nullable AnimalEntity
private final double
static final int
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, castToServerWorld, getControls, getServerWorld, getTickCount, setControls, shouldRunEveryTick, toGoalTicks, toString
-
Field Details
-
HORIZONTAL_CHECK_RANGE
public static final int HORIZONTAL_CHECK_RANGE- See Also:
- Mappings:
Namespace Name Mixin selector named HORIZONTAL_CHECK_RANGE
Lnet/minecraft/entity/ai/goal/FollowParentGoal;HORIZONTAL_CHECK_RANGE:I
intermediary field_30209
Lnet/minecraft/class_1353;field_30209:I
official a
Lcdc;a:I
-
VERTICAL_CHECK_RANGE
public static final int VERTICAL_CHECK_RANGE- See Also:
- Mappings:
Namespace Name Mixin selector named VERTICAL_CHECK_RANGE
Lnet/minecraft/entity/ai/goal/FollowParentGoal;VERTICAL_CHECK_RANGE:I
intermediary field_30210
Lnet/minecraft/class_1353;field_30210:I
official b
Lcdc;b:I
-
MIN_DISTANCE
public static final int MIN_DISTANCE- See Also:
- Mappings:
Namespace Name Mixin selector named MIN_DISTANCE
Lnet/minecraft/entity/ai/goal/FollowParentGoal;MIN_DISTANCE:I
intermediary field_30211
Lnet/minecraft/class_1353;field_30211:I
official c
Lcdc;c:I
-
animal
- Mappings:
Namespace Name Mixin selector named animal
Lnet/minecraft/entity/ai/goal/FollowParentGoal;animal:Lnet/minecraft/entity/passive/AnimalEntity;
intermediary field_6455
Lnet/minecraft/class_1353;field_6455:Lnet/minecraft/class_1429;
official d
Lcdc;d:Lchw;
-
parent
- Mappings:
Namespace Name Mixin selector named parent
Lnet/minecraft/entity/ai/goal/FollowParentGoal;parent:Lnet/minecraft/entity/passive/AnimalEntity;
intermediary field_6452
Lnet/minecraft/class_1353;field_6452:Lnet/minecraft/class_1429;
official e
Lcdc;e:Lchw;
-
speed
private final double speed- Mappings:
Namespace Name Mixin selector named speed
Lnet/minecraft/entity/ai/goal/FollowParentGoal;speed:D
intermediary field_6453
Lnet/minecraft/class_1353;field_6453:D
official f
Lcdc;f:D
-
delay
private int delay- Mappings:
Namespace Name Mixin selector named delay
Lnet/minecraft/entity/ai/goal/FollowParentGoal;delay:I
intermediary field_6454
Lnet/minecraft/class_1353;field_6454:I
official g
Lcdc;g:I
-
-
Constructor Details
-
FollowParentGoal
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/ai/goal/FollowParentGoal;<init>(Lnet/minecraft/entity/passive/AnimalEntity;D)V
intermediary <init>
Lnet/minecraft/class_1353;<init>(Lnet/minecraft/class_1429;D)V
official <init>
Lcdc;<init>(Lchw;D)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()
-