public class MythicMobDeathEvent
extends org.bukkit.event.Event
Constructor and Description |
---|
MythicMobDeathEvent(ActiveMob am,
org.bukkit.entity.LivingEntity killer,
List<org.bukkit.inventory.ItemStack> drops) |
Modifier and Type | Method and Description |
---|---|
List<org.bukkit.inventory.ItemStack> |
getDrops()
Gets the list of the mob's drops
|
org.bukkit.entity.Entity |
getEntity()
Gets the Bukkit Entity of the mob that died
|
static org.bukkit.event.HandlerList |
getHandlerList() |
org.bukkit.event.HandlerList |
getHandlers() |
org.bukkit.entity.LivingEntity |
getKiller()
Gets the mob's killer
|
ActiveMob |
getMob()
Gets the ActiveMob instance of the mob that died
|
double |
getMobLevel()
Gets the level of the mob that died
|
MythicMob |
getMobType()
Gets the Mythic mob type of the mob that died
|
void |
setDrops(List<org.bukkit.inventory.ItemStack> list)
Sets the drops of the mob
|
public ActiveMob getMob()
ActiveMob
public org.bukkit.entity.Entity getEntity()
public MythicMob getMobType()
MythicMob
public double getMobLevel()
public org.bukkit.entity.LivingEntity getKiller()
public List<org.bukkit.inventory.ItemStack> getDrops()
public void setDrops(List<org.bukkit.inventory.ItemStack> list)
list
- 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.