Skip to content

Commit 8b076a1

Browse files
authored
Merge pull request #508 from AlmanaX-21/charcoal-block-fix
fix: dupe recipes
2 parents 4907924 + 1d59d5e commit 8b076a1

File tree

3 files changed

+44
-1
lines changed

3 files changed

+44
-1
lines changed

kubejs/server_scripts/mods/mekanism/mekanism.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,7 @@ ServerEvents.recipes((allthemods) => {
4848
}
4949
})
5050
.id("allthemods:mekanism/crushing/coal_dust_from_shard")
51+
52+
// Fluorite dupe recipe fix
53+
allthemods.remove({ id: "alltheores:processing/fluorite/dust/from_ore" })
5154
})

kubejs/server_scripts/mods/modern_industrialization/recipes.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10: To the Sky.
1+
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10: To the Sky.
22
// 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.
33

44
ServerEvents.recipes((allthemods) => {
55
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" })
69
})
710

811
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10: To the Sky.

kubejs/server_scripts/tweaks/recipes.js

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,43 @@ ServerEvents.recipes((allthemods) => {
199199
C: "megacells:cell_component_256m",
200200
D: "minecraft:diamond"
201201
})
202+
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"
217+
})
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+
})
202239
})
203240

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

0 commit comments

Comments
 (0)