此资源包并非开箱即用。不过,它内置了与 Whimscape、Dual Swords 和 Farmer's Delight 之间的部分兼容支持。
那么这个资源包的作用是什么?为什么要使用它?
首先,无论你是普通玩家、资源包制作者还是整合包维护者,你都可以根据自己的意愿自由使用、修改并重新分发本资源包的内容。许多制作精良且高度打磨的纹理包存在本资源包所修复或简化的问题。因此,无论你的项目拥有数百次下载量还是百万次下载量,你都可以自由使用其中的内容,将其添加到你自己的个人项目或整合包中。无需署名,也无需引用回本页。
如果你是普通用户,此资源包允许你只需将独特的自定义附魔书纹理拖放到以下目录:
\assets\minecraft\textures\item\enchanted_books\
即可充分利用原版 Minecraft 中原版附魔的预配置条件纹理。无需模组,无需额外步骤。仅需游戏版本为 1.21.4 及以上。这些功能包括:
- 支持高于原版等级的原版附魔。(超过原版可用等级的附魔通常会导致许多资源包出错并停止显示自定义纹理。)
- 支持包含多种附魔的附魔书,同时允许你定义这些自定义纹理的显示顺序和优先级。
如果你是高级用户或创作者,此资源包将让你轻松为你的资源包添加模组兼容支持,修复纹理选择中的问题,并定义你希望这些纹理显示的顺序。
只需编辑此处找到的文件:
\assets\minecraft\items\enchanted_book.json
示例:对于具有多种附魔/诅咒的书,诅咒的纹理将始终优先显示。

目前唯一严格优先处理的另一个附魔是经验修补(mending)。文件中的其他所有内容均按 MAX_LEVEL(最高等级)-> ALPHABETICAL(字母顺序)排序。
该文件的格式清晰明了,便于你轻松编辑、调整或添加条目,而不会破坏结构。高亮部分是你在添加新/模组附魔时需要复制粘贴的部分。

只需调整
"value": [{"enchantments": "minecraft:vanishing_curse"}],
以反映你想要添加的附魔,例如:
"value": [{"enchantments": "farmersdelight:backstabbing"}],
然后编辑
"model": "minecraft:item/enchanted_books/curse_of_vanishing"
同样反映这一更改。对于模组条目:
"model": "farmersdelight:item/enchanted_books/backstabbing"
这仅仅指向位于以下位置的模型文件夹:
\assets\[模组目录]\models\item\enchanted_books\附魔名称.json
在我们的示例中,这指向
\assets\farmersdelight\models\item\enchanted_books\backstabbing.json
该文件仅包含指向相应纹理目录的内容。如下所示:

从这里你可以简单地将自定义纹理放入:
\assets\farmersdelight\textures\item\enchanted_books\
并在游戏中按照定义的顺序显示,不会出现诸如附魔等级过高导致纹理消失,或附魔过多导致纹理消失等问题。
在编辑 enchanted_book.json 时,请注意,在添加或删除代码块时,你必须修正文件末尾的花括号数量。如果你使用 VSCode、Notepad++ 或 Sublime Text,它们会使处理这个问题变得极其容易,并通过将所有后续添加内容标红来提示你是否添加了所需数量的花括号。如果你编辑文件后遇到资源包加载失败,很可能是忘记了这一步,需要进入该文件并确保其拥有正确数量的花括号。

注意
你可以完全自由地使用此资源包,无需向我署名或链接回此页面。话虽如此,如果你是资源包制作者并且此资源包对你有帮助,或者你觉得它有用,或者你需要帮助,请在 Discord 上添加我 @ DMSW 并告知我。
本资源包中重新分发的所有 Whimscape 相关纹理均由本人制作,旨在用于教育目的
This resourcepack is not meant to do anything out of the box. It does however, have some built in compat between Whimscape, Dual Swords, and Farmer's Delight.
So what is the purpose of this resource pack? Why use it?
First off, whether you're a normal player, a resource pack artist, or a modpack maintainer, you are allowed to use, modify, and redistribute the contents of this pack however you want. Many well made, and extremely polished texture packs suffer from the issues this resource pack fixes or helps streamline. So whether you have a hundred downloads or 1 million, you are free to use the contents within, add them or use them in your personal project or modpack. No credits, no references back to this page.
If you're a non-advanced user, this resource pack allows you to simply drag and drop unique custom textures for enchanted books into
\assets\minecraft\textures\item\enchanted_books\
and take full advantage of preconfigured conditional textures for vanilla enchantments, in vanilla Minecraft. No mods required, no extra steps. Just be on 1.21.4 and up. These features are:
- Support for vanilla enchantments with higher than vanilla levels. (Levels above what are available in vanilla often cause many resource packs to break and stop displaying custom textures).
- Support for enchanted books with multiple enchants, while also allowing you to define custom order and priority for how these custom textures are displayed.
If youre an advanced user, or creator, this pack will allow you to easily add modded compat for your resource pack, fix issues in how your textures are chosen, and define the order you want these textures to be displayed.
Simply by editing this file found here:
\assets\minecraft\items\enchanted_book.json
Example: For books with multiple enchantments/curses, the texture for curses will always be prioritized.

The only other enchant that is strictly prioritized currently is mending. Everything else in the file is sorted by MAX_LEVEL -> ALPHABETICAL.
The file is clearly formatted to allow you to easily edit, adjust, or add entries while not breaking structure. The highlighted portion is what you'll want to copy and paste when adding new / modded enchants.

Simply adjust
"value": [{"enchantments": "minecraft:vanishing_curse"}],
to reflect the enchantment you want to add, for instance :
"value": [{"enchantments": "farmersdelight:backstabbing"}],
Then edit
"model": "minecraft:item/enchanted_books/curse_of_vanishing"
to reflect this change as well. For a modded entry :
"model": "farmersdelight:item/enchanted_books/backstabbing"
This simply points to your models folder located in
\assets\[modded directory]\models\item\enchanted_books\enchantment_name.json
For our example here, this points to
\assets\farmersdelight\models\item\enchanted_books\backstabbing.json
Where this file simply contains this content pointing to the corresponding texture directory. Like so :

From here you can simply drop your custom texture in :
\assets\farmersdelight\textures\item\enchanted_books\
and have it show up in game, in your defined order, without issues like having the texture disappear when the enchantment level is too high, or having the texture disappear on books with too many enchants.
When editing enchanted_book.json, please keep in mind that when adding, or deleting blocks of code, you must ammend the amount of curly braces at the end of the file. If you use VSCode, Notepad++, or Sublime, they will make it extremely easy to deal with this, and let you know when you have added the amount you need by highlighting all further additions in red. If you edit the file, and get a Resource Pack loading fail, you most likely forgot to do this, and need to go into this file and make sure the file has the correct amount.

NOTE
You are completely free to use this as you see fit, with no need to credit me or link back to this page. That being said, if you are a resource pack creator and this did help you, if you found it useful, or you just need help, please add me on discord @ DMSW and let me know.
ALL WHIMSCAPE RELATED TEXTURES REDISTRIBUTED IN THIS PACK ARE MADE BY ME AND MEANT FOR THE PURPOSES OF EDUCATION
评论 0
登录后参与评分
还没有评论,来抢沙发吧