Package net.minecraft
Record Class class_10107.class_10108
java.lang.Object
java.lang.Record
net.minecraft.class_10107.class_10108
- Record Components:
format-entry-
- Enclosing class:
class_10107
private static record class_10107.class_10108(class_10107.class_10110 format, class_10107.class_10109 entry)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_10107$class_10108intermediary net/minecraft/class_10107$class_10108official mr$anamed formatintermediary comp_3069official bnamed entryintermediary comp_3070official c
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final class_10107.class_10109The field for theentryrecord component.static final com.mojang.serialization.Codec<class_10107.class_10108> private final class_10107.class_10110The field for theformatrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_10108(class_10107.class_10110 class_10110, class_10107.class_10109 class_10109) -
Method Summary
Modifier and TypeMethodDescriptionentry()Returns the value of theentryrecord component.final booleanIndicates whether some other object is "equal to" this one.format()Returns the value of theformatrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
format
The field for theformatrecord component. -
entry
The field for theentryrecord component. -
field_53705
- Mappings:
Namespace Name Mixin selector named field_53705Lnet/minecraft/class_10107$class_10108;field_53705:Lcom/mojang/serialization/Codec;intermediary field_53705Lnet/minecraft/class_10107$class_10108;field_53705:Lcom/mojang/serialization/Codec;official aLmr$a;a:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_10108
class_10108(class_10107.class_10110 class_10110, class_10107.class_10109 class_10109)
-
-
Method Details
-
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). -
format
Returns the value of theformatrecord component.- Returns:
- the value of the
formatrecord component
-
entry
Returns the value of theentryrecord component.- Returns:
- the value of the
entryrecord component
-