Package net.minecraft
Record Class class_11823
java.lang.Object
java.lang.Record
net.minecraft.class_11823
- Record Components:
reference-type-enumValues-
public record class_11823(Optional<String> reference, Optional<String> type, Optional<List<String>> enumValues)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_11823intermediary net/minecraft/class_11823official aumnamed referenceintermediary comp_4700official bnamed typeintermediary comp_4701official cnamed enumValuesintermediary comp_4702official d
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe field for theenumValuesrecord component.static final com.mojang.serialization.MapCodec<class_11823> The field for thereferencerecord component.The field for thetyperecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theenumValuesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static class_11823method_73730(String string) static class_11823method_73731(String string) Returns the value of thereferencerecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Field Details
-
reference
The field for thereferencerecord component. -
type
The field for thetyperecord component. -
enumValues
The field for theenumValuesrecord component. -
field_62369
- Mappings:
Namespace Name Mixin selector named field_62369Lnet/minecraft/class_11823;field_62369:Lcom/mojang/serialization/MapCodec;intermediary field_62369Lnet/minecraft/class_11823;field_62369:Lcom/mojang/serialization/MapCodec;official aLaum;a:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
class_11823
-
-
Method Details
-
method_73730
- Mappings:
Namespace Name Mixin selector named method_73730Lnet/minecraft/class_11823;method_73730(Ljava/lang/String;)Lnet/minecraft/class_11823;intermediary method_73730Lnet/minecraft/class_11823;method_73730(Ljava/lang/String;)Lnet/minecraft/class_11823;official aLaum;a(Ljava/lang/String;)Laum;
-
method_73731
- Mappings:
Namespace Name Mixin selector named method_73731Lnet/minecraft/class_11823;method_73731(Ljava/lang/String;)Lnet/minecraft/class_11823;intermediary method_73731Lnet/minecraft/class_11823;method_73731(Ljava/lang/String;)Lnet/minecraft/class_11823;official bLaum;b(Ljava/lang/String;)Laum;
-
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). -
reference
Returns the value of thereferencerecord component.- Returns:
- the value of the
referencerecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
enumValues
Returns the value of theenumValuesrecord component.- Returns:
- the value of the
enumValuesrecord component
-