更长药水

描述
此数据包允许玩家使用红石块而非红石粉来增加药水持续时间。这将使最大持续时间达到 1 小时。该最大值会根据不同药水的默认持续时间而有所变化。
我的目标是让隐身药水和抗性提升药水获得 1 小时的持续时间。这相当于默认药水持续时间的 20 倍增幅。所有默认持续时间短于 3 分钟的药水都会按相应比例进行缩放。
20 倍的增幅仅比原版长药水(红石粉)的修改器高出 7.5 倍。因此,与使用红石粉相比,使用红石块会损失一些“效率”。然而,你可以节省主要原料并减少存储空间。
其他说明
如果你发现此数据包有任何问题,请在此处报告。
本数据包的生成未使用任何 AI。
数据包图标使用了来自 的图片制作。
生成器
数据包包含一个配方/进度生成器脚本(recipe-generator/recipe-generator.py),使用 Python 编写。我使用它将根据列表中的药水属性(recipe-generator/potion-data.json)自动转换为配方和进度,基于三个模板(recipe-generator/templates)。
这样做的优点是,未来版本中对酿造配方或进度的任何更改只需在相关模板中实现即可。然后只需再次运行生成器脚本,它将更新所有药水的文件。
许可
本数据包根据 GNU-v3 许可证授权。
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 .
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.
评论 0
登录后参与评分
还没有评论,来抢沙发吧