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$b
intermediary net/minecraft/class_9578$class_9580
named net/minecraft/class_9578$class_9580
official a
intermediary comp_2592
named recipeHolder
  • Field Details

  • Constructor Details

  • Method Details

    • method_59209

      public ItemStack method_59209(DynamicRegistryManager dynamicRegistryManager)
      Specified by:
      method_59209 in interface class_9578.class_9582
      Mappings:
      Namespace Name Mixin selector
      official a Ldrl$d;a(Ljo;)Lcuh;
      intermediary method_59209 Lnet/minecraft/class_9578$class_9582;method_59209(Lnet/minecraft/class_5455;)Lnet/minecraft/class_1799;
      named method_59209 Lnet/minecraft/class_9578$class_9582;method_59209(Lnet/minecraft/registry/DynamicRegistryManager;)Lnet/minecraft/item/ItemStack;
    • method_59208

      public int method_59208()
      Specified by:
      method_59208 in interface class_9578.class_9582
      Mappings:
      Namespace Name Mixin selector
      official a Ldrl$d;a()I
      intermediary method_59208 Lnet/minecraft/class_9578$class_9582;method_59208()I
      named method_59208 Lnet/minecraft/class_9578$class_9582;method_59208()I
    • 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.
    • recipeHolder

      public RecipeEntry<class_9542> recipeHolder()
      Returns the value of the recipeHolder record component.
      Returns:
      the value of the recipeHolder record component