Record Class Ops

java.lang.Object
java.lang.Record
net.minecraft.client.realms.dto.Ops
Record Components:
ops -

@Environment(CLIENT) public record Ops(Set<String> ops) extends Record
Mappings:
Namespace Name
named net/minecraft/client/realms/dto/Ops
intermediary net/minecraft/class_4870
official fyg
named ops
intermediary comp_4998
official a
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final Logger
     
    private final Set<String>
    The field for the ops record component.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Ops(Set<String> ops)
    Creates an instance of a Ops record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    final boolean
    equals(Object object)
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    ops()
    Returns the value of the ops record component.
    static Ops
    parse(String json)
     
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • ops

      private final Set<String> ops
      The field for the ops record component.
    • field_63456

      private static final Logger field_63456
      Mappings:
      Namespace Name Mixin selector
      named field_63456 Lnet/minecraft/client/realms/dto/Ops;field_63456:Lorg/slf4j/Logger;
      intermediary field_63456 Lnet/minecraft/class_4870;field_63456:Lorg/slf4j/Logger;
      official b Lfyg;b:Lorg/slf4j/Logger;
  • Constructor Details

    • Ops

      public Ops(Set<String> ops)
      Creates an instance of a Ops record class.
      Parameters:
      ops - the value for the ops record component
  • Method Details

    • parse

      public static Ops parse(String json)
      Mappings:
      Namespace Name Mixin selector
      named parse Lnet/minecraft/client/realms/dto/Ops;parse(Ljava/lang/String;)Lnet/minecraft/client/realms/dto/Ops;
      intermediary method_25039 Lnet/minecraft/class_4870;method_25039(Ljava/lang/String;)Lnet/minecraft/class_4870;
      official a Lfyg;a(Ljava/lang/String;)Lfyg;
    • 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.
    • ops

      public Set<String> ops()
      Returns the value of the ops record component.
      Returns:
      the value of the ops record component