-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
954 additions
and
563 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
src/main/java/io/github/lordanaku/anakus_status_bars/api/hudelements/HudElementType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package io.github.lordanaku.anakus_status_bars.api.hudelements; | ||
|
||
/** | ||
* Create a Hud Element Type. | ||
* (default values) | ||
* @param name The name of the Hud Element Type. | ||
* @param shouldRender Whether the Hud Element should be rendered. | ||
* @param side What side the Hud Element should be rendered on. (True = Left) | ||
* @param shouldRenderIcon Whether the Hud Element should render an icon. | ||
* @param color The color of the Hud Element. | ||
* @param alpha The alpha of the Hud Element. | ||
*/ | ||
public record HudElementType(String name, boolean shouldRender, boolean side, boolean shouldRenderIcon, boolean shouldRenderText, int color, float alpha) { | ||
|
||
} |
11 changes: 0 additions & 11 deletions
11
src/main/java/io/github/lordanaku/anakus_status_bars/api/hudelements/HudElements.java
This file was deleted.
Oops, something went wrong.
17 changes: 17 additions & 0 deletions
17
src/main/java/io/github/lordanaku/anakus_status_bars/api/hudelements/IHudElement.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package io.github.lordanaku.anakus_status_bars.api.hudelements; | ||
|
||
import me.shedaniel.clothconfig2.api.ConfigCategory; | ||
import me.shedaniel.clothconfig2.api.ConfigEntryBuilder; | ||
|
||
public interface IHudElement { | ||
void renderBar(); | ||
void renderIcon(); | ||
void renderText(); | ||
boolean getSide(); | ||
IHudElement setSide(boolean side); | ||
boolean shouldRender(); | ||
boolean shouldRenderIcon(); | ||
boolean shouldRenderText(); | ||
void registerSettings(ConfigCategory mainCategory, ConfigCategory iconCategory, ConfigCategory textCategory, ConfigCategory colorCategory, ConfigCategory textColorSettings, ConfigCategory alphaCategory, ConfigEntryBuilder entryBuilder); | ||
String name(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.