net.minecraft.entity.ai.goal

public class EscapeDangerGoal

extends Goal

vb
net.minecraft.class_914
net.minecraft.entity.ai.goal.EscapeDangerGoal
net.minecraft.entity.ai.EntityAIPanic

Field summary

Modifier and TypeField
private final PathFinderMobEntity
b
field_3579
entity
creature
protected double
a
field_6853
speed
speed
private double
c
field_3581
targetX
randPosX
private double
d
field_3582
targetY
randPosY
private double
e
field_3583
targetZ
randPosZ

Constructor summary

ModifierConstructor
public (PathFinderMobEntity entity, double speed)

Method summary

Modifier and TypeMethod
public boolean
a()
method_2742()
canStart()
shouldExecute()
private boolean
f()
method_13953()
findTarget()
findRandomPosition()
public void
c()
method_2747()
start()
startExecuting()
public boolean
b()
method_2744()
shouldContinue()
shouldContinueExecuting()
private BlockPos
a(ajs arg0, sn arg1, int arg2, int arg3)
method_13100(class_1150 arg0, class_864 arg1, int arg2, int arg3)
locateNearestWater(World world, Entity entity, int boxWidth, int boxHeight)
getRandPos(World worldIn, Entity entityIn, int horizontalRange, int verticalRange)