net.minecraft.world.entity.ai.goal

public class AvoidEntityGoal<T extends LivingEntity>

extends Goal

bzt
net.minecraft.world.entity.ai.goal.AvoidEntityGoal
net.minecraft.class_1338
net.minecraft.unmapped.C_ulkbzlia
net.minecraft.entity.ai.goal.FleeEntityGoal
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
f_dtcqumgw
mob
mob
f_25015_
private final double
i
walkSpeedModifier
field_6385
f_wvmsxpcr
slowSpeed
slowSpeed
f_25023_
private final double
j
sprintSpeedModifier
field_6395
f_troccvah
fastSpeed
fastSpeed
f_25024_
protected T
b
toAvoid
field_6390
f_ddlyvgjl
targetEntity
targetEntity
f_25016_
protected final float
c
maxDist
field_6386
f_ffitikka
fleeDistance
fleeDistance
f_25017_
protected Path
d
path
field_6387
f_vhnrnpmq
fleePath
fleePath
f_25018_
protected final PathNavigation
e
pathNav
field_6394
f_tazxphxm
fleeingEntityNavigation
fleeingEntityNavigation
f_25019_
protected final Class<T>
f
avoidClass
field_6392
f_usgvyeec
classToFleeFrom
classToFleeFrom
f_25020_
protected final Predicate<LivingEntity>
g
avoidPredicate
field_6393
f_zqytbxxw
extraInclusionSelector
extraInclusionSelector
f_25021_
protected final Predicate<LivingEntity>
h
predicateOnAvoidEntity
field_6388
f_rsmhibym
inclusionSelector
inclusionSelector
f_25022_
private final TargetingConditions
k
avoidEntityTargeting
field_18084
f_yfwkctrk
withinRangePredicate
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
b()
canUse()
method_6264()
m_njsjilur()
canStart()
canStart()
m_8036_()
public boolean
c()
canContinueToUse()
method_6266()
m_trsyngvn()
shouldContinue()
shouldContinue()
m_8045_()
public void
d()
start()
method_6269()
m_koalcxuy()
start()
start()
m_8056_()
public void
e()
stop()
method_6270()
m_vtbcctlg()
stop()
stop()
m_8041_()
public void
a()
tick()
method_6268()
m_nfnryldq()
tick()
tick()
m_8037_()