recipes & more

This commit is contained in:
2024-09-15 14:58:52 +02:00
parent c62597984d
commit 3f4d5c95ac
25 changed files with 150 additions and 86 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 505 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 461 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 429 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 511 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 299 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 276 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -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)
}

View File

@@ -0,0 +1,16 @@
ServerEvents.recipes(event => {
event.recipes.enderio.sag_milling(["createsifter:dust"], "sand")
.energy(500)
.bonus(EnderIOBonusType.CHANCE_ONLY);
event.recipes.enderio.sag_milling(["createsifter:crushed_end_stone"], "end_stone")
.energy(500)
.bonus(EnderIOBonusType.CHANCE_ONLY);
event.recipes.enderio.alloy_smelting(
Item.of("create:brass_ingot"),
[Ingredient.of("minecraft:copper_ingot"), "create:zinc_ingot"]
).energy(10000);//.experience(3);
})

View File

@@ -47,6 +47,8 @@ event.recipes.melterMelting(Fluid.of('minecraft:lava', 1000),"minecraft:obsidian
event.recipes.melterMelting(Fluid.of('create:honey', 1000),"minecraft:honey_block").processingTime(200);
event.recipes.melterMelting(Fluid.of('minecraft:lava', 500),"#forge:stone").processingTime(200);
event.recipes.melterMelting(Fluid.of('kubejs:super_glue', 250),"#forge:slimeballs").processingTime(200);
event.remove({ output: 'dimpaintings:end_painting' })

View File

@@ -0,0 +1,7 @@
StartupEvents.registry('fluid', event => {
// Basic "thick" (looks like lava) fluid with red tint
event.create('super_glue')
.thickTexture(0x34eb61)
.bucketColor(0x34eb61)
.displayName('Thick Fluid')
})

View File

@@ -1,11 +1,18 @@
StartupEvents.registry("item", (event) => {
event.create("incomplete_netherstar", "create:sequenced_assembly");
event.create("blank_processor");
event.create("basic_incomplete_processor", "create:sequenced_assembly");
event.create("improved_incomplete_processor", "create:sequenced_assembly");
event.create("advanced_incomplete_processor", "create:sequenced_assembly");
event
.create("andesite_shears", "shears")
.displayName("Andesite Shears")
.maxDamage(127);
event.create("incomplete_netherstar", "create:sequenced_assembly");
event
.create("brass_shears", "shears")
.displayName("Brass Shears")