Skip to content

Commit

Permalink
Allow steam multiblock macerator to use new wood milling recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
Electrolyte220 committed Jul 19, 2024
1 parent b7c2905 commit b361397
Showing 1 changed file with 29 additions and 6 deletions.
35 changes: 29 additions & 6 deletions kubejs/server_scripts/Mods/Greate/Milling.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
ServerEvents.recipes(event => {

event.remove({type: 'gtceu:macerator', id: '/gtceu:(.*)macerate(.*)planks/'})
event.remove({type: 'gtceu:macerator', id: '/gtceu:(.*)macerate(.*)fence/'})
event.remove({type: 'gtceu:macerator', id: '/gtceu:(.*)macerate(.*)boat/'})
Expand All @@ -8,9 +7,33 @@ ServerEvents.recipes(event => {

event.recipes.greate.milling('gtceu:obsidian_dust', ['minecraft:obsidian']).recipeTier(1)

event.recipes.greate.milling('gtceu:wood_dust', ['#minecraft:planks'])
event.recipes.greate.milling('gtceu:wood_dust', ['#minecraft:fences'])
event.recipes.greate.milling('5x gtceu:wood_dust', ['#minecraft:boats'])
event.recipes.greate.milling('3x gtceu:wood_dust', ['#minecraft:fence_gates'])
event.recipes.greate.milling(['2x gtceu:wood_dust', 'gtceu:tiny_iron_dust'], ['#minecraft:wooden_doors'])
event.recipes.gtceu.macerator('kubejs:macerate_planks')
.duration(100)
.itemInputs('#minecraft:planks')
.itemOutputs('gtceu:wood_dust')
.EUt(2)

event.recipes.gtceu.macerator('kubejs:macerate_fences')
.duration(100)
.itemInputs('#minecraft:fences')
.itemOutputs('gtceu:wood_dust')
.EUt(2)

event.recipes.gtceu.macerator('kubejs:macerate_boats')
.duration(500)
.itemInputs('#minecraft:boats')
.itemOutputs('5x gtceu:wood_dust')
.EUt(2)

event.recipes.gtceu.macerator('kubejs:macerate_fence_gates')
.duration(300)
.itemInputs('#minecraft:fence_gates')
.itemOutputs('3x gtceu:wood_dust')
.EUt(2)

event.recipes.gtceu.macerator('kubejs:macerate_doors')
.duration(200)
.itemInputs('#minecraft:wooden_doors')
.itemOutputs(['2x gtceu:wood_dust', 'gtceu:tiny_iron_dust'])
.EUt(2)
})

0 comments on commit b361397

Please sign in to comment.