Dispenser API is an API to provide Minecraft resources through a REST API. Is considered as "resources" all files that isn't a compiled Java class, so assets (client-side) and data (server-side).
This API is updated automatically (every hours) and work for any Minecraft version (release, release-candidate, pre-release, snapshot) having the considered resource type.
A hosting version of the API is available here. Thanks to Gunivers for supporting and hosting this project!
Current endpoint: /api/versions
(hosted version)
Swagger Documentation: /api/docs
(hosted version)
Discord to follow or/and help this project: Gunivers' Discord
You can test the API through the Swagger documentation.
Asset | URI | Output type |
---|---|---|
Block Textures | /block/textures | PNG |
Block Models | /block/models | JSON |
Block Textures MCMETA | /block/mcmetas | JSON |
Asset | Data |
---|---|
Blockstates | Tags |
Item Textures | Structures |
Item Models | Recipes |
Entity Textures | Advancements |
Particles Textures | Loot Tables |
Paintings Textures | Commands |
Langs | Block List |
Sounds | Item List |
In the root folder:
mvn package -P <profile>
Profile | Description |
---|---|
dev | Download and extract only a restricted number of versions |
prod | Download and extract all versions |
The resulting JAR is in target folder.
In the root folder:
docker-compose -p dispenser-api up -d
Endpoint: http://localhost/api/versions
Swagger Documentation: http://localhost/docs
Feel free to contribute to the project by helping with development, doing code reviews, suggesting improvements or new features...