Package net.minecraft

Record Class class_11808.class_11810<Params>

java.lang.Object
java.lang.Record
net.minecraft.class_11808.class_11810<Params>
Record Components:
methodInfo -
paramsCodec -
All Implemented Interfaces:
class_11808<Params,Void>
Enclosing interface:
class_11808<Params,Result>

public static record class_11808.class_11810<Params>(class_11817 methodInfo, com.mojang.serialization.Codec<Params> paramsCodec) extends Record implements class_11808<Params,Void>
Mappings:
Namespace Name
named net/minecraft/class_11808$class_11810
intermediary net/minecraft/class_11808$class_11810
official auc$b
named methodInfo
intermediary comp_4668
official a
named paramsCodec
intermediary comp_4671
official b
  • Field Details

    • methodInfo

      private final class_11817 methodInfo
      The field for the methodInfo record component.
    • paramsCodec

      private final com.mojang.serialization.Codec<Params> paramsCodec
      The field for the paramsCodec record component.
  • Constructor Details

    • class_11810

      public class_11810(class_11817 class_11817, com.mojang.serialization.Codec<Params> codec)
  • Method Details

    • method_73687

      @Nullable public @Nullable JsonElement method_73687(Params params)
      Specified by:
      method_73687 in interface class_11808<Params,Void>
      Mappings:
      Namespace Name Mixin selector
      named method_73687 Lnet/minecraft/class_11808;method_73687(Ljava/lang/Object;)Lcom/google/gson/JsonElement;
      intermediary method_73687 Lnet/minecraft/class_11808;method_73687(Ljava/lang/Object;)Lcom/google/gson/JsonElement;
      official a Lauc;a(Ljava/lang/Object;)Lcom/google/gson/JsonElement;
    • 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.
    • methodInfo

      public class_11817 methodInfo()
      Returns the value of the methodInfo record component.
      Specified by:
      methodInfo in interface class_11808<Params,Void>
      Returns:
      the value of the methodInfo record component
    • paramsCodec

      public com.mojang.serialization.Codec<Params> paramsCodec()
      Returns the value of the paramsCodec record component.
      Returns:
      the value of the paramsCodec record component