Record Class RpcItemSchema
java.lang.Object
java.lang.Record
net.minecraft.server.dedicated.management.schema.RpcItemSchema
- Record Components:
reference-type-items-enumValues-
public record RpcItemSchema(Optional<String> reference, Optional<String> type, Optional<class_11823> items, Optional<List<String>> enumValues)
extends Record
- Mappings:
Namespace Name named net/minecraft/server/dedicated/management/schema/RpcItemSchemaintermediary 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 TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<RpcItemSchema> The field for theenumValuesrecord component.private final Optional<class_11823> The field for theitemsrecord component.The field for thereferencerecord component.The field for thetyperecord component. -
Constructor Summary
ConstructorsConstructorDescriptionRpcItemSchema(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 RpcItemSchemamethod_73699(class_11823 class_11823) static RpcItemSchemamethod_73701(String string) static RpcItemSchemamethod_73702(List<String> list) static RpcItemSchemamethod_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. -
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/server/dedicated/management/schema/RpcItemSchema;CODEC: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
-
RpcItemSchema
-
-
Method Details
-
method_73701
- Mappings:
Namespace Name Mixin selector named method_73701Lnet/minecraft/server/dedicated/management/schema/RpcItemSchema;method_73701(Ljava/lang/String;)Lnet/minecraft/server/dedicated/management/schema/RpcItemSchema;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/server/dedicated/management/schema/RpcItemSchema;method_73703(Ljava/lang/String;)Lnet/minecraft/server/dedicated/management/schema/RpcItemSchema;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/server/dedicated/management/schema/RpcItemSchema;method_73702(Ljava/util/List;)Lnet/minecraft/server/dedicated/management/schema/RpcItemSchema;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/server/dedicated/management/schema/RpcItemSchema;method_73699(Lnet/minecraft/class_11823;)Lnet/minecraft/server/dedicated/management/schema/RpcItemSchema;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/server/dedicated/management/schema/RpcItemSchema;method_73698()Lnet/minecraft/server/dedicated/management/schema/RpcItemSchema;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
-