Skip to content

Commit

Permalink
Merge branch 'OE100-OE100-the-building-update'
Browse files Browse the repository at this point in the history
  • Loading branch information
Xefyr0 committed Oct 2, 2024
2 parents 5d22c3d + 4aaf4e8 commit d8511de
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 9 deletions.
11 changes: 9 additions & 2 deletions kubejs/server_scripts/gregtech/rock_cycle_simulator.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ServerEvents.recipes(event => {

// Recipe
event.shaped(
'gtceu:rock_cycle_simulator', [
Expand Down Expand Up @@ -36,5 +36,12 @@ ServerEvents.recipes(event => {
RockCycle('marble', 'gtceu:marble', 'gtceu:marble', 240)
RockCycle('red_granite', 'gtceu:red_granite', 'gtceu:red_granite', 960)
RockCycle('deepslate', 'minecraft:deepslate', 'minecraft:deepslate', 960)

RockCycle('calcite', 'minecraft:calcite', 'minecraft:calcite', 60)
RockCycle('tuff', 'minecraft:tuff', 'minecraft:tuff', 60)
RockCycle('jasper', 'quark:jasper', 'quark:jasper', 60)
RockCycle('limestone', 'quark:limestone', 'quark:limestone', 60)
RockCycle('permafrost', 'quark:permafrost', 'quark:permafrost', 60)
RockCycle('shale', 'quark:shale', 'quark:shale', 60)
RockCycle('myalite', 'quark:myalite', 'quark:myalite', 60)

})
24 changes: 17 additions & 7 deletions kubejs/server_scripts/mods/gregtech.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,21 @@ ServerEvents.recipes(event => {
//event.remove({ id: 'gtceu:electrolyzer/decomposition_electrolyzing_ender_pearl' })

// rock breaker
event.recipes.gtceu.rock_breaker('kubejs:rock_breaker_calcite')
.notConsumable('minecraft:calcite')
.itemOutputs('minecraft:calcite')
.duration(16)
.EUt(60)
.addData('fluidA', 'minecraft:lava')
.addData('fluidB', 'minecraft:water')
const generateRockBreakerStoneRecipe = (stoneItem) => {
event.recipes.gtceu.rock_breaker('kubejs:rock_breaker_' + stoneItem.replace(':', '_'))
.notConsumable(stoneItem)
.itemOutputs(stoneItem)
.duration(16)
.EUt(60)
.addData('fluidA', 'minecraft:lava')
.addData('fluidB', 'minecraft:water')
}

generateRockBreakerStoneRecipe('minecraft:calcite')
generateRockBreakerStoneRecipe('minecraft:tuff')
generateRockBreakerStoneRecipe('quark:jasper')
generateRockBreakerStoneRecipe('quark:limestone')
generateRockBreakerStoneRecipe('quark:permafrost')
generateRockBreakerStoneRecipe('quark:shale')
generateRockBreakerStoneRecipe('quark:myalite')
})

0 comments on commit d8511de

Please sign in to comment.