Skip to content

Commit

Permalink
Misc texture fixes (#1974)
Browse files Browse the repository at this point in the history
  • Loading branch information
JuiceyBeans authored Sep 18, 2024
1 parent c6be9dc commit 569eb61
Show file tree
Hide file tree
Showing 109 changed files with 66 additions and 219 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parent": "minecraft:block/cube_bottom_top",
"textures": {
"bottom": "gtceu:block/casings/battery/empty_tier_i/top",
"side": "gtceu:block/casings/battery/empty_tier_i/top",
"top": "gtceu:block/casings/battery/empty_tier_i/side"
"side": "gtceu:block/casings/battery/empty_tier_i/side",
"top": "gtceu:block/casings/battery/empty_tier_i/top"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parent": "minecraft:block/cube_bottom_top",
"textures": {
"bottom": "gtceu:block/casings/battery/empty_tier_ii/top",
"side": "gtceu:block/casings/battery/empty_tier_ii/top",
"top": "gtceu:block/casings/battery/empty_tier_ii/side"
"side": "gtceu:block/casings/battery/empty_tier_ii/side",
"top": "gtceu:block/casings/battery/empty_tier_ii/top"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parent": "minecraft:block/cube_bottom_top",
"textures": {
"bottom": "gtceu:block/casings/battery/empty_tier_iii/top",
"side": "gtceu:block/casings/battery/empty_tier_iii/top",
"top": "gtceu:block/casings/battery/empty_tier_iii/side"
"side": "gtceu:block/casings/battery/empty_tier_iii/side",
"top": "gtceu:block/casings/battery/empty_tier_iii/top"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parent": "minecraft:block/cube_bottom_top",
"textures": {
"bottom": "gtceu:block/casings/battery/ev_lapotronic/top",
"side": "gtceu:block/casings/battery/ev_lapotronic/top",
"top": "gtceu:block/casings/battery/ev_lapotronic/side"
"side": "gtceu:block/casings/battery/ev_lapotronic/side",
"top": "gtceu:block/casings/battery/ev_lapotronic/top"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parent": "minecraft:block/cube_bottom_top",
"textures": {
"bottom": "minecraft:block/tnt_bottom",
"side": "gtceu:block/industrial_tnt_side",
"side": "gtceu:block/misc/industrial_tnt_side",
"top": "minecraft:block/tnt_top"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parent": "minecraft:block/cube_bottom_top",
"textures": {
"bottom": "gtceu:block/casings/battery/iv_lapotronic/top",
"side": "gtceu:block/casings/battery/iv_lapotronic/top",
"top": "gtceu:block/casings/battery/iv_lapotronic/side"
"side": "gtceu:block/casings/battery/iv_lapotronic/side",
"top": "gtceu:block/casings/battery/iv_lapotronic/top"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parent": "minecraft:block/cube_bottom_top",
"textures": {
"bottom": "gtceu:block/casings/battery/luv_lapotronic/top",
"side": "gtceu:block/casings/battery/luv_lapotronic/top",
"top": "gtceu:block/casings/battery/luv_lapotronic/side"
"side": "gtceu:block/casings/battery/luv_lapotronic/side",
"top": "gtceu:block/casings/battery/luv_lapotronic/top"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parent": "minecraft:block/cube_bottom_top",
"textures": {
"bottom": "gtceu:block/casings/battery/uhv_ultimate/top",
"side": "gtceu:block/casings/battery/uhv_ultimate/top",
"top": "gtceu:block/casings/battery/uhv_ultimate/side"
"side": "gtceu:block/casings/battery/uhv_ultimate/side",
"top": "gtceu:block/casings/battery/uhv_ultimate/top"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parent": "minecraft:block/cube_bottom_top",
"textures": {
"bottom": "gtceu:block/casings/battery/uv_lapotronic/top",
"side": "gtceu:block/casings/battery/uv_lapotronic/top",
"top": "gtceu:block/casings/battery/uv_lapotronic/side"
"side": "gtceu:block/casings/battery/uv_lapotronic/side",
"top": "gtceu:block/casings/battery/uv_lapotronic/top"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parent": "minecraft:block/cube_bottom_top",
"textures": {
"bottom": "gtceu:block/casings/battery/zpm_lapotronic/top",
"side": "gtceu:block/casings/battery/zpm_lapotronic/top",
"top": "gtceu:block/casings/battery/zpm_lapotronic/side"
"side": "gtceu:block/casings/battery/zpm_lapotronic/side",
"top": "gtceu:block/casings/battery/zpm_lapotronic/top"
}
}
8 changes: 4 additions & 4 deletions src/main/java/com/gregtechceu/gtceu/api/gui/GuiTextures.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ public class GuiTextures {
public static final ResourceTexture TOOL_DISABLE_AUTO_OUTPUT = new ResourceTexture(
"gtceu:textures/gui/overlay/tool_disable_auto_output.png");
public static final ResourceTexture TOOL_SWITCH_CONVERTER_NATIVE = new ResourceTexture(
"gtceu:textures/gui/overlay/tool_wire_block.png"); // switch to tool_switch_converter_native once that gets
// made
"gtceu:textures/gui/overlay/tool_wire_block.png"); // todo switch to tool_switch_converter_native once that
// gets made
public static final ResourceTexture TOOL_SWITCH_CONVERTER_EU = new ResourceTexture(
"gtceu:textures/gui/overlay/tool_wire_connect.png"); // switch to tool_switch_converter_eu once that gets
// made
"gtceu:textures/gui/overlay/tool_wire_connect.png"); // todo switch to tool_switch_converter_eu once that
// gets made

// BASE TEXTURES
public static final ResourceBorderTexture BACKGROUND = new ResourceBorderTexture(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ private static BlockEntry<ActiveBlock> createFireboxCasing(BoilerFireboxType typ
.properties(p -> p.mapColor(MapColor.FIRE).instabreak().sound(SoundType.GRASS).ignitedByLava())
.tag(BlockTags.MINEABLE_WITH_AXE)
.blockstate((ctx, prov) -> prov.simpleBlock(ctx.get(), prov.models().cubeBottomTop(ctx.getName(),
prov.blockTexture(ctx.get()).withSuffix("_side"),
GTCEu.id("block/misc/industrial_tnt_side"),
new ResourceLocation("minecraft", "block/tnt_bottom"),
new ResourceLocation("minecraft", "block/tnt_top"))))
.simpleItem()
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/gregtechceu/gtceu/common/data/GTModels.java
Original file line number Diff line number Diff line change
Expand Up @@ -256,9 +256,9 @@ public static NonNullBiConsumer<DataGenContext<Block, BatteryBlock>, RegistrateB
IBatteryData batteryData) {
return (ctx, prov) -> {
prov.simpleBlock(ctx.getEntry(), prov.models().cubeBottomTop(name,
GTCEu.id("block/casings/battery/" + batteryData.getBatteryName() + "/side"),
GTCEu.id("block/casings/battery/" + batteryData.getBatteryName() + "/top"),
GTCEu.id("block/casings/battery/" + batteryData.getBatteryName() + "/top"),
GTCEu.id("block/casings/battery/" + batteryData.getBatteryName() + "/side")));
GTCEu.id("block/casings/battery/" + batteryData.getBatteryName() + "/top")));
};
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"credit": "Made with Blockbench",
"parent": "block/block",
"textures": {
"gearbox": "gtceu:block/gearbox",
"gearbox": "gtceu:block/machines/gearbox",
"bottom": "gtceu:block/casings/voltage/lv/bottom",
"top": "gtceu:block/casings/voltage/lv/top",
"particle": "gtceu:block/casings/voltage/lv/side",
Expand Down Expand Up @@ -141,4 +141,4 @@
"children": [10, 11, 12, 13]
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"credit": "Made with Blockbench",
"parent": "block/block",
"textures": {
"gearbox": "gtceu:block/gearbox",
"gearbox": "gtceu:block/machines/gearbox",
"bottom": "gtceu:block/casings/voltage/lv/bottom",
"top": "gtceu:block/casings/voltage/lv/top",
"particle": "gtceu:block/casings/voltage/lv/side",
Expand Down Expand Up @@ -141,4 +141,4 @@
"children": [10, 11, 12, 13]
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"credit": "Made with Blockbench",
"parent": "block/block",
"textures": {
"gearbox": "gtceu:block/gearbox",
"gearbox": "gtceu:block/machines/gearbox",
"bottom": "gtceu:block/casings/voltage/lv/bottom",
"top": "gtceu:block/casings/voltage/lv/top",
"particle": "gtceu:block/casings/voltage/lv/side",
Expand Down Expand Up @@ -141,4 +141,4 @@
"children": [10, 11, 12, 13]
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"credit": "Made with Blockbench",
"parent": "block/block",
"textures": {
"gearbox": "gtceu:block/gearbox",
"gearbox": "gtceu:block/machines/gearbox",
"bottom": "gtceu:block/casings/voltage/lv/bottom",
"top": "gtceu:block/casings/voltage/lv/top",
"particle": "gtceu:block/casings/voltage/lv/side",
Expand Down Expand Up @@ -141,4 +141,4 @@
"children": [10, 11, 12, 13]
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"credit": "Made with Blockbench",
"parent": "block/block",
"textures": {
"gearbox": "gtceu:block/gearbox",
"gearbox": "gtceu:block/machines/gearbox",
"bottom": "gtceu:block/casings/voltage/lv/bottom",
"top": "gtceu:block/casings/voltage/lv/top",
"particle": "gtceu:block/casings/voltage/lv/side",
Expand Down Expand Up @@ -135,4 +135,4 @@
"children": [10, 11, 12, 13]
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"parent": "block/block",
"textures": {
"overlay": "gtceu:block/overlay/machine/overlay_pipe_in",
"gearbox": "gtceu:block/gearbox",
"gearbox": "gtceu:block/machines/gearbox",
"bottom": "gtceu:block/casings/voltage/lv/bottom",
"top": "gtceu:block/casings/voltage/lv/top",
"particle": "gtceu:block/casings/voltage/lv/side",
Expand Down Expand Up @@ -152,4 +152,4 @@
"children": [11, 12, 13, 14]
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"parent": "block/block",
"textures": {
"overlay": "gtceu:block/overlay/machine/overlay_pipe_out",
"gearbox": "gtceu:block/gearbox",
"gearbox": "gtceu:block/machines/gearbox",
"bottom": "gtceu:block/casings/voltage/lv/bottom",
"top": "gtceu:block/casings/voltage/lv/top",
"particle": "gtceu:block/casings/voltage/lv/side",
Expand Down Expand Up @@ -152,4 +152,4 @@
"children": [11, 12, 13, 14]
}
]
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"ldlib": {
"connection": "gtceu:block/lamps/silver_ctm"
"connection": "gtceu:block/lamps/light_gray_ctm"
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"ldlib": {
"connection": "gtceu:block/lamps/silver_ctm_emissive"
"connection": "gtceu:block/lamps/light_gray_ctm_emissive"
},
"shimmer": {
"bloom": true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"ldlib": {
"connection": "gtceu:block/lamps/silver_off_ctm"
"connection": "gtceu:block/lamps/light_gray_off_ctm"
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

This file was deleted.

Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 569eb61

Please sign in to comment.