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 OABlock
getBlock()
Get the block@NotNull BlockLocation
getBlockLocation()
Get the block location@NotNull OAPlayer
getPlayer()
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:IBlockDestroyEvent
Get the player who destroy the block- Specified by:
getPlayer
in interfaceIBlockDestroyEvent
- Returns:
- Returns the
OAPlayer
-
getBlock
@NotNull public @NotNull OABlock getBlock()
Description copied from interface:IBlockDestroyEvent
Get the block- Specified by:
getBlock
in interfaceIBlockDestroyEvent
- Returns:
- Returns the
OABlock
-
getBlockLocation
@NotNull public @NotNull BlockLocation getBlockLocation()
Description copied from interface:IBlockDestroyEvent
Get the block location- Specified by:
getBlockLocation
in interfaceIBlockDestroyEvent
- Returns:
- Returns the
BlockLocation
-
-