recipes & more
This commit is contained in:
@@ -8,26 +8,40 @@ ServerEvents.recipes(event => {
|
||||
|
||||
|
||||
|
||||
let inter = 'kubejs:incomplete_netherstar' // making a variable to store the transitional item makes the code more readable
|
||||
let inter = 'kubejs:incomplete_netherstar'
|
||||
event.recipes.create.sequenced_assembly([
|
||||
Item.of('nether_star'), // this is the item that will appear in JEI as the result
|
||||
], 'prismarine_shard', [ // 'flowering_azalea_leaves' is the input
|
||||
// the transitional item is a variable, that is 'kubejs:incomplete_spore_blossom' and is used during the intermediate stages of the assembly
|
||||
Item.of('nether_star'),
|
||||
], 'prismarine_shard', [
|
||||
event.recipes.createPressing(inter, inter),
|
||||
// like a normal recipe function, is used as a sequence step in this array. Input and output have the transitional item
|
||||
event.recipes.createFilling(inter, [inter, Fluid.water(420)]),
|
||||
event.recipes.createPressing(inter, inter),
|
||||
event.recipes.createFilling(inter, [inter, Fluid.of('create_enchantment_industry:experience', 250)]),
|
||||
]).transitionalItem(inter).loops(8) // set the transitional item and the number of loops
|
||||
]).transitionalItem(inter).loops(8)
|
||||
|
||||
let interPainting = 'minecraft:painting' // making a variable to store the transitional item makes the code more readable
|
||||
let interPainting = 'minecraft:painting'
|
||||
event.recipes.create.sequenced_assembly([
|
||||
Item.of('dimpaintings:end_painting'), // this is the item that will appear in JEI as the result
|
||||
], interPainting, [ // 'flowering_azalea_leaves' is the input
|
||||
// the transitional item is a variable, that is 'kubejs:incomplete_spore_blossom' and is used during the intermediate stages of the assembly
|
||||
Item.of('dimpaintings:end_painting'),
|
||||
], interPainting, [
|
||||
event.recipes.createPressing(inter, inter),
|
||||
event.recipes.createPressing(inter, inter),
|
||||
// like a normal recipe function, is used as a sequence step in this array. Input and output have the transitional item
|
||||
event.recipes.createFilling(inter, [inter, Fluid.of('create_enchantment_industry:experience', 1000)]),
|
||||
]).transitionalItem(inter).loops(1) // set the transitional item and the number of loops
|
||||
})
|
||||
]).transitionalItem(inter).loops(1)
|
||||
|
||||
|
||||
event.recipes.createPressing('kubejs:blank_processor', "#forge:silicon")
|
||||
|
||||
RefinedAssemply(event, 'kubejs:basic_incomplete_processor','kubejs:blank_processor' ,'refinedstorage:basic_processor', 'minecraft:iron_nugget')
|
||||
RefinedAssemply(event, 'kubejs:improved_incomplete_processor','kubejs:blank_processor' ,'refinedstorage:improved_processor', 'minecraft:gold_nugget')
|
||||
RefinedAssemply(event, 'kubejs:advanced_incomplete_processor','kubejs:blank_processor' ,'refinedstorage:advanced_processor', 'minecraft:diamond')
|
||||
})
|
||||
|
||||
RefinedAssemply = (event, inter, input, output, oreStepItem) => {
|
||||
event.recipes.create.sequenced_assembly([
|
||||
Item.of(output),
|
||||
], input, [
|
||||
event.recipes.createFilling(inter, [inter, Fluid.of('kubejs:super_glue', 50)]),
|
||||
event.recipes.createDeploying(inter, [inter, oreStepItem]),
|
||||
event.recipes.createDeploying(inter, [inter, 'minecraft:redstone']),
|
||||
event.recipes.createPressing(inter, inter),
|
||||
]).transitionalItem(inter).loops(1)
|
||||
}
|
||||
Reference in New Issue
Block a user