Class BukkitOreAnnouncerBlockDestroyEvent
- java.lang.Object
-
- org.bukkit.event.Event
-
- com.alessiodp.oreannouncer.api.events.bukkit.BukkitOreAnnouncerEvent
-
- com.alessiodp.oreannouncer.api.events.bukkit.common.BukkitOreAnnouncerBlockDestroyEvent
-
- All Implemented Interfaces:
IBlockDestroyEvent,OreAnnouncerEvent
public class BukkitOreAnnouncerBlockDestroyEvent extends BukkitOreAnnouncerEvent implements IBlockDestroyEvent
-
-
Constructor Summary
Constructors Constructor Description BukkitOreAnnouncerBlockDestroyEvent(OAPlayer player, OABlock block, BlockLocation blockLocation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull OABlockgetBlock()Get the block@NotNull BlockLocationgetBlockLocation()Get the block location@NotNull OAPlayergetPlayer()Get the player who destroy the block-
Methods inherited from class com.alessiodp.oreannouncer.api.events.bukkit.BukkitOreAnnouncerEvent
getApi, getHandlerList, getHandlers, setApi
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.alessiodp.oreannouncer.api.events.OreAnnouncerEvent
getApi, setApi
-
-
-
-
Constructor Detail
-
BukkitOreAnnouncerBlockDestroyEvent
public BukkitOreAnnouncerBlockDestroyEvent(OAPlayer player, OABlock block, BlockLocation blockLocation)
-
-
Method Detail
-
getPlayer
@NotNull public @NotNull OAPlayer getPlayer()
Description copied from interface:IBlockDestroyEventGet the player who destroy the block- Specified by:
getPlayerin interfaceIBlockDestroyEvent- Returns:
- Returns the
OAPlayer
-
getBlock
@NotNull public @NotNull OABlock getBlock()
Description copied from interface:IBlockDestroyEventGet the block- Specified by:
getBlockin interfaceIBlockDestroyEvent- Returns:
- Returns the
OABlock
-
getBlockLocation
@NotNull public @NotNull BlockLocation getBlockLocation()
Description copied from interface:IBlockDestroyEventGet the block location- Specified by:
getBlockLocationin interfaceIBlockDestroyEvent- Returns:
- Returns the
BlockLocation
-
-