ModsJava
SuperAPI - Economy, Config, Vectors, Items and more!
SuperAPI is API that makes BukkitAPI easier... :). Free Minecraft Java mod for 1.8, 1.9.
⬇ Download on Spigot
SuperAPI is API for Bukkit. The API is WIP .
On this post, I'm writing information about every library in the API.
Source Code: Click Here .
SuperItem
SuperItem can be used instand of the ItemStack. For example:
Click Here (It was too long...)
Constructors
SuperItem(Material)
SuperItem(ItemStack)
SuperItem(Material, int amount)
SuperItem(Material, int amount, int damage)
SuperItem(Material, int amount, int damage, String name)
SuperItem(Material, int amount, int damage, String name, String lore)
Methods
setGlow(boolean)
addEnchantment(Enchantment, int level) // Override - It's using ItemMeta
removeEnchantment(Enchantment) // Override ^^
getName()
getLore()
(static) getSkull(String owner) // returns SuperItem
SuperConomy
SuperConomy can be used for create custom economy plugins. For example:
Click Here (Example for the Economy class)
Click Here (Example for use the Economy class)
Constructors
SuperConomy(Plugin, UUID)
SuperConomy(Plugin, UUID, String path)
SuperConomy(Plugin, UUID, String path, String config_name)
Methods
setMoney(Double)
addMoney(Double)
removeMoney(Double)
getMoney(Double)
SuperConfig
SuperConfig can be used for create custom configs. For example:
Click Here
Constructors
Nothing. SuperConfig is using SuperConfigManager. Look example.
Methods
Like normal config. get, set, contains... etc...
SuperVector
SuperVector can be used instand of the regular Vector (of Bukkit). For example:
Click Here (Very very simple example!)
Constructors
SuperVector()
SuperVector(double x, double y, double z)
SuperVector(float x, float y, float z)
SuperVector(int x, int y, int z)
SuperVector(Location)
SuperVector(float yaw, float pitch)
SuperVector(Location, Location)
Methods
launch(Location, Class)
SuperArea
SuperArea can be used for regions and areas. For example:
Click Here (For LocationListener)
Click Here (For Main)
Constructors
SuperArea(SuperArea)
SuperArea(Location, Location)
SuperArea(World, int x1, int y1, int z1, int x2, int y2, int z2)
SuperArea(World, double x1, double y1, double z1, double x2, double y2, double z2)
SuperVector can be used instand of the regular Vector (of Bukkit). For example:
Click Here (Very very simple example!)
Constructors
SuperVector()
SuperVector(double x, double y, double z)
SuperVector(float x, float y, float z)
SuperVector(int x, int y, int z)
SuperVector(Location)
SuperVector(float yaw, float pitch)
SuperVector(Location, Location)
Methods
launch(Location, Class)
SuperArea
SuperArea can be used for regions and areas. For example:
Click Here (For LocationListener)
Click Here (For Main)
Constructors
SuperArea(SuperArea)
SuperArea(Location, Location)
SuperArea(World, int x1, int y1, int z1, int x2, int y2, int z2)
SuperArea(World, double x1, double y1, double z1, double x2, double y2, double z2)
Methods
setAllBlocks(Material)
getFirstLocation()
getSecondLocation()
* The first location is setting the world *
setFirstLocation(Location)
setSecondLocation(Location)
isLocationInArea(Location)
getAllLocations()
getWorld()
countBlocks()
SuperColor
SuperColor can be used instand of the regular ChatColor. For example:
Click Here (Very very simple example!)
Constructors
Nothing.
Variables
Every color like ChatColor (For example, SuperColor.AQUA)
Every color with number (For example, SuperColor.C1)
Methods
SuperColor.translateColors(String string) // translate from &
SuperColor.translateColors(String string, String ch)
You can copy the API directly from the source code. You can sell plugins that use this API.
Just give a credit.
SuperAPI - Economy, Config, Vectors, Items and more! is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9. Downloaded 490 times (via Spigot). Download it and open it directly in the game.