恢复村民折扣叠加功能! 此数据包还原了 1.20.2 版本之前的折扣叠加机制,允许玩家多次治愈村民并继续降低交易价格,就像补丁发布前一样。每个玩家可以独立无限叠加折扣,使其完全兼容多人世界和服务器。如果你怀念建造超廉价交易大厅的感觉,或者希望更灵活地操控村民机制,这个数据包以简洁、轻量化的方式将那种体验带回了。
如果你希望限制世界中允许的折扣数量,可以在 st_distac:settings 函数中调整最大折扣上限。该数据包使用 1.20.2 引入的宏特性(Macro Features),通过进度触发器在治愈村民时存储和检索玩家专属数据,从而实现对每位玩家的折扣叠加追踪。本数据包已在 Minecraft 26.1+ 版本中测试并确认正常运行,早期版本尚未进行测试。如果你尝试使用后遇到任何错误或异常行为,请随时告知我们。欢迎提供反馈和试玩报告。
祝你玩得开心,交易愉快!
可配置功能 (在 st_distac:settings 函数中编辑)
- max_cures (正整数,默认值为 1):启用折扣上限时,决定治愈次数限制。
- cap_discounts (true/false,默认 false):决定玩家是否有治愈叠加次数的限制。设为 true 将对折扣添加上限。
- limit_discounts_per_cure (true/false,默认 true):决定玩家是否能在单个治愈周期内从一名村民处获得多次折扣。设为 false 允许玩家在僵尸村民仍处于治愈阶段时,使用金苹果将折扣叠加至上限。
Bring back villager discount stacking! This datapack restores the pre-1.20.2 discount stacking behavior, allowing players to cure villagers multiple times and continue lowering trade prices just like before the patch. Each player can independently stack discounts indefinitely, making it fully compatible with multiplayer worlds and servers. If you miss building ultra-cheap trading halls or just want more flexibility with villager mechanics, this pack brings that experience back in a clean, lightweight way.
The maximum discount cap can be adjusted in the st_distac:settings function if you want limit the allowable discounts for your world. The pack uses Macro Features introduced in 1.20.2 to store and retrieve player-specific data when curing villagers through advancement triggers, allowing the system to track discount stacking per player. It has been tested and confirmed working in Minecraft 26.1+, though earlier versions have not yet been tested. If you try it out and run into any bugs or unexpected behavior, please feel free to let me know. Feedback and playtesting reports are always appreciated.
Have fun, and happy trading!
Configurable Features (edit in the st_distac:settings function)
- max_cures (positive integer, default 1) determines the curing limit when the discount cap is enabled.
- cap_discounts (true/false, default false) determines if players have a limit on the number of cures they can stack. Setting to true adds a limit to the discounts.
- limit_discounts_per_cure (true/false, default true) determines if players can get multiple discounts from a villager within a single curing cycle. Setting to false allows players to use golden apples to stack discounts up to the limit while the zombie villager is still in the curing phase.
评论 0
登录后参与评分
还没有评论,来抢沙发吧