net.minecraft.entity.ai.goal

public class ActiveTargetGoal<T extends LivingEntity>

extends TrackTargetGoal

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

Field summary

Modifier and TypeField
protected final Class<T>
a
field_3627
targetType
field_75307_b
targetClass
private final int
i
field_3628
chanceToStartGoal
field_75308_c
targetChance
protected final ActiveTargetGoal$EntityDistanceComparator
b
field_3629
comparator
field_75306_g
sorter
protected final com.google.common.base.Predicate<? super T>
c
field_11963
targetFilter
field_82643_g
targetEntitySelector
protected T
d
field_6868
target
field_75309_a
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()
func_75250_a()
shouldExecute()
protected Box
a(double arg0)
method_13104(double arg0)
getSearchBox(double distance)
func_188511_a(double arg0)
getTargetableArea(double targetDistance)
public void
c()
method_2747()
start()
func_75249_e()
startExecuting()