net.minecraft.world.entity.ai.goal

public class PanicGoal

extends Goal

cgh
net.minecraft.world.entity.ai.goal.PanicGoal
net.minecraft.class_1374

Field summary

Modifier and TypeField
public static final int
b
WATER_CHECK_DISTANCE_VERTICAL
field_36271
protected final PathfinderMob
c
mob
field_6549
protected final double
d
speedModifier
field_6548
protected double
e
posX
field_6547
protected double
f
posY
field_6546
protected double
g
posZ
field_6550
protected boolean
h
isRunning
field_23227
private final Function<PathfinderMob, TagKey<DamageType>>
a
panicCausingDamageTypes
field_52011

Constructor summary

ModifierConstructor
public (PathfinderMob arg0, double arg1)
public (PathfinderMob arg0, double arg1, TagKey<DamageType> arg2)
public (PathfinderMob arg0, double arg1, Function<PathfinderMob, TagKey<DamageType>> arg2)

Method summary

Modifier and TypeMethod
public boolean
b()
canUse()
method_6264()
protected boolean
h()
shouldPanic()
method_40072()
protected boolean
i()
findRandomPosition()
method_6301()
public boolean
k()
isRunning()
method_26337()
public void
d()
start()
method_6269()
public void
e()
stop()
method_6270()
public boolean
c()
canContinueToUse()
method_6266()
protected BlockPos
a(dkd arg0, bxs arg1, int arg2)
lookForWater(BlockGetter arg0, Entity arg1, int arg2)
method_6300(class_1922 arg0, class_1297 arg1, int arg2)