net.minecraft.world.entity.ai.goal

public class PanicGoal

extends Goal

bji
net.minecraft.world.entity.ai.goal.PanicGoal
net.minecraft.class_1374
net.minecraft.unmapped.C_gilizaew
net.minecraft.entity.ai.goal.EscapeDangerGoal
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
f_ypymgqlx
RANGE_Y
WATER_CHECK_DISTANCE_VERTICAL
f_198171_
protected final PathfinderMob
b
mob
field_6549
f_fumwfjua
mob
mob
f_25684_
protected final double
c
speedModifier
field_6548
f_svbrvkbw
speed
speed
f_25685_
protected double
d
posX
field_6547
f_gvozgbas
targetX
targetX
f_25686_
protected double
e
posY
field_6546
f_najlgwjk
targetY
targetY
f_25687_
protected double
f
posZ
field_6550
f_hpmxvyiq
targetZ
targetZ
f_25688_
protected boolean
g
isRunning
field_23227
f_gotokljs
active
active
f_25689_

Constructor summary

ModifierConstructor
public (PathfinderMob mob, double speed)

Method summary

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