Class AirAndWaterRandomPos
java.lang.Object
net.minecraft.world.entity.ai.util.AirAndWaterRandomPos
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable BlockPosgenerateRandomPos(PathfinderMob pMob, int pMaxDistance, int pYRange, int pY, double pX, double pZ, double pAmplifier, boolean pShortCircuit) static @Nullable Vec3getPos(PathfinderMob pMob, int pMaxDistance, int pYRange, int pY, double pX, double pZ, double pAmplifier)
-
Constructor Details
-
AirAndWaterRandomPos
public AirAndWaterRandomPos()
-
-
Method Details
-
getPos
public static @Nullable Vec3 getPos(PathfinderMob pMob, int pMaxDistance, int pYRange, int pY, double pX, double pZ, double pAmplifier) -
generateRandomPos
public static @Nullable BlockPos generateRandomPos(PathfinderMob pMob, int pMaxDistance, int pYRange, int pY, double pX, double pZ, double pAmplifier, boolean pShortCircuit)
-