net.minecraft.world.entity.ai.util

public class RandomPos

css
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

字段概要

修饰符与类型字段
private static final int
a
RANDOM_POS_ATTEMPTS
field_30264
GAUSS_RANGE
f_148535_

构造函数概要

修饰符构造函数
public ()

方法概要

修饰符与类型方法
public static BlockPos
a(bgr 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(bgr 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)
m_217855_(C_212974_ p_217856_, double p_217860_, double p_217857_, int p_217862_, int p_455579_, double p_456099_, double arg6, double arg7)
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)
m_148545_(C_4675_ p_148546_, int p_148547_, Predicate<C_4675_> p_148548_)
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)
m_26947_(C_4675_ p_26948_, int p_26949_, int p_26950_, Predicate<C_4675_> p_26951_)
public static Vec3
a(cht 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)
m_148542_(C_533_ p_148543_, Supplier<C_4675_> p_148544_)
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)
m_148561_(Supplier<C_4675_> p_148562_, ToDoubleFunction<C_4675_> p_148563_)
public static BlockPos
a(cht arg0, double arg1, bgr 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)
m_217863_(C_533_ p_217864_, double p_458313_, C_212974_ p_217867_, C_4675_ arg3)