这是我制作的第一个模组,所以请务必做好备份并报告任何问题!它应该没问题,但我可能犯蠢 :P
兼容性(重要)
本模组应与其他模组添加的附魔兼容,前提是它们的最高等级不超过 5 级。附魔消耗使用的是依赖于附魔最高等级的硬编码数值,除了为更高等级编写更多数值外,我没有其他好的方法来规避这个问题。我可能会在不久的将来研究扩展此兼容性,但目前我只想尽快发布这个模组并修复任何出现的重大错误。
话虽如此……本模组在仅服务端安装时_技术上_是可运行的,但需要客户端才能真正更新铁砧界面。基本上,它会告诉你原版的经验消耗/“太贵了”,尽管它允许你以正确的调整后成本取出工具。据我所知,无法仅通过服务端来更改这一点。
“太贵了!”的日子一去不复返了!
Logical Enchanting 彻底重构了 Minecraft 铁砧组合系统计算经验消耗的方式,主要包含以下关键改动:
不再有先前工作惩罚![1]
物品的成本完全取决于其自身及其材料。如果你聪明地合并附魔,仍然可以节省经验,但不再存在低效合并导致的连锁效应,使成本以不合理的高度疯狂增长!这并不意味着拥有众多附魔的工具维护成本不会高昂,但可以放心的是,只要不添加更多附魔,成本将保持不变!
廉价修复!
无论是通过材料还是未附魔的重复物品进行工具修复,都将根据主工具的附魔等级产生固定的成本。修复未附魔的工具完全不需要经验!而使用材料修复附魔工具的成本仅为一个等级,无论工具多么复杂。当然,通常人们会忽略使用材料修复,转而选择制作第二个工具并进行合并,至少对于那些不需要整整四个材料的物品而言是这样,但现在,如果经验等级短缺,这可能就是让你的工具免于报废或继续保留的关键……
固定重命名费用!
重命名费用为一个等级。无论你是给一把未附魔的剑、一把拥有所有可容纳附魔的剑、一块泥土还是 40 块泥土重命名,费用都是一样的。请随意尝试各种名称,无需担心费用上涨!永远都不会涨!
附魔书的统治地位!
使用附魔书添加附魔通常比与另一件工具合并便宜得多。试试看吧!
[1] 本模组确实像原版一样继续追踪先前工作惩罚,包括将其累加;该模组只是覆盖了铁砧成本并移除了最大经验检查,从而实质上忽略了该惩罚。在世界中安装/卸载应该是安全的,但你在此模组激活期间维护过的工具,一旦卸载模组,几乎肯定会显示为“太贵了”。
This is my first mod, so please make backups and report any issues! It should be fine but I may be stupid :P
COMPATABILITY (IMPORTANT)
This mod should be compatible with enchantments added from other mods as long as they are capped at level 5. Enchantment costs use hardcoded values dependent on an enchantment's max level, and I do not have a good way to circumvent this other than just writing in more values for higher levels. I may look into expanding compatibility for this in the near future, but for now I'd just like to get this mod out there and fix any major bugs that pop up.
This mod is technically functional when installed serverside-only, but clientside is needed to actually update the anvil UI. Basically, it'll tell you the vanilla experience cost/Too Expensive, even though it lets you take the tool for the correct adjusted cost. As far as I know there's no way to change this solely serverside.
All that aside...
The days of "Too Expensive!" are over!
Logical Enchanting is a complete overhaul to how Minecraft's anvil combination system calculates experience cost, with a few key changes:
No more prior work penalty![1]
The cost of an item is solely dependent on it and its ingredients. You'll still save experience by being smart about how you merge enchantments, but no longer is inefficient combining a cascading effect growing faster and faster to unreasonable heights! That's not to say tools with numerous enchantments won't be expensive to maintain, but you can rest assured that the cost will remain constant (until you add even more enchantments, of course)!
Cheap repairing!
Tool repairing, whether through materials or unenchanted duplicates, will incur a constant cost based on the primary tool's enchantment level. Repairing unenchanted tools is completely experience-free! And repairing enchanted tools with materials costs only a single level, no matter how complex the tool is. Sure, using materials to repair is often ignored in favor of crafting a second tool and merging, at least for those items that don't use a whole four materials, but now it could be the difference between breaking and keeping your tool if levels are in short supply...
Constant renaming!
Renaming costs one level. Doesn't matter if you're renaming an unenchanted sword, a sword with every enchant it can hold, a dirt block, or 40 dirt blocks. Feel free to experiment with names without worrying about the cost rising! Ever!
Enchanted book supremacy!
Using an enchanted book to add enchantments is often far cheaper than combining with another tool. Try it out!
[1] This mod does continue tracking prior work penalty as vanilla would, including adding to it; the mod just overwrites anvil cost and removes the max exp check, effectively disregarding the penalty. It should be safe to install/uninstall in a world, but tools you've maintained with this mod active will almost certainly have hit too expensive if you uninstall.
评论 0
登录后参与评分
还没有评论,来抢沙发吧