Package gcspawners
Class ASAPI
java.lang.Object
gcspawners.ASAPI
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic gc.spawners.handlers.dropsHandler.EntityDrops
getCustomDrops(String entType)
static org.bukkit.inventory.ItemStack
getMobSkull(String mobName)
static int
getSpawnerAmount(org.bukkit.block.Block b)
static int
getSpawnerAmount(org.bukkit.Location b)
static int
getSpawnerLevel(org.bukkit.block.Block b)
static int
getSpawnerLevel(org.bukkit.Location b)
static String
getSpawnerType(org.bukkit.block.Block b)
static String
getSpawnerType(org.bukkit.inventory.ItemStack item)
static String
getSpawnerType(org.bukkit.Location b)
static String
getUser()
static void
removeSpawner(org.bukkit.Location loc)
static void
setSpawnerAmount(org.bukkit.block.Block b, int amount)
static void
setSpawnerAmount(org.bukkit.Location b, int amount)
static void
spawnCustomMob(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
-