public static interface AbstractCustomTriggerManager.EventRegistry
Modifier and Type | Method and Description |
---|---|
boolean |
eventExist(String eventStr) |
Class<?> |
getEvent(String eventStr)
First it tries to return Event in ABBREVIATIONS if such name exists.
|
boolean eventExist(String eventStr)
Class<?> getEvent(String eventStr) throws ClassNotFoundException
Class.forName(String)
method.
ex) 1. onJoin -> 2. org.bukkit.event.player.PlayerJoinEventeventStr
- name of event to searchClassNotFoundException
- throws if search fails or the result event is
a event that cannot receive events (abstract events).