Skip to content

Commit

Permalink
changed texture of solid fuel boiler to look more like the gt4 one
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinsdar committed Apr 27, 2024
1 parent d2185f6 commit 04d45d1
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 7 deletions.
4 changes: 2 additions & 2 deletions common/src/main/java/trinsdar/gt4r/data/Machines.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@ public class Machines {
public static NonSolidMachine DUSTBIN = new NonSolidMachine(GT4RRef.ID, "dustbin").setMap(RecipeMaps.DUSTBIN).addFlags(GUI, ITEM).setTiers(LV).custom().baseTexture(Textures.DUSTBIN_HANDLER).covers(emptyFactory).frontCovers().setTile(BlockEntityDustBin::new);

public static SteamMachine SOLID_FUEL_BOILER = new SteamMachine(GT4RRef.ID, "solid_fuel_boiler").setMap(SOLID_FUEL_BOILERS).setTiers(BRONZE, STEEL).addFlags(GUI, STEAM, ITEM, FLUID, CELL).baseTexture(Textures.BOILER_HANDLER).setTile(BlockEntityCoalBoiler::new).noCovers();
public static SteamMachine STEAM_FURNACE = new SteamMachine(GT4RRef.ID, "steam_furnace").setTiers(BRONZE, STEEL).addFlags(GUI, STEAM, ITEM, FLUID).setMap(RecipeMaps.STEAM_FURNACE).baseTexture(Textures.BOILER_HANDLER).covers(COVER_STEAM_VENT);
public static SteamMachine STEAM_FURNACE = new SteamMachine(GT4RRef.ID, "steam_furnace").setTiers(BRONZE, STEEL).addFlags(GUI, STEAM, ITEM, FLUID).setMap(RecipeMaps.STEAM_FURNACE).baseTexture(Textures.BRICKED_HANDLER).covers(COVER_STEAM_VENT);
public static SteamMachine STEAM_MACERATOR = new SteamMachine(GT4RRef.ID, "steam_macerator").setTiers(BRONZE, STEEL).addFlags(GUI, STEAM, ITEM, FLUID).setMap(RecipeMaps.STEAM_MACERATOR).covers(COVER_STEAM_VENT);
public static SteamMachine STEAM_EXTRACTOR = new SteamMachine(GT4RRef.ID, "steam_extractor").setTiers(BRONZE, STEEL).addFlags(GUI, STEAM, ITEM, FLUID).setMap(RecipeMaps.STEAM_EXTRACTOR).covers(COVER_STEAM_VENT);
public static SteamMachine STEAM_FORGE_HAMMER = new SteamMachine(GT4RRef.ID, "steam_forge_hammer").setTiers(BRONZE, STEEL).addFlags(GUI, STEAM, ITEM, FLUID).setMap(RecipeMaps.STEAM_FORGE_HAMMER).covers(COVER_STEAM_VENT);
public static SteamMachine STEAM_COMPRESSOR = new SteamMachine(GT4RRef.ID, "steam_compressor").setTiers(BRONZE, STEEL).addFlags(GUI, STEAM, ITEM, FLUID).setMap(RecipeMaps.STEAM_COMPRESSOR).covers(COVER_STEAM_VENT);
public static SteamMachine STEAM_ALLOY_SMELTER = new SteamMachine(GT4RRef.ID, "steam_alloy_smelter").setTiers(BRONZE, STEEL).addFlags(GUI, STEAM, ITEM, FLUID).setMap(RecipeMaps.STEAM_ALLOY_SMELTER).baseTexture(Textures.BOILER_HANDLER).covers(COVER_STEAM_VENT);
public static SteamMachine STEAM_ALLOY_SMELTER = new SteamMachine(GT4RRef.ID, "steam_alloy_smelter").setTiers(BRONZE, STEEL).addFlags(GUI, STEAM, ITEM, FLUID).setMap(RecipeMaps.STEAM_ALLOY_SMELTER).baseTexture(Textures.BRICKED_HANDLER).covers(COVER_STEAM_VENT);
public static SteamMachine STEAM_CUTTER = new SteamMachine(GT4RRef.ID, "steam_cutter").setTiers(BRONZE, STEEL).addFlags(GUI, STEAM, ITEM, FLUID).setMap(RecipeMaps.STEAM_CUTTER).covers(COVER_STEAM_VENT);
public static SteamMachine STEAM_SIFTER = new SteamMachine(GT4RRef.ID, "steam_sifter").setTiers(BRONZE, STEEL).addFlags(GUI, STEAM, ITEM, FLUID).setMap(RecipeMaps.STEAM_SIFTER).covers(COVER_STEAM_VENT);

Expand Down
9 changes: 9 additions & 0 deletions common/src/main/java/trinsdar/gt4r/data/Textures.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@ public class Textures {
};

public static final ITextureHandler BOILER_HANDLER = (m, t, s) -> new Texture[] {
new Texture(GT4RRef.ID, "block/machine/base/brick"),
new Texture(GT4RRef.ID, "block/machine/base/" + t.getId()),
new Texture(GT4RRef.ID, "block/machine/base/boiler_side_" + t.getId()),
new Texture(GT4RRef.ID, "block/machine/base/boiler_side_" + t.getId()),
new Texture(GT4RRef.ID, "block/machine/base/boiler_side_" + t.getId()),
new Texture(GT4RRef.ID, "block/machine/base/boiler_side_" + t.getId()),
};

public static final ITextureHandler BRICKED_HANDLER = (m, t, s) -> new Texture[] {
new Texture(GT4RRef.ID, "block/machine/base/brick"),
new Texture(GT4RRef.ID, "block/machine/base/" + t.getId()),
new Texture(GT4RRef.ID, "block/machine/base/bricked_" + t.getId()),
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

This file was deleted.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 04d45d1

Please sign in to comment.