Class ExtraItemBlockPlaceEvent
java.lang.Object
org.bukkit.event.Event
me.metallicgoat.specialItems.api.event.ExtraItemBlockPlaceEvent
- All Implemented Interfaces:
ArenaEvent,Cancellable
Called when a block is being placed by an extra special item.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetArena()Gets the arena in which the block is placed.getBlock()Gets the block at which something is being placed.static HandlerListgetItem()Gets the special item which is placing the block.Gets the type of the special item which is placing the block.Methods 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 org.bukkit.event.Cancellable
isCancelled, setCancelled
-
Constructor Details
-
ExtraItemBlockPlaceEvent
-
-
Method Details
-
getArena
Gets the arena in which the block is placed.- Specified by:
getArenain interfaceArenaEvent- Returns:
- the arena
-
getBlock
Gets the block at which something is being placed.- Returns:
- the block being placed at
-
getItem
Gets the special item which is placing the block.- Returns:
- the special item
-
getItemType
Gets the type of the special item which is placing the block.- Returns:
- the special item type
-
getHandlers
- Specified by:
getHandlersin classEvent
-
getHandlerList
-