Package net.minecraft
Record Class class_11839.class_11842
java.lang.Object
java.lang.Record
net.minecraft.class_11839.class_11842
- Record Components:
jsonRpcProtocolVersion-discoverInfo-methods-components-
- Enclosing class:
class_11839
public static record class_11839.class_11842(String jsonRpcProtocolVersion, class_11839.class_11841 discoverInfo, List<class_11817> methods, class_11839.class_11840 components)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_11839$class_11842intermediary net/minecraft/class_11839$class_11842official avb$cnamed jsonRpcProtocolVersionintermediary comp_4715official bnamed discoverInfointermediary comp_4716official cnamed methodsintermediary comp_4717official dnamed componentsintermediary comp_4718official e
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final class_11839.class_11840The field for thecomponentsrecord component.private final class_11839.class_11841The field for thediscoverInforecord component.static final com.mojang.serialization.MapCodec<class_11839.class_11842> private final StringThe field for thejsonRpcProtocolVersionrecord component.private final List<class_11817> The field for themethodsrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_11842(String string, class_11839.class_11841 class_11841, List<class_11817> list, class_11839.class_11840 class_11840) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecomponentsrecord component.Returns the value of thediscoverInforecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thejsonRpcProtocolVersionrecord component.methods()Returns the value of themethodsrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
jsonRpcProtocolVersion
The field for thejsonRpcProtocolVersionrecord component. -
discoverInfo
The field for thediscoverInforecord component. -
methods
The field for themethodsrecord component. -
components
The field for thecomponentsrecord component. -
field_62398
- Mappings:
Namespace Name Mixin selector named field_62398Lnet/minecraft/class_11839$class_11842;field_62398:Lcom/mojang/serialization/MapCodec;intermediary field_62398Lnet/minecraft/class_11839$class_11842;field_62398:Lcom/mojang/serialization/MapCodec;official aLavb$c;a:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
class_11842
public class_11842(String string, class_11839.class_11841 class_11841, List<class_11817> list, class_11839.class_11840 class_11840)
-
-
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). -
jsonRpcProtocolVersion
Returns the value of thejsonRpcProtocolVersionrecord component.- Returns:
- the value of the
jsonRpcProtocolVersionrecord component
-
discoverInfo
Returns the value of thediscoverInforecord component.- Returns:
- the value of the
discoverInforecord component
-
methods
Returns the value of themethodsrecord component.- Returns:
- the value of the
methodsrecord component
-
components
Returns the value of thecomponentsrecord component.- Returns:
- the value of the
componentsrecord component
-