Interface IAlertEvent
-
- All Superinterfaces:
OreAnnouncerEvent
- All Known Implementing Classes:
BukkitOreAnnouncerAlertEvent,BungeeOreAnnouncerAlertEvent
public interface IAlertEvent extends OreAnnouncerEvent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull OABlockgetBlock()Get the blockintgetHeightLevel()Get the height levelintgetLightLevel()Get the light levelBlockLocationgetLocation()Get the location of the player when he found the blocksintgetNumberOfBlocks()Get the number of blocks that have been found@NotNull OAPlayergetPlayer()Get the target player of the alert-
Methods inherited from interface com.alessiodp.oreannouncer.api.events.OreAnnouncerEvent
getApi, setApi
-
-
-
-
Method Detail
-
getPlayer
@NotNull @NotNull OAPlayer getPlayer()
Get the target player of the alert- Returns:
- Returns the
OAPlayer
-
getNumberOfBlocks
int getNumberOfBlocks()
Get the number of blocks that have been found- Returns:
- Returns the number of blocks
-
getLocation
BlockLocation getLocation()
Get the location of the player when he found the blocks- Returns:
- Returns the
BlockLocation
-
getLightLevel
int getLightLevel()
Get the light level- Returns:
- Returns the light level
-
getHeightLevel
int getHeightLevel()
Get the height level- Returns:
- Returns the height level
-
-