Closed JuiceyBeans closed 2 weeks ago
No
A builder option that lets you add weighted outputs for recipes
.weightedOutput(ingredient, weight)
The ability to add bonus rolls, while not necessary, would be useful to have
Example:
ASSEMBLER_RECIPES.recipeBuilder("test_recipe") .inputItems(Items.DIRT) .weightedOutput(Items.SAND, 9) .weightedOutput(Items.DIAMOND, 1) .circuitMeta(1) .duration(200).EUt(VA[LV]).save(provider);
Would generate a recipe with 90% chance to output dirt and 10% chance to output a diamond
wait this is actually possible sorry
bro
do .chancedItemOutputLogic(ChanceLogic.XOR) and then add the outputs as normal
.chancedItemOutputLogic(ChanceLogic.XOR)
Do it support weights?
Cross-mod Integration
No
Feature Description
A builder option that lets you add weighted outputs for recipes
.weightedOutput(ingredient, weight)
The ability to add bonus rolls, while not necessary, would be useful to have
Example:
Would generate a recipe with 90% chance to output dirt and 10% chance to output a diamond