1.20.1
ported to 1.20.1
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
GTCEuStartupEvents.registry('gtceu:material', event => {
|
||||
GTMaterials.HSLASteel.addFlags(GTMaterialFlags.GENERATE_SPRING) //Adds flags to pre-existing GT materials
|
||||
GTMaterials.HSLASteel.addFlags(GTMaterialFlags.GENERATE_LONG_ROD) //Adds flags to pre-existing GT materials
|
||||
GTMaterials.Iridium.addFlags(GTMaterialFlags.GENERATE_FRAME) //Adds flags to pre-existing GT materials
|
||||
GTMaterials.Cobalt.addFlags(GTMaterialFlags.GENERATE_FINE_WIRE) //Adds flags to pre-existing GT materials
|
||||
})
|
||||
6
kubejs/startup_scripts/example.js
Normal file
6
kubejs/startup_scripts/example.js
Normal file
@@ -0,0 +1,6 @@
|
||||
// priority: 0
|
||||
|
||||
// Visit the wiki for more info - https://kubejs.com/
|
||||
|
||||
console.info('Hello, World! (Loaded startup scripts)')
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
StartupEvents.registry('item', event => {
|
||||
event.create('greg_icon')
|
||||
})
|
||||
})
|
||||
|
||||
Platform.mods.kubejs.name = 'GregTech Community Pack'
|
||||
@@ -1,5 +0,0 @@
|
||||
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"))
|
||||
})
|
||||
7
kubejs/startup_scripts/material_testing/material.js
Normal file
7
kubejs/startup_scripts/material_testing/material.js
Normal file
@@ -0,0 +1,7 @@
|
||||
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)
|
||||
})
|
||||
@@ -1,9 +0,0 @@
|
||||
GTCEuStartupEvents.registry('gtceu:recipe_type', event => {
|
||||
event.create('inscriber')
|
||||
.category('inscriber') //Used in the GTlib / LDlib ui editor
|
||||
.setEUIO('in')
|
||||
.setMaxIOSize(3, 3, 0, 0) //Max Item Inputs, Max Item Outputs, Max Fluid Inputs, Max Fluid Outputs
|
||||
.setSlotOverlay(false, false, GuiTextures.BOX_OVERLAY)
|
||||
.setProgressBar(GuiTextures.PROGRESS_BAR_CIRCUIT, FillDirection.LEFT_TO_RIGHT)
|
||||
.setSound(GTSoundEntries.ASSEMBLER);
|
||||
})
|
||||
Reference in New Issue
Block a user