public class MythicDropLoadEvent
extends org.bukkit.event.Event
CustomDrop
Constructor and Description |
---|
MythicDropLoadEvent(CustomDrop holder,
String name,
MythicLineConfig mlc) |
Modifier and Type | Method and Description |
---|---|
MythicLineConfig |
getConfig()
Gets the line configuration for the drop
|
CustomDrop |
getContainer()
Gets the container of the Custom Drop that "holds"
the drop in MythicMobs and manages certain attributes
|
Optional<Drop> |
getDrop() |
String |
getDropName()
Gets the name of the custom drop being looked for
|
static org.bukkit.event.HandlerList |
getHandlerList() |
org.bukkit.event.HandlerList |
getHandlers() |
void |
register(Drop drop)
Registers a custom drop in MythicMobs, tied to the
drop name in the event.
|
public MythicDropLoadEvent(CustomDrop holder, String name, MythicLineConfig mlc)
public CustomDrop getContainer()
public String getDropName()
public MythicLineConfig getConfig()
MythicLineConfig
public void register(Drop drop)
drop
- SkillDrop
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.