Package net.minecraft.dialog.submit
Record Class CustomFormSubmitMethod
java.lang.Object
java.lang.Record
net.minecraft.dialog.submit.CustomFormSubmitMethod
- Record Components:
id-
- All Implemented Interfaces:
CustomSubmitMethod,SubmitMethod
- Mappings:
Namespace Name named net/minecraft/dialog/submit/CustomFormSubmitMethodintermediary net/minecraft/class_11448official assnamed idintermediary comp_4356official c
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<CustomFormSubmitMethod> private static final Escaperprivate final IdentifierThe field for theidrecord component.private static final charprivate static final char -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.com.mojang.serialization.MapCodec<CustomFormSubmitMethod> getCodec()getSentValue(Map<String, String> data) final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
id
The field for theidrecord component. -
NEW_LINE_CHARACTER
private static final char NEW_LINE_CHARACTER- See Also:
- Mappings:
Namespace Name Mixin selector named NEW_LINE_CHARACTERLnet/minecraft/dialog/submit/CustomFormSubmitMethod;NEW_LINE_CHARACTER:Cintermediary field_60653Lnet/minecraft/class_11448;field_60653:Cofficial dLass;d:C
-
TAB_CHARACTER
private static final char TAB_CHARACTER- See Also:
- Mappings:
Namespace Name Mixin selector named TAB_CHARACTERLnet/minecraft/dialog/submit/CustomFormSubmitMethod;TAB_CHARACTER:Cintermediary field_60654Lnet/minecraft/class_11448;field_60654:Cofficial eLass;e:C
-
ESCAPER
- Mappings:
Namespace Name Mixin selector named ESCAPERLnet/minecraft/dialog/submit/CustomFormSubmitMethod;ESCAPER:Lcom/google/common/escape/Escaper;intermediary field_60655Lnet/minecraft/class_11448;field_60655:Lcom/google/common/escape/Escaper;official fLass;f:Lcom/google/common/escape/Escaper;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/dialog/submit/CustomFormSubmitMethod;CODEC:Lcom/mojang/serialization/MapCodec;intermediary field_60652Lnet/minecraft/class_11448;field_60652:Lcom/mojang/serialization/MapCodec;official aLass;a:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
CustomFormSubmitMethod
-
-
Method Details
-
getCodec
- Specified by:
getCodecin interfaceCustomSubmitMethod- Specified by:
getCodecin interfaceSubmitMethod- Mappings:
Namespace Name Mixin selector named getCodecLnet/minecraft/dialog/submit/SubmitMethod;getCodec()Lcom/mojang/serialization/MapCodec;intermediary method_71738Lnet/minecraft/class_11452;method_71738()Lcom/mojang/serialization/MapCodec;official aLasw;a()Lcom/mojang/serialization/MapCodec;
-
getSentValue
- Specified by:
getSentValuein interfaceCustomSubmitMethod- Mappings:
Namespace Name Mixin selector named getSentValueLnet/minecraft/dialog/submit/CustomSubmitMethod;getSentValue(Ljava/util/Map;)Ljava/lang/String;intermediary method_71742Lnet/minecraft/class_11449;method_71742(Ljava/util/Map;)Ljava/lang/String;official aLast;a(Ljava/util/Map;)Ljava/lang/String;
-
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). -
id
Returns the value of theidrecord component.- Specified by:
idin interfaceCustomSubmitMethod- Returns:
- the value of the
idrecord component
-