Skip to content

Commit

Permalink
Organize Identifiers & Fix Warning
Browse files Browse the repository at this point in the history
- Rearranged identifier locations in Textures.java
- Added @author & @Reason Tag for fixing a warning
  • Loading branch information
Fyoncle committed Nov 5, 2024
1 parent 04ea402 commit 5fa13a4
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@

@Mixin(SplashTextRenderer.class)
public class SplashRemoverMixin {

/**
* @author Fyoncle
* @reason I have no damn idea why.
*/
@Overwrite
public void render(DrawContext context, int screenWidth, TextRenderer textRenderer, int alpha) {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,21 @@

public class Textures {
// Health Bar Textures
public static Identifier UNFOCUSED_OFF_HEALTHBAR_TEXTURE = new Identifier(
// OFF
public static Identifier UNFOCUSED_OFF_HEALTHBAR_TEXTURE = new Identifier(
"elysium-days-tweaks",
"buttons/neat_disable_button_unfocused.png");
public static Identifier UNFOCUSED_ON_HEALTHBAR_TEXTURE = new Identifier(
"elysium-days-tweaks",
"buttons/neat_button_unfocused.png");
public static Identifier FOCUSED_OFF_HEALTHBAR_TEXTURE = new Identifier(
"elysium-days-tweaks",
"buttons/neat_disable_button_focused.png");

// ON
public static Identifier UNFOCUSED_ON_HEALTHBAR_TEXTURE = new Identifier(
"elysium-days-tweaks",
"buttons/neat_button_unfocused.png");
public static Identifier FOCUSED_ON_HEALTHBAR_TEXTURE = new Identifier(
"elysium-days-tweaks",
"buttons/neat_button_focused.png");
public static Identifier FOCUSED_OFF_HEALTHBAR_TEXTURE = new Identifier(
"elysium-days-tweaks",
"buttons/neat_disable_button_focused.png");

// Discord Button Textures
public static Identifier DISCORD_BUTTON_UNFOCUSED_TEXTURE = new Identifier(
Expand All @@ -27,36 +29,36 @@ public class Textures {
"buttons/discord_button_focused.png");

// Green Button Texture
public static Identifier GREEN_BUTTON_FOCUSED_TEXTURE = new Identifier(
"elysium-days-tweaks",
"buttons/green_button_focused.png");
public static Identifier GREEN_BUTTON_UNFOCUSED_TEXTURE = new Identifier(
"elysium-days-tweaks",
"buttons/green_button_unfocused.png");
public static Identifier GREEN_BUTTON_FOCUSED_TEXTURE = new Identifier(
"elysium-days-tweaks",
"buttons/green_button_focused.png");

// Ram Warning Screen Buttons Texture

// Ignore Button
public static Identifier IGNORE_BUTTON_FOCUSED = new Identifier(
"elysium-days-tweaks",
"buttons/default_button_focused.png");
public static Identifier IGNORE_BUTTON_UNFOCUSED = new Identifier(
"elysium-days-tweaks",
"buttons/default_button_unfocused.png");
public static Identifier IGNORE_BUTTON_FOCUSED = new Identifier(
"elysium-days-tweaks",
"buttons/default_button_focused.png");

// Guide Button
public static Identifier GUIDE_BUTTON_FOCUSED = new Identifier(
"elysium-days-tweaks",
"buttons/guide_button_focused.png");
public static Identifier GUIDE_BUTTON_UNFOCUSED = new Identifier(
"elysium-days-tweaks",
"buttons/guide_button_unfocused.png");
public static Identifier GUIDE_BUTTON_FOCUSED = new Identifier(
"elysium-days-tweaks",
"buttons/guide_button_focused.png");

// Dont Show Button
public static Identifier RED_BUTTON_FOCUSED = new Identifier(
"elysium-days-tweaks",
"buttons/red_button_focused.png");
public static Identifier RED_BUTTON_UNFOCUSED = new Identifier(
"elysium-days-tweaks",
"buttons/red_button_unfocused.png");
public static Identifier RED_BUTTON_FOCUSED = new Identifier(
"elysium-days-tweaks",
"buttons/red_button_focused.png");
}

0 comments on commit 5fa13a4

Please sign in to comment.