Class AirAndWaterRandomPos
java.lang.Object
net.minecraft.world.entity.ai.util.AirAndWaterRandomPos
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic BlockPos
generateRandomPos
(PathfinderMob p_148366_, int p_148367_, int p_148368_, int p_148369_, double p_148370_, double p_148371_, double p_148372_, boolean p_148373_) static Vec3
getPos
(PathfinderMob p_148358_, int p_148359_, int p_148360_, int p_148361_, double p_148362_, double p_148363_, double p_148364_)
-
Constructor Details
-
AirAndWaterRandomPos
public AirAndWaterRandomPos()
-
-
Method Details
-
getPos
@Nullable public static Vec3 getPos(PathfinderMob p_148358_, int p_148359_, int p_148360_, int p_148361_, double p_148362_, double p_148363_, double p_148364_) -
generateRandomPos
@Nullable public static BlockPos generateRandomPos(PathfinderMob p_148366_, int p_148367_, int p_148368_, int p_148369_, double p_148370_, double p_148371_, double p_148372_, boolean p_148373_)
-