Class TreasureKeeper
java.lang.Object
com.Moshu.TreasureHunt.Components.Keepers.TreasureKeeper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidintintgetDrops()org.bukkit.entity.EntityTypestatic HuntgetHunt(org.bukkit.entity.LivingEntity e) intgetMobId()io.lumine.mythic.api.mobs.MythicMobList<org.bukkit.potion.PotionEffect> getRange()static StringgetTreasureIdentifier(org.bukkit.entity.LivingEntity e) getUUIDs()booleanbooleanbooleanstatic booleanisTreasureKeeper(org.bukkit.entity.LivingEntity e) voidloadEntityType(org.bukkit.entity.EntityType type) voidloadMythicMob(io.lumine.mythic.api.mobs.MythicMob mythicMob) voidsetAmount(int amount) voidsetAnimatedSpawn(boolean animatedSpawn) voidsetChance(int chance) voidsetCustomName(String customName) voidsetDrops(TreasureKeeperDrops drops) voidsetEquipment(TreasureKeeperEquipment equipment) voidvoidsetMaxHealth(int maxHealth) voidsetMenuItem(String menuItem) voidvoidsetMythicMob(boolean isMythicMob) voidsetPotionEffects(List<org.bukkit.potion.PotionEffect> potionEffects) voidvoid
-
Constructor Details
-
TreasureKeeper
-
-
Method Details
-
getRange
-
setRange
-
getMenuItem
-
setMenuItem
-
setDrops
-
setEquipment
-
getDrops
-
getEquipment
-
getTreasureData
-
isSpawned
public boolean isSpawned() -
setAnimatedSpawn
public void setAnimatedSpawn(boolean animatedSpawn) -
isAnimatedSpawn
public boolean isAnimatedSpawn() -
getAmount
public int getAmount() -
getMobId
-
setMobId
-
isMythicMob
public boolean isMythicMob() -
setMythicMob
public void setMythicMob(boolean isMythicMob) -
getMythicMob
public io.lumine.mythic.api.mobs.MythicMob getMythicMob() -
loadMythicMob
public void loadMythicMob(io.lumine.mythic.api.mobs.MythicMob mythicMob) -
loadEntityType
public void loadEntityType(org.bukkit.entity.EntityType type) -
getEntityType
public org.bukkit.entity.EntityType getEntityType() -
addUUID
-
getUUIDs
-
getCustomName
-
setCustomName
-
setAmount
public void setAmount(int amount) -
getChance
public int getChance() -
setChance
public void setChance(int chance) -
getMaxHealth
public int getMaxHealth() -
setMaxHealth
public void setMaxHealth(int maxHealth) -
getPotionEffects
-
setPotionEffects
-
setKeeperIdentifier
-
getKeeperIdentifier
-
isTreasureKeeper
public static boolean isTreasureKeeper(org.bukkit.entity.LivingEntity e) -
getTreasureIdentifier
-
getHunt
-
spawn
public void spawn(ArrayList<org.bukkit.entity.Entity> spawnedEntityRegister, org.bukkit.Location loc)
-