Class BungeeOreAnnouncerEvent
- java.lang.Object
-
- net.md_5.bungee.api.plugin.Event
-
- com.alessiodp.oreannouncer.api.events.bungee.BungeeOreAnnouncerEvent
-
- All Implemented Interfaces:
OreAnnouncerEvent
- Direct Known Subclasses:
BungeeOreAnnouncerAdvancedAlertEvent
,BungeeOreAnnouncerAlertEvent
,BungeeOreAnnouncerBlockDestroyEvent
public abstract class BungeeOreAnnouncerEvent extends net.md_5.bungee.api.plugin.Event implements OreAnnouncerEvent
-
-
Constructor Summary
Constructors Constructor Description BungeeOreAnnouncerEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull OreAnnouncerAPI
getApi()
Get the OreAnnouncer API instancevoid
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
-
-