Skip to content

Commit 0a782a6

Browse files
committed
Drone Maint Texture
1 parent 4d6f1d4 commit 0a782a6

4 files changed

Lines changed: 12 additions & 19 deletions

File tree

src/generated/resources/assets/cosmiccore/models/block/machine/drone_maintenance_interface.json

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,13 @@
88
"side"
99
],
1010
"variants": {
11-
"taped=false": {
11+
"": {
1212
"model": {
13-
"parent": "gtceu:block/machine/part/maintenance_hatch",
13+
"parent": "cosmiccore:block/machine/part/drone_hatch_maint",
1414
"textures": {
15-
"bottom": "gtceu:block/casings/voltage/hv/bottom",
16-
"side": "gtceu:block/casings/voltage/hv/side",
17-
"top": "gtceu:block/casings/voltage/hv/top"
18-
}
19-
}
20-
},
21-
"taped=true": {
22-
"model": {
23-
"parent": "gtceu:block/machine/part/maintenance_hatch",
24-
"textures": {
25-
"bottom": "gtceu:block/casings/voltage/hv/bottom",
26-
"overlay_2": "gtceu:block/overlay/machine/overlay_maintenance_taped",
27-
"side": "gtceu:block/casings/voltage/hv/side",
28-
"top": "gtceu:block/casings/voltage/hv/top"
15+
"bottom": "gtceu:block/casings/voltage/ev/bottom",
16+
"side": "gtceu:block/casings/voltage/ev/side",
17+
"top": "gtceu:block/casings/voltage/ev/top"
2918
}
3019
}
3120
}

src/main/java/com/ghostipedia/cosmiccore/common/data/CosmicMachines.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -605,10 +605,8 @@ private static MachineDefinition[] registerTieredMachines(String name,
605605
.rotationState(RotationState.ALL)
606606
.abilities(PartAbility.MAINTENANCE)
607607
.tooltips(Component.translatable("gtceu.part_sharing.disabled"))
608-
// TODO: Remove this property since it can't be taped, and also add proper models
609-
.modelProperty(MaintenanceHatchPartMachine.MAINTENANCE_TAPED_PROPERTY, false)
610-
.model(createMaintenanceModel(CosmicCore.id("block/machine/part/maintenance_hatch")))
611608
.tier(EV)
609+
.overlayTieredHullModel("drone_hatch_maint")
612610
.langValue("Drone Maintenance Interface")
613611
.register();
614612

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": "cosmiccore:block/overlay/drone_hatch_maint"
5+
}
6+
}

src/main/resources/assets/cosmiccore/models/block/overlay/drone_hatch_maint.json

Whitespace-only changes.

0 commit comments

Comments
 (0)