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$bintermediary net/minecraft/class_7172$class_7174named net/minecraft/class_7172$class_7174official aintermediary comp_593named minInclusiveofficial bintermediary comp_594named maxInclusive
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intThe field for themaxInclusiverecord component.private final intThe field for theminInclusiverecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of themaxInclusiverecord component.method_41756(Option.TooltipFactory<Integer> tooltipFactory, GameOptions gameOptions, int int2, int int3, int int4) booleanmethod_41758(Integer integer) <R> class_7172.class_7176<R>method_41762(IntFunction<? extends R> intFunction, ToIntFunction<? super R> toIntFunction) method_41763(double double2) doublemethod_41765(Integer integer) intReturns the value of theminInclusiverecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
minInclusive
private final int minInclusiveThe field for theminInclusiverecord component. -
maxInclusive
private final int maxInclusiveThe field for themaxInclusiverecord 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_41756in interfaceclass_7172.class_7178<Integer>- Mappings:
Namespace Name Mixin selector official aLeaq$f;a(Leap$a;Lear;III)Ljava/util/function/Function;intermediary method_41756Lnet/minecraft/class_7172$class_7178;method_41756(Lnet/minecraft/class_316$class_5679;Lnet/minecraft/class_315;III)Ljava/util/function/Function;named method_41756Lnet/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
- Specified by:
method_41758in interfaceclass_7172.class_7178<Integer>- Mappings:
Namespace Name Mixin selector official aLeaq$b;a(Ljava/lang/Integer;)Zintermediary method_41761Lnet/minecraft/class_7172$class_7174;method_41761(Ljava/lang/Integer;)Znamed method_41758Lnet/minecraft/class_7172$class_7174;method_41758(Ljava/lang/Integer;)Z
-
method_41765
- Specified by:
method_41765in interfaceclass_7172.class_7176<Integer>- Mappings:
Namespace Name Mixin selector official bLeaq$b;b(Ljava/lang/Integer;)Dintermediary method_41764Lnet/minecraft/class_7172$class_7174;method_41764(Ljava/lang/Integer;)Dnamed method_41765Lnet/minecraft/class_7172$class_7174;method_41765(Ljava/lang/Integer;)D
-
method_41763
- Specified by:
method_41763in interfaceclass_7172.class_7176<Integer>- Mappings:
Namespace Name Mixin selector official aLeaq$b;a(D)Ljava/lang/Integer;intermediary method_41759Lnet/minecraft/class_7172$class_7174;method_41759(D)Ljava/lang/Integer;named method_41763Lnet/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 aLeaq$b;a(Ljava/util/function/IntFunction;Ljava/util/function/ToIntFunction;)Leaq$d;intermediary method_41762Lnet/minecraft/class_7172$class_7174;method_41762(Ljava/util/function/IntFunction;Ljava/util/function/ToIntFunction;)Lnet/minecraft/class_7172$class_7176;named method_41762Lnet/minecraft/class_7172$class_7174;method_41762(Ljava/util/function/IntFunction;Ljava/util/function/ToIntFunction;)Lnet/minecraft/class_7172$class_7176;
-
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. -
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. -
equals
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 '=='. -
minInclusive
public int minInclusive()Returns the value of theminInclusiverecord component.- Returns:
- the value of the
minInclusiverecord component
-
maxInclusive
public int maxInclusive()Returns the value of themaxInclusiverecord component.- Returns:
- the value of the
maxInclusiverecord component
-