Package net.minecraft
Record Class class_10291.class_10292<T extends Recipe<?>>
java.lang.Object
java.lang.Record
net.minecraft.class_10291.class_10292<T>
- Record Components:
input-recipe-
- Enclosing class:
class_10291<T extends Recipe<?>>
public static record class_10291.class_10292<T extends Recipe<?>>(Ingredient input, class_10291<T extends Recipe<?>> recipe)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_10291$class_10292intermediary net/minecraft/class_10291$class_10292official dcl$anamed inputintermediary comp_3253official anamed recipeintermediary comp_3254official b
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final IngredientThe field for theinputrecord component.private final class_10291<T> The field for thereciperecord component. -
Constructor Summary
Constructors -
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.input()Returns the value of theinputrecord component.static <T extends Recipe<?>>
PacketCodec<RegistryByteBuf, class_10291.class_10292<T>> recipe()Returns the value of thereciperecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
class_10292
-
-
Method Details
-
method_64709
public static <T extends Recipe<?>> PacketCodec<RegistryByteBuf,class_10291.class_10292<T>> method_64709()- Mappings:
Namespace Name Mixin selector named method_64709Lnet/minecraft/class_10291$class_10292;method_64709()Lnet/minecraft/network/codec/PacketCodec;intermediary method_64709Lnet/minecraft/class_10291$class_10292;method_64709()Lnet/minecraft/class_9139;official aLdcl$a;a()Lzt;
-
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). -
input
Returns the value of theinputrecord component.- Returns:
- the value of the
inputrecord component
-
recipe
Returns the value of thereciperecord component.- Returns:
- the value of the
reciperecord component
-