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:
@@ -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)
|
||||
})
|
||||
5
kubejs/startup_scripts/machinery/testing.js
Normal file
5
kubejs/startup_scripts/machinery/testing.js
Normal file
@@ -0,0 +1,5 @@
|
||||
GTCEuStartupEvents.registry('gtceu:machine', event => {
|
||||
event.create('inscriber', 'simple', GTValues.LV, GTValues.MV, GTValues.HV, GTValues.EV, GTValues.IV) //(ID, Type, Voltage Teirs)
|
||||
.recipeType('inscriber', true, true)
|
||||
.workableTieredHullRenderer(GTCEu.id("block/machines/inscriber"))
|
||||
})
|
||||
Reference in New Issue
Block a user