net.minecraft.world.entity.ai.goal

public class AvoidEntityGoal<T extends LivingEntity>

extends Goal

bcj
net.minecraft.world.entity.ai.goal.AvoidEntityGoal
net.minecraft.class_1338
net.minecraft.entity.ai.goal.FleeEntityGoal
net.minecraft.src.C_670_
net.minecraft.world.entity.ai.goal.PathfinderGoalAvoidTarget

Field summary

Modifier and TypeField
protected final PathfinderMob
a
mob
field_6391
mob
f_25015_
private final double
i
walkSpeedModifier
field_6385
slowSpeed
f_25023_
private final double
j
sprintSpeedModifier
field_6395
fastSpeed
f_25024_
protected T
b
toAvoid
field_6390
targetEntity
f_25016_
protected final float
c
maxDist
field_6386
fleeDistance
f_25017_
protected Path
d
path
field_6387
fleePath
f_25018_
protected final PathNavigation
e
pathNav
field_6394
fleeingEntityNavigation
f_25019_
protected final Class<T>
f
avoidClass
field_6392
classToFleeFrom
f_25020_
protected final Predicate<LivingEntity>
g
avoidPredicate
field_6393
extraInclusionSelector
f_25021_
protected final Predicate<LivingEntity>
h
predicateOnAvoidEntity
field_6388
inclusionSelector
f_25022_
private final TargetingConditions
k
avoidEntityTargeting
field_18084
withinRangePredicate
f_25025_

Constructor summary

ModifierConstructor
public (PathfinderMob mob, Class<T> fleeFromType, float distance, double slowSpeed, double fastSpeed)
public (PathfinderMob mob, Class<T> fleeFromType, Predicate<LivingEntity> extraInclusionSelector, float distance, double slowSpeed, double fastSpeed, Predicate<LivingEntity> inclusionSelector)
public (PathfinderMob fleeingEntity, Class<T> classToFleeFrom, float fleeDistance, double fleeSlowSpeed, double fleeFastSpeed, Predicate<LivingEntity> inclusionSelector)

Method summary

Modifier and TypeMethod
public boolean
a()
canUse()
method_6264()
canStart()
m_8036_()
public boolean
b()
canContinueToUse()
method_6266()
shouldContinue()
m_8045_()
public void
c()
start()
method_6269()
start()
m_8056_()
public void
d()
stop()
method_6270()
stop()
m_8041_()
public void
e()
tick()
method_6268()
tick()
m_8037_()