1.6.0 • Published 2 months ago
mc-icons v1.6.0
E2E-E Icons
This TS-Node CLI app designed to automatically turn text in Markdown files into Minecraft's item icons, parsing their names or brackets.
Examples
Modpack Enigmatica 2: Expert - Extended using this tool for changelogs.
Description | Capture | Result |
---|---|---|
Items with exact match | Beacon | |
Item from Minecraft picked first | Glass | |
Add (every) inside get all items | Mossy Wall (every) | |
Add (any) inside to pick only one | Mossy Wall (any) | |
Specify mod in parenth | Green wall (Actually Additions) | |
You can use mod shortandor abbreviature | Green wallGreen wall | |
Use (fluid) postfix to get fluid | Enriched Lava | |
Use numbers (4) as metadata | Futura BlockFutura Block | |
Capture by id <mod:name:meta:{tag}> | [<tconstruct:large_plate:0:{Material:"fierymetal"}>] | |
Output first items if all have same icon | Advanced Pocket |
Usage
Create Markdown file with strings of form
[Item Name] (options)
Run
mc-icons
with input file path> npx mc-icons README.md
- Input file would be changed in place
Options
> npx mc-icons --help
output:
--help Show help
-t, --treshold Levenshtein name mistake treshold
-s, --silent Do not any prompt
-m, --modpack Modpack shortand to filter icons, "e2ee" for example
-r, --repo Repository to make short links to
default "https://github.com/Krutoy242/mc-icons/raw/master/i/"
Developing
To generate icons into repo:
- Install mods IconExporter and JEIExporter.
- Run from game
/iconexporter export 64
. Note this issue and the fact that when MC window resized, it could output icons in 32x32 format despite64
in argument. - Export JEI data (default
ctrl+J
hotkey, see controls). - Run
ts-node src/tool/preparse.ts --mc=path/to/modpack --icons=icon-exports-x64 --modpack=modpack_shortand
Author
1.6.0
2 months ago
1.5.0
2 months ago
1.4.0
10 months ago
1.3.0
1 year ago
1.2.0
2 years ago
1.1.6
2 years ago
1.2.1
2 years ago
1.1.1
2 years ago
1.1.0
2 years ago
1.1.5
2 years ago
1.1.4
2 years ago
1.0.5
2 years ago
1.1.3
2 years ago
1.1.2
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago