Record Class ParsedRecipeView
java.lang.Object
java.lang.Record
com.github.darksoulq.ner.model.ParsedRecipeView
public record ParsedRecipeView(List<RecipeStage> stages, org.bukkit.inventory.ItemStack provider)
extends Record
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionParsedRecipeView(List<RecipeStage> stages, org.bukkit.inventory.ItemStack provider) Creates an instance of aParsedRecipeViewrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic ParsedRecipeView.Builderbuilder(com.github.darksoulq.abyssallib.server.resource.asset.Font.TextureGlyph texture, int offset, org.bukkit.inventory.ItemStack provider) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.org.bukkit.inventory.ItemStackprovider()Returns the value of theproviderrecord component.stages()Returns the value of thestagesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ParsedRecipeView
Creates an instance of aParsedRecipeViewrecord class.- Parameters:
stages- the value for thestagesrecord componentprovider- the value for theproviderrecord component
-
-
Method Details
-
builder
public static ParsedRecipeView.Builder builder(com.github.darksoulq.abyssallib.server.resource.asset.Font.TextureGlyph texture, int offset, org.bukkit.inventory.ItemStack provider) -
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). -
stages
Returns the value of thestagesrecord component.- Returns:
- the value of the
stagesrecord component
-
provider
public org.bukkit.inventory.ItemStack provider()Returns the value of theproviderrecord component.- Returns:
- the value of the
providerrecord component
-