aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/thatgravyboat/skyblockhud/api/events/SidebarLineUpdateEvent.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/thatgravyboat/skyblockhud/api/events/SidebarLineUpdateEvent.java')
-rw-r--r--src/main/java/com/thatgravyboat/skyblockhud/api/events/SidebarLineUpdateEvent.java31
1 files changed, 19 insertions, 12 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 2737ee911..843ad0571 100644
--- a/src/main/java/com/thatgravyboat/skyblockhud/api/events/SidebarLineUpdateEvent.java
+++ b/src/main/java/com/thatgravyboat/skyblockhud/api/events/SidebarLineUpdateEvent.java
@@ -6,17 +6,24 @@ import net.minecraftforge.fml.common.eventhandler.Event;
public class SidebarLineUpdateEvent extends Event {
- public String rawLine;
- public String formattedLine;
- public int position;
- public Scoreboard scoreboard;
- public ScoreObjective objective;
+ public String rawLine;
+ public String formattedLine;
+ public int position;
+ public Scoreboard scoreboard;
+ public ScoreObjective objective;
- public SidebarLineUpdateEvent(String rawLine, String formattedLine, int score, int max, Scoreboard scoreboard, ScoreObjective objective) {
- this.rawLine = rawLine;
- this.formattedLine = formattedLine;
- this.position = max - score;
- this.scoreboard = scoreboard;
- this.objective = objective;
- }
+ public SidebarLineUpdateEvent(
+ String rawLine,
+ String formattedLine,
+ int score,
+ int max,
+ Scoreboard scoreboard,
+ ScoreObjective objective
+ ) {
+ this.rawLine = rawLine;
+ this.formattedLine = formattedLine;
+ this.position = max - score;
+ this.scoreboard = scoreboard;
+ this.objective = objective;
+ }
}