Class PipeBlockBreakEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
io.github.apfelcreme.Pipes.Event.PipeBlockBreakEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable

public class PipeBlockBreakEvent extends org.bukkit.event.player.PlayerEvent implements org.bukkit.event.Cancellable
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    org.bukkit.event.Event.Result
  • Field Summary

    Fields inherited from class org.bukkit.event.player.PlayerEvent

    player
  • Constructor Summary

    Constructors
    Constructor
    Description
    PipeBlockBreakEvent(org.bukkit.block.Block block, org.bukkit.entity.Player player, AbstractPipePart pipePart)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bukkit.block.Block
     
    static org.bukkit.event.HandlerList
     
    org.bukkit.event.HandlerList
     
     
    boolean
     
    void
    setCancelled(boolean cancelled)
     

    Methods inherited from class org.bukkit.event.player.PlayerEvent

    getPlayer

    Methods inherited from class org.bukkit.event.Event

    callEvent, getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PipeBlockBreakEvent

      public PipeBlockBreakEvent(org.bukkit.block.Block block, org.bukkit.entity.Player player, AbstractPipePart pipePart)
  • Method Details

    • getPipePart

      public AbstractPipePart getPipePart()
    • isCancelled

      public boolean isCancelled()
      Specified by:
      isCancelled in interface org.bukkit.event.Cancellable
    • setCancelled

      public void setCancelled(boolean cancelled)
      Specified by:
      setCancelled in interface org.bukkit.event.Cancellable
    • getBlock

      public org.bukkit.block.Block getBlock()
    • getHandlers

      public org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()