Package net.minecraft
Record Class class_9578.class_9580
java.lang.Object
java.lang.Record
net.minecraft.class_9578.class_9580
- Record Components:
recipeHolder-
- All Implemented Interfaces:
class_9578.class_9582
- Enclosing class:
class_9578
private static record class_9578.class_9580(RecipeEntry<class_9542> recipeHolder)
extends Record
implements class_9578.class_9582
- Mappings:
Namespace Name official drl$bintermediary net/minecraft/class_9578$class_9580named net/minecraft/class_9578$class_9580official aintermediary comp_2592named recipeHolder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RecipeEntry<class_9542> The field for therecipeHolderrecord 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.intmethod_59209(DynamicRegistryManager dynamicRegistryManager) Returns the value of therecipeHolderrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
recipeHolder
The field for therecipeHolderrecord component.
-
-
Constructor Details
-
class_9580
class_9580(RecipeEntry<class_9542> recipeEntry)
-
-
Method Details
-
method_59209
- Specified by:
method_59209in interfaceclass_9578.class_9582- Mappings:
Namespace Name Mixin selector official aLdrl$d;a(Ljo;)Lcuh;intermediary method_59209Lnet/minecraft/class_9578$class_9582;method_59209(Lnet/minecraft/class_5455;)Lnet/minecraft/class_1799;named method_59209Lnet/minecraft/class_9578$class_9582;method_59209(Lnet/minecraft/registry/DynamicRegistryManager;)Lnet/minecraft/item/ItemStack;
-
method_59208
public int method_59208()- Specified by:
method_59208in interfaceclass_9578.class_9582- Mappings:
Namespace Name Mixin selector official aLdrl$d;a()Iintermediary method_59208Lnet/minecraft/class_9578$class_9582;method_59208()Inamed method_59208Lnet/minecraft/class_9578$class_9582;method_59208()I
-
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). -
recipeHolder
Returns the value of therecipeHolderrecord component.- Returns:
- the value of the
recipeHolderrecord component
-