2.0.0
从 1.0.0 升级到 2.0.0,因为我们采用了更优的方法,使本整合包的工作流程更加简便!同时引入了适用于 1.21.5 之前版本的版本。
若要使用本整合包的 1.21.5 之前版本,你需要安装 OptiFine、CIT Resewn 或类似模组才能正常运行。

这是一个简单的资源包,会将具有节肢杀手、锋利度或亡灵杀手附魔的斧头纹理更改为双刃战斧样式。
这个想法源于我在一次讨论中看到的关于斧头上亡灵杀手附魔的帖子。我想:“如果给斧头加上战斗向的附魔,它会不会变成一把战斧呢?”,这就是那个想法的产物。
纹理相当简单,因为我只是复制了原版斧头的纹理并将斧头部分加倍。
未来我可能会改进纹理的外观。
兼容性
截至 2.0.0 版本,无论附魔组合、附魔等级(只要不超过原版的 255 硬上限),以及是否使用了任何模组附魔(或同类附魔),本资源包都应能正常工作。
这是因为我们更改了检测附魔的方法,现在使用 minecraft:condition 类型的方法,而不是之前的 minecraft:select 类型方法。
我不再需要生成 7200 种组合来实现最基本的原版功能了!
因此,现在只要斧头拥有节肢杀手、亡灵杀手和/或锋利度中的任意一种或多种,无论等级如何,都应该能正常工作!
注意,如果你想将其他附魔(例如由模组添加的附魔)加入上述列表,你需要手动将其添加进去。
我可能会考虑提供一些附加资源包,以允许与某些模组和其他资源包兼容。
以下是本节适用于 1.0.0 版本的旧内容,不适用于 2.0.0+ 版本
剧透
在撰写本文时,本资源包应在原版环境中完全可用。
也就是说,它遵循当前对可应用于斧头的附魔种类、最大附魔等级以及互斥附魔的限制。
对于可能改变其中任何规则的任何模组、数据包或其他东西,我无法保证兼容性。
这主要是由于 Mojang 选择实现附魔检测的方式,迫使我必须为每一种可能的附魔组合及其各自等级创建案例。对于这个资源包,即使尊重互斥附魔和最大附魔等级,所需的组合数量也高达 7200 种。
老实说,我很惊讶 Minecraft 能够处理它。因为我编写的用于生成所有组合的程序,如果不加入延迟机制就无法运行。
换句话说,只要斧头满足以下条件:
- 至少应用了等级 1 的亡灵杀手、节肢杀手或锋利度附魔之一。
- 所有已应用附魔的等级均在原版最大值范围内。
- 仅拥有锋利度、亡灵杀手或节肢杀手中的一种,以及 Fortune(时运)或 Silk Touch(精准采集)中的零种或一种。
- 仅拥有原版允许斧头拥有的附魔集合。
那么它应该可以正常工作。
制作兼容的附加资源包
如果你希望更改战斧使用的纹理,你可以通过创建附加资源包来实现。
只需创建一个资源包,并将替换后的纹理放置在 assets/minecraft/textures/item 目录中,文件名应为 <material>_battle_axe.png,其中 <material> 应替换为斧头的材质名称。(如 diamond、golden、netherite 等...)
然后确保你的附加包在主资源包列表中位于其上方。
可能的未来新增内容
- 如果仅应用了节肢杀手、亡灵杀手或锋利度附魔,则禁用附魔覆盖效果。
2.0.0
Jumping from 1.0.0 to 2.0.0, as we're using much better method that makes this pack a lot easier to work with! Also introducing a version for versions before 1.21.5!
To use the pre-1.21.5 version of this pack, you'll need either OptiFine, CIT Resewn, or similar for it to work.

A simple resource pack that changes the texture of a given axe to be double headed if has either the Bane of Arthropods, Sharpness, or Smite enchantments applied to it.
I came up with the idea after a discusion I saw regarding the Smite enchantment on axes. And I thought, "what if the axe where to become a battle axe, if you had one of the combat focused enchantments applied?", and this is the result of that.
The textures are fairly simple, as I just took the existing vanilla axe textures and duplicated the axe head.
I may change the textures to look better sometime in the future.
Compatibility
As of version 2.0.0, this pack should work regardless of the combination of enchantments, enchantment level (for as long as it doesn't somehow exceed the vanilla 255 hard limit), and the use of any modded (or likewise) enchantments.
This is due having changed the method for detecting the enchantments, now using the method with the minecraft:condition type instead of the method with the minecraft:select type.
No longer do I have to generate 7200 combinations just to achieve minimal vanilla functionality!
So, now, as long as the axe has Bane of Arthropods, Smite, and/or Sharpness, it should work, regardless of level!
Note, if you want to add any other enchantment to the previously listed list (such as one added by a mod), you would have to manually add it.
I might decide on providing some addon resource packs for allowing compatibility with certain mods and other resource packs.
Below is the old content for this section which applies for version 1.0.0, and does not apply to version 2.0.0+
Spoiler
As of the time of writing, the pack should work completely in vanilla.
That is to say, abiding to current restrictions on what enchantments can and cannot be applied to an axe, max enchantment levels, and respecting mutully exculsive enchantments.
Any mod, datapack, or whathaveya, that may change any of this, I cannot guarantee compatibility.
This mainly due how Mojang chose to go about making the detection of enchantments work, requiring me to have to make a case for every possible combination of enchantments and each of their levels. For this pack, even when respecting mutually exculsive enchantments and max enchantment levels, the amount of combinations need is 7200.
And honestly, I'm surpised Minecraft can handle it. Cause the program I wrote to generate all the combinations couldn't unless I programmed in a delay.
In other words, as long as the axe has:
- At least level 1 of either the Smite, Bane of Arthropods, or Sharpness enchantments applied.
- The level of all applied enchantments is within their vanilla maximums.
- Only one of Sharpness or Smite or Bane of Arthropods, and Fortune or Silk Touch or neither.
- Only the vanilla set of allowed enchantments for an axe to have.
It should work fine.
Making a compatible addon resource pack
If you wish to change the textures used for the battle axes, then you should be able to do so by creating an addon resource pack.
Simply, just create a resource pack and place your replacement textures in the assets/minecraft/textures/item directory, and name them <material>_battle_axe.png, <material> would be replaced with the material name of the axe. (diamond, golden, netherite, etc...)
Then make sure your addon pack is place above the main one in the resource pack list.
Possible future additions
- Override the enchantment overlay to be disabled if the only enchantment applied is either Bane of Arthropods, Smite, or Sharpness.
评论 0
登录后参与评分
还没有评论,来抢沙发吧