Class TreasureKeeper
java.lang.Object
com.Moshu.TreasureHunt.Components.Keepers.TreasureKeeper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
int
int
getDrops()
org.bukkit.entity.EntityType
static Hunt
getHunt
(org.bukkit.entity.LivingEntity e) int
getMobId()
io.lumine.mythic.api.mobs.MythicMob
List
<org.bukkit.potion.PotionEffect> getRange()
static String
getTreasureIdentifier
(org.bukkit.entity.LivingEntity e) getUUIDs()
boolean
boolean
boolean
static boolean
isTreasureKeeper
(org.bukkit.entity.LivingEntity e) void
loadEntityType
(org.bukkit.entity.EntityType type) void
loadMythicMob
(io.lumine.mythic.api.mobs.MythicMob mythicMob) void
setAmount
(int amount) void
setAnimatedSpawn
(boolean animatedSpawn) void
setChance
(int chance) void
setCustomName
(String customName) void
setDrops
(TreasureKeeperDrops drops) void
setEquipment
(TreasureKeeperEquipment equipment) void
void
setMaxHealth
(int maxHealth) void
setMenuItem
(String menuItem) void
void
setMythicMob
(boolean isMythicMob) void
setPotionEffects
(List<org.bukkit.potion.PotionEffect> potionEffects) void
void
-
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)
-