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

Commit

Permalink
Release 1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianMichael committed Jan 20, 2024
1 parent c63d386 commit ea135c5
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ yarn_mappings=1.20.4+build.3
loader_version=0.15.3

# mod
mod_version=1.4.0-SNAPSHOT
mod_version=1.4.0
maven_group=de.florianmichael
archives_base_name=ui-utils-reborn

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ public class UIUtilsReborn implements ClientModInitializer {

private static boolean enabled = true;

public final static int BOUND = 5;
public final static int BUTTON_DIFF = ExploitButtonWidget.DEFAULT_HEIGHT + 3;
public static final int BOUND = 5;
public static final int BUTTON_DIFF = ExploitButtonWidget.DEFAULT_HEIGHT + 3;

private final static List<Pair<ExploitButtonWidget, Class<? extends Screen>>> exploitTracker = new ArrayList<>();
private final static List<Packet<?>> delayedUIPackets = new ArrayList<>();
private static final List<Pair<ExploitButtonWidget, Class<? extends Screen>>> exploitTracker = new ArrayList<>();
private static final List<Packet<?>> delayedUIPackets = new ArrayList<>();

private static boolean cancelSignPackets;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@

public class FabricateScreen extends Screen {

private final static int DEFAULT_WIDTH = 300;
private final static int DEFAULT_HEIGHT = 20;
private static final int DEFAULT_WIDTH = 300;
private static final int DEFAULT_HEIGHT = 20;

private final Screen parent;
private CurrentPacket currentPacket = CurrentPacket.CLICK_SLOT;
Expand Down Expand Up @@ -218,6 +218,7 @@ public void render(DrawContext drawContext, int mouseX, int mouseY, float delta)
}

public enum CurrentPacket {

CLICK_SLOT("Click Slot"),
BUTTON_CLICK("Button Click");

Expand All @@ -230,6 +231,7 @@ public enum CurrentPacket {
public String getDisplay() {
return display;
}

}

}
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@

public class ExploitButtonWidget extends ButtonWidget {

public final static int DEFAULT_WIDTH = 110;
public final static int DEFAULT_HEIGHT = 20;
public static final int DEFAULT_WIDTH = 110;
public static final int DEFAULT_HEIGHT = 20;

public ExploitButtonWidget(Text message, PressAction onPress) {
super(
Expand Down

0 comments on commit ea135c5

Please sign in to comment.