net.minecraft.entity.ai.goal

public class ActiveTargetGoal

extends TrackTargetGoal

vo
net.minecraft.class_927
net.minecraft.entity.ai.goal.ActiveTargetGoal
net.minecraft.entity.ai.EntityAINearestAttackableTarget

Field summary

Modifier and TypeField
private final Class
a
field_3627
targetType
targetClass
private final int
b
field_3628
chanceToStartGoal
targetChance
private final ActiveTargetGoal__EntityDistanceComparator
e
field_3629
comparator
theNearestAttackableTargetSorter
private final EntityFilter
f
field_5362
targetFilter
targetEntitySelector
private LivingEntity
g
field_6868
target
targetEntity

Constructor summary

ModifierConstructor
public (PathFinderMobEntity entity, Class targetTypeClass, int chanceToStartGoal, boolean checkVisibility)
public (PathFinderMobEntity entity, Class targetTypeClass, int chanceToStartGoal, boolean checkVisibility, boolean checkCanNavigate)
public (PathFinderMobEntity entity, Class targetType, int chanceToStartGoal, boolean checkVisibility, boolean checkCanNavigate, EntityFilter targetFilter)

Method summary

Modifier and TypeMethod
public boolean
a()
method_2742()
canStart()
shouldExecute()
public void
c()
method_2747()
start()
startExecuting()