Image >> Minecaft Schematic Coming SOON! (Probably)
Image to Minecraft generator, IN PYTHON!
- Find a version in your
.minecraft/versions
folder. By default:
%appdata%/Roaming/.minecraft/versions
- Find the
.jar
file in that folder.
- If that doesn't exist, you might be picking a snapshot, try using a version like
1.19.2
instead of1.19.2-pre
- Copy and Paste that file to the folder this script is in.
- Rename this JAR file to version.zip
- Make sure you have the modules already installed.
pip install pillow pathlib
are the only two you need. - Create new folders:
blocks/final/
, andblocks/s/
- Run
init.py
and wait for it to finish. You should see the folder/final
and/s
in./blocks
Don't forget to remove everything in blocks/final
, blocks/s
and ./__pycache__
when picking a new version.
- Now you can run
main.py
. The first prompt should ask you what the file name of your PNG/Image file is. Don't forget to include the file extension: liketestimage.png
There's also an option that asks how many blocks to skip, For this one, it just skips x amount of pixels to reduce difficulty to build and file size. If you want full resolution (1 block for 1 pixel), you would enter 1
, but if you wanted to reduce the file size in half (1 block for 2 pixels), that would be 2
After waiting for that script to finish, you should now see final.png in the folder.
This image is with 10 skipped blocks