Skip to content

Commit

Permalink
dev: addIgnemOrechid function
Browse files Browse the repository at this point in the history
  • Loading branch information
Yarden-zamir committed Nov 1, 2024
1 parent b75d1dd commit bea198c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions kubejs/server_scripts/base/recipe_managers/botania.manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,21 @@ function addPurify(output, input, time) {
time: time
});
}
/**
* @param {block} output
* @param {block} input
* @param {number} time amount of time in ticks default(150)
*/
function addIgnemOrechid(output, input, time, weight) {
weight = weight || 1
time = time || 30
modpackRecipes.push({
type: 'botania:orechid_ignem',
input: solveStateIngredient(input),
output: solveStateIngredient(output),
weight: weight
});
}
/**
* @param {result[]} outputs
* @param {ingredient[]} inputs
Expand Down

0 comments on commit bea198c

Please sign in to comment.