Package net.minecraft
Record Class class_7172.class_7173<T>
java.lang.Object
java.lang.Record
net.minecraft.class_7172.class_7173<T>
- Record Components:
values-
- All Implemented Interfaces:
class_7172.class_7178<T>
- Enclosing class:
class_7172<T>
@Environment(CLIENT)
public static record class_7172.class_7173<T>(List<T> values)
extends Record
implements class_7172.class_7178<T>
- Mappings:
Namespace Name official eaq$aintermediary net/minecraft/class_7172$class_7173named net/minecraft/class_7172$class_7173official aintermediary comp_592named values
-
Field Summary
Fields -
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.method_41756(Option.TooltipFactory<T> tooltipFactory, GameOptions gameOptions, int int2, int int3, int int4) booleanmethod_41758(T t) final StringtoString()Returns a string representation of this record class.values()Returns the value of thevaluesrecord component.
-
Field Details
-
values
The field for thevaluesrecord component.
-
-
Constructor Details
-
class_7173
-
-
Method Details
-
method_41756
public Function<class_7172<T>,ClickableWidget> method_41756(Option.TooltipFactory<T> tooltipFactory, GameOptions gameOptions, int int2, int int3, int int4) - Specified by:
method_41756in interfaceclass_7172.class_7178<T>- 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<T>- Mappings:
Namespace Name Mixin selector official aLeaq$f;a(Ljava/lang/Object;)Zintermediary method_41758Lnet/minecraft/class_7172$class_7178;method_41758(Ljava/lang/Object;)Znamed method_41758Lnet/minecraft/class_7172$class_7178;method_41758(Ljava/lang/Object;)Z
-
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 withObjects::equals(Object,Object). -
values
Returns the value of thevaluesrecord component.- Returns:
- the value of the
valuesrecord component
-