Skip to content

pyj-pd/minecraft-crafting-recipe

Repository files navigation

Minecraft Crafting Recipe

image

Minecraft Crafting Recipe is a web app for searching crafting recipes of Minecraft items, created with Vue on Vite.

Development

pnpm install
pnpm run dev

Make sure to change base value in vite.config.ts file to your repository name!

Building

pnpm run build

Static site generating is powered by Vite SSG. The output will be on dist folder.

How to process raw data

Follow these instructions in order to process your own data(for example when updating versions).

  1. Empty all the folders/files inside public/assets/data folder unless you want to merge into the existing data.
  2. Download Minecraft assets files.
  3. Copy data/minecraft/recipe folder entirely inside that JAR file into data/raw_data folder in project directory.
  4. Copy data/minecraft/tags folder entirely inside that JAR file into data/raw_data folder in project directory.
  5. Copy language files you want to use from assets/minecraft/lang to data/raw_data/lang folder in project directory. en_us.json file is necessary.
  6. Put item render images into data/raw_data/renders folder. You can use mods like Isometric Render, BlockExporter, or Icon Exporter.
  7. Run pnpm run process command.
  8. Edit minecraftVersion variable in shared/constants/minecraft.ts file.