Package com.github.darksoulq.ner.model
Class ParsedRecipeView.Builder
java.lang.Object
com.github.darksoulq.ner.model.ParsedRecipeView.Builder
- Enclosing class:
ParsedRecipeView
-
Constructor Summary
ConstructorsConstructorDescriptionBuilder(com.github.darksoulq.abyssallib.server.resource.asset.Font.TextureGlyph texture, int offset, org.bukkit.inventory.ItemStack provider) -
Method Summary
Modifier and TypeMethodDescriptionaddSection(PagedSection section) addStage(RecipeStage stage) build()probability(List<org.bukkit.inventory.ItemStack> items, float chance) probability(List<org.bukkit.inventory.ItemStack> items, String expression) probability(org.bukkit.inventory.ItemStack item, float chance) probability(org.bukkit.inventory.ItemStack item, String expression) set(int slot, org.bukkit.inventory.ItemStack item) setChoice(int slot, org.bukkit.inventory.RecipeChoice choice)
-
Constructor Details
-
Builder
public Builder(com.github.darksoulq.abyssallib.server.resource.asset.Font.TextureGlyph texture, int offset, org.bukkit.inventory.ItemStack provider)
-
-
Method Details
-
set
-
set
-
setChoice
-
probability
-
probability
-
probability
public ParsedRecipeView.Builder probability(List<org.bukkit.inventory.ItemStack> items, String expression) -
probability
public ParsedRecipeView.Builder probability(List<org.bukkit.inventory.ItemStack> items, float chance) -
addSection
-
addStage
-
build
-