Skip to content

Commit 6e049ef

Browse files
committed
Added overlay textures to Aura Import/Export Hatches
1 parent 68d4e27 commit 6e049ef

10 files changed

Lines changed: 35 additions & 11 deletions

File tree

src/generated/resources/assets/refactorycore/models/block/machine/mv_aura_export_hatch.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"variants": {
1111
"is_formed=false": {
1212
"model": {
13-
"parent": "refactorycore:block/machine/part/aura_hatch",
13+
"parent": "refactorycore:block/machine/part/aura_export_hatch",
1414
"textures": {
1515
"bottom": "gtceu:block/casings/voltage/mv/bottom",
1616
"side": "gtceu:block/casings/voltage/mv/side",
@@ -20,7 +20,7 @@
2020
},
2121
"is_formed=true": {
2222
"model": {
23-
"parent": "refactorycore:block/machine/part/aura_hatch",
23+
"parent": "refactorycore:block/machine/part/aura_export_hatch",
2424
"textures": {
2525
"bottom": "gtceu:block/casings/voltage/mv/bottom",
2626
"side": "gtceu:block/casings/voltage/mv/side",

src/generated/resources/assets/refactorycore/models/block/machine/mv_aura_input_hatch.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"variants": {
1111
"is_formed=false": {
1212
"model": {
13-
"parent": "refactorycore:block/machine/part/aura_hatch",
13+
"parent": "refactorycore:block/machine/part/aura_import_hatch",
1414
"textures": {
1515
"bottom": "gtceu:block/casings/voltage/mv/bottom",
1616
"side": "gtceu:block/casings/voltage/mv/side",
@@ -20,7 +20,7 @@
2020
},
2121
"is_formed=true": {
2222
"model": {
23-
"parent": "refactorycore:block/machine/part/aura_hatch",
23+
"parent": "refactorycore:block/machine/part/aura_import_hatch",
2424
"textures": {
2525
"bottom": "gtceu:block/casings/voltage/mv/bottom",
2626
"side": "gtceu:block/casings/voltage/mv/side",

src/main/java/com/illuminatijoe/refactorycore/machines/ReFactoryMachines.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ public static MachineDefinition[] registerAuraHatch(String name, String displayN
290290
.abilities(abilities)
291291
.rotationState(RotationState.ALL)
292292
.modelProperty(GTMachineModelProperties.IS_FORMED, false)
293-
.overlayTieredHullModel("aura_hatch")
293+
.overlayTieredHullModel(io == IO.IN ? "aura_import_hatch" : "aura_export_hatch")
294294
.register(),
295295
MV);
296296
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"parent": "gtceu:block/overlay/front_emissive",
3+
"textures": {
4+
"overlay_emissive": "refactorycore:block/overlay/aura_export_overlay_front"
5+
}
6+
}

src/main/resources/assets/refactorycore/models/block/machine/part/aura_hatch.json

Lines changed: 0 additions & 6 deletions
This file was deleted.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"parent": "gtceu:block/overlay/front_emissive",
3+
"textures": {
4+
"overlay_emissive": "refactorycore:block/overlay/aura_import_overlay_front"
5+
}
6+
}
876 Bytes
Loading
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"animation": {
3+
"interpolate": true,
4+
"frametime": 8
5+
},
6+
"ldlib": {
7+
"emissive": true
8+
}
9+
}
876 Bytes
Loading
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"animation": {
3+
"interpolate": true,
4+
"frametime": 8
5+
},
6+
"ldlib": {
7+
"emissive": true
8+
}
9+
}

0 commit comments

Comments
 (0)