net.minecraft.world.entity.ai.goal

public class FollowOwnerGoal

extends Goal

bhq
net.minecraft.world.entity.ai.goal.FollowOwnerGoal
net.minecraft.class_1350
net.minecraft.entity.ai.goal.FollowOwnerGoal
net.minecraft.src.C_686_
net.minecraft.world.entity.ai.goal.PathfinderGoalFollowOwner

Field summary

Modifier and TypeField
public static final int
a
TELEPORT_WHEN_DISTANCE_IS
field_30205
TELEPORT_DISTANCE
f_148087_
private static final int
b
MIN_HORIZONTAL_DISTANCE_FROM_PLAYER_WHEN_TELEPORTING
field_30206
HORIZONTAL_RANGE
f_148088_
private static final int
c
MAX_HORIZONTAL_DISTANCE_FROM_PLAYER_WHEN_TELEPORTING
field_30207
HORIZONTAL_VARIATION
f_148089_
private static final int
d
MAX_VERTICAL_DISTANCE_FROM_PLAYER_WHEN_TELEPORTING
field_30208
VERTICAL_VARIATION
f_148090_
private final TamableAnimal
e
tamable
field_6448
tameable
f_25283_
private LivingEntity
f
owner
field_6444
owner
f_25284_
private final LevelReader
g
level
field_6445
world
f_25285_
private final double
h
speedModifier
field_6442
speed
f_25286_
private final PathNavigation
i
navigation
field_6446
navigation
f_25287_
private int
j
timeToRecalcPath
field_6443
updateCountdownTicks
f_25288_
private final float
k
stopDistance
field_6450
maxDistance
f_25289_
private final float
l
startDistance
field_6449
minDistance
f_25290_
private float
m
oldWaterCost
field_6447
oldWaterPathfindingPenalty
f_25291_
private final boolean
n
canFly
field_21078
leavesAllowed
f_25292_

Constructor summary

ModifierConstructor
public (TamableAnimal tameable, double speed, float minDistance, float maxDistance, boolean leavesAllowed)

Method summary

Modifier and TypeMethod
public boolean
a()
canUse()
method_6264()
canStart()
m_8036_()
public boolean
b()
canContinueToUse()
method_6266()
shouldContinue()
m_8045_()
public void
c()
start()
method_6269()
start()
m_8056_()
public void
d()
stop()
method_6270()
stop()
m_8041_()
public void
e()
tick()
method_6268()
tick()
m_8037_()
private void
h()
teleportToOwner()
method_23345()
tryTeleport()
m_25313_()
private boolean
a(int arg0, int arg1, int arg2)
maybeTeleportTo(int arg0, int arg1, int arg2)
method_23343(int arg0, int arg1, int arg2)
tryTeleportTo(int x, int y, int z)
m_25303_(int p_25305_, int p_25306_, int arg2)
private boolean
a(gt arg0)
canTeleportTo(BlockPos arg0)
method_23344(class_2338 arg0)
canTeleportTo(BlockPos pos)
m_25307_(C_4675_ arg0)
private int
a(int arg0, int arg1)
randomIntInclusive(int arg0, int arg1)
method_23342(int arg0, int arg1)
getRandomInt(int min, int max)
m_25300_(int p_25302_, int arg1)