Class BukkitOreAnnouncerEvent
- java.lang.Object
-
- org.bukkit.event.Event
-
- com.alessiodp.oreannouncer.api.events.bukkit.BukkitOreAnnouncerEvent
-
- All Implemented Interfaces:
OreAnnouncerEvent
- Direct Known Subclasses:
BukkitOreAnnouncerAdvancedAlertEvent
,BukkitOreAnnouncerAlertEvent
,BukkitOreAnnouncerBlockDestroyEvent
public class BukkitOreAnnouncerEvent extends org.bukkit.event.Event implements OreAnnouncerEvent
-
-
Constructor Summary
Constructors Constructor Description BukkitOreAnnouncerEvent(boolean async)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull OreAnnouncerAPI
getApi()
Get the OreAnnouncer API instancestatic org.bukkit.event.HandlerList
getHandlerList()
@NotNull org.bukkit.event.HandlerList
getHandlers()
void
setApi(OreAnnouncerAPI instance)
Set the OreAnnouncer API instance.
-
-
-
Method Detail
-
getApi
@NotNull public @NotNull OreAnnouncerAPI getApi()
Description copied from interface:OreAnnouncerEvent
Get the OreAnnouncer API instance- Specified by:
getApi
in interfaceOreAnnouncerEvent
- Returns:
- Returns the
OreAnnouncerAPI
-
setApi
public void setApi(OreAnnouncerAPI instance)
Description copied from interface:OreAnnouncerEvent
Set the OreAnnouncer API instance. Used by OreAnnouncer instance to let you hook directly to the main API.- Specified by:
setApi
in interfaceOreAnnouncerEvent
- Parameters:
instance
-OreAnnouncerAPI
instance to set
-
getHandlers
@NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-
-