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 bzy
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
private final boolean
private final float
private final float
private final EntityNavigation
private float
private LivingEntity
private final double
private final TameableEntity
static final int
private int
private static final int
private final WorldView
-
Constructor Summary
ConstructorDescriptionFollowOwnerGoal
(TameableEntity tameable, double speed, float minDistance, float maxDistance, boolean leavesAllowed) -
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
boolean
canStart()
private boolean
canTeleportTo
(BlockPos pos) private int
getRandomInt
(int min, int max) boolean
void
start()
void
stop()
void
tick()
private void
private boolean
tryTeleportTo
(int x, int y, int z) Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, getTickCount, setControls, shouldRunEveryTick, toGoalTicks, toString
-
Field Details
-
TELEPORT_DISTANCE
public static final int TELEPORT_DISTANCE- See Also:
- Mappings:
Namespace Name Mixin selector named TELEPORT_DISTANCE
Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;TELEPORT_DISTANCE:I
intermediary field_30205
Lnet/minecraft/class_1350;field_30205:I
official a
Lbzy;a:I
-
HORIZONTAL_RANGE
private static final int HORIZONTAL_RANGE- See Also:
- Mappings:
Namespace Name Mixin selector named HORIZONTAL_RANGE
Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;HORIZONTAL_RANGE:I
intermediary field_30206
Lnet/minecraft/class_1350;field_30206:I
official b
Lbzy;b:I
-
HORIZONTAL_VARIATION
private static final int HORIZONTAL_VARIATION- See Also:
- Mappings:
Namespace Name Mixin selector named HORIZONTAL_VARIATION
Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;HORIZONTAL_VARIATION:I
intermediary field_30207
Lnet/minecraft/class_1350;field_30207:I
official c
Lbzy;c:I
-
VERTICAL_VARIATION
private static final int VERTICAL_VARIATION- See Also:
- Mappings:
Namespace Name Mixin selector named VERTICAL_VARIATION
Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;VERTICAL_VARIATION:I
intermediary field_30208
Lnet/minecraft/class_1350;field_30208:I
official d
Lbzy;d:I
-
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 e
Lbzy;e:Lbtz;
-
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 f
Lbzy;f:Lbtc;
-
world
- Mappings:
Namespace Name Mixin selector named world
Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;world:Lnet/minecraft/world/WorldView;
intermediary field_6445
Lnet/minecraft/class_1350;field_6445:Lnet/minecraft/class_4538;
official g
Lbzy;g:Ldcj;
-
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 h
Lbzy;h: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 j
Lbzy;j: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 k
Lbzy;k: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 l
Lbzy;l: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 m
Lbzy;m:F
-
leavesAllowed
private final boolean leavesAllowed- Mappings:
Namespace Name Mixin selector named leavesAllowed
Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;leavesAllowed:Z
intermediary field_21078
Lnet/minecraft/class_1350;field_21078:Z
official n
Lbzy;n:Z
-
-
Constructor Details
-
FollowOwnerGoal
public FollowOwnerGoal(TameableEntity tameable, double speed, float minDistance, float maxDistance, boolean leavesAllowed) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;<init>(Lnet/minecraft/entity/passive/TameableEntity;DFFZ)V
intermediary <init>
Lnet/minecraft/class_1350;<init>(Lnet/minecraft/class_1321;DFFZ)V
official <init>
Lbzy;<init>(Lbtz;DFFZ)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 b
Lcaa;b()Z
-
cannotFollow
private boolean cannotFollow()- Mappings:
Namespace Name Mixin selector named cannotFollow
Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;cannotFollow()Z
intermediary method_49121
Lnet/minecraft/class_1350;method_49121()Z
official h
Lbzy;h()Z
-
start
public void start() -
stop
public void stop() -
tick
public void tick() -
tryTeleport
private void tryTeleport()- Mappings:
Namespace Name Mixin selector named tryTeleport
Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;tryTeleport()V
intermediary method_23345
Lnet/minecraft/class_1350;method_23345()V
official i
Lbzy;i()V
-
tryTeleportTo
private boolean tryTeleportTo(int x, int y, int z) - Mappings:
Namespace Name Mixin selector named tryTeleportTo
Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;tryTeleportTo(III)Z
intermediary method_23343
Lnet/minecraft/class_1350;method_23343(III)Z
official a
Lbzy;a(III)Z
-
canTeleportTo
- Mappings:
Namespace Name Mixin selector named canTeleportTo
Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;canTeleportTo(Lnet/minecraft/util/math/BlockPos;)Z
intermediary method_23344
Lnet/minecraft/class_1350;method_23344(Lnet/minecraft/class_2338;)Z
official a
Lbzy;a(Lja;)Z
-
getRandomInt
private int getRandomInt(int min, int max) - Mappings:
Namespace Name Mixin selector named getRandomInt
Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;getRandomInt(II)I
intermediary method_23342
Lnet/minecraft/class_1350;method_23342(II)I
official a
Lbzy;a(II)I
-