public class MythicTargeterLoadEvent
extends org.bukkit.event.Event
CustomTargeter
Constructor and Description |
---|
MythicTargeterLoadEvent(CustomTargeter holder,
String name,
MythicLineConfig mlc) |
Modifier and Type | Method and Description |
---|---|
MythicLineConfig |
getConfig()
Gets the line configuration for the targeter
|
CustomTargeter |
getContainer()
Gets the container of the Custom Targeter that "holds"
the targeter in MythicMobs and manages various traits
such as the cooldown, conditions, and triggers.
|
static org.bukkit.event.HandlerList |
getHandlerList() |
org.bukkit.event.HandlerList |
getHandlers() |
Optional<SkillTargeter> |
getTargeter() |
String |
getTargeterName()
Gets the name of the custom targeter being looked for
|
void |
register(SkillTargeter targeter)
Registers a custom targeter in MythicMobs, tied to the
targeter name in the event.
|
public MythicTargeterLoadEvent(CustomTargeter holder, String name, MythicLineConfig mlc)
public CustomTargeter getContainer()
public String getTargeterName()
public MythicLineConfig getConfig()
MythicLineConfig
public void register(SkillTargeter targeter)
targeter
- SkillTargeter
public Optional<SkillTargeter> getTargeter()
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.