public class GermSpecialItemEvent
extends org.bukkit.event.Event
implements org.bukkit.event.Cancellable
Constructor and Description |
---|
GermSpecialItemEvent(org.bukkit.entity.Player player,
java.lang.String indexName,
java.lang.String handleName,
org.bukkit.configuration.ConfigurationSection config) |
Modifier and Type | Method and Description |
---|---|
org.bukkit.configuration.ConfigurationSection |
getConfig() |
java.lang.String |
getHandleName()
在某个specialItem中的handleName 例如会返回例如会返回misc/default.yml -> SpecialItem -> attack1或者attack2
|
static org.bukkit.event.HandlerList |
getHandlerList() |
org.bukkit.event.HandlerList |
getHandlers() |
java.lang.String |
getIndexName()
在specialItem中的索引名 例如会返回misc/default.yml中的SpecialItem
|
org.bukkit.entity.Player |
getPlayer() |
boolean |
isCancelled() |
void |
setCancelled(boolean b) |
public GermSpecialItemEvent(org.bukkit.entity.Player player, java.lang.String indexName, java.lang.String handleName, org.bukkit.configuration.ConfigurationSection config)
public final java.lang.String getIndexName()
public final java.lang.String getHandleName()
public final org.bukkit.configuration.ConfigurationSection getConfig()
public final org.bukkit.entity.Player getPlayer()
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 static org.bukkit.event.HandlerList getHandlerList()