a small Python script that uses amulet-core to search for specific blocks in a Minecraft world
this was created out of my need to find the exceptionally rare Osmium Ore in the Not Too Complicated 2 modpack
call it cheating if you like, but this is my 3rd playthrough of the pack and quite frankly i have much better things to do than fuck around trying to find a single goddamn vein of this shit.
if you want to use it, the general setup goes like this:
- install Python 3.10+
- set up & activate a virtual environment
- install the required libraries with
pip install amulet-core
- there was a bug with the latest version on Python 3.10 at the time of creating this, so you may instead wish to do
pip install git+https://github.com/Amulet-Team/Amulet-Core.git
or use the precise version i used withpip install git+https://github.com/Amulet-Team/Amulet-Core.git@e455036b75d82ad255aa2a5bf678680fb67c165c
- there was a bug with the latest version on Python 3.10 at the time of creating this, so you may instead wish to do
- save the above script somewhere
- copy your world folder to the same folder as the script and rename it to just be
world
- tweak the constants at the top of the file if desired to search in a different dimension or for a different block(s)
- open your powershell/terminal in said folder and run the script with
python search_blocks.py
- if you want to save the output, you can do
python search_blocks.py > found_blocks.txt
- if you want to save the output, you can do
feel free to join my discord server if shit doesn't work :)