Class BungeeOreAnnouncerBlockDestroyEvent
java.lang.Object
net.md_5.bungee.api.plugin.Event
com.alessiodp.oreannouncer.api.events.bungee.BungeeOreAnnouncerEvent
com.alessiodp.oreannouncer.api.events.bungee.common.BungeeOreAnnouncerBlockDestroyEvent
- All Implemented Interfaces:
IBlockDestroyEvent,OreAnnouncerEvent
public class BungeeOreAnnouncerBlockDestroyEvent
extends BungeeOreAnnouncerEvent
implements IBlockDestroyEvent
-
Constructor Summary
ConstructorsConstructorDescriptionBungeeOreAnnouncerBlockDestroyEvent(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.bungee.BungeeOreAnnouncerEvent
getApi, setApiMethods inherited from class net.md_5.bungee.api.plugin.Event
postCallMethods 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
-
BungeeOreAnnouncerBlockDestroyEvent
public BungeeOreAnnouncerBlockDestroyEvent(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
-