net.minecraft.world.entity.ai.util

public class RandomPos

cso
net.minecraft.world.entity.ai.util.RandomPos
net.minecraft.class_5535
net.minecraft.entity.ai.FuzzyPositions

Field summary

Modifier and TypeField
private static final int
a
RANDOM_POS_ATTEMPTS
field_30264
GAUSS_RANGE

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static BlockPos
a(bgq arg0, int arg1, int arg2)
generateRandomDirection(RandomSource arg0, int arg1, int arg2)
method_31541(class_5819 arg0, int arg1, int arg2)
localFuzz(Random random, int horizontalRange, int verticalRange)
public static BlockPos
a(bgq arg0, double arg1, double arg2, int arg3, int arg4, double arg5, double arg6, double arg7)
generateRandomDirectionWithinRadians(RandomSource arg0, double arg1, double arg2, int arg3, int arg4, double arg5, double arg6, double arg7)
method_31542(class_5819 arg0, double arg1, double arg2, int arg3, int arg4, double arg5, double arg6, double arg7)
localFuzz(Random random, double minHorizontalRange, double maxHorizontalRange, int verticalRange, int startHeight, double directionX, double directionZ, double angleRange)
public static BlockPos
a(is arg0, int arg1, Predicate<is> arg2)
moveUpOutOfSolid(BlockPos arg0, int arg1, Predicate<BlockPos> arg2)
method_31540(class_2338 arg0, int arg1, Predicate<class_2338> arg2)
upWhile(BlockPos pos, int maxY, Predicate<BlockPos> condition)
public static BlockPos
a(is arg0, int arg1, int arg2, Predicate<is> arg3)
moveUpToAboveSolid(BlockPos arg0, int arg1, int arg2, Predicate<BlockPos> arg3)
method_31539(class_2338 arg0, int arg1, int arg2, Predicate<class_2338> arg3)
upWhile(BlockPos pos, int extraAbove, int max, Predicate<BlockPos> condition)
public static Vec3
a(chs arg0, Supplier<is> arg1)
generateRandomPos(PathfinderMob arg0, Supplier<BlockPos> arg1)
method_31538(class_1314 arg0, Supplier<class_2338> arg1)
guessBestPathTarget(PathAwareEntity entity, Supplier<BlockPos> factory)
public static Vec3
a(Supplier<is> arg0, ToDoubleFunction<is> arg1)
generateRandomPos(Supplier<BlockPos> arg0, ToDoubleFunction<BlockPos> arg1)
method_31543(Supplier<class_2338> arg0, ToDoubleFunction<class_2338> arg1)
guessBest(Supplier<BlockPos> factory, ToDoubleFunction<BlockPos> scorer)
public static BlockPos
a(chs arg0, double arg1, bgq arg2, is arg3)
generateRandomPosTowardDirection(PathfinderMob arg0, double arg1, RandomSource arg2, BlockPos arg3)
method_31537(class_1314 arg0, double arg1, class_5819 arg2, class_2338 arg3)
towardTarget(PathAwareEntity entity, double horizontalRange, Random random, BlockPos fuzz)