Skip to content

Commit

Permalink
Add the PME logo(?) from GT:NH's CoAL
Browse files Browse the repository at this point in the history
  • Loading branch information
Zorbatron committed Sep 10, 2024
1 parent 6482bad commit 431fc98
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import gregtech.api.capability.impl.FluidTankList;
import gregtech.api.gui.GuiTextures;
import gregtech.api.gui.ModularUI;
import gregtech.api.gui.widgets.ImageWidget;
import gregtech.api.gui.widgets.ProgressWidget;
import gregtech.api.recipes.RecipeBuilder;
import gregtech.api.recipes.RecipeMap;
Expand All @@ -28,6 +29,9 @@ public ModularUI.Builder createJeiUITemplate(IItemHandlerModifiable importItems,
ModularUI.Builder builder = ModularUI.builder(GuiTextures.BACKGROUND, 176, 176)
.widget(new ProgressWidget(100, 62, 0, 72, 20, ZBGTTextures.PROGRESS_BAR_CoAL,
ProgressWidget.MoveType.HORIZONTAL));

builder.widget(new ImageWidget(67, 12, 7, 32, ZBGTTextures.PME));

this.addInventorySlotGroup(builder, importItems, importFluids, false, yOffset);
this.addInventorySlotGroup(builder, exportItems, exportFluids, true, yOffset);
return builder;
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/com/zorbatron/zbgt/api/render/ZBGTTextures.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ public class ZBGTTextures {
// GUI overlays
public static TextureArea ITEM_FLUID_OVERLAY;
public static TextureArea AUTO_PULL;
public static TextureArea PME;

public static final TextureArea PROGRESS_BAR_CoAL = TextureArea
.fullImage("textures/gui/progress_bar/progress_bar_component_al.png");
Expand All @@ -35,6 +36,7 @@ public static void preInit() {

ITEM_FLUID_OVERLAY = TextureArea.fullImage("textures/gui/widget/item_fluid.png");
AUTO_PULL = TextureArea.fullImage("textures/gui/widget/auto_pull.png");
PME = TextureArea.fullImage("textures/gui/widget/pme.png");

GTPP_MACHINE_OVERLAY = new OrientedOverlayRenderer("multiblock/gtpp");

Expand Down
1 change: 1 addition & 0 deletions src/main/java/com/zorbatron/zbgt/client/ClientProxy.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ public class ClientProxy extends CommonProxy {
@Override
public void preInit() {
super.preInit();

ZBGTTextures.preInit();
}

Expand Down
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 431fc98

Please sign in to comment.