net.minecraft.world.entity.ai.goal

public class AvoidEntityGoal<T extends LivingEntity>

extends Goal

aoo
net.minecraft.world.entity.ai.goal.AvoidEntityGoal
net.minecraft.class_1338
net.minecraft.entity.ai.goal.FleeEntityGoal
net.minecraft.entity.ai.goal.AvoidEntityGoal
net.minecraft.server.v1_15_R1.PathfinderGoalAvoidTarget

Field summary

Modifier and TypeField
protected final PathfinderMob
a
mob
field_6391
mob
field_75380_a
private final double
i
walkSpeedModifier
field_6385
slowSpeed
field_75378_b
private final double
j
sprintSpeedModifier
field_6395
fastSpeed
field_75379_c
protected T
b
toAvoid
field_6390
targetEntity
field_75376_d
protected final float
c
maxDist
field_6386
fleeDistance
field_179508_f
protected Path
d
path
field_6387
fleePath
field_75374_f
protected final PathNavigation
e
pathNav
field_6394
fleeingEntityNavigation
field_75375_g
protected final Class<T>
f
avoidClass
field_6392
classToFleeFrom
field_181064_i
protected final Predicate<LivingEntity>
g
avoidPredicate
field_6393
extraInclusionSelector
field_179510_i
protected final Predicate<LivingEntity>
h
predicateOnAvoidEntity
field_6388
inclusionSelector
field_203784_k
private final TargetingConditions
k
avoidEntityTargeting
field_18084
withinRangePredicate
field_220872_k

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()
func_75250_a()
public boolean
b()
canContinueToUse()
method_6266()
shouldContinue()
func_75253_b()
public void
c()
start()
method_6269()
start()
func_75249_e()
public void
d()
stop()
method_6270()
stop()
func_75251_c()
public void
e()
tick()
method_6268()
tick()
func_75246_d()