net.minecraft.entity.ai.goal

public class ActiveTargetGoal<T extends LivingEntity>

extends TrackTargetGoal

sp
net.minecraft.unmapped.C_60757581
net.minecraft.entity.ai.goal.ActiveTargetGoal

Field summary

Modifier and TypeField
protected final Class<T>
a
f_55060794
targetType
private final int
g
f_29667812
chanceToStartGoal
protected final ActiveTargetGoal$EntityDistanceComparator
b
f_19398391
comparator
protected com.google.common.base.Predicate<? super T>
c
f_33367493
targetFilter
protected LivingEntity
d
f_72327905
target

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()
m_13184927()
canStart()
public void
c()
m_38932409()
start()