Skip to content

Commit c0e5a70

Browse files
DivineFinalgithub-actions[bot]
authored andcommitted
chore: prettier formatting
1 parent babb40e commit c0e5a70

File tree

1 file changed

+78
-78
lines changed

1 file changed

+78
-78
lines changed
Lines changed: 78 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -1,78 +1,78 @@
1-
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10: To the Sky.
2-
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
3-
4-
ServerEvents.recipes((allthemods) => {
5-
function dissolution_chamber(output, inputs, fluid, time, id) {
6-
let recipe = {
7-
type: "industrialforegoing:dissolution_chamber",
8-
input: [],
9-
inputFluid: {
10-
amount: fluid.amount || 100,
11-
fluid: fluid.fluid
12-
},
13-
output: {
14-
count: output.count || 1,
15-
id: output.item
16-
},
17-
processingTime: time
18-
}
19-
20-
inputs.forEach((input) => {
21-
let ingredients = {}
22-
23-
if (input.tag) {
24-
ingredients.tag = input.tag
25-
} else {
26-
ingredients.item = input.item
27-
}
28-
29-
recipe.input.push(ingredients)
30-
})
31-
32-
allthemods.custom(recipe).id(`kubejs:dissolution_chamber/${id}`)
33-
}
34-
function dissolution_chamber_fluidtag(output, inputs, fluid, time, id) {
35-
let recipe = {
36-
type: "industrialforegoing:dissolution_chamber",
37-
input: [],
38-
inputFluid: {
39-
amount: fluid.amount || 100,
40-
tag: fluid.fluid
41-
},
42-
output: {
43-
count: output.count || 1,
44-
id: output.item
45-
},
46-
processingTime: time
47-
}
48-
49-
inputs.forEach((input) => {
50-
let ingredients = {}
51-
52-
if (input.tag) {
53-
ingredients.tag = input.tag
54-
} else {
55-
ingredients.item = input.item
56-
}
57-
58-
recipe.input.push(ingredients)
59-
})
60-
61-
allthemods.custom(recipe).id(`kubejs:dissolution_chamber/${id}`)
62-
}
63-
64-
allthemods.remove({ id: "industrialforegoing:dissolution_chamber/xp_bottles" })
65-
dissolution_chamber_fluidtag(
66-
{ item: "minecraft:experience_bottle" },
67-
[{ item: "minecraft:glass_bottle" }],
68-
{
69-
fluid: "c:experience",
70-
amount: 250
71-
},
72-
5,
73-
"xp_bottle"
74-
)
75-
})
76-
77-
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10: To the Sky.
78-
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
1+
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10: To the Sky.
2+
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
3+
4+
ServerEvents.recipes((allthemods) => {
5+
function dissolution_chamber(output, inputs, fluid, time, id) {
6+
let recipe = {
7+
type: "industrialforegoing:dissolution_chamber",
8+
input: [],
9+
inputFluid: {
10+
amount: fluid.amount || 100,
11+
fluid: fluid.fluid
12+
},
13+
output: {
14+
count: output.count || 1,
15+
id: output.item
16+
},
17+
processingTime: time
18+
}
19+
20+
inputs.forEach((input) => {
21+
let ingredients = {}
22+
23+
if (input.tag) {
24+
ingredients.tag = input.tag
25+
} else {
26+
ingredients.item = input.item
27+
}
28+
29+
recipe.input.push(ingredients)
30+
})
31+
32+
allthemods.custom(recipe).id(`kubejs:dissolution_chamber/${id}`)
33+
}
34+
function dissolution_chamber_fluidtag(output, inputs, fluid, time, id) {
35+
let recipe = {
36+
type: "industrialforegoing:dissolution_chamber",
37+
input: [],
38+
inputFluid: {
39+
amount: fluid.amount || 100,
40+
tag: fluid.fluid
41+
},
42+
output: {
43+
count: output.count || 1,
44+
id: output.item
45+
},
46+
processingTime: time
47+
}
48+
49+
inputs.forEach((input) => {
50+
let ingredients = {}
51+
52+
if (input.tag) {
53+
ingredients.tag = input.tag
54+
} else {
55+
ingredients.item = input.item
56+
}
57+
58+
recipe.input.push(ingredients)
59+
})
60+
61+
allthemods.custom(recipe).id(`kubejs:dissolution_chamber/${id}`)
62+
}
63+
64+
allthemods.remove({ id: "industrialforegoing:dissolution_chamber/xp_bottles" })
65+
dissolution_chamber_fluidtag(
66+
{ item: "minecraft:experience_bottle" },
67+
[{ item: "minecraft:glass_bottle" }],
68+
{
69+
fluid: "c:experience",
70+
amount: 250
71+
},
72+
5,
73+
"xp_bottle"
74+
)
75+
})
76+
77+
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10: To the Sky.
78+
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.

0 commit comments

Comments
 (0)