Package io.github.apfelcreme.Pipes.Event
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
ConstructorDescriptionPipeBlockBreakEvent
(org.bukkit.block.Block block, org.bukkit.entity.Player player, AbstractPipePart pipePart) -
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.block.Block
getBlock()
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
-
Constructor Details
-
PipeBlockBreakEvent
public PipeBlockBreakEvent(org.bukkit.block.Block block, org.bukkit.entity.Player player, AbstractPipePart pipePart)
-
-
Method Details
-
getPipePart
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceorg.bukkit.event.Cancellable
-
setCancelled
public void setCancelled(boolean cancelled) - Specified by:
setCancelled
in interfaceorg.bukkit.event.Cancellable
-
getBlock
public org.bukkit.block.Block getBlock() -
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-