Record Class PotatoRefineryBlockEntity.JsonRecipe

java.lang.Object
java.lang.Record
net.minecraft.block.entity.PotatoRefineryBlockEntity.JsonRecipe
Record Components:
recipeHolder -
All Implemented Interfaces:
PotatoRefineryBlockEntity.Recipe
Enclosing class:
PotatoRefineryBlockEntity

private static record PotatoRefineryBlockEntity.JsonRecipe(RecipeEntry<PotatoRefinementRecipe> recipeHolder) extends Record implements PotatoRefineryBlockEntity.Recipe
Mappings:
Namespace Name
official drl$b
intermediary net/minecraft/class_9578$class_9580
named net/minecraft/block/entity/PotatoRefineryBlockEntity$JsonRecipe
official a
intermediary comp_2592
named recipeHolder
  • Field Details

  • Constructor Details

  • Method Details

    • craft

      public ItemStack craft(DynamicRegistryManager registryManager)
      Specified by:
      craft in interface PotatoRefineryBlockEntity.Recipe
      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 craft Lnet/minecraft/block/entity/PotatoRefineryBlockEntity$Recipe;craft(Lnet/minecraft/registry/DynamicRegistryManager;)Lnet/minecraft/item/ItemStack;
    • getRefinementTIme

      public int getRefinementTIme()
      Specified by:
      getRefinementTIme in interface PotatoRefineryBlockEntity.Recipe
      Mappings:
      Namespace Name Mixin selector
      official a Ldrl$d;a()I
      intermediary method_59208 Lnet/minecraft/class_9578$class_9582;method_59208()I
      named getRefinementTIme Lnet/minecraft/block/entity/PotatoRefineryBlockEntity$Recipe;getRefinementTIme()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<PotatoRefinementRecipe> recipeHolder()
      Returns the value of the recipeHolder record component.
      Returns:
      the value of the recipeHolder record component