package com.thatgravyboat.skyblockhud.api.events; import java.util.List; import net.minecraft.scoreboard.ScoreObjective; import net.minecraft.scoreboard.Scoreboard; import net.minecraftforge.fml.common.eventhandler.Event; public class SidebarPostEvent extends Event { public Scoreboard scoreboard; public ScoreObjective objective; public List scores; public String[] arrayScores; public SidebarPostEvent(Scoreboard scoreboard, ScoreObjective objective, List scores) { this.scoreboard = scoreboard; this.objective = objective; this.scores = scores; this.arrayScores = scores.toArray(new String[] {}); } }