Package net.minecraft

Record Class class_7479.class_7480

java.lang.Object
java.lang.Record
net.minecraft.class_7479.class_7480
Record Components:
id -
query -
Enclosing class:
class_7479

@Environment(CLIENT) private static record class_7479.class_7480(int id, String query) extends Record
Mappings:
Namespace Name
official efo$a
intermediary net/minecraft/class_7479$class_7480
named net/minecraft/class_7479$class_7480
official a
intermediary comp_824
named id
official b
intermediary comp_825
named query
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final int
    The field for the id record component.
    private final String
    The field for the query record component.
  • Constructor Summary

    Constructors
    Constructor
    Description
    class_7480(int int2, String string)
     
  • 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.
    int
    id()
    Returns the value of the id record component.
    boolean
    method_44043(int int2)
     
    boolean
     
    Returns the value of the query record component.
    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

    • id

      private final int id
      The field for the id record component.
    • query

      private final String query
      The field for the query record component.
  • Constructor Details

    • class_7480

      class_7480(int int2, String string)
  • Method Details

    • method_44043

      public boolean method_44043(int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Lefo$a;a(I)Z
      intermediary method_44043 Lnet/minecraft/class_7479$class_7480;method_44043(I)Z
      named method_44043 Lnet/minecraft/class_7479$class_7480;method_44043(I)Z
    • method_44044

      public boolean method_44044(String string)
      Mappings:
      Namespace Name Mixin selector
      official a Lefo$a;a(Ljava/lang/String;)Z
      intermediary method_44044 Lnet/minecraft/class_7479$class_7480;method_44044(Ljava/lang/String;)Z
      named method_44044 Lnet/minecraft/class_7479$class_7480;method_44044(Ljava/lang/String;)Z
    • 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      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.
    • id

      public int id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • query

      public String query()
      Returns the value of the query record component.
      Returns:
      the value of the query record component