net.minecraft.world.entity.ai.util

public class RandomPos

axu
net.minecraft.world.entity.ai.util.RandomPos
net.minecraft.class_1414
net.minecraft.entity.ai.TargetFinder
net.minecraft.entity.ai.RandomPositionGenerator
net.minecraft.server.v1_16_R1.RandomPositionGenerator

Method summary

Modifier and TypeMethod
public static Vec3
a(apg arg0, int arg1, int arg2)
getPos(PathfinderMob arg0, int arg1, int arg2)
method_6375(class_1314 arg0, int arg1, int arg2)
findTarget(PathAwareEntity mob, int maxHorizontalDistance, int maxVerticalDistance)
func_75463_a(CreatureEntity arg0, int arg1, int arg2)
public static Vec3
a(apg arg0, int arg1, int arg2, int arg3, dem arg4, double arg5)
getAirPos(PathfinderMob arg0, int arg1, int arg2, int arg3, Vec3 arg4, double arg5)
method_21756(class_1314 arg0, int arg1, int arg2, int arg3, class_243 arg4, double arg5)
findGroundTarget(PathAwareEntity mob, int maxHorizontalDistance, int maxVerticalDistance, int preferredYDifference, Vec3d preferredAngle, double maxAngleDifference)
func_226338_a_(CreatureEntity arg0, int arg1, int arg2, int arg3, Vector3d arg4, double arg5)
public static Vec3
b(apg arg0, int arg1, int arg2)
getLandPos(PathfinderMob arg0, int arg1, int arg2)
method_6378(class_1314 arg0, int arg1, int arg2)
findGroundTarget(PathAwareEntity mob, int maxHorizontalDistance, int maxVerticalDistance)
func_191377_b(CreatureEntity arg0, int arg1, int arg2)
public static Vec3
a(apg arg0, int arg1, int arg2, ToDoubleFunction<fu> arg3)
getLandPos(PathfinderMob arg0, int arg1, int arg2, ToDoubleFunction<BlockPos> arg3)
method_19108(class_1314 arg0, int arg1, int arg2, ToDoubleFunction<class_2338> arg3)
findGroundTarget(PathAwareEntity mob, int maxHorizontalDistance, int maxVerticalDistance, ToDoubleFunction<BlockPos> pathfindingFavor)
func_221024_a(CreatureEntity arg0, int arg1, int arg2, ToDoubleFunction<BlockPos> arg3)
public static Vec3
a(apg arg0, int arg1, int arg2, dem arg3, float arg4, int arg5, int arg6)
getAboveLandPos(PathfinderMob arg0, int arg1, int arg2, Vec3 arg3, float arg4, int arg5, int arg6)
method_21757(class_1314 arg0, int arg1, int arg2, class_243 arg3, float arg4, int arg5, int arg6)
findAirTarget(PathAwareEntity mob, int maxHorizontalDistance, int maxVerticalDistance, Vec3d preferredAngle, float maxAngleDifference, int distanceAboveGroundRange, int minDistanceAboveGround)
func_226340_a_(CreatureEntity arg0, int arg1, int arg2, Vector3d arg3, float arg4, int arg5, int arg6)
public static Vec3
a(apg arg0, int arg1, int arg2, dem arg3)
getLandPosTowards(PathfinderMob arg0, int arg1, int arg2, Vec3 arg3)
method_27929(class_1314 arg0, int arg1, int arg2, class_243 arg3)
method_27929(PathAwareEntity arg0, int arg1, int arg2, Vec3d arg3)
func_234133_a_(CreatureEntity arg0, int arg1, int arg2, Vector3d arg3)
public static Vec3
b(apg arg0, int arg1, int arg2, dem arg3)
getPosTowards(PathfinderMob arg0, int arg1, int arg2, Vec3 arg3)
method_23735(class_1314 arg0, int arg1, int arg2, class_243 arg3)
findTargetTowards(PathAwareEntity mob, int maxHorizontalDistance, int maxVerticalDistance, Vec3d pos)
func_75464_a(CreatureEntity arg0, int arg1, int arg2, Vector3d arg3)
public static Vec3
a(apg arg0, int arg1, int arg2, dem arg3, double arg4)
getPosTowards(PathfinderMob arg0, int arg1, int arg2, Vec3 arg3, double arg4)
method_6377(class_1314 arg0, int arg1, int arg2, class_243 arg3, double arg4)
findTargetTowards(PathAwareEntity mob, int maxHorizontalDistance, int maxVerticalDistance, Vec3d pos, double maxAngleDifference)
func_203155_a(CreatureEntity arg0, int arg1, int arg2, Vector3d arg3, double arg4)
public static Vec3
b(apg arg0, int arg1, int arg2, int arg3, dem arg4, double arg5)
getAirPosTowards(PathfinderMob arg0, int arg1, int arg2, int arg3, Vec3 arg4, double arg5)
method_23736(class_1314 arg0, int arg1, int arg2, int arg3, class_243 arg4, double arg5)
findGroundTargetTowards(PathAwareEntity mob, int maxHorizontalDistance, int maxVerticalDistance, int preferredYDifference, Vec3d pos, double maxAngleDifference)
func_226344_b_(CreatureEntity arg0, int arg1, int arg2, int arg3, Vector3d arg4, double arg5)
public static Vec3
c(apg arg0, int arg1, int arg2, dem arg3)
getPosAvoid(PathfinderMob arg0, int arg1, int arg2, Vec3 arg3)
method_6379(class_1314 arg0, int arg1, int arg2, class_243 arg3)
findTargetAwayFrom(PathAwareEntity mob, int maxHorizontalDistance, int maxVerticalDistance, Vec3d pos)
func_75461_b(CreatureEntity arg0, int arg1, int arg2, Vector3d arg3)
public static Vec3
d(apg arg0, int arg1, int arg2, dem arg3)
getLandPosAvoid(PathfinderMob arg0, int arg1, int arg2, Vec3 arg3)
method_20658(class_1314 arg0, int arg1, int arg2, class_243 arg3)
findGroundTargetAwayFrom(PathAwareEntity mob, int maxHorizontalDistance, int maxVerticalDistance, Vec3d pos)
func_223548_b(CreatureEntity arg0, int arg1, int arg2, Vector3d arg3)
private static Vec3
a(apg arg0, int arg1, int arg2, int arg3, dem arg4, boolean arg5, double arg6, ToDoubleFunction<fu> arg7, boolean arg8, int arg9, int arg10, boolean arg11)
generateRandomPos(PathfinderMob arg0, int arg1, int arg2, int arg3, Vec3 arg4, boolean arg5, double arg6, ToDoubleFunction<BlockPos> arg7, boolean arg8, int arg9, int arg10, boolean arg11)
method_21758(class_1314 arg0, int arg1, int arg2, int arg3, class_243 arg4, boolean arg5, double arg6, ToDoubleFunction<class_2338> arg7, boolean arg8, int arg9, int arg10, boolean arg11)
findTarget(PathAwareEntity mob, int maxHorizontalDistance, int maxVerticalDistance, int preferredYDifference, Vec3d preferredAngle, boolean notInWater, double maxAngleDifference, ToDoubleFunction<BlockPos> favorProvider, boolean aboveGround, int distanceAboveGroundRange, int minDistanceAboveGround, boolean validPositionsOnly)
func_226339_a_(CreatureEntity arg0, int arg1, int arg2, int arg3, Vector3d arg4, boolean arg5, double arg6, ToDoubleFunction<BlockPos> arg7, boolean arg8, int arg9, int arg10, boolean arg11)
private static BlockPos
a(Random arg0, int arg1, int arg2, int arg3, dem arg4, double arg5)
getRandomDelta(Random arg0, int arg1, int arg2, int arg3, Vec3 arg4, double arg5)
method_6374(Random arg0, int arg1, int arg2, int arg3, class_243 arg4, double arg5)
getRandomOffset(Random random, int maxHorizontalDistance, int maxVerticalDistance, int preferredYDifference, Vec3d preferredAngle, double maxAngleDifference)
func_226343_a_(Random arg0, int arg1, int arg2, int arg3, Vector3d arg4, double arg5)
static BlockPos
a(fu arg0, int arg1, int arg2, Predicate<fu> arg3)
moveUpToAboveSolid(BlockPos arg0, int arg1, int arg2, Predicate<BlockPos> arg3)
method_21761(class_2338 arg0, int arg1, int arg2, Predicate<class_2338> arg3)
findValidPositionAbove(BlockPos pos, int minDistanceAboveIllegal, int maxOffset, Predicate<BlockPos> illegalPredicate)
func_226342_a_(BlockPos arg0, int arg1, int arg2, Predicate<BlockPos> arg3)