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 mob, int radius, int verticalRange)
    • getPos

      @Nullable public static Vec3 getPos(PathfinderMob mob, int radius, int yRange, ToDoubleFunction<BlockPos> toDoubleFunction)
    • getPosTowards

      @Nullable public static Vec3 getPosTowards(PathfinderMob mob, int radius, int yRange, Vec3 vectorPosition)
    • getPosAway

      @Nullable public static Vec3 getPosAway(PathfinderMob mob, int radius, int yRange, Vec3 vectorPosition)
    • getPosInDirection

      @Nullable private static Vec3 getPosInDirection(PathfinderMob mob, int radius, int yRange, Vec3 vectorPosition, boolean shortCircuit)
    • movePosUpOutOfSolid

      @Nullable public static BlockPos movePosUpOutOfSolid(PathfinderMob mob, BlockPos pos)
    • generateRandomPosTowardDirection

      @Nullable public static BlockPos generateRandomPosTowardDirection(PathfinderMob mob, int radius, boolean shortCircuit, BlockPos pos)