Package net.minecraft

Record Class class_7172.class_7174

java.lang.Object
java.lang.Record
net.minecraft.class_7172.class_7174
Record Components:
minInclusive -
maxInclusive -
All Implemented Interfaces:
class_7172.class_7176<Integer>, class_7172.class_7178<Integer>
Enclosing class:
class_7172<T>

@Environment(CLIENT) public static record class_7172.class_7174(int minInclusive, int maxInclusive) extends Record implements class_7172.class_7176<Integer>
Mappings:
Namespace Name
official eaq$b
intermediary net/minecraft/class_7172$class_7174
named net/minecraft/class_7172$class_7174
official a
intermediary comp_593
named minInclusive
official b
intermediary comp_594
named maxInclusive
  • Field Details

    • minInclusive

      private final int minInclusive
      The field for the minInclusive record component.
    • maxInclusive

      private final int maxInclusive
      The field for the maxInclusive record component.
  • Constructor Details

    • class_7174

      public class_7174(int int2, int int3)
  • Method Details

    • method_41756

      public Function<class_7172<Integer>,ClickableWidget> method_41756(Option.TooltipFactory<Integer> tooltipFactory, GameOptions gameOptions, int int2, int int3, int int4)
      Specified by:
      method_41756 in interface class_7172.class_7178<Integer>
      Mappings:
      Namespace Name Mixin selector
      official a Leaq$f;a(Leap$a;Lear;III)Ljava/util/function/Function;
      intermediary method_41756 Lnet/minecraft/class_7172$class_7178;method_41756(Lnet/minecraft/class_316$class_5679;Lnet/minecraft/class_315;III)Ljava/util/function/Function;
      named method_41756 Lnet/minecraft/class_7172$class_7178;method_41756(Lnet/minecraft/client/option/Option$TooltipFactory;Lnet/minecraft/client/option/GameOptions;III)Ljava/util/function/Function;
    • method_41758

      public boolean method_41758(Integer integer)
      Specified by:
      method_41758 in interface class_7172.class_7178<Integer>
      Mappings:
      Namespace Name Mixin selector
      official a Leaq$b;a(Ljava/lang/Integer;)Z
      intermediary method_41761 Lnet/minecraft/class_7172$class_7174;method_41761(Ljava/lang/Integer;)Z
      named method_41758 Lnet/minecraft/class_7172$class_7174;method_41758(Ljava/lang/Integer;)Z
    • method_41765

      public double method_41765(Integer integer)
      Specified by:
      method_41765 in interface class_7172.class_7176<Integer>
      Mappings:
      Namespace Name Mixin selector
      official b Leaq$b;b(Ljava/lang/Integer;)D
      intermediary method_41764 Lnet/minecraft/class_7172$class_7174;method_41764(Ljava/lang/Integer;)D
      named method_41765 Lnet/minecraft/class_7172$class_7174;method_41765(Ljava/lang/Integer;)D
    • method_41763

      public Integer method_41763(double double2)
      Specified by:
      method_41763 in interface class_7172.class_7176<Integer>
      Mappings:
      Namespace Name Mixin selector
      official a Leaq$b;a(D)Ljava/lang/Integer;
      intermediary method_41759 Lnet/minecraft/class_7172$class_7174;method_41759(D)Ljava/lang/Integer;
      named method_41763 Lnet/minecraft/class_7172$class_7174;method_41763(D)Ljava/lang/Integer;
    • method_41762

      public <R> class_7172.class_7176<R> method_41762(IntFunction<? extends R> intFunction, ToIntFunction<? super R> toIntFunction)
      Mappings:
      Namespace Name Mixin selector
      official a Leaq$b;a(Ljava/util/function/IntFunction;Ljava/util/function/ToIntFunction;)Leaq$d;
      intermediary method_41762 Lnet/minecraft/class_7172$class_7174;method_41762(Ljava/util/function/IntFunction;Ljava/util/function/ToIntFunction;)Lnet/minecraft/class_7172$class_7176;
      named method_41762 Lnet/minecraft/class_7172$class_7174;method_41762(Ljava/util/function/IntFunction;Ljava/util/function/ToIntFunction;)Lnet/minecraft/class_7172$class_7176;
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • minInclusive

      public int minInclusive()
      Returns the value of the minInclusive record component.
      Returns:
      the value of the minInclusive record component
    • maxInclusive

      public int maxInclusive()
      Returns the value of the maxInclusive record component.
      Returns:
      the value of the maxInclusive record component