Class LandRandomPos

java.lang.Object
net.minecraft.world.entity.ai.util.LandRandomPos

public class LandRandomPos extends Object
  • Constructor Details

    • LandRandomPos

      public LandRandomPos()
  • Method Details

    • getPos

      @Nullable public static Vec3 getPos(PathfinderMob p_148489_, int p_148490_, int p_148491_)
    • 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

      @Nullable public static BlockPos movePosUpOutOfSolid(PathfinderMob p_148519_, BlockPos p_148520_)
    • generateRandomPosTowardDirection

      @Nullable public static BlockPos generateRandomPosTowardDirection(PathfinderMob p_148514_, int p_148515_, boolean p_148516_, BlockPos p_148517_)