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
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result -
Constructor Summary
ConstructorsConstructorDescriptionBukkitOreAnnouncerBlockDestroyEvent(OAPlayer player, OABlock block, BlockLocation blockLocation) -
Method Summary
Modifier and TypeMethodDescription@NotNull OABlockgetBlock()Get the block@NotNull BlockLocationGet the block location@NotNull OAPlayerGet the player who destroy the blockMethods inherited from class com.alessiodp.oreannouncer.api.events.bukkit.BukkitOreAnnouncerEvent
getApi, getHandlerList, getHandlers, setApiMethods inherited from class org.bukkit.event.Event
getEventName, isAsynchronousMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.alessiodp.oreannouncer.api.events.OreAnnouncerEvent
getApi, setApi
-
Constructor Details
-
BukkitOreAnnouncerBlockDestroyEvent
public BukkitOreAnnouncerBlockDestroyEvent(OAPlayer player, OABlock block, BlockLocation blockLocation)
-
-
Method Details
-
getPlayer
Description copied from interface:IBlockDestroyEventGet the player who destroy the block- Specified by:
getPlayerin interfaceIBlockDestroyEvent- Returns:
- Returns the
OAPlayer
-
getBlock
Description copied from interface:IBlockDestroyEventGet the block- Specified by:
getBlockin interfaceIBlockDestroyEvent- Returns:
- Returns the
OABlock
-
getBlockLocation
Description copied from interface:IBlockDestroyEventGet the block location- Specified by:
getBlockLocationin interfaceIBlockDestroyEvent- Returns:
- Returns the
BlockLocation
-