net.minecraft.world.entity.ai.goal.target

public abstract class TargetGoal

extends Goal

bjr
net.minecraft.world.entity.ai.goal.target.TargetGoal
net.minecraft.class_1405
net.minecraft.entity.ai.goal.TrackTargetGoal
net.minecraft.src.C_745_
net.minecraft.world.entity.ai.goal.target.PathfinderGoalTarget

Field summary

Modifier and TypeField
private static final int
a
EMPTY_REACH_CACHE
field_30233
UNSET
f_148155_
private static final int
b
CAN_REACH_CACHE
field_30234
CAN_TRACK
f_148156_
private static final int
c
CANT_REACH_CACHE
field_30235
CANNOT_TRACK
f_148157_
protected final Mob
e
mob
field_6660
mob
f_26135_
protected final boolean
f
mustSee
field_6658
checkVisibility
f_26136_
private final boolean
d
mustReach
field_6663
checkCanNavigate
f_26131_
private int
i
reachCache
field_6662
canNavigateFlag
f_26132_
private int
j
reachCacheTime
field_6661
checkCanNavigateCooldown
f_26133_
private int
k
unseenTicks
field_6659
timeWithoutVisibility
f_26134_
protected LivingEntity
g
targetMob
field_6664
target
f_26137_
protected int
h
unseenMemoryTicks
field_6657
maxTimeWithoutVisibility
f_26138_

Constructor summary

ModifierConstructor
public (Mob mob, boolean checkVisibility)
public (Mob mob, boolean checkVisibility, boolean checkNavigable)

Method summary

Modifier and TypeMethod
public boolean
b()
canContinueToUse()
method_6266()
shouldContinue()
m_8045_()
protected double
l()
getFollowDistance()
method_6326()
getFollowRange()
m_7623_()
public void
c()
start()
method_6269()
start()
m_8056_()
public void
d()
stop()
method_6270()
stop()
m_8041_()
protected boolean
a(bbf arg0, bli arg1)
canAttack(LivingEntity arg0, TargetingConditions arg1)
method_6328(class_1309 arg0, class_4051 arg1)
canTrack(LivingEntity target, TargetPredicate targetPredicate)
m_26150_(C_524_ p_26152_, C_780_ arg1)
private boolean
a(bbf arg0)
canReach(LivingEntity arg0)
method_6329(class_1309 arg0)
canNavigateToEntity(LivingEntity entity)
m_26148_(C_524_ arg0)
public TargetGoal
c(int arg0)
setUnseenMemoryTicks(int arg0)
method_6330(int arg0)
setMaxTimeWithoutVisibility(int time)
m_26146_(int arg0)