Dataminer

That was a cool one to get! We went inside the files of Minecraft to scratch some metadata we used in many places of our solution!

Accessing those is very easy, you just have to find the jar file corresponding to and… open it! With some navigation you can find really interesting and valuable information:

We use this information for two main purposes:

  1. Retrieve metadata corresponding to all items in Minecraft
    After processing all the metadata, we end up with a nice list with all the game items:


    We then use that list to create records for them in Dataverse:

    This serves as a base layer for all our solution!
  2. Retrieve all the recipes in for use in AI Foundry
    You can also find information about all the existing recipes in the game. Here there is an example:


    We created an API with that information that serves as an MCP layer we use for showing available crafting recipes to Minecraft players.



    Here are the explanation an example of all the different endpoints:

    [GET] /recipe/{id}/{count} returns the recipe for a given item based on the id. It is also provide an amount to recalculate the ingredients needed.



    [POST] /showCurrentCraftingOptions display all the available crafting opportunities based on a inventory and tools input:

    — If a crafting table is available more items will be unlocked.

    [POST] /showRemainingItems/{id}/{count} returns a list of missing ingredients to craft an item based on the inventory and tools available


    [POST] /simulateCraftingResult/{id}/{count} simulates the inventory state after crafting is done for a specified item and amount based on a inventory and tools input. math: inventory – recipies expended + newly crafted items.