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_11842
intermediary net/minecraft/class_11839$class_11842
official avb$c
named jsonRpcProtocolVersion
intermediary comp_4715
official b
named discoverInfo
intermediary comp_4716
official c
named methods
intermediary comp_4717
official d
named components
intermediary comp_4718
official e
  • Field Details

    • jsonRpcProtocolVersion

      private final String jsonRpcProtocolVersion
      The field for the jsonRpcProtocolVersion record component.
    • discoverInfo

      private final class_11839.class_11841 discoverInfo
      The field for the discoverInfo record component.
    • methods

      private final List<class_11817> methods
      The field for the methods record component.
    • components

      private final class_11839.class_11840 components
      The field for the components record component.
    • field_62398

      public static final com.mojang.serialization.MapCodec<class_11839.class_11842> field_62398
      Mappings:
      Namespace Name Mixin selector
      named field_62398 Lnet/minecraft/class_11839$class_11842;field_62398:Lcom/mojang/serialization/MapCodec;
      intermediary field_62398 Lnet/minecraft/class_11839$class_11842;field_62398:Lcom/mojang/serialization/MapCodec;
      official a Lavb$c;a:Lcom/mojang/serialization/MapCodec;
  • Constructor Details

  • Method Details

    • toString

      public final 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • jsonRpcProtocolVersion

      public String jsonRpcProtocolVersion()
      Returns the value of the jsonRpcProtocolVersion record component.
      Returns:
      the value of the jsonRpcProtocolVersion record component
    • discoverInfo

      public class_11839.class_11841 discoverInfo()
      Returns the value of the discoverInfo record component.
      Returns:
      the value of the discoverInfo record component
    • methods

      public List<class_11817> methods()
      Returns the value of the methods record component.
      Returns:
      the value of the methods record component
    • components

      public class_11839.class_11840 components()
      Returns the value of the components record component.
      Returns:
      the value of the components record component