Compatibility
Minecraft: Java Edition
Platforms
Links
Tags
Creators
Details
Longer Potions

Description
This datapack allows the player to use a redstone block instead of a redstone dust to increase the potion duration. This results in a maximum duration of 1 hour. This maximum will vary depending on the default duration of the different potions.
My goal was to get 1 hour potions for night vision and fire resistance. This results in a duration-multiplier of 20x compared to the default potion duration. All potions with a shorter default duration than 3 minutes are scaled accordingly.
The 20x multiplier is only 7.5x higher than the vanilla modifier for longer potions (redstone dust). So you are losing a bit of "efficiency" by using a redstone block compared to the redstone dust. However instead you save on the primary ingredients and on storage space.
Other Notes
You can report any issues with this datapack here.
No AI was used in the making of this datapack.
The datapack icon was made using images from https://minecraft.wiki/.
Generator
The datapack includes a recipe/advancement generator script
(recipe-generator/recipe-generator.py) written in Python. I use this to convert a
list of potion attributes (recipe-generator/potion-data.json) into recipes and
advancements automatically based on three templates (recipe-generator/templates).
The advantage of doing it this way is that any changes to the brewing-recipes or advancements in future versions only need to be implemented into the relevant template. Then you can just run the generator script again and it will update the files for all potions.
License
This datapack is licensed under GNU-v3.


