blob: 34d27e6bc3bc2ebced79e36c6a29b8c93b301dee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
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<String> scores;
public String[] arrayScores;
public SidebarPostEvent(Scoreboard scoreboard, ScoreObjective objective, List<String> scores) {
this.scoreboard = scoreboard;
this.objective = objective;
this.scores = scores;
this.arrayScores = scores.toArray(new String[] {});
}
}
|