Package net.minecraft
Record Class class_11816
java.lang.Object
java.lang.Record
net.minecraft.class_11816
- Record Components:
reference-type-items-enumValues-
public record class_11816(Optional<String> reference, Optional<String> type, Optional<class_11823> items, Optional<List<String>> enumValues)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_11816intermediary net/minecraft/class_11816official aufnamed referenceintermediary comp_4676official bnamed typeintermediary comp_4677official cnamed itemsintermediary comp_4678official dnamed enumValuesintermediary comp_4679official e
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe field for theenumValuesrecord component.static final com.mojang.serialization.MapCodec<class_11816> private final Optional<class_11823> The field for theitemsrecord component.The field for thereferencerecord component.The field for thetyperecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_11816(Optional<String> optional, Optional<String> optional2, Optional<class_11823> optional3, Optional<List<String>> optional4) -
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.items()Returns the value of theitemsrecord component.static class_11816method_73699(class_11823 class_11823) static class_11816method_73701(String string) static class_11816method_73702(List<String> list) static class_11816method_73703(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. -
items
The field for theitemsrecord component. -
enumValues
The field for theenumValuesrecord component. -
field_62341
- Mappings:
Namespace Name Mixin selector named field_62341Lnet/minecraft/class_11816;field_62341:Lcom/mojang/serialization/MapCodec;intermediary field_62341Lnet/minecraft/class_11816;field_62341:Lcom/mojang/serialization/MapCodec;official aLauf;a:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
class_11816
-
-
Method Details
-
method_73701
- Mappings:
Namespace Name Mixin selector named method_73701Lnet/minecraft/class_11816;method_73701(Ljava/lang/String;)Lnet/minecraft/class_11816;intermediary method_73701Lnet/minecraft/class_11816;method_73701(Ljava/lang/String;)Lnet/minecraft/class_11816;official aLauf;a(Ljava/lang/String;)Lauf;
-
method_73703
- Mappings:
Namespace Name Mixin selector named method_73703Lnet/minecraft/class_11816;method_73703(Ljava/lang/String;)Lnet/minecraft/class_11816;intermediary method_73703Lnet/minecraft/class_11816;method_73703(Ljava/lang/String;)Lnet/minecraft/class_11816;official bLauf;b(Ljava/lang/String;)Lauf;
-
method_73702
- Mappings:
Namespace Name Mixin selector named method_73702Lnet/minecraft/class_11816;method_73702(Ljava/util/List;)Lnet/minecraft/class_11816;intermediary method_73702Lnet/minecraft/class_11816;method_73702(Ljava/util/List;)Lnet/minecraft/class_11816;official aLauf;a(Ljava/util/List;)Lauf;
-
method_73699
- Mappings:
Namespace Name Mixin selector named method_73699Lnet/minecraft/class_11816;method_73699(Lnet/minecraft/class_11823;)Lnet/minecraft/class_11816;intermediary method_73699Lnet/minecraft/class_11816;method_73699(Lnet/minecraft/class_11823;)Lnet/minecraft/class_11816;official aLauf;a(Laum;)Lauf;
-
method_73698
- Mappings:
Namespace Name Mixin selector named method_73698Lnet/minecraft/class_11816;method_73698()Lnet/minecraft/class_11816;intermediary method_73698Lnet/minecraft/class_11816;method_73698()Lnet/minecraft/class_11816;official aLauf;a()Lauf;
-
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
-
items
Returns the value of theitemsrecord component.- Returns:
- the value of the
itemsrecord component
-
enumValues
Returns the value of theenumValuesrecord component.- Returns:
- the value of the
enumValuesrecord component
-