mirror of
https://github.com/ForeverPyrite/blast-furnace-extended.git
synced 2025-12-10 01:38:07 +00:00
main
Publishing this to GitHub cause I've forgotten to for so long.
Blast Furnace Extended Datapack
This minor QoL datapack extends the functionality of the Blast Furnace by adding all possible smelting recipes (recipes that aren't in the Smoker) to it.
How to Update This Datapack for a New Minecraft Version
This datapack can be automatically updated to include all the latest recipes from any new version of Minecraft.
Prerequisites
- You must have Python 3 installed on your system.
- You need to download the official Minecraft Server
.jarfile for the version you want to support.
Update Steps
-
Download the Minecraft Server
.jar- You can find the official server file on the Minecraft website.
- Once downloaded, place the file in this directory and rename it to
server.jar.
-
Run the Generation Script
- Open a terminal or command prompt in this directory.
- Run the Python script with the following command:
python generate_recipes.py - The script will automatically:
- Delete any old recipes in the
data/minecraft/recipes/directory. - Read all the "smelting" and "blasting" recipes from the
server.jar. - Create new "blasting" recipes for any that don't already have one.
- Save all the new recipes into the
data/minecraft/recipes/directory.
- Delete any old recipes in the
-
Update
pack.mcmeta- Open the
pack.mcmetafile. - Find the
pack_formatnumber and update it to match the new version of Minecraft. You can find a list ofpack_formatversions on the Minecraft Wiki. - For example, for Minecraft 1.21, the
pack_formatis32.
- Open the
-
Create the Datapack
.zipfile- You are now ready to distribute the datapack.
- Create a
.zipfile that contains thedatadirectory and thepack.mcmetafile. - This
.zipfile is what you will place in thedatapacksfolder of your Minecraft world.
This process should work until there are major changes to how Minecraft manages recipes, datapacks, ect.
TODO
- Ensure everything works as expected on other devices
- Perhaps create a Dockerfile, if there is a "latest-release" style download link
- Publish on modpack sites (if there are no equivalents)
- Maybe some better inline documentation could be cool.
Description
Python script to generate a datapack that creates Blast Furnace recipes for all Furnace recipes that aren't in the Smoker.
Languages
Python
100%