Class RangedInteger

java.lang.Object
net.minecraft.util.RangedInteger

public class RangedInteger extends Object
  • Field Details

    • minInclusive

      private final int minInclusive
    • maxInclusive

      private final int maxInclusive
  • Constructor Details

    • RangedInteger

      public RangedInteger(int p_i231439_1_, int p_i231439_2_)
  • Method Details

    • of

      public static RangedInteger of(int p_233017_0_, int p_233017_1_)
    • randomValue

      public int randomValue(Random p_233018_1_)
    • getMinInclusive

      public int getMinInclusive()
    • getMaxInclusive

      public int getMaxInclusive()
    • toString

      public String toString()
      Overrides:
      toString in class Object