seriouslysean / craftalog

Craftalog is a Minecraft recipe catalog. Find the recipe you need quickly and easily!
https://www.craftalog.app
0 stars 0 forks source link

Figure out data format and storage #2

Open seriouslysean opened 7 months ago

seriouslysean commented 7 months ago

Will need a few things:

The idea is to be able to list out known recipes, click them and show in the grid in a normalized way.

The hardest part here so far is accounting for items with variations. For instance, consider wood:

All those types of wood make plank variations, and all those variations are capable of making something like sticks, etc.

Format from the minecraft resource pack, https://github.com/Mojang/bedrock-samples/blob/main/behavior_pack/recipes/torch_coal.json.

Also may need to consider shaped vs shapeless recipes, https://learn.microsoft.com/en-us/minecraft/creator/reference/content/recipereference/examples/recipedefinitions/minecraftrecipe_shapeless?view=minecraft-bedrock-stable