Class IntClamper

java.lang.Object
net.minecraft.loot.IntClamper
All Implemented Interfaces:
IntUnaryOperator

public class IntClamper extends Object implements IntUnaryOperator
  • Field Details

  • Constructor Details

    • IntClamper

      private IntClamper(@Nullable Integer p_i51273_1_, @Nullable Integer p_i51273_2_)
  • Method Details

    • clamp

      public static IntClamper clamp(int p_215843_0_, int p_215843_1_)
    • lowerBound

      public static IntClamper lowerBound(int p_215848_0_)
    • upperBound

      public static IntClamper upperBound(int p_215851_0_)
    • applyAsInt

      public int applyAsInt(int p_applyAsInt_1_)
      Specified by:
      applyAsInt in interface IntUnaryOperator