net.minecraft.entity.ai.goal

public class ActiveTargetGoal<T extends LivingEntity>

extends TrackTargetGoal

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

Field summary

Modifier and TypeField
protected final Class<T>
a
field_3627
targetType
targetClass
private final int
i
field_3628
chanceToStartGoal
targetChance
protected final ActiveTargetGoal$EntityDistanceComparator
b
field_3629
comparator
theNearestAttackableTargetSorter
protected final com.google.common.base.Predicate<? super T>
c
field_11963
targetFilter
targetEntitySelector
protected T
d
field_6868
target
targetEntity

Constructor summary

ModifierConstructor
public (PathFinderMobEntity entity, Class<T> targetType, boolean checkVisibility)
public (PathFinderMobEntity entity, Class<T> targetType, boolean checkVisibility, boolean checkCanNavigate)
public (PathFinderMobEntity entity, Class<T> targetType, int chanceToStartGoal, boolean checkVisibility, boolean checkCanNavigate, com.google.common.base.Predicate<? super T> targetFilter)

Method summary

Modifier and TypeMethod
public boolean
a()
method_2742()
canStart()
shouldExecute()
protected Box
a(double arg0)
method_13104(double arg0)
getSearchBox(double distance)
getTargetableArea(double targetDistance)
public void
c()
method_2747()
start()
startExecuting()