public class MythicConditionLoadEvent
extends org.bukkit.event.Event
CustomCondition
Constructor and Description |
---|
MythicConditionLoadEvent(CustomCondition holder,
String name,
MythicLineConfig mlc) |
Modifier and Type | Method and Description |
---|---|
Optional<SkillCondition> |
getCondition() |
String |
getConditionName()
Gets the name of the custom condition being looked for
|
MythicLineConfig |
getConfig()
Gets the line configuration for the condition
|
CustomCondition |
getContainer()
Gets the container of the Custom Condition that "holds"
the condition in MythicMobs and manages certain attributes
|
static org.bukkit.event.HandlerList |
getHandlerList() |
org.bukkit.event.HandlerList |
getHandlers() |
void |
register(SkillCondition condition)
Registers a custom condition in MythicMobs, tied to the
condition name in the event.
|
public MythicConditionLoadEvent(CustomCondition holder, String name, MythicLineConfig mlc)
public CustomCondition getContainer()
public String getConditionName()
public MythicLineConfig getConfig()
MythicLineConfig
public void register(SkillCondition condition)
condition
- SkillCondition
public Optional<SkillCondition> getCondition()
public org.bukkit.event.HandlerList getHandlers()
getHandlers
in class org.bukkit.event.Event
public static org.bukkit.event.HandlerList getHandlerList()
Copyright © 2020. All rights reserved.