Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
used IconWidget for forge hammer overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinsdar committed Oct 2, 2023
1 parent 153997d commit 9818bea
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion AntimatterAPI
5 changes: 4 additions & 1 deletion common/src/main/java/muramasa/gregtech/data/Guis.java
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public static void slots(){

public static void backgroundTextures(){
MACERATOR.getGui().setBackgroundTexture("machine_macerator");
FORGE_HAMMER.getGui().setBackgroundTexture("machine_forge_hammer");
//FORGE_HAMMER.getGui().setBackgroundTexture("machine_forge_hammer");
CENTRIFUGE.getGui().setBackgroundTexture("centrifuge");
ELECTROLYZER.getGui().setBackgroundTexture("centrifuge");
COKE_OVEN.getGui().setBackgroundTexture("coke_oven");
Expand Down Expand Up @@ -383,6 +383,9 @@ public static void machineData(){
}

public static void widgets(){
FORGE_HAMMER.addGuiCallback(t -> {
t.addWidget(IconWidget.build(new ResourceLocation(GTIRef.ID, "textures/gui/button/forge_hammer_overlay.png"), 78, 42, 20, 6));
});
COAL_BOILER.addGuiCallback(t -> {
t.addWidget(CoalBoilerWidget.build().setSize(70, 25, 36, 54))
.addWidget(CoalBoilerFuelWidget.build().setSize(115, 43, 18, 18));
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 9818bea

Please sign in to comment.