More multiblock fixes (#1470)

* Casing recipe changes

* Render fixes for greenhouse and railgun controllers
This commit is contained in:
Redeix 2025-07-28 04:10:11 -05:00 committed by GitHub
parent 695b6c2451
commit 9d2e5518a7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 244 additions and 2 deletions

View file

@ -0,0 +1,19 @@
{
"variants": {
"facing=east": {
"model": "tfg:block/machines/electric_greenhouse",
"y": 90
},
"facing=north": {
"model": "tfg:block/machines/electric_greenhouse"
},
"facing=south": {
"model": "tfg:block/machines/electric_greenhouse",
"y": 180
},
"facing=west": {
"model": "tfg:block/machines/electric_greenhouse",
"y": 270
}
}
}

View file

@ -0,0 +1,19 @@
{
"variants": {
"facing=east": {
"model": "tfg:block/machines/interplanetary_item_launcher",
"y": 90
},
"facing=north": {
"model": "tfg:block/machines/interplanetary_item_launcher"
},
"facing=south": {
"model": "tfg:block/machines/interplanetary_item_launcher",
"y": 180
},
"facing=west": {
"model": "tfg:block/machines/interplanetary_item_launcher",
"y": 270
}
}
}

View file

@ -0,0 +1,90 @@
{
"parent": "minecraft:block/block",
"loader": "gtceu:machine",
"machine": "tfg:electric_greenhouse",
"texture_overrides": {
"all": "gtceu:block/casings/steam/steel/side"
},
"variants": {
"is_formed=false,recipe_logic_status=idle": {
"model": {
"parent": "gtceu:block/machine/template/cube_all/sided",
"textures": {
"all": "gtceu:block/casings/steam/steel/side",
"overlay_front": "gtceu:block/multiblock/implosion_compressor/overlay_front",
"overlay_front_emissive": "gtceu:block/multiblock/implosion_compressor/overlay_front_emissive"
}
}
},
"is_formed=false,recipe_logic_status=suspend": {
"model": {
"parent": "gtceu:block/machine/template/cube_all/sided",
"textures": {
"all": "gtceu:block/casings/steam/steel/side",
"overlay_front": "gtceu:block/multiblock/implosion_compressor/overlay_front_paused",
"overlay_front_emissive": "gtceu:block/multiblock/implosion_compressor/overlay_front_paused_emissive"
}
}
},
"is_formed=false,recipe_logic_status=waiting": {
"model": {
"parent": "gtceu:block/machine/template/cube_all/sided",
"textures": {
"all": "gtceu:block/casings/steam/steel/side",
"overlay_front": "gtceu:block/multiblock/implosion_compressor/overlay_front_active",
"overlay_front_emissive": "gtceu:block/multiblock/implosion_compressor/overlay_front_active_emissive"
}
}
},
"is_formed=false,recipe_logic_status=working": {
"model": {
"parent": "gtceu:block/machine/template/cube_all/sided",
"textures": {
"all": "gtceu:block/casings/steam/steel/side",
"overlay_front": "gtceu:block/multiblock/implosion_compressor/overlay_front_active",
"overlay_front_emissive": "gtceu:block/multiblock/implosion_compressor/overlay_front_active_emissive"
}
}
},
"is_formed=true,recipe_logic_status=idle": {
"model": {
"parent": "gtceu:block/machine/template/cube_all/sided",
"textures": {
"all": "gtceu:block/casings/steam/steel/side",
"overlay_front": "gtceu:block/multiblock/implosion_compressor/overlay_front",
"overlay_front_emissive": "gtceu:block/multiblock/implosion_compressor/overlay_front_emissive"
}
}
},
"is_formed=true,recipe_logic_status=suspend": {
"model": {
"parent": "gtceu:block/machine/template/cube_all/sided",
"textures": {
"all": "gtceu:block/casings/steam/steel/side",
"overlay_front": "gtceu:block/multiblock/implosion_compressor/overlay_front_paused",
"overlay_front_emissive": "gtceu:block/multiblock/implosion_compressor/overlay_front_paused_emissive"
}
}
},
"is_formed=true,recipe_logic_status=waiting": {
"model": {
"parent": "gtceu:block/machine/template/cube_all/sided",
"textures": {
"all": "gtceu:block/casings/steam/steel/side",
"overlay_front": "gtceu:block/multiblock/implosion_compressor/overlay_front_active",
"overlay_front_emissive": "gtceu:block/multiblock/implosion_compressor/overlay_front_active_emissive"
}
}
},
"is_formed=true,recipe_logic_status=working": {
"model": {
"parent": "gtceu:block/machine/template/cube_all/sided",
"textures": {
"all": "gtceu:block/casings/steam/steel/side",
"overlay_front": "gtceu:block/multiblock/implosion_compressor/overlay_front_active",
"overlay_front_emissive": "gtceu:block/multiblock/implosion_compressor/overlay_front_active_emissive"
}
}
}
}
}

View file

@ -0,0 +1,90 @@
{
"parent": "minecraft:block/block",
"loader": "gtceu:machine",
"machine": "tfg:interplanetary_item_launcher",
"texture_overrides": {
"all": "gtceu:block/casings/solid/machine_casing_clean_stainless_steel"
},
"variants": {
"is_formed=false,recipe_logic_status=idle": {
"model": {
"parent": "gtceu:block/machine/template/cube_all/sided",
"textures": {
"all": "gtceu:block/casings/solid/machine_casing_clean_stainless_steel",
"overlay_front": "tfg:block/machines/interplanetary_item_launcher/overlay_front",
"overlay_front_emissive": "tfg:block/machines/interplanetary_item_launcher/overlay_front_emissive"
}
}
},
"is_formed=false,recipe_logic_status=suspend": {
"model": {
"parent": "gtceu:block/machine/template/cube_all/sided",
"textures": {
"all": "gtceu:block/casings/solid/machine_casing_clean_stainless_steel",
"overlay_front": "tfg:block/machines/interplanetary_item_launcher/overlay_front",
"overlay_front_emissive": "tfg:block/machines/interplanetary_item_launcher/overlay_front_emissive"
}
}
},
"is_formed=false,recipe_logic_status=waiting": {
"model": {
"parent": "gtceu:block/machine/template/cube_all/sided",
"textures": {
"all": "gtceu:block/casings/solid/machine_casing_clean_stainless_steel",
"overlay_front": "tfg:block/machines/interplanetary_item_launcher/overlay_front_active",
"overlay_front_emissive": "tfg:block/machines/interplanetary_item_launcher/overlay_front_active_emissive"
}
}
},
"is_formed=false,recipe_logic_status=working": {
"model": {
"parent": "gtceu:block/machine/template/cube_all/sided",
"textures": {
"all": "gtceu:block/casings/solid/machine_casing_clean_stainless_steel",
"overlay_front": "tfg:block/machines/interplanetary_item_launcher/overlay_front_active",
"overlay_front_emissive": "tfg:block/machines/interplanetary_item_launcher/overlay_front_active_emissive"
}
}
},
"is_formed=true,recipe_logic_status=idle": {
"model": {
"parent": "gtceu:block/machine/template/cube_all/sided",
"textures": {
"all": "gtceu:block/casings/solid/machine_casing_clean_stainless_steel",
"overlay_front": "tfg:block/machines/interplanetary_item_launcher/overlay_front",
"overlay_front_emissive": "tfg:block/machines/interplanetary_item_launcher/overlay_front_emissive"
}
}
},
"is_formed=true,recipe_logic_status=suspend": {
"model": {
"parent": "gtceu:block/machine/template/cube_all/sided",
"textures": {
"all": "gtceu:block/casings/solid/machine_casing_clean_stainless_steel",
"overlay_front": "tfg:block/machines/interplanetary_item_launcher/overlay_front",
"overlay_front_emissive": "tfg:block/machines/interplanetary_item_launcher/overlay_front_emissive"
}
}
},
"is_formed=true,recipe_logic_status=waiting": {
"model": {
"parent": "gtceu:block/machine/template/cube_all/sided",
"textures": {
"all": "gtceu:block/casings/solid/machine_casing_clean_stainless_steel",
"overlay_front": "tfg:block/machines/interplanetary_item_launcher/overlay_front_active",
"overlay_front_emissive": "tfg:block/machines/interplanetary_item_launcher/overlay_front_active_emissive"
}
}
},
"is_formed=true,recipe_logic_status=working": {
"model": {
"parent": "gtceu:block/machine/template/cube_all/sided",
"textures": {
"all": "gtceu:block/casings/solid/machine_casing_clean_stainless_steel",
"overlay_front": "tfg:block/machines/interplanetary_item_launcher/overlay_front_active",
"overlay_front_emissive": "tfg:block/machines/interplanetary_item_launcher/overlay_front_active_emissive"
}
}
}
}
}

View file

@ -0,0 +1,3 @@
{
"parent": "tfg:block/machines/electric_greenhouse"
}

View file

@ -0,0 +1,3 @@
{
"parent": "tfg:block/machines/interplanetary_item_launcher"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 485 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

View file

@ -0,0 +1,5 @@
{
"animation":{
"frametime": 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

View file

@ -0,0 +1,5 @@
{
"animation":{
"frametime": 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 B

View file

@ -989,18 +989,26 @@ function registerGTCEuMachineRecipes(event) {
event.recipes.gtceu.assembler('red_solar_casing')
.itemInputs('gtceu:steel_machine_casing', 'ad_astra:photovoltaic_vesnium_cell')
.itemOutputs('tfg:casings/machine_casing_red_solar_panel')
.itemOutputs('8x tfg:casings/machine_casing_red_solar_panel')
.inputFluids(Fluid.of('gtceu:soldering_alloy', 288))
.circuit(6)
.duration(2.5*20)
.EUt(16)
event.recipes.gtceu.assembler('iron_desh_casing')
.itemInputs('6x gtceu:steel_plate', 'gtceu:desh_frame')
.itemInputs(ChemicalHelper.get(TagPrefix.plate, GTMaterials.Steel, 6), 'gtceu:desh_frame')
.itemOutputs('2x tfg:casings/machine_casing_iron_desh')
.circuit(6)
.duration(2.5*20)
.EUt(16)
event.recipes.gtceu.assembler('steel_machine_casing')
.itemInputs(ChemicalHelper.get(TagPrefix.ingot, GTMaterials.Steel, 4))
.itemOutputs('gtceu:steel_machine_casing')
.circuit(4)
.duration(2.5*20)
.EUt(16)
//#endregion
//#region Large Solar Panel