diff options
author | nea <nea@nea.moe> | 2023-07-23 15:06:14 +0200 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-07-23 15:06:14 +0200 |
commit | c4fc3d5b4783a4f9cdc2079736880af55e26ca65 (patch) | |
tree | 7506f1675a3b7c7b05be0ea621800265fef2d460 /src/main/java/com/thatgravyboat/skyblockhud/api/events | |
parent | dcc604153eb806420a59c55a85f01773a5c0278f (diff) | |
download | SkyblockHud-Death-Defied-c4fc3d5b4783a4f9cdc2079736880af55e26ca65.tar.gz SkyblockHud-Death-Defied-c4fc3d5b4783a4f9cdc2079736880af55e26ca65.tar.bz2 SkyblockHud-Death-Defied-c4fc3d5b4783a4f9cdc2079736880af55e26ca65.zip |
Add rift locations
Diffstat (limited to 'src/main/java/com/thatgravyboat/skyblockhud/api/events')
-rw-r--r-- | src/main/java/com/thatgravyboat/skyblockhud/api/events/SidebarLineUpdateEvent.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/api/events/SidebarLineUpdateEvent.java b/src/main/java/com/thatgravyboat/skyblockhud/api/events/SidebarLineUpdateEvent.java index 2737ee9..931843c 100644 --- a/src/main/java/com/thatgravyboat/skyblockhud/api/events/SidebarLineUpdateEvent.java +++ b/src/main/java/com/thatgravyboat/skyblockhud/api/events/SidebarLineUpdateEvent.java @@ -4,17 +4,21 @@ import net.minecraft.scoreboard.ScoreObjective; import net.minecraft.scoreboard.Scoreboard; import net.minecraftforge.fml.common.eventhandler.Event; +import java.util.Map; + public class SidebarLineUpdateEvent extends Event { public String rawLine; public String formattedLine; public int position; public Scoreboard scoreboard; + public Map<Integer, String> allFormattedLines; public ScoreObjective objective; - public SidebarLineUpdateEvent(String rawLine, String formattedLine, int score, int max, Scoreboard scoreboard, ScoreObjective objective) { + public SidebarLineUpdateEvent(String rawLine, String formattedLine, int score, int max, Scoreboard scoreboard, ScoreObjective objective, Map<Integer, String> allFormattedLines) { this.rawLine = rawLine; this.formattedLine = formattedLine; + this.allFormattedLines = allFormattedLines; this.position = max - score; this.scoreboard = scoreboard; this.objective = objective; |