quests+kubejs quick commit

quests and kjs arent finished but the pack should be playable lmk if anything is wildly broken
This commit is contained in:
mina
2023-09-21 22:25:03 +01:00
parent afad2409e1
commit 3f1a2b1bef
43 changed files with 4740 additions and 1546 deletions

View File

@@ -1,20 +1,23 @@
/*let GTRecipeModifiers = Java.loadClass("com.gregtechceu.gtceu.common.data.GTRecipeModifiers")
let OverclockingLogic = Java.loadClass("com.gregtechceu.gtceu.api.recipe.OverclockingLogic") */
GTCEuStartupEvents.registry('gtceu:machine', event => {
event.create('greenhouse', 'multiblock')
.rotationState(RotationState.NON_Y_AXIS)
.recipeType('greenhouse')
.appearanceBlock(GTBlocks.MACHINE_CASING_ULV )
.pattern(definition => FactoryBlockPattern.start()
.aisle("#BBB#", "#BBB#", "#BBB#", "#BBB#")
.aisle("BBBBB", "BDDDB", "B###B", "BGGGB")
.aisle("BBBBB", "BDDDB", "B###B", "BGGGB")
.aisle("BBBBB", "BDDDB", "B###B", "BGGGB")
.aisle("#BBB#", "#BEB#", "#BBB#", "#BBB#")
.where('E', Predicates.controller(Predicates.blocks(definition.get())))
.where('D', Predicates.blocks("minecraft:dirt"))
.where('G', Predicates.blocks("gtceu:tempered_glass"))
.where('B', Predicates.blocks("gtceu:ulv_machine_casing").setMinGlobalLimited(5).or(Predicates.autoAbilities(definition.getRecipeType())))
.where('#', Predicates.air())
.build())
.workableCasingRenderer("gtceu:block/casings/voltage/ulv/side","gtceu:block/multiblock/implosion_compressor", true)
.recipeModifier((machine, recipe) => RecipeModifier.fastParallel(machine, recipe, 4, true).getA())
event.create('greenhouse', 'multiblock')
.rotationState(RotationState.NON_Y_AXIS)
.recipeType("greenhouse")
.appearanceBlock(GTBlocks.MACHINE_CASING_ULV )
.recipeModifier(GTRecipeModifiers.ELECTRIC_OVERCLOCK.apply(OverclockingLogic.NON_PERFECT_OVERCLOCK))
.pattern(definition => FactoryBlockPattern.start()
.aisle("#BBB#", "#BBB#", "#BBB#", "#BBB#")
.aisle("BBBBB", "BDDDB", "B###B", "BGGGB")
.aisle("BBBBB", "BDDDB", "B###B", "BGGGB")
.aisle("BBBBB", "BDDDB", "B###B", "BGGGB")
.aisle("#BBB#", "#BEB#", "#BBB#", "#BBB#")
.where('E', Predicates.controller(Predicates.blocks(definition.get())))
.where('D', Predicates.blocks("minecraft:dirt"))
.where('G', Predicates.blocks("gtceu:tempered_glass"))
.where('B', Predicates.blocks("gtceu:ulv_machine_casing").setMinGlobalLimited(5).or(Predicates.autoAbilities(definition.getRecipeTypes())))
.where('#', Predicates.air())
.build())
.workableCasingRenderer("gtceu:block/casings/voltage/ulv/side","gtceu:block/multiblock/implosion_compressor", true)
})