Skip to content

Commit 1d59d5e

Browse files
Satherovgithub-actions[bot]
authored andcommitted
chore: format with Prettier
1 parent cd71f82 commit 1d59d5e

File tree

3 files changed

+51
-59
lines changed

3 files changed

+51
-59
lines changed

kubejs/server_scripts/mods/mekanism/mekanism.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ ServerEvents.recipes((allthemods) => {
4646
id: "mekanism:dust_coal",
4747
count: 1
4848
}
49-
}).id('allthemods:mekanism/crushing/coal_dust_from_shard')
49+
})
50+
.id("allthemods:mekanism/crushing/coal_dust_from_shard")
5051

51-
// Fluorite dupe recipe fix
52-
allthemods.remove({id: 'alltheores:processing/fluorite/dust/from_ore'})
52+
// Fluorite dupe recipe fix
53+
allthemods.remove({ id: "alltheores:processing/fluorite/dust/from_ore" })
5354
})
Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
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-
allthemods.remove({ id: 'modern_industrialization:electric_age/machine/assembler/replicator' })
6-
7-
// Anvil dupe recipe
8-
allthemods.remove({id: 'modern_industrialization:vanilla_recipes/steel_anvil_asbl'})
9-
})
10-
11-
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10: To the Sky.
12-
// 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+
allthemods.remove({ id: "modern_industrialization:electric_age/machine/assembler/replicator" })
6+
7+
// Anvil dupe recipe
8+
allthemods.remove({ id: "modern_industrialization:vanilla_recipes/steel_anvil_asbl" })
9+
})
10+
11+
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10: To the Sky.
12+
// 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.

kubejs/server_scripts/tweaks/recipes.js

Lines changed: 35 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -200,51 +200,42 @@ ServerEvents.recipes((allthemods) => {
200200
D: "minecraft:diamond"
201201
})
202202

203-
//Charcoal and Coal
204-
allthemods.remove({id: 'minecraft:coal_block'})
205-
allthemods.shaped('minecraft:coal_block', [
206-
'AAA',
207-
'ABA',
208-
'AAA'], {
209-
A: '#minecraft:coals',
210-
B: 'minecraft:coal'
211-
}
212-
).id('allthemods:coal_block')
213-
214-
// Glass trapdoor recipe fix
215-
allthemods.remove({id: 'connectedglass:tinted_borderless_glass1'})
216-
allthemods.shaped('8x connectedglass:tinted_borderless_glass', [
217-
'AAA',
218-
'A A',
219-
'AAA'], {
220-
A: 'minecraft:tinted_glass'
221-
}
222-
).id('allthemods:tinted_borderless_glass')
223-
224-
allthemods.remove({id: 'connectedglass:borderless_glass1'})
225-
allthemods.shaped('8x connectedglass:borderless_glass', [
226-
'AAA',
227-
'A A',
228-
'AAA'], {
229-
A: 'minecraft:glass'
230-
}
231-
).id('allthemods:borderless_glass')
232-
233-
function borderlessColoredGlass(color) {
234-
235-
allthemods.remove({id: `connectedglass:borderless_glass_${color}1`})
236-
allthemods.shaped(`8x connectedglass:borderless_glass_${color}`, [
237-
'AAA',
238-
'A A',
239-
'AAA'], {
240-
A: `minecraft:${color}_stained_glass`
241-
}
242-
).id(`kjs/allthemods/borderless_glass_${color}`)
243-
}
244-
245-
colors.forEach(color => {
246-
borderlessColoredGlass(color)
203+
//Charcoal and Coal
204+
allthemods.remove({ id: "minecraft:coal_block" })
205+
allthemods
206+
.shaped("minecraft:coal_block", ["AAA", "ABA", "AAA"], {
207+
A: "#minecraft:coals",
208+
B: "minecraft:coal"
209+
})
210+
.id("allthemods:coal_block")
211+
212+
// Glass trapdoor recipe fix
213+
allthemods.remove({ id: "connectedglass:tinted_borderless_glass1" })
214+
allthemods
215+
.shaped("8x connectedglass:tinted_borderless_glass", ["AAA", "A A", "AAA"], {
216+
A: "minecraft:tinted_glass"
247217
})
218+
.id("allthemods:tinted_borderless_glass")
219+
220+
allthemods.remove({ id: "connectedglass:borderless_glass1" })
221+
allthemods
222+
.shaped("8x connectedglass:borderless_glass", ["AAA", "A A", "AAA"], {
223+
A: "minecraft:glass"
224+
})
225+
.id("allthemods:borderless_glass")
226+
227+
function borderlessColoredGlass(color) {
228+
allthemods.remove({ id: `connectedglass:borderless_glass_${color}1` })
229+
allthemods
230+
.shaped(`8x connectedglass:borderless_glass_${color}`, ["AAA", "A A", "AAA"], {
231+
A: `minecraft:${color}_stained_glass`
232+
})
233+
.id(`kjs/allthemods/borderless_glass_${color}`)
234+
}
235+
236+
colors.forEach((color) => {
237+
borderlessColoredGlass(color)
238+
})
248239
})
249240

250241
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.

0 commit comments

Comments
 (0)