Package net.minecraft

Record Class class_11796.class_11799<Result>

java.lang.Object
java.lang.Record
net.minecraft.class_11796.class_11799<Result>
Record Components:
methodInfo -
resultCodec -
supplier -
All Implemented Interfaces:
class_11796
Enclosing interface:
class_11796

public static record class_11796.class_11799<Result>(class_11817 methodInfo, com.mojang.serialization.Codec<Result> resultCodec, class_11796.class_11800<Result> supplier) extends Record implements class_11796
Mappings:
Namespace Name
named net/minecraft/class_11796$class_11799
intermediary net/minecraft/class_11796$class_11799
official atv$c
named methodInfo
intermediary comp_4662
official a
named resultCodec
intermediary comp_4666
official b
named supplier
intermediary comp_4667
official c
  • Field Details

  • Constructor Details

  • Method Details

    • method_73621

      public JsonElement method_73621(class_11827 class_11827, @Nullable @Nullable JsonElement jsonElement, class_11838 class_11838)
      Specified by:
      method_73621 in interface class_11796
      Mappings:
      Namespace Name Mixin selector
      named method_73621 Lnet/minecraft/class_11796;method_73621(Lnet/minecraft/class_11827;Lcom/google/gson/JsonElement;Lnet/minecraft/class_11838;)Lcom/google/gson/JsonElement;
      intermediary method_73621 Lnet/minecraft/class_11796;method_73621(Lnet/minecraft/class_11827;Lcom/google/gson/JsonElement;Lnet/minecraft/class_11838;)Lcom/google/gson/JsonElement;
      official a Latv;a(Lauq;Lcom/google/gson/JsonElement;Lava;)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_11796
      Returns:
      the value of the methodInfo record component
    • resultCodec

      public com.mojang.serialization.Codec<Result> resultCodec()
      Returns the value of the resultCodec record component.
      Returns:
      the value of the resultCodec record component
    • supplier

      public class_11796.class_11800<Result> supplier()
      Returns the value of the supplier record component.
      Returns:
      the value of the supplier record component