public class ActiveMob extends Object implements SkillCaster
Modifier and Type | Class and Description |
---|---|
class |
ActiveMob.ImmunityTable |
class |
ActiveMob.ThreatTable |
Modifier and Type | Field and Description |
---|---|
HashMap<String,Long> |
cooldowns |
protected HealthBar |
healthbar |
protected AbstractEntity |
lastAggroCause |
protected Nameplate |
nameplate |
protected SpeechBubble |
speechBubble |
Constructor and Description |
---|
ActiveMob() |
ActiveMob(UUID uuid,
AbstractEntity e,
MythicMob type,
double level) |
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getAuraStacks, getChildren, getGlobalCooldown, getLevel, hasAura, registerAura, setGlobalCooldown, unregisterAura
protected transient HealthBar healthbar
protected transient Nameplate nameplate
protected transient SpeechBubble speechBubble
protected transient AbstractEntity lastAggroCause
public ActiveMob()
public ActiveMob(UUID uuid, AbstractEntity e, MythicMob type, double level)
public boolean loadSaved()
public void tick(int c)
public AbstractEntity getEntity()
getEntity
in interface SkillCaster
public void setEntity(AbstractEntity e)
public MythicMob getType()
public String getDisplayName()
public AbstractLocation getLocation()
getLocation
in interface SkillCaster
public void setParent(SkillCaster am)
public void addChild(AbstractEntity entity)
addChild
in interface SkillCaster
public void setOwner(UUID uuid)
public void removeOwner()
public void setMount(ActiveMob am)
public void remountType()
public double getDamage()
public double getArmor()
public void setLevel(double level)
public float getPower()
getPower
in interface SkillCaster
public UUID getUniqueId()
public boolean hasFaction()
public String getFaction()
public void incrementPlayerKills()
public void importPlayerKills(int pk)
public void setLastAggroCause(AbstractEntity aggro)
public boolean hasTarget()
public void setTarget(AbstractEntity l)
public boolean changingTarget()
public AbstractEntity getNewTarget()
public void voidTargetChange()
public void resetTarget()
public ActiveMob.ThreatTable getThreatTable()
public boolean hasThreatTable()
public void importThreatTable(ActiveMob.ThreatTable tt)
public boolean hasImmunityTable()
public void setDespawned()
public void setDespawnedSync()
public void setDead()
public void setUnloaded()
public void unregister()
public void unregisterSync()
public void setUsingDamageSkill(boolean b)
setUsingDamageSkill
in interface SkillCaster
public boolean isUsingDamageSkill()
isUsingDamageSkill
in interface SkillCaster
public void setLastDamageSkillAmount(double d)
public double getLastDamageSkillAmount()
public void setSpawner(MythicSpawner ms)
public void remountSpawner()
public void signalMob(AbstractEntity trigger, String signal)
public void signalDamaged()
public AuraRegistry getAuraRegistry()
getAuraRegistry
in interface SkillCaster
public void addBar(String key, AbstractBossBar bar)
public AbstractBossBar getBar(String key)
public void removeBar(String key)
public void updateBossBar()
public boolean getShowCustomNameplate()
public void setShowCustomNameplate(boolean b)
public SpeechBubble createSpeechBubble()
public void removeSpeechBubble()
Copyright © 2020. All rights reserved.