Package gcspawners
Class ASAPI
java.lang.Object
gcspawners.ASAPI
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic gc.spawners.handlers.dropsHandler.EntityDropsgetCustomDrops(String entType)static org.bukkit.inventory.ItemStackgetMobSkull(String mobName)static intgetSpawnerAmount(org.bukkit.block.Block b)static intgetSpawnerAmount(org.bukkit.Location b)static intgetSpawnerLevel(org.bukkit.block.Block b)static intgetSpawnerLevel(org.bukkit.Location b)static StringgetSpawnerType(org.bukkit.block.Block b)static StringgetSpawnerType(org.bukkit.inventory.ItemStack item)static StringgetSpawnerType(org.bukkit.Location b)static StringgetUser()static voidremoveSpawner(org.bukkit.Location loc)static voidsetSpawnerAmount(org.bukkit.block.Block b, int amount)static voidsetSpawnerAmount(org.bukkit.Location b, int amount)static voidspawnCustomMob(org.bukkit.Location loc, String customMob)Spawn a custom mob at location
-
Constructor Details
-
ASAPI
public ASAPI()
-
-
Method Details
-
getCustomDrops
-
getMobSkull
-
getSpawnerLevel
public static int getSpawnerLevel(org.bukkit.block.Block b) -
getSpawnerType
-
getSpawnerAmount
public static int getSpawnerAmount(org.bukkit.block.Block b) -
spawnCustomMob
Spawn a custom mob at location- Parameters:
loc- LocationcustomMob- Custom Mob Name
-
setSpawnerAmount
public static void setSpawnerAmount(org.bukkit.block.Block b, int amount) -
removeSpawner
public static void removeSpawner(org.bukkit.Location loc) -
getSpawnerLevel
public static int getSpawnerLevel(org.bukkit.Location b) -
getSpawnerType
-
getSpawnerAmount
public static int getSpawnerAmount(org.bukkit.Location b) -
setSpawnerAmount
public static void setSpawnerAmount(org.bukkit.Location b, int amount) -
getSpawnerType
-
getCustomMobs
- Returns:
- List of custom mobs
-
getUser
- Returns:
- Plugin Buyer
-