diff options
author | Futuremappermydud <54294576+Futuremappermydud@users.noreply.github.com> | 2023-07-07 18:00:58 -0400 |
---|---|---|
committer | Futuremappermydud <54294576+Futuremappermydud@users.noreply.github.com> | 2023-07-07 18:00:58 -0400 |
commit | a4917d92ab77bc980b68017721adac2091a51f3e (patch) | |
tree | e417198494cdc022c4c3af4b83d1a84fee726673 /src/main/java/me/xmrvizzy/skyblocker/utils/title/Title.java | |
parent | e393d6f9fa44b0314734ce54927ebf3bf0551d47 (diff) | |
download | Skyblocker-a4917d92ab77bc980b68017721adac2091a51f3e.tar.gz Skyblocker-a4917d92ab77bc980b68017721adac2091a51f3e.tar.bz2 Skyblocker-a4917d92ab77bc980b68017721adac2091a51f3e.zip |
WIP Title Container movement + Duration methods
Added a WIP configuration screen under /Skyblocker hud titleContainer that allows you to move, change alignment, and reorient the titles inside.
Added methods(TitleContainer.addTitleWithDismiss, and RenderHelper.displayInTitleContainerWDismissAndPlaySound) that will display the given title and after a set amount of ticks will disable that title.
Diffstat (limited to 'src/main/java/me/xmrvizzy/skyblocker/utils/title/Title.java')
-rw-r--r-- | src/main/java/me/xmrvizzy/skyblocker/utils/title/Title.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/me/xmrvizzy/skyblocker/utils/title/Title.java b/src/main/java/me/xmrvizzy/skyblocker/utils/title/Title.java index 44a636d7..d1977470 100644 --- a/src/main/java/me/xmrvizzy/skyblocker/utils/title/Title.java +++ b/src/main/java/me/xmrvizzy/skyblocker/utils/title/Title.java @@ -5,6 +5,7 @@ public class Title { public boolean active = true; public int color; public float lastX = 0; + public float lastY = 0; public Title(String text, int color) { this.text = text; |