public class MythicMobSpawnEvent
extends org.bukkit.event.Event
Constructor and Description |
---|
MythicMobSpawnEvent(ActiveMob am,
double level) |
Modifier and Type | Method and Description |
---|---|
org.bukkit.entity.Entity |
getEntity()
Get the Bukkit Entity of the mob being spawned
|
static org.bukkit.event.HandlerList |
getHandlerList() |
org.bukkit.event.HandlerList |
getHandlers() |
org.bukkit.entity.LivingEntity |
getLivingEntity()
Deprecated.
|
org.bukkit.Location |
getLocation()
Get the Bukkit Location of the mob being spawned
|
ActiveMob |
getMob()
Get the instance of the mob being spawned
|
double |
getMobLevel()
Get the level of the mob being spawned
|
MythicMob |
getMobType()
Get the type of the mob being spawned
|
MythicSpawner |
getMythicSpawner()
Get the internal name of the spawner that spawned this mob
|
boolean |
isCancelled() |
Boolean |
isFromMythicSpawner() |
void |
setCancelled()
Cancel the mob spawn
|
void |
setMobLevel(double level)
Sets the level of the mob being spawned
|
public MythicMobSpawnEvent(ActiveMob am, double level)
public ActiveMob getMob()
public MythicMob getMobType()
public double getMobLevel()
public void setMobLevel(double level)
level
- public org.bukkit.Location getLocation()
public org.bukkit.entity.Entity getEntity()
public Boolean isFromMythicSpawner()
public MythicSpawner getMythicSpawner()
@Deprecated public org.bukkit.entity.LivingEntity getLivingEntity()
public void setCancelled()
public boolean isCancelled()
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.