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_11799intermediary net/minecraft/class_11796$class_11799official atv$cnamed methodInfointermediary comp_4662official anamed resultCodecintermediary comp_4666official bnamed supplierintermediary comp_4667official c
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.class_11796
class_11796.class_11797<T extends class_11796>, class_11796.class_11798<Params,Result>, class_11796.class_11799<Result>, class_11796.class_11800<Result>, class_11796.class_11801<Params, Result> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final class_11817The field for themethodInforecord component.private final com.mojang.serialization.Codec<Result> The field for theresultCodecrecord component.private final class_11796.class_11800<Result> The field for thesupplierrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_11799(class_11817 class_11817, com.mojang.serialization.Codec<Result> codec, class_11796.class_11800<Result> class_11800) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.method_73621(class_11827 class_11827, @Nullable JsonElement jsonElement, class_11838 class_11838) Returns the value of themethodInforecord component.com.mojang.serialization.Codec<Result> Returns the value of theresultCodecrecord component.supplier()Returns the value of thesupplierrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
methodInfo
The field for themethodInforecord component. -
resultCodec
The field for theresultCodecrecord component. -
supplier
The field for thesupplierrecord component.
-
-
Constructor Details
-
class_11799
public class_11799(class_11817 class_11817, com.mojang.serialization.Codec<Result> codec, class_11796.class_11800<Result> class_11800)
-
-
Method Details
-
method_73621
public JsonElement method_73621(class_11827 class_11827, @Nullable @Nullable JsonElement jsonElement, class_11838 class_11838) - Specified by:
method_73621in interfaceclass_11796- Mappings:
Namespace Name Mixin selector named method_73621Lnet/minecraft/class_11796;method_73621(Lnet/minecraft/class_11827;Lcom/google/gson/JsonElement;Lnet/minecraft/class_11838;)Lcom/google/gson/JsonElement;intermediary method_73621Lnet/minecraft/class_11796;method_73621(Lnet/minecraft/class_11827;Lcom/google/gson/JsonElement;Lnet/minecraft/class_11838;)Lcom/google/gson/JsonElement;official aLatv;a(Lauq;Lcom/google/gson/JsonElement;Lava;)Lcom/google/gson/JsonElement;
-
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. -
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. -
equals
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 withObjects::equals(Object,Object). -
methodInfo
Returns the value of themethodInforecord component.- Specified by:
methodInfoin interfaceclass_11796- Returns:
- the value of the
methodInforecord component
-
resultCodec
Returns the value of theresultCodecrecord component.- Returns:
- the value of the
resultCodecrecord component
-
supplier
Returns the value of thesupplierrecord component.- Returns:
- the value of the
supplierrecord component
-