public class GermModelBlockEvent
extends org.bukkit.event.player.PlayerEvent
implements org.bukkit.event.Cancellable
Modifier and Type | Class and Description |
---|---|
static class |
GermModelBlockEvent.InteractType |
Constructor and Description |
---|
GermModelBlockEvent(org.bukkit.entity.Player who,
GermModelBlockEvent.InteractType interactType,
java.lang.String indexName,
org.bukkit.configuration.ConfigurationSection blockCfg,
org.bukkit.block.Block block) |
Modifier and Type | Method and Description |
---|---|
org.bukkit.block.Block |
getBlock() |
org.bukkit.configuration.ConfigurationSection |
getBlockCfg() |
static org.bukkit.event.HandlerList |
getHandlerList() |
org.bukkit.event.HandlerList |
getHandlers() |
java.lang.String |
getIndexName() |
GermModelBlockEvent.InteractType |
getInteractType() |
boolean |
isCancelled() |
void |
setCancelled(boolean b) |
public GermModelBlockEvent(org.bukkit.entity.Player who, GermModelBlockEvent.InteractType interactType, java.lang.String indexName, org.bukkit.configuration.ConfigurationSection blockCfg, org.bukkit.block.Block block)
public boolean isCancelled()
isCancelled
in interface org.bukkit.event.Cancellable
public void setCancelled(boolean b)
setCancelled
in interface org.bukkit.event.Cancellable
public org.bukkit.event.HandlerList getHandlers()
getHandlers
in class org.bukkit.event.Event
public GermModelBlockEvent.InteractType getInteractType()
public java.lang.String getIndexName()
public org.bukkit.configuration.ConfigurationSection getBlockCfg()
public org.bukkit.block.Block getBlock()
public static org.bukkit.event.HandlerList getHandlerList()