Class DefaultRandomPos

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

public class DefaultRandomPos extends Object
  • Constructor Details

    • DefaultRandomPos

      public DefaultRandomPos()
  • Method Details

    • getPos

      @Nullable public static Vec3 getPos(PathfinderMob p_148404_, int p_148405_, int p_148406_)
    • 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_)