Record Class SellingBinCurrencyJeiRecipe.Recipe
java.lang.Object
java.lang.Record
com.wdiscute.sellingbin.jei.SellingBinCurrencyJeiRecipe.Recipe
- Enclosing class:
SellingBinCurrencyJeiRecipe
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final mezz.jei.api.recipe.types.IRecipeType<SellingBinCurrencyJeiRecipe.Recipe> -
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.net.minecraft.world.item.Itemitem()Returns the value of theitemrecord component.Returns the value of theitemValuerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
TYPE
-
-
Constructor Details
-
Recipe
Creates an instance of aReciperecord class.- Parameters:
item- the value for theitemrecord componentitemValue- the value for theitemValuerecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
item
public net.minecraft.world.item.Item item()Returns the value of theitemrecord component.- Returns:
- the value of the
itemrecord component
-
itemValue
Returns the value of theitemValuerecord component.- Returns:
- the value of the
itemValuerecord component
-