net.minecraft.entity.ai.goal

public class FleeEntityGoal<T extends Entity>

extends Goal

ty
net.minecraft.class_886
net.minecraft.entity.ai.goal.FleeEntityGoal
net.minecraft.entity.ai.EntityAIAvoidEntity

Field summary

Modifier and TypeField
private final com.google.common.base.Predicate<Entity>
c
field_11928
entityFilter
canBeSeenSelector
protected PathFinderMobEntity
a
field_3454
mob
entity
private final double
d
field_6837
speedWhenFar
farSpeed
private final double
e
field_6838
speedWhenClose
nearSpeed
protected T
b
field_3457
target
closestLivingEntity
private final float
f
field_3458
range
avoidDistance
private Path
g
field_14575
path
entityPathEntity
private final PathNavigation
h
field_3460
navigation
entityPathNavigate
private final Class<T>
i
field_11929
targetType
classToAvoid
private final com.google.common.base.Predicate<? super T>
j
field_11930
targetFilter
avoidTargetSelector

Constructor summary

ModifierConstructor
public (PathFinderMobEntity mob, Class<T> targetType, float distance, double speedWhenFar, double speedWhenClose)
public (PathFinderMobEntity mob, Class<T> targetType, com.google.common.base.Predicate<? super T> targetFilter, float distance, double speedWhenFar, double speedWhenClose)

Method summary

Modifier and TypeMethod
public boolean
a()
method_2742()
canStart()
shouldExecute()
public boolean
b()
method_2744()
shouldContinue()
shouldContinueExecuting()
public void
c()
method_2747()
start()
startExecuting()
public void
d()
method_2745()
stop()
resetTask()
public void
e()
method_2746()
tick()
updateTask()