Class RandomValueRange

  • All Implemented Interfaces:
    IRandomRange

    public class RandomValueRange
    extends java.lang.Object
    implements IRandomRange
    • Field Detail

      • min

        private final float min
      • max

        private final float max
    • Constructor Detail

      • RandomValueRange

        public RandomValueRange​(float p_i46629_1_,
                                float p_i46629_2_)
      • RandomValueRange

        public RandomValueRange​(float p_i46630_1_)
    • Method Detail

      • between

        public static RandomValueRange between​(float p_215837_0_,
                                               float p_215837_1_)
      • getMin

        public float getMin()
      • getMax

        public float getMax()
      • getInt

        public int getInt​(java.util.Random p_186511_1_)
        Specified by:
        getInt in interface IRandomRange
      • getFloat

        public float getFloat​(java.util.Random p_186507_1_)
      • matchesValue

        public boolean matchesValue​(int p_186510_1_)