disable more create additions components + rework
This commit is contained in:
parent
85ffd8e465
commit
5dc2ed0e23
14 changed files with 112 additions and 100 deletions
|
|
@ -3,5 +3,8 @@
|
|||
"gtceu.jei.bedrock_fluid.salt_water_deposit": "Concentrated Salt Water Deposit",
|
||||
|
||||
"block.gtceu.greenhouse": "Electric Greenhouse",
|
||||
"gtceu.greenhouse": "Electric Greenhouse"
|
||||
"gtceu.greenhouse": "Electric Greenhouse",
|
||||
|
||||
"block.gtceu.alternator": "Alternator",
|
||||
"gtceu.alternator": "Alternator"
|
||||
}
|
||||
|
|
@ -5,6 +5,9 @@
|
|||
"block.gtceu.greenhouse": "Электрическая теплица",
|
||||
"gtceu.greenhouse": "Электрическая теплица",
|
||||
|
||||
"block.gtceu.alternator": "Генератор переменного тока",
|
||||
"gtceu.alternator": "Генератор переменного тока",
|
||||
|
||||
"behavior.item_magnet.disabled": "§cМагнитное поле выключено",
|
||||
"behavior.item_magnet.enabled": "§aМагнитное поле включено",
|
||||
"behavior.prospector.not_enough_energy": "Не достаточно энергии!",
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 6.4 KiB |
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"ldlib": {
|
||||
"connection": "terrafirmagreg:block/copper_coil_block_ctm"
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 2.7 KiB |
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"ldlib": {
|
||||
"connection": "terrafirmagreg:block/copper_coil_block_bloom_ctm",
|
||||
"emissive": true
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 3.3 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 7.9 KiB |
|
|
@ -5,32 +5,6 @@ const registerCreateAdditionsRecipes = (event) => {
|
|||
// Удаление рецептов мода railways
|
||||
event.remove({ mod: 'createaddition' });
|
||||
|
||||
// Электрический мотор
|
||||
event.shaped('createaddition:electric_motor', [
|
||||
'ABA',
|
||||
'CDC',
|
||||
'CEC'
|
||||
], {
|
||||
A: '#forge:plates/brass',
|
||||
B: 'create:shaft',
|
||||
C: 'createaddition:copper_spool',
|
||||
D: 'create:cogwheel',
|
||||
E: '#forge:gears/wrought_iron',
|
||||
}).id('tfg:create_additions/shaped/electric_motor')
|
||||
|
||||
// Конвертер энергии в механику
|
||||
event.shaped('createaddition:alternator', [
|
||||
'CEC',
|
||||
'CDC',
|
||||
'ABA',
|
||||
], {
|
||||
A: '#forge:plates/wrought_iron',
|
||||
B: 'create:shaft',
|
||||
C: 'createaddition:copper_spool',
|
||||
D: 'create:cogwheel',
|
||||
E: '#forge:gears/wrought_iron',
|
||||
}).id('tfg:create_additions/shaped/alternator')
|
||||
|
||||
// Прокатный стан
|
||||
event.shaped('createaddition:rolling_mill', [
|
||||
'ABA',
|
||||
|
|
@ -75,71 +49,6 @@ const registerCreateAdditionsRecipes = (event) => {
|
|||
.duration(400)
|
||||
.EUt(512)
|
||||
|
||||
// Коннектор обычный
|
||||
event.shaped('createaddition:connector', [
|
||||
'ABA',
|
||||
'CBC'
|
||||
], {
|
||||
A: 'tfc:glue',
|
||||
B: '#forge:cables/double/copper',
|
||||
C: '#forge:plates/wrought_iron',
|
||||
}).id('tfg:create_additions/shaped/connector')
|
||||
|
||||
// Коннектор большой
|
||||
/*
|
||||
event.shaped('createaddition:large_connector', [
|
||||
'ABA',
|
||||
'CBC',
|
||||
'CBC'
|
||||
], {
|
||||
A: 'tfc:glue',
|
||||
B: '#forge:cables/double/copper',
|
||||
C: '#forge:plates/wrought_iron',
|
||||
}).id('tfg:create_additions/shaped/large_connector')
|
||||
*/
|
||||
|
||||
// Редстоун реле
|
||||
event.shaped('createaddition:redstone_relay', [
|
||||
' D ',
|
||||
'BCB',
|
||||
'AAA'
|
||||
], {
|
||||
A: '#tfc:rock/raw',
|
||||
B: 'createaddition:connector',
|
||||
C: 'create:electron_tube',
|
||||
D: '#forge:dusts/redstone'
|
||||
}).id('tfg:create_additions/shaped/redstone_relay')
|
||||
|
||||
// Катушка
|
||||
event.shaped('8x createaddition:spool', [
|
||||
'A',
|
||||
'B',
|
||||
'A'
|
||||
], {
|
||||
A: '#forge:screws/wood',
|
||||
B: '#forge:rods/long/wood'
|
||||
}).id('tfg:create_additions/shaped/spool')
|
||||
|
||||
// Катушка с медными проводами
|
||||
event.shaped('createaddition:copper_spool', [
|
||||
' A ',
|
||||
'ABA',
|
||||
' A '
|
||||
], {
|
||||
A: '#forge:fine_wires/copper',
|
||||
B: 'createaddition:spool'
|
||||
}).id('tfg:create_additions/shaped/copper_spool')
|
||||
|
||||
// Катушка с праздничными проводами
|
||||
event.shaped('createaddition:festive_spool', [
|
||||
' A ',
|
||||
'ABA',
|
||||
' A '
|
||||
], {
|
||||
A: 'gtceu:plant_ball',
|
||||
B: 'createaddition:spool'
|
||||
}).id('tfg:create_additions/shaped/festive_spool')
|
||||
|
||||
// Колючая проволка
|
||||
event.shapeless('4x createaddition:barbed_wire', [
|
||||
'#forge:rods/wrought_iron',
|
||||
|
|
@ -159,10 +68,4 @@ const registerCreateAdditionsRecipes = (event) => {
|
|||
.itemOutputs('4x createaddition:barbed_wire')
|
||||
.duration(200)
|
||||
.EUt(20)
|
||||
|
||||
// Коннектор со светом
|
||||
event.shapeless('createaddition:small_light_connector', [
|
||||
'createaddition:connector',
|
||||
'minecraft:glass_pane'
|
||||
]).id('tfg:create_additions/shapeless/small_light_connector')
|
||||
}
|
||||
|
|
@ -993,6 +993,19 @@ const registerGTCEURecipes = (event) => {
|
|||
D: 'gtceu:solid_machine_casing'
|
||||
}).id('tfg:shaped/greenhouse')
|
||||
|
||||
// Контроллер электрического генератора
|
||||
event.shaped('gtceu:alternator', [
|
||||
'ABA',
|
||||
'CDC',
|
||||
'EBE'
|
||||
], {
|
||||
A: '#gtceu:resistors',
|
||||
B: '#forge:circuits/lv',
|
||||
C: 'gtceu:lv_voltage_coil',
|
||||
D: 'gtceu:solid_machine_casing',
|
||||
E: '#forge:cables/single/copper'
|
||||
}).id('tfg:shaped/alternator')
|
||||
|
||||
// Compressed Coke Clay
|
||||
event.shaped('gtceu:compressed_coke_clay', [
|
||||
'AAA',
|
||||
|
|
@ -1112,6 +1125,37 @@ const registerGTCEURecipes = (event) => {
|
|||
event.recipes.createDeploying('terrafirmagreg:unfinished_basic_electronic_circuit', ['terrafirmagreg:unfinished_basic_electronic_circuit', '#forge:cables/single/red_alloy']),
|
||||
]).transitionalItem('terrafirmagreg:unfinished_basic_electronic_circuit').loops(2).id('tfg:gtceu/sequenced_assembly/basic_electronic_circuit')
|
||||
|
||||
//#region Рецепты электрического генератора
|
||||
|
||||
event.recipes.gtceu.alternator('32_rpm_to_32_eu')
|
||||
.inputStress(256)
|
||||
.circuit(0)
|
||||
.rpm(32)
|
||||
.duration(2)
|
||||
.EUt(-32)
|
||||
|
||||
event.recipes.gtceu.alternator('64_rpm_to_48_eu')
|
||||
.inputStress(256)
|
||||
.circuit(1)
|
||||
.rpm(64)
|
||||
.duration(2)
|
||||
.EUt(-48)
|
||||
|
||||
event.recipes.gtceu.alternator('128_rpm_to_64_eu')
|
||||
.inputStress(256)
|
||||
.circuit(2)
|
||||
.rpm(128)
|
||||
.duration(2)
|
||||
.EUt(-64)
|
||||
|
||||
event.recipes.gtceu.alternator('256_rpm_to_96_eu')
|
||||
.inputStress(256)
|
||||
.circuit(3)
|
||||
.rpm(256)
|
||||
.duration(2)
|
||||
.EUt(-96)
|
||||
|
||||
//#endregion
|
||||
|
||||
//#region Выход: Фикс выработки пара на ведре лавы
|
||||
|
||||
|
|
|
|||
16
kubejs/startup_scripts/gtceu/blocks.js
Normal file
16
kubejs/startup_scripts/gtceu/blocks.js
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
// priority: 0
|
||||
|
||||
const registerGTCEuBlocks = (event) => {
|
||||
event.create('terrafirmagreg:copper_coil_block', 'gtceu:coil')
|
||||
.temperature(1100)
|
||||
.level(0)
|
||||
.energyDiscount(1)
|
||||
.tier(0)
|
||||
.coilMaterial(GTMaterials.get('copper'))
|
||||
.texture('terrafirmagreg:block/copper_coil_block')
|
||||
.hardness(4)
|
||||
.requiresTool(true)
|
||||
.tagBlock('mineable/pickaxe')
|
||||
.mapColor('metal')
|
||||
.soundType('metal')
|
||||
}
|
||||
|
|
@ -23,4 +23,25 @@ const registerGTCEuMachines = (event) => {
|
|||
.build()
|
||||
)
|
||||
.workableCasingRenderer('gtceu:block/casings/solid/machine_casing_solid_steel', 'gtceu:block/multiblock/implosion_compressor', false)
|
||||
|
||||
event.create('alternator', 'multiblock')
|
||||
.rotationState(RotationState.NON_Y_AXIS)
|
||||
.recipeType('alternator')
|
||||
.pattern(definition => FactoryBlockPattern.start()
|
||||
.aisle("CWC", "CWC", "#W#")
|
||||
.aisle("CWC", "K#E", "CWC")
|
||||
.aisle("CWI", "CWA", "#W#")
|
||||
.where('A', Predicates.controller(Predicates.blocks(definition.get())))
|
||||
.where('W', Predicates.blocks('terrafirmagreg:copper_coil_block'))
|
||||
.where("C", Predicates.blocks(GTBlocks.CASING_STEEL_SOLID.get()))
|
||||
.where('#', Predicates.any())
|
||||
.where('K', Predicates.abilities(PartAbility.INPUT_KINETIC).setExactLimit(1))
|
||||
.where('E', Predicates.abilities(PartAbility.OUTPUT_ENERGY).setExactLimit(1))
|
||||
.where('I', Predicates.abilities(PartAbility.IMPORT_ITEMS).setExactLimit(1))
|
||||
.build()
|
||||
)
|
||||
.workableCasingRenderer(
|
||||
"gtceu:block/casings/solid/machine_casing_solid_steel",
|
||||
"gtceu:block/multiblock/implosion_compressor", false
|
||||
)
|
||||
}
|
||||
|
|
@ -7,4 +7,13 @@ const registerGTCEuRecipeTypes = (event) => {
|
|||
.setMaxIOSize(3, 4, 1, 0)
|
||||
.setProgressBar(GuiTextures.PROGRESS_BAR_ARROW, FillDirection.LEFT_TO_RIGHT)
|
||||
.setSound(GTSoundEntries.BATH)
|
||||
}
|
||||
|
||||
event.create('alternator')
|
||||
.category('alternator')
|
||||
.setEUIO('out')
|
||||
.setMaxIOSize(1, 0, 0, 0)
|
||||
.setProgressBar(GuiTextures.PROGRESS_BAR_ARROW, FillDirection.LEFT_TO_RIGHT)
|
||||
.setSound(GTSoundEntries.ARC)
|
||||
.setMaxTooltips(6)
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,9 @@ StartupEvents.registry('item', (event) => {
|
|||
/**
|
||||
* Событие регистрации блоков.
|
||||
*/
|
||||
StartupEvents.registry('block', (event) => {})
|
||||
StartupEvents.registry('block', (event) => {
|
||||
registerGTCEuBlocks(event)
|
||||
})
|
||||
|
||||
/**
|
||||
* Событие регистрации жидкостей.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue