Interface IAdvancedAlertEvent
-
- All Superinterfaces:
OreAnnouncerEvent
- All Known Implementing Classes:
BukkitOreAnnouncerAdvancedAlertEvent
,BungeeOreAnnouncerAdvancedAlertEvent
public interface IAdvancedAlertEvent extends OreAnnouncerEvent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull OABlock
getBlock()
Get the blocklong
getElapsedTime()
Get the elapsed time of this alertint
getHeightLevel()
Get the height levelint
getLightLevel()
Get the light levelBlockLocation
getLocation()
Get the location of the player when he found the blocks@NotNull OAPlayer
getPlayer()
Get the target player of the alertint
getTotalBlocks()
Get the total of blocks found by the start of elapsed time-
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
-
getTotalBlocks
int getTotalBlocks()
Get the total of blocks found by the start of elapsed time- Returns:
- Returns the total of blocks
-
getElapsedTime
long getElapsedTime()
Get the elapsed time of this alert- Returns:
- The elapsed time
-
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
-
-