Interface KLibRandomSource

All Known Subinterfaces:
RandomSourceMixin
All Known Implementing Classes:
NullRandom

public interface KLibRandomSource
  • Method Details

    • klib$self

      default net.minecraft.util.RandomSource klib$self()
    • roll

      default boolean roll(float chance)
    • nextRange

      default float nextRange(float min, float max)
    • nextRange

      default double nextRange(double min, double max)
    • nextRange

      default float nextRange(float range)
    • nextRange

      default double nextRange(double range)
    • nextSpherePosition

      default net.minecraft.world.phys.Vec3 nextSpherePosition()
    • nextOuterSpherePosition

      default net.minecraft.world.phys.Vec3 nextOuterSpherePosition()
    • nextCirclePosition

      default Vec2d nextCirclePosition()
    • nextOuterCirclePosition

      default Vec2d nextOuterCirclePosition()
    • nextCuboidPosition

      default net.minecraft.world.phys.Vec3 nextCuboidPosition(double minX, double minY, double minZ, double maxX, double maxY, double maxZ)
    • nextCuboidPosition

      default net.minecraft.world.phys.Vec3 nextCuboidPosition(double rangeX, double rangeY, double rangeZ)
    • nextCuboidPosition

      default net.minecraft.world.phys.Vec3 nextCuboidPosition(net.minecraft.world.phys.AABB box)