Interface IAlertFoundEvent

All Superinterfaces:
OreAnnouncerEvent

public interface IAlertFoundEvent extends OreAnnouncerEvent
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull OABlock
    Get the block
    @NotNull OAPlayer
    Get the target player of the alert

    Methods inherited from interface com.alessiodp.oreannouncer.api.events.OreAnnouncerEvent

    getApi, setApi
  • Method Details

    • getPlayer

      @NotNull @NotNull OAPlayer getPlayer()
      Get the target player of the alert
      Returns:
      Returns the OAPlayer
    • getBlock

      @NotNull @NotNull OABlock getBlock()
      Get the block
      Returns:
      Returns the OABlock