net.minecraft.world.entity.ai.goal

public class PanicGoal

extends Goal

bua
net.minecraft.world.entity.ai.goal.PanicGoal
net.minecraft.class_1374
net.minecraft.entity.ai.goal.EscapeDangerGoal
net.minecraft.src.C_712_
net.minecraft.world.entity.ai.goal.PathfinderGoalPanic

Field summary

Modifier and TypeField
public static final int
a
WATER_CHECK_DISTANCE_VERTICAL
field_36271
RANGE_Y
f_198171_
protected final PathfinderMob
b
mob
field_6549
mob
f_25684_
protected final double
c
speedModifier
field_6548
speed
f_25685_
protected double
d
posX
field_6547
targetX
f_25686_
protected double
e
posY
field_6546
targetY
f_25687_
protected double
f
posZ
field_6550
targetZ
f_25688_
protected boolean
g
isRunning
field_23227
active
f_25689_

Constructor summary

ModifierConstructor
public (PathfinderMob mob, double speed)

Method summary

Modifier and TypeMethod
public boolean
a()
canUse()
method_6264()
canStart()
m_8036_()
protected boolean
h()
shouldPanic()
method_40072()
isInDanger()
m_202729_()
protected boolean
i()
findRandomPosition()
method_6301()
findTarget()
m_25702_()
public boolean
k()
isRunning()
method_26337()
isActive()
m_25703_()
public void
c()
start()
method_6269()
start()
m_8056_()
public void
d()
stop()
method_6270()
stop()
m_8041_()
public boolean
b()
canContinueToUse()
method_6266()
shouldContinue()
m_8045_()
protected BlockPos
a(csv arg0, blv arg1, int arg2)
lookForWater(BlockGetter arg0, Entity arg1, int arg2)
method_6300(class_1922 arg0, class_1297 arg1, int arg2)
locateClosestWater(BlockView world, Entity entity, int rangeX)
m_198172_(C_1559_ p_198174_, C_507_ p_198175_, int arg2)