Class LandRandomPos
java.lang.Object
net.minecraft.world.entity.ai.util.LandRandomPos
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic BlockPosgenerateRandomPosTowardDirection(PathfinderMob p_148514_, int p_148515_, boolean p_148516_, BlockPos p_148517_) static Vec3getPos(PathfinderMob p_148489_, int p_148490_, int p_148491_) static Vec3getPos(PathfinderMob p_148504_, int p_148505_, int p_148506_, ToDoubleFunction<BlockPos> p_148507_) static Vec3getPosAway(PathfinderMob p_148522_, int p_148523_, int p_148524_, Vec3 p_148525_) private static Vec3getPosInDirection(PathfinderMob p_148498_, int p_148499_, int p_148500_, Vec3 p_148501_, boolean p_148502_) static Vec3getPosTowards(PathfinderMob p_148493_, int p_148494_, int p_148495_, Vec3 p_148496_) static BlockPosmovePosUpOutOfSolid(PathfinderMob p_148519_, BlockPos p_148520_)  
- 
Constructor Details
- 
LandRandomPos
public LandRandomPos() 
 - 
 - 
Method Details
- 
getPos
 - 
getPos
@Nullable public static Vec3 getPos(PathfinderMob p_148504_, int p_148505_, int p_148506_, ToDoubleFunction<BlockPos> p_148507_)  - 
getPosTowards
@Nullable public static Vec3 getPosTowards(PathfinderMob p_148493_, int p_148494_, int p_148495_, Vec3 p_148496_)  - 
getPosAway
@Nullable public static Vec3 getPosAway(PathfinderMob p_148522_, int p_148523_, int p_148524_, Vec3 p_148525_)  - 
getPosInDirection
@Nullable private static Vec3 getPosInDirection(PathfinderMob p_148498_, int p_148499_, int p_148500_, Vec3 p_148501_, boolean p_148502_)  - 
movePosUpOutOfSolid
 - 
generateRandomPosTowardDirection
@Nullable public static BlockPos generateRandomPosTowardDirection(PathfinderMob p_148514_, int p_148515_, boolean p_148516_, BlockPos p_148517_)  
 -