net.minecraft.world.entity.ai.util

public class RandomPos

bqu
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(apf 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)
m_217851_(C_212974_ p_217852_, int p_217853_, int p_217854_)
public static BlockPos
a(apf arg0, int arg1, int arg2, int arg3, double arg4, double arg5, double arg6)
generateRandomDirectionWithinRadians(RandomSource arg0, int arg1, int arg2, int arg3, double arg4, double arg5, double arg6)
method_31542(class_5819 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_217855_(C_212974_ p_217856_, int p_217857_, int p_217858_, int p_217859_, double p_217860_, double p_217862_, double arg6)
public static BlockPos
a(gu arg0, int arg1, Predicate<gu> 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(gu arg0, int arg1, int arg2, Predicate<gu> 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(bgi arg0, Supplier<gu> 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<gu> arg0, ToDoubleFunction<gu> 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(bgi arg0, int arg1, apf arg2, gu arg3)
generateRandomPosTowardDirection(PathfinderMob arg0, int arg1, RandomSource arg2, BlockPos arg3)
method_31537(class_1314 arg0, int arg1, class_5819 arg2, class_2338 arg3)
towardTarget(PathAwareEntity entity, int horizontalRange, Random random, BlockPos fuzz)
m_217863_(C_533_ p_217864_, int p_217865_, C_212974_ p_217866_, C_4675_ p_217867_)