New Active Transformer (#2424)

* textures and stuff

* recipes

* looks a little better

* got texture thing to be

* probably good enough

* cooling tower touchup
This commit is contained in:
GameStar 2025-12-14 16:03:41 -06:00 committed by GitHub
parent e77519aa59
commit e06ca51081
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 232 additions and 4 deletions

View file

@ -0,0 +1,82 @@
{
"parent": "minecraft:block/block",
"loader": "gtceu:machine",
"machine": "gtceu:active_transformer",
"texture_overrides": {
"all": "tfg:item/deprecated"
},
"variants": {
"is_formed=false,recipe_logic_status=idle": {
"model": {
"parent": "gtceu:block/machine/template/cube_all/sided",
"textures": {
"all": "tfg:item/deprecated",
"overlay_front": "tfg:item/deprecated"
}
}
},
"is_formed=false,recipe_logic_status=suspend": {
"model": {
"parent": "gtceu:block/machine/template/cube_all/sided",
"textures": {
"all": "tfg:item/deprecated",
"overlay_front": "tfg:item/deprecated"
}
}
},
"is_formed=false,recipe_logic_status=waiting": {
"model": {
"parent": "gtceu:block/machine/template/cube_all/sided",
"textures": {
"all": "tfg:item/deprecated",
"overlay_front": "tfg:item/deprecated_active"
}
}
},
"is_formed=false,recipe_logic_status=working": {
"model": {
"parent": "gtceu:block/machine/template/cube_all/sided",
"textures": {
"all": "tfg:item/deprecated",
"overlay_front": "tfg:item/deprecated_active"
}
}
},
"is_formed=true,recipe_logic_status=idle": {
"model": {
"parent": "gtceu:block/machine/template/cube_all/sided",
"textures": {
"all": "tfg:item/deprecated",
"overlay_front": "tfg:item/deprecated"
}
}
},
"is_formed=true,recipe_logic_status=suspend": {
"model": {
"parent": "gtceu:block/machine/template/cube_all/sided",
"textures": {
"all": "tfg:item/deprecated",
"overlay_front": "tfg:item/deprecated"
}
}
},
"is_formed=true,recipe_logic_status=waiting": {
"model": {
"parent": "gtceu:block/machine/template/cube_all/sided",
"textures": {
"all": "tfg:item/deprecated",
"overlay_front": "tfg:item/deprecated_active"
}
}
},
"is_formed=true,recipe_logic_status=working": {
"model": {
"parent": "gtceu:block/machine/template/cube_all/sided",
"textures": {
"all": "tfg:item/deprecated",
"overlay_front": "tfg:item/deprecated_active"
}
}
}
}
}

View file

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

View file

@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "tfg:block/casings/machine_casing_power_casing"
}
}
}

View file

@ -0,0 +1 @@
{"parent":"minecraft:block/cube_all","textures":{"all":"tfg:block/casings/machine_casing_power_casing"}}

View file

@ -0,0 +1,86 @@
{
"parent": "minecraft:block/block",
"loader": "gtceu:machine",
"machine": "tfg:active_power_transformer",
"texture_overrides": {
"all": "tfg:block/casings/machine_casing_power_casing"
},
"variants": {
"is_formed=false,recipe_logic_status=idle": {
"model": {
"parent": "gtceu:block/machine/template/cube_all/sided",
"textures": {
"all": "tfg:block/casings/machine_casing_power_casing",
"overlay_front": "gtceu:block/multiblock/power_substation/overlay_front"
}
}
},
"is_formed=false,recipe_logic_status=suspend": {
"model": {
"parent": "gtceu:block/machine/template/cube_all/sided",
"textures": {
"all": "tfg:block/casings/machine_casing_power_casing",
"overlay_front": "gtceu:block/multiblock/power_substation/overlay_front"
}
}
},
"is_formed=false,recipe_logic_status=waiting": {
"model": {
"parent": "gtceu:block/machine/template/cube_all/sided",
"textures": {
"all": "tfg:block/casings/machine_casing_power_casing",
"overlay_front": "gtceu:block/multiblock/power_substation/overlay_front_active",
"overlay_front_emissive": "gtceu:block/multiblock/power_substation/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_power_casing",
"overlay_front": "gtceu:block/multiblock/power_substation/overlay_front_active",
"overlay_front_emissive": "gtceu:block/multiblock/power_substation/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_power_casing",
"overlay_front": "gtceu:block/multiblock/power_substation/overlay_front"
}
}
},
"is_formed=true,recipe_logic_status=suspend": {
"model": {
"parent": "gtceu:block/machine/template/cube_all/sided",
"textures": {
"all": "tfg:block/casings/machine_casing_power_casing",
"overlay_front": "gtceu:block/multiblock/power_substation/overlay_front"
}
}
},
"is_formed=true,recipe_logic_status=waiting": {
"model": {
"parent": "gtceu:block/machine/template/cube_all/sided",
"textures": {
"all": "tfg:block/casings/machine_casing_power_casing",
"overlay_front": "gtceu:block/multiblock/power_substation/overlay_front_active",
"overlay_front_emissive": "gtceu:block/multiblock/power_substation/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_power_casing",
"overlay_front": "gtceu:block/multiblock/power_substation/overlay_front_active",
"overlay_front_emissive": "gtceu:block/multiblock/power_substation/overlay_front_active_emissive"
}
}
}
}
}

View file

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

View file

@ -0,0 +1,3 @@
{
"parent": "tfg:block/casings/machine_casing_power_casing"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 526 B

View file

@ -0,0 +1,5 @@
{
"ldlib": {
"connection": "tfg:block/casings/machine_casing_power_casing_ctm"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 347 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 217 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 235 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 B

View file

@ -178,5 +178,12 @@ function registerTFGCasingRecipes(event) {
.EUt(GTValues.VH[GTValues.LV])
.circuit(2)
event.recipes.gtceu.assembler('tfg:casings/machine_casing_power_casing')
.itemInputs('gtceu:ostrum_frame', '4x #forge:plates/titanium_tungsten_carbide', '16x #forge:fine_wires/copper',
'16x #forge:fine_wires/tungsten_bismuth_oxide_composite')
.inputFluids(Fluid.of('gtceu:reinforced_epoxy_resin', 288))
.itemOutputs('2x tfg:machine_casing_power_casing')
.circuit(6)
.duration(2.5 * 20)
.EUt(GTValues.VA[GTValues.EV])
}

View file

@ -187,4 +187,15 @@ function registerTFGMultiblockRecipes(event) {
F: 'gtceu:mv_electric_piston'
}).addMaterialInfo().id('gtceu:shaped/coal_liquefaction_tower')
event.remove({output: 'gtceu:active_transformer'})
event.recipes.gtceu.assembler('tfg:active_power_transformer')
.itemInputs('1x gtceu:iv_transformer_1a', '1x #gtceu:circuits/iv', '8x gtceu:uranium_triplatinum_single_wire',
'2x gtceu:hpic_chip')
.inputFluids(Fluid.of('gtceu:ostrum_iodide', 288))
.itemOutputs('tfg:active_power_transformer')
.duration(300)
.EUt(GTValues.VA[GTValues.EV])
.circuit(2)
}

View file

@ -123,6 +123,7 @@ const registerTFGBlockTags = (event) => {
event.add('forge:mineable/wrench', 'tfg:electromagnetic_accelerator')
event.add('forge:mineable/wrench', 'tfg:reflector')
event.add('forge:mineable/wrench', 'tfg:machine_casing_aluminium_plated_steel')
event.add('forge:mineable/wrench', 'tfg:machine_casing_power_casing')
event.add('minecraft:mineable/pickaxe', 'tfg:mars_ice')
event.add('minecraft:mineable/pickaxe', 'tfg:dry_ice')

View file

@ -96,6 +96,7 @@ function registerTFGMarsMaterials(event) {
event.create("ostrum_iodide")
.ingot()
.liquid()
.components('2x ostrum', 'iodine')
.blastTemp(3700, 'mid', GTValues.VA[GTValues.IV], (20*120))
.iconSet(GTMaterialIconSet.BRIGHT)

View file

@ -113,7 +113,9 @@ const registerTFGMaterials = (event) => {
GTMaterialFlags.GENERATE_ROD,
GTMaterialFlags.GENERATE_BOLT_SCREW,
GTMaterialFlags.EXCLUDE_BLOCK_CRAFTING_BY_HAND_RECIPES,
GTMaterialFlags.GENERATE_GEAR
GTMaterialFlags.GENERATE_GEAR,
GTMaterialFlags.GENERATE_FOIL,
GTMaterialFlags.GENERATE_FINE_WIRE
)
.fluidPipeProperties(4250, 1700, true, false, false, false)

View file

@ -51,10 +51,10 @@ function registerTFGNuclearBlocks(event) {
.tagBlock('gtceu:mineable/pickaxe_or_wrench')
.mapColor('color_black')
.speedFactor(1.1)
.activeOffset(3.5, 2, 3.5)
.activeOffset(2, 2, 2)
.activeVelocity(0.0, 0.0, 0.0)
.activeParticle('tfg:cooling_steam')
.activeBase(0.0, 12.5, 0.0)
.activeBase(0.0, 13.5, 0.0)
.activeCount(2)
.activeForced(false)
.hasTicker(true)