mirror of
https://github.com/songoda/EpicHeads.git
synced 2024-11-26 04:25:16 +01:00
83a77b3578
Replaced localization system with mine.
30 lines
1.1 KiB
Markdown
30 lines
1.1 KiB
Markdown
## EpicHeads
|
|
Search over 17,000 unique, artistic heads which are perfect for builders and servers with the nice EpicHeads resource.</br>
|
|
Quality, performance, and support are my priorities for this resource. Purchase it for $2.99 (sometimes cheaper with sales).
|
|
> **Note:** Please consider purchasing this resource on Spigot if you want to really support me.
|
|
</br>
|
|
|
|
## Developers
|
|
Here is an example with built-in methods for developers that want to use the developers API to code other resources.
|
|
```ruby
|
|
# Check if EpicHeads is installed and enabled.
|
|
if (EpicHeadsAPI.isEnabled()) {
|
|
Hooray();
|
|
}
|
|
|
|
# How you would get the heads in any way.
|
|
Head getHead(int id)
|
|
Set<String> getCategories()
|
|
List<Head> getAllHeads()
|
|
List<Head> getCategoryHeads(String category)
|
|
void searchHeads(String query, Consumer<List<Head>> onResult)
|
|
void downloadHead(String playerName, Consumer<Head> consumer)
|
|
|
|
# How you would use the heads in any way.
|
|
int getId()
|
|
String getName()
|
|
String getCategory()
|
|
double getCost()
|
|
ItemStack getItem()
|
|
ItemStack getItem(String displayName)
|
|
``` |