This repository moved to https://github.com/Krutoy242/mc-icons
This TS-Node CLI app designed to automatically turn text in Markdown files into Minecraft's item icons, parsing their names or brackets.
Modpack Enigmatica 2: Expert - Extended using this tool for changelogs.
This string | Turns into this |
---|---|
[Iron Ingot] [Anvil] [Triple Battery] |
Note that we can mark different mods
or metas
for same names
Before iconification: | After iconification: |
[Amber] (Biomes O' Plenty) [Basalt] (advancedrocketry) |
|
-
Create Markdown file with strings of form
[Item Name] (optional_mod_name)
-
Run
mc-icons
with input file path> npx mc-icons --input=README.md
-
Input file would be changed in place
> npx mc-icons --help
output:
-i, --input Input file path
-t, --treshold Levenshtein name mistake treshold
-s, --silent Do not any prompt
--help Show help
-r, --repo Repository to make short links to
default "https://github.com/Krutoy242/E2E-E-icons/raw/main/x32/"
Some 1.12 Minecraft modpacks in addition to E2E-E
have items that are not on the list.
You need to add these icons in the folder ./x32/
and update the .json
files.
- Fork this repo on local machine, install dependensies
> npm install
- Launch your Minecraft with IconExporter mod. Join world, run command to generate all icons:
/iconexporter export 32
- Move all created icons to folder
./x32/
without replacing - Run
> npm run preparse
to generate.json
mapping files - Add, commit, push.
- Create PullRequest to main repo, to enlarge item dictionary. If you dont want to wait before PR would be accepted, use
--repo=
option to your fork.