net.minecraft.world.entity.monster

public class Ghast$RandomFloatAroundGoal

extends Goal

crp$d
net.minecraft.world.entity.monster.Ghast$RandomFloatAroundGoal
net.minecraft.class_1571$class_1575
net.minecraft.entity.mob.GhastEntity$FlyRandomlyGoal

Field summary

Modifier and TypeField
private static final int
a
MAX_ATTEMPTS
field_59707
field_59707
private final Mob
b
ghast
field_59708
ghast
private final int
c
distanceToBlocks
field_59709
blockCheckDistance

Constructor summary

ModifierConstructor
public (Mob ghast)
public (Mob ghast, int blockCheckDistance)

Method summary

Modifier and TypeMethod
public boolean
b()
canUse()
method_6264()
canStart()
public boolean
c()
canContinueToUse()
method_6266()
shouldContinue()
public void
d()
start()
method_6269()
start()
public static Vec3
a(cao arg0, int arg1)
getSuitableFlyToPosition(Mob arg0, int arg1)
method_70720(class_1308 arg0, int arg1)
locateTarget(MobEntity ghast, int blockCheckDistance)
private static boolean
a(dmu arg0, fis arg1, int arg2)
isGoodTarget(Level arg0, Vec3 arg1, int arg2)
method_70722(class_1937 arg0, class_243 arg1, int arg2)
isTargetValid(World world, Vec3d pos, int blockCheckDistance)
private static Vec3
a(fis arg0, bck arg1)
chooseRandomPosition(Vec3 arg0, RandomSource arg1)
method_70723(class_243 arg0, class_5819 arg1)
addRandom(Vec3d pos, Random random)
private static Vec3
a(cao arg0, fis arg1, bck arg2)
chooseRandomPositionWithRestriction(Mob arg0, Vec3 arg1, RandomSource arg2)
method_70721(class_1308 arg0, class_243 arg1, class_5819 arg2)
getTargetPos(MobEntity ghast, Vec3d pos, Random random)