net.minecraft.world.entity.ai.util

public class RandomPos

bdi
net.minecraft.world.entity.ai.util.RandomPos
net.minecraft.class_5535
net.minecraft.entity.ai.FuzzyPositions
net.minecraft.src.C_782_
net.minecraft.world.entity.ai.util.RandomPositionGenerator

Field summary

Modifier and TypeField
private static final int
a
RANDOM_POS_ATTEMPTS
field_30264
GAUSS_RANGE
f_148535_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static BlockPos
a(Random arg0, int arg1, int arg2)
generateRandomDirection(Random arg0, int arg1, int arg2)
method_31541(Random arg0, int arg1, int arg2)
localFuzz(Random random, int horizontalRange, int verticalRange)
m_148549_(Random p_148550_, int p_148551_, int p_148552_)
public static BlockPos
a(Random arg0, int arg1, int arg2, int arg3, double arg4, double arg5, double arg6)
generateRandomDirectionWithinRadians(Random arg0, int arg1, int arg2, int arg3, double arg4, double arg5, double arg6)
method_31542(Random arg0, int arg1, int arg2, int arg3, double arg4, double arg5, double arg6)
localFuzz(Random random, int horizontalRange, int verticalRange, int startHeight, double directionX, double directionZ, double angleRange)
m_148553_(Random p_148554_, int p_148555_, int p_148556_, int p_148557_, double p_148558_, double p_148560_, double arg6)
public static BlockPos
a(gg arg0, int arg1, Predicate<gg> 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)
m_148545_(C_4675_ p_148546_, int p_148547_, Predicate<C_4675_> p_148548_)
public static BlockPos
a(gg arg0, int arg1, int arg2, Predicate<gg> 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)
m_26947_(C_4675_ p_26948_, int p_26949_, int p_26950_, Predicate<C_4675_> p_26951_)
public static Vec3
a(aud arg0, Supplier<gg> arg1)
generateRandomPos(PathfinderMob arg0, Supplier<BlockPos> arg1)
method_31538(class_1314 arg0, Supplier<class_2338> arg1)
guessBestPathTarget(PathAwareEntity entity, Supplier<BlockPos> factory)
m_148542_(C_533_ p_148543_, Supplier<C_4675_> p_148544_)
public static Vec3
a(Supplier<gg> arg0, ToDoubleFunction<gg> 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)
m_148561_(Supplier<C_4675_> p_148562_, ToDoubleFunction<C_4675_> p_148563_)
public static BlockPos
a(aud arg0, int arg1, Random arg2, gg arg3)
generateRandomPosTowardDirection(PathfinderMob arg0, int arg1, Random arg2, BlockPos arg3)
method_31537(class_1314 arg0, int arg1, Random arg2, class_2338 arg3)
towardTarget(PathAwareEntity entity, int horizontalRange, Random random, BlockPos fuzz)
m_148537_(C_533_ p_148538_, int p_148539_, Random p_148540_, C_4675_ p_148541_)