net.minecraft.entity.ai.goal

public class FleeEntityGoal

extends Goal

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

Field summary

Modifier and TypeField
public final EntityFilter
a
field_6138
entityFilter
field_98218_a
private PathFinderMobEntity
b
field_3454
mob
theEntity
private double
c
field_6837
speedWhenFar
farSpeed
private double
d
field_6838
speedWhenClose
nearSpeed
private Entity
e
field_3457
target
closestLivingEntity
private float
f
field_3458
range
distanceFromEntity
private Path
g
field_3459
path
entityPathEntity
private PathNavigation
h
field_3460
navigation
entityPathNavigate
private Class
i
field_3461
targetType
targetEntityClass

Constructor summary

ModifierConstructor
public (PathFinderMobEntity mob, Class targetType, float distance, double slowSpeed, double fastSpeed)

Method summary

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