Releases
v2.0.0
Compare
Sorry, something went wrong.
No results found
Changes made:
Switch from Next.JS API router to Express
API endpoints start with /v1, maybe there will be v2 馃憖
Local data folder is no longer used, everything is fetched from minecraft-data
Removed src/Data
New Endpoints
/v1/showNames/[category]/[version]
Shows all names of the specified category* and version.
The category can be items/blocks/biomes or effects
/v1/verInfo/[version]
Displays info about the specified version
/v1/map/[version]/[category]
Retrieve a mapping of IDs to names and names to IDs for the specified category and Minecraft version.
Click to expand to see example output
{
"air" : 0 ,
"stone" : 1 ,
"granite" : 2 ,
"polished_granite" : 3 ,
"diorite" : 4 ,
"polished_diorite" : 5 ,
"andesite" : 6 ,
"polished_andesite" : 7 ,
"deepslate" : 8 ,
"cobbled_deepslate" : 9 ,
"polished_deepslate" : 10 ,
"calcite" : 11 ,
"tuff" : 12 ,
"tuff_slab" : 13 ,
"tuff_stairs" : 14 ,
"tuff_wall" : 15
}
/v1/count/[version]
Returns how many entries exist in each category for the specified Minecraft version
Click to expand to see example output
{
"blocks" : 1060 ,
"biomes" : 0 ,
"items" : 1333 ,
"effects" : 0
}
/v1/search/[version]/[query]
Returns how many entries exist in each category for the specified Minecraft version
Click to expand to see example output
{
"blocks" : 1060 ,
"biomes" : 0 ,
"items" : 1333 ,
"effects" : 0
}
You can鈥檛 perform that action at this time.