From df86f11eb5def111ed673f416fb9908bda7c7760 Mon Sep 17 00:00:00 2001 From: TomPlop Date: Fri, 26 Sep 2025 16:41:48 -0400 Subject: [PATCH] add evaporation tower and nuclear turbine (#1887) --- .../tfg/blockstates/evaporation_tower.json | 19 ++++ .../machine_casing_stainless_evaporation.json | 1 + .../block/machines/evaporation_tower.json | 90 +++++++++++++++++++ .../tfg/models/item/evaporation_tower.json | 3 + kubejs/startup_scripts/gtceu/machines.js | 4 +- kubejs/startup_scripts/gtceu/recipe_types.js | 4 +- 6 files changed, 117 insertions(+), 4 deletions(-) create mode 100644 kubejs/assets/tfg/blockstates/evaporation_tower.json create mode 100644 kubejs/assets/tfg/models/block/casings/machine_casing_stainless_evaporation.json create mode 100644 kubejs/assets/tfg/models/block/machines/evaporation_tower.json create mode 100644 kubejs/assets/tfg/models/item/evaporation_tower.json diff --git a/kubejs/assets/tfg/blockstates/evaporation_tower.json b/kubejs/assets/tfg/blockstates/evaporation_tower.json new file mode 100644 index 000000000..af4f597e5 --- /dev/null +++ b/kubejs/assets/tfg/blockstates/evaporation_tower.json @@ -0,0 +1,19 @@ +{ + "variants": { + "facing=east": { + "model": "tfg:block/machines/evaporation_tower", + "y": 90 + }, + "facing=north": { + "model": "tfg:block/machines/evaporation_tower" + }, + "facing=south": { + "model": "tfg:block/machines/evaporation_tower", + "y": 180 + }, + "facing=west": { + "model": "tfg:block/machines/evaporation_tower", + "y": 270 + } + } +} \ No newline at end of file diff --git a/kubejs/assets/tfg/models/block/casings/machine_casing_stainless_evaporation.json b/kubejs/assets/tfg/models/block/casings/machine_casing_stainless_evaporation.json new file mode 100644 index 000000000..278f4384a --- /dev/null +++ b/kubejs/assets/tfg/models/block/casings/machine_casing_stainless_evaporation.json @@ -0,0 +1 @@ +{"parent":"minecraft:block/cube_all","textures":{"all":"tfg:block/casings/machine_casing_stainless_evaporation"}} \ No newline at end of file diff --git a/kubejs/assets/tfg/models/block/machines/evaporation_tower.json b/kubejs/assets/tfg/models/block/machines/evaporation_tower.json new file mode 100644 index 000000000..2d6a608fa --- /dev/null +++ b/kubejs/assets/tfg/models/block/machines/evaporation_tower.json @@ -0,0 +1,90 @@ +{ + "parent": "minecraft:block/block", + "loader": "gtceu:machine", + "machine": "tfg:evaporation_tower", + "texture_overrides": { + "all": "tfg:block/casings/machine_casing_stainless_evaporation" + }, + "variants": { + "is_formed=false,recipe_logic_status=idle": { + "model": { + "parent": "gtceu:block/machine/template/cube_all/sided", + "textures": { + "all": "tfg:block/casings/machine_casing_stainless_evaporation", + "overlay_front": "tfg:block/machines/bioreactor/overlay_front", + "overlay_front_emissive": "tfg:block/machines/bioreactor/overlay_front_emissive" + } + } + }, + "is_formed=false,recipe_logic_status=suspend": { + "model": { + "parent": "gtceu:block/machine/template/cube_all/sided", + "textures": { + "all": "tfg:block/casings/machine_casing_stainless_evaporation", + "overlay_front": "tfg:block/machines/bioreactor/overlay_front", + "overlay_front_emissive": "tfg:block/machines/bioreactor/overlay_front_emissive" + } + } + }, + "is_formed=false,recipe_logic_status=waiting": { + "model": { + "parent": "gtceu:block/machine/template/cube_all/sided", + "textures": { + "all": "tfg:block/casings/machine_casing_stainless_evaporation", + "overlay_front": "tfg:block/machines/bioreactor/overlay_front_active", + "overlay_front_emissive": "tfg:block/machines/bioreactor/overlay_front_active_emissive" + } + } + }, + "is_formed=false,recipe_logic_status=working": { + "model": { + "parent": "gtceu:block/machine/template/cube_all/sided", + "textures": { + "all": "tfg:block/casings/machine_casing_stainless_evaporation", + "overlay_front": "tfg:block/machines/bioreactor/overlay_front_active", + "overlay_front_emissive": "tfg:block/machines/bioreactor/overlay_front_active_emissive" + } + } + }, + "is_formed=true,recipe_logic_status=idle": { + "model": { + "parent": "gtceu:block/machine/template/cube_all/sided", + "textures": { + "all": "tfg:block/casings/machine_casing_stainless_evaporation", + "overlay_front": "tfg:block/machines/bioreactor/overlay_front", + "overlay_front_emissive": "tfg:block/machines/bioreactor/overlay_front_emissive" + } + } + }, + "is_formed=true,recipe_logic_status=suspend": { + "model": { + "parent": "gtceu:block/machine/template/cube_all/sided", + "textures": { + "all": "tfg:block/casings/machine_casing_stainless_evaporation", + "overlay_front": "tfg:block/machines/bioreactor/overlay_front", + "overlay_front_emissive": "tfg:block/machines/bioreactor/overlay_front_emissive" + } + } + }, + "is_formed=true,recipe_logic_status=waiting": { + "model": { + "parent": "gtceu:block/machine/template/cube_all/sided", + "textures": { + "all": "tfg:block/casings/machine_casing_stainless_evaporation", + "overlay_front": "tfg:block/machines/bioreactor/overlay_front_active", + "overlay_front_emissive": "tfg:block/machines/bioreactor/overlay_front_active_emissive" + } + } + }, + "is_formed=true,recipe_logic_status=working": { + "model": { + "parent": "gtceu:block/machine/template/cube_all/sided", + "textures": { + "all": "tfg:block/casings/machine_casing_stainless_evaporation", + "overlay_front": "tfg:block/machines/bioreactor/overlay_front_active", + "overlay_front_emissive": "tfg:block/machines/bioreactor/overlay_front_active_emissive" + } + } + } + } +} \ No newline at end of file diff --git a/kubejs/assets/tfg/models/item/evaporation_tower.json b/kubejs/assets/tfg/models/item/evaporation_tower.json new file mode 100644 index 000000000..f9f4db95e --- /dev/null +++ b/kubejs/assets/tfg/models/item/evaporation_tower.json @@ -0,0 +1,3 @@ +{ + "parent": "tfg:block/machines/evaporation_tower" +} \ No newline at end of file diff --git a/kubejs/startup_scripts/gtceu/machines.js b/kubejs/startup_scripts/gtceu/machines.js index 834414187..fd32747d7 100644 --- a/kubejs/startup_scripts/gtceu/machines.js +++ b/kubejs/startup_scripts/gtceu/machines.js @@ -534,7 +534,7 @@ const registerGTCEuMachines = (event) => { //#endregion //#region Evaporation Tower - +/* event.create('evaporation_tower', 'multiblock') .rotationState(RotationState.NON_Y_AXIS) .recipeType('evaporation_tower') @@ -561,7 +561,7 @@ const registerGTCEuMachines = (event) => { .workableCasingModel( 'gtceu:block/casings/solid/machine_casing_stainless_evaporation', 'gtceu:block/multiblock/distillation_tower') - + */ //#endregion //#region Ore Line diff --git a/kubejs/startup_scripts/gtceu/recipe_types.js b/kubejs/startup_scripts/gtceu/recipe_types.js index 60b912331..16ffef515 100644 --- a/kubejs/startup_scripts/gtceu/recipe_types.js +++ b/kubejs/startup_scripts/gtceu/recipe_types.js @@ -64,14 +64,14 @@ const registerGTCEuRecipeTypes = (event) => { .setSlotOverlay(false, false, GuiTextures.ATOMIC_OVERLAY_1) .setProgressBar(GuiTextures.ATOMIC_OVERLAY_1, FillDirection.DOWN_TO_UP) .setSound(GTSoundEntries.MINER) - +/* event.create('evaporation_tower') .category('evaporation_tower') .setEUIO('in') .setMaxIOSize(0, 1, 1, 6) .setProgressBar(GuiTextures.PROGRESS_BAR_DISTILLATION_TOWER, FillDirection.LEFT_TO_RIGHT) .setSound(GTSoundEntries.BATH) - +*/ event.create('ostrum_harvester') .category('ostrum_harvester') .setEUIO('in')