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_11810intermediary net/minecraft/class_11808$class_11810official auc$bnamed methodInfointermediary comp_4668official anamed paramsCodecintermediary comp_4671official b
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.class_11808
class_11808.class_11809<Params,Result>, class_11808.class_11810<Params>, class_11808.class_11811<T extends class_11808<?, ?>>, class_11808.class_11812<Result>, class_11808.class_11813 -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final class_11817The field for themethodInforecord component.private final com.mojang.serialization.Codec<Params> The field for theparamsCodecrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_11810(class_11817 class_11817, com.mojang.serialization.Codec<Params> codec) -
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_73687(Params params) Returns the value of themethodInforecord component.com.mojang.serialization.Codec<Params> Returns the value of theparamsCodecrecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.class_11808
method_73682
-
Field Details
-
methodInfo
The field for themethodInforecord component. -
paramsCodec
The field for theparamsCodecrecord component.
-
-
Constructor Details
-
class_11810
-
-
Method Details
-
method_73687
- Specified by:
method_73687in interfaceclass_11808<Params,Void> - Mappings:
Namespace Name Mixin selector named method_73687Lnet/minecraft/class_11808;method_73687(Ljava/lang/Object;)Lcom/google/gson/JsonElement;intermediary method_73687Lnet/minecraft/class_11808;method_73687(Ljava/lang/Object;)Lcom/google/gson/JsonElement;official aLauc;a(Ljava/lang/Object;)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_11808<Params,Void> - Returns:
- the value of the
methodInforecord component
-
paramsCodec
Returns the value of theparamsCodecrecord component.- Returns:
- the value of the
paramsCodecrecord component
-