Class DefaultRandomPos
java.lang.Object
net.minecraft.world.entity.ai.util.DefaultRandomPos
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprivate static BlockPosgenerateRandomPosTowardDirection(PathfinderMob p_148437_, int p_148438_, boolean p_148439_, BlockPos p_148440_) static Vec3getPos(PathfinderMob p_148404_, int p_148405_, int p_148406_) static Vec3getPosAway(PathfinderMob p_148408_, int p_148409_, int p_148410_, Vec3 p_148411_) static Vec3getPosTowards(PathfinderMob p_148413_, int p_148414_, int p_148415_, Vec3 p_148416_, double p_148417_)  
- 
Constructor Details
- 
DefaultRandomPos
public DefaultRandomPos() 
 - 
 - 
Method Details
- 
getPos
 - 
getPosTowards
@Nullable public static Vec3 getPosTowards(PathfinderMob p_148413_, int p_148414_, int p_148415_, Vec3 p_148416_, double p_148417_)  - 
getPosAway
@Nullable public static Vec3 getPosAway(PathfinderMob p_148408_, int p_148409_, int p_148410_, Vec3 p_148411_)  - 
generateRandomPosTowardDirection
@Nullable private static BlockPos generateRandomPosTowardDirection(PathfinderMob p_148437_, int p_148438_, boolean p_148439_, BlockPos p_148440_)  
 -