public class RandomPositionGenerator
extends java.lang.Object
Constructor and Description |
---|
RandomPositionGenerator() |
Modifier and Type | Method and Description |
---|---|
static Vec3d |
findAirTarget(CreatureEntity p_226340_0_,
int p_226340_1_,
int p_226340_2_,
Vec3d p_226340_3_,
float p_226340_4_,
int p_226340_5_,
int p_226340_6_) |
static Vec3d |
findGroundTarget(CreatureEntity p_226338_0_,
int p_226338_1_,
int p_226338_2_,
int p_226338_3_,
Vec3d p_226338_4_,
double p_226338_5_) |
static Vec3d |
findRandomTarget(CreatureEntity entitycreatureIn,
int xz,
int y) |
static Vec3d |
findRandomTargetBlockAwayFrom(CreatureEntity entitycreatureIn,
int xz,
int y,
Vec3d targetVec3) |
static Vec3d |
findRandomTargetBlockTowards(CreatureEntity entitycreatureIn,
int xz,
int y,
Vec3d targetVec3) |
static Vec3d |
findRandomTargetTowardsScaled(CreatureEntity p_203155_0_,
int xz,
int p_203155_2_,
Vec3d p_203155_3_,
double p_203155_4_) |
static Vec3d |
func_221024_a(CreatureEntity p_221024_0_,
int p_221024_1_,
int p_221024_2_,
java.util.function.ToDoubleFunction<BlockPos> p_221024_3_) |
static Vec3d |
func_223548_b(CreatureEntity p_223548_0_,
int p_223548_1_,
int p_223548_2_,
Vec3d p_223548_3_) |
private static Vec3d |
func_226339_a_(CreatureEntity p_226339_0_,
int p_226339_1_,
int p_226339_2_,
int p_226339_3_,
Vec3d p_226339_4_,
boolean p_226339_5_,
double p_226339_6_,
java.util.function.ToDoubleFunction<BlockPos> p_226339_8_,
boolean p_226339_9_,
int p_226339_10_,
int p_226339_11_,
boolean p_226339_12_) |
(package private) static BlockPos |
func_226342_a_(BlockPos p_226342_0_,
int p_226342_1_,
int p_226342_2_,
java.util.function.Predicate<BlockPos> p_226342_3_) |
private static BlockPos |
func_226343_a_(java.util.Random p_226343_0_,
int p_226343_1_,
int p_226343_2_,
int p_226343_3_,
Vec3d p_226343_4_,
double p_226343_5_) |
static Vec3d |
func_226344_b_(CreatureEntity p_226344_0_,
int p_226344_1_,
int p_226344_2_,
int p_226344_3_,
Vec3d p_226344_4_,
double p_226344_5_) |
static Vec3d |
getLandPos(CreatureEntity creature,
int maxXZ,
int maxY) |
@Nullable public static Vec3d findRandomTarget(CreatureEntity entitycreatureIn, int xz, int y)
@Nullable public static Vec3d findGroundTarget(CreatureEntity p_226338_0_, int p_226338_1_, int p_226338_2_, int p_226338_3_, @Nullable Vec3d p_226338_4_, double p_226338_5_)
@Nullable public static Vec3d getLandPos(CreatureEntity creature, int maxXZ, int maxY)
@Nullable public static Vec3d func_221024_a(CreatureEntity p_221024_0_, int p_221024_1_, int p_221024_2_, java.util.function.ToDoubleFunction<BlockPos> p_221024_3_)
@Nullable public static Vec3d findAirTarget(CreatureEntity p_226340_0_, int p_226340_1_, int p_226340_2_, Vec3d p_226340_3_, float p_226340_4_, int p_226340_5_, int p_226340_6_)
@Nullable public static Vec3d findRandomTargetBlockTowards(CreatureEntity entitycreatureIn, int xz, int y, Vec3d targetVec3)
@Nullable public static Vec3d findRandomTargetTowardsScaled(CreatureEntity p_203155_0_, int xz, int p_203155_2_, Vec3d p_203155_3_, double p_203155_4_)
@Nullable public static Vec3d func_226344_b_(CreatureEntity p_226344_0_, int p_226344_1_, int p_226344_2_, int p_226344_3_, Vec3d p_226344_4_, double p_226344_5_)
@Nullable public static Vec3d findRandomTargetBlockAwayFrom(CreatureEntity entitycreatureIn, int xz, int y, Vec3d targetVec3)
@Nullable public static Vec3d func_223548_b(CreatureEntity p_223548_0_, int p_223548_1_, int p_223548_2_, Vec3d p_223548_3_)
@Nullable private static Vec3d func_226339_a_(CreatureEntity p_226339_0_, int p_226339_1_, int p_226339_2_, int p_226339_3_, @Nullable Vec3d p_226339_4_, boolean p_226339_5_, double p_226339_6_, java.util.function.ToDoubleFunction<BlockPos> p_226339_8_, boolean p_226339_9_, int p_226339_10_, int p_226339_11_, boolean p_226339_12_)
@Nullable private static BlockPos func_226343_a_(java.util.Random p_226343_0_, int p_226343_1_, int p_226343_2_, int p_226343_3_, @Nullable Vec3d p_226343_4_, double p_226343_5_)