mc-craft-tree
mc-craft-tree copied to clipboard
Visualize Minecraft recipes in browser
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.
Getting Started
This repo have predefined icons and crafting recipes for my under development modpack Enigmatica2Expert-Extended
Preview
https://krutoy242.github.io
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:
- Run Minecraft with mods:
- 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
- Export recipes. They appear in MC folder
- 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
- In game run command
- Create Spritesheet with all icons
- In game run command
/iconexporter export
(works only in single player) - Download and run Texture Packer. It can be used for free.
- Drag and drop folder
[MC_FOLDER]/icon-exports-x32
in program, adjustMax Size
and choseFramework
toJSON (Array)
- Publish Spritesheet. Put
json
to resources/rawData/sheet/Spritesheet.json and.png
to resources/Spritesheet.png
- In game run command
- 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: