24package com.dreamfirestudios.dreamcore.DreamActionBar;
26import com.dreamfirestudios.dreamcore.DreamCore;
28import org.bukkit.Bukkit;
29import org.bukkit.event.Cancellable;
30import org.bukkit.event.Event;
31import org.bukkit.event.HandlerList;
32import org.jetbrains.annotations.NotNull;
42 private static final HandlerList handlers =
new HandlerList();
50 private boolean cancelled;
59 () -> Bukkit.getPluginManager().callEvent(
this));
85 this.cancelled = cancelled;
Event fired when a DreamActionBar is stopped.
DreamActionBarStopped(DreamActionBar dreamActionBar)
Creates a new instance of the DreamActionBarStopped event.
static HandlerList getHandlerList()
Gets the handler list for this event.
HandlerList getHandlers()
void setCancelled(boolean cancelled)
Represents an action bar instance that cycles through frames and displays them to viewers.
static DreamCore DreamCore