Skip to content

Krutoy242/mc-craft-tree

Repository files navigation

Craft Tree Visualizer

Show all your Minecraft craftings in browser!

Usually, in Expert modpacks its hard to clearly understand how hard some items are crafted. This project would help to actually see how many items and processing steps you need for high-end items.

CraftTree screenshot

CraftTree screenshot

Getting Started

This repo have predefined icons and crafting recipes for my under development modpack Enigmatica2Expert-Extended

Preview

What you can see:

  • All the items used in saved recipes
  • How many of each item used
  • How hard of each item to craft
  • Links between items (ingredients - result)

Installation

❗ Since this project in actively developing process, guids could be outdated.

How to reacreate all needed files for this to work:

  1. Run Minecraft with mods:
  2. Create some recipes ingame with Crafting Calculator
    • Export recipes. They appear in MC folder [MC_FOLDER]/config/JustEnoughCalculation/data/groups.json
    • Open resources/node_parser.js and set path variable GROUPS_PATH to this file
  3. Create list of OreDictionary entries:
    • In game run command /ct oredict
    • Open [MC_FOLDER]/crafttweaker.log
    • Scroll to end of file and save all lines starts from Ore entries for [...] to file resources/rawData/crafttweaker.log
  4. Create Spritesheet with all icons
  5. Run node_parser.js with Node.js. This would update parsedData.json and groups.json

Hint: You dont need to do steps 3 and 4 if you play Enigmatica 2: Expert, because icons and OreDict entries are basicly same as predefined in repo.

Recipe making recomendations
  • Use most common ingredients. For example better to craft pistons from copper plates
  • Add second+ variand of crafting, avaliable in progression. For example, wood planks should be processd in simpliest x6 machine instead of x2 table, metal plates should be made from 1 ingot, not 2
  • Move press molds and other not actually comsumed items to catalysts section
  • It would be cool if you add additional catalysts that actualy used in recipe. For example pedestals or energy for charged draconium
  • Use Placeholders when recipe require more slots than avaliable. TreeVisualizer will automatically replace all placeholders with its ingredients
  • Some recipes have no other inputs except time. Make Placeholder for Ticks. Also output can be chanced

Acknowledgments

Inspired by brilliant complicity of Enigmatica2: Expert.

Powered by: