export into cf form
github is now legible for other people (hooray)
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
GTCEuStartupEvents.registry("gtceu:material", (event) => {
|
||||
GTMaterials.HSLASteel.addFlags(GTMaterialFlags.GENERATE_SPRING);
|
||||
GTMaterials.HSLASteel.addFlags(GTMaterialFlags.GENERATE_LONG_ROD);
|
||||
GTMaterials.Iridium.addFlags(GTMaterialFlags.GENERATE_FRAME);
|
||||
GTMaterials.Cobalt.addFlags(GTMaterialFlags.GENERATE_FINE_WIRE);
|
||||
});
|
||||
5
overrides/kubejs/startup_scripts/icons.js
Normal file
5
overrides/kubejs/startup_scripts/icons.js
Normal file
@@ -0,0 +1,5 @@
|
||||
StartupEvents.registry("item", (event) => {
|
||||
event.create("greg_icon");
|
||||
});
|
||||
|
||||
Platform.mods.kubejs.name = "GregTech Community Pack";
|
||||
36
overrides/kubejs/startup_scripts/machinery/greenhouse.js
Normal file
36
overrides/kubejs/startup_scripts/machinery/greenhouse.js
Normal file
@@ -0,0 +1,36 @@
|
||||
GTCEuStartupEvents.registry("gtceu:machine", (event) => {
|
||||
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
|
||||
);
|
||||
});
|
||||
@@ -0,0 +1,18 @@
|
||||
GTCEuStartupEvents.registry("gtceu:material", (event) => {
|
||||
event
|
||||
.create("fluix")
|
||||
.dust()
|
||||
.components("1x nether_quartz", "1x certus_quartz", "1x redstone")
|
||||
.color(0x8f5ccb)
|
||||
.iconSet(GTMaterialIconSet.DULL)
|
||||
.flags(GTMaterialFlags.GENERATE_PLATE, GTMaterialFlags.GENERATE_GEAR);
|
||||
|
||||
/*
|
||||
event
|
||||
.create("netherite")
|
||||
.components("1x gold", "1x tungsten", "1x platinum")
|
||||
.color(0x4d494d)
|
||||
.iconSet(GTMaterialIconSet.METALLIC)
|
||||
.flags(GTMaterialFlags.GENERATE_PLATE);
|
||||
*/
|
||||
});
|
||||
10
overrides/kubejs/startup_scripts/recipes/greenhouse.js
Normal file
10
overrides/kubejs/startup_scripts/recipes/greenhouse.js
Normal file
@@ -0,0 +1,10 @@
|
||||
GTCEuStartupEvents.registry("gtceu:recipe_type", (event) => {
|
||||
event
|
||||
.create("greenhouse")
|
||||
.category("test")
|
||||
.setEUIO("in")
|
||||
.setMaxIOSize(3, 4, 1, 0)
|
||||
.setSlotOverlay(false, false, GuiTextures.BOX_OVERLAY)
|
||||
.setProgressBar(GuiTextures.PROGRESS_BAR_BATH, FillDirection.LEFT_TO_RIGHT)
|
||||
.setSound(GTSoundEntries.COOLING);
|
||||
});
|
||||
Reference in New Issue
Block a user