aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/thatgravyboat/skyblockhud/api/events/SidebarPreGetEvent.java
blob: 0db1895c64c9505845bf0bbc7b6c12fa49c463c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.thatgravyboat.skyblockhud.api.events;

import net.minecraft.scoreboard.ScoreObjective;
import net.minecraft.scoreboard.Scoreboard;
import net.minecraftforge.fml.common.eventhandler.Cancelable;
import net.minecraftforge.fml.common.eventhandler.Event;

@Cancelable
public class SidebarPreGetEvent extends Event {

    public Scoreboard scoreboard;
    public ScoreObjective objective;

    public SidebarPreGetEvent(Scoreboard scoreboard, ScoreObjective objective) {
        this.scoreboard = scoreboard;
        this.objective = objective;
    }
}