Class ExtraItemBlockPlaceEvent

java.lang.Object
org.bukkit.event.Event
me.metallicgoat.specialItems.api.event.ExtraItemBlockPlaceEvent
All Implemented Interfaces:
ArenaEvent, Cancellable

public class ExtraItemBlockPlaceEvent extends Event implements ArenaEvent, Cancellable
Called when a block is being placed by an extra special item.
  • Constructor Details

    • ExtraItemBlockPlaceEvent

      public ExtraItemBlockPlaceEvent(Arena arena, Block block, SpecialItem item)
  • Method Details

    • getArena

      public Arena getArena()
      Gets the arena in which the block is placed.
      Specified by:
      getArena in interface ArenaEvent
      Returns:
      the arena
    • getBlock

      public Block getBlock()
      Gets the block at which something is being placed.
      Returns:
      the block being placed at
    • getItem

      public SpecialItem getItem()
      Gets the special item which is placing the block.
      Returns:
      the special item
    • getItemType

      public ExtraSpecialItemType getItemType()
      Gets the type of the special item which is placing the block.
      Returns:
      the special item type
    • getHandlers

      public HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getHandlerList

      public static HandlerList getHandlerList()