⚠️这不是兼容层,也不会修复原版 Design 'N' Decor 的问题。
⚠️本项目与 Design 'N' Decor 没有任何关联。请勿向原模组作者反馈问题。
❌2.1.0 版本中的许多方块仍然缺失,目前处于测试阶段!
安装方法:
本模组的安装过程与其他模组相同,只需将 jar 文件放入你的模组文件夹即可。
但这还不够。为了让模组正常运行,你还必须将正确版本的 Design 'N' Decor 的 jar 文件也放入模组文件夹中。正确的 DnD 版本见下表:
| 模组版本 |
DnD 版本 |
| 1.0.0 |
1.21.1 - 2.1.0 |
| 1.0.1 |
1.21.1 - 2.1.0 |
| 1.0.2 |
1.21.1 - 2.1.0 |
如果在安装过程中遇到任何问题,请参考我的 Discord 服务器。
本模组的工作原理:
本节内容较为技术性,需要一定的模组开发和 Java 知识。如果你不理解也没关系,这部分仅面向好奇的读者,并非必读内容。
本模组的代码由我编写,其中部分代码参考了 Design 'N' Decor。到目前为止,这些操作都是允许的。问题在于当你需要使用 DnD 的材质和资产时,这些内容属于“保留所有权利”(All Right Reserved),因此我无法发布它们(而代码则是 MIT 许可证授权)。
为了解决这个问题,在 addPackFinders() 事件中,本模组会在 mods 文件夹中搜索有效的 DnD jar 文件,然后构建一个文件系统以从 jar 中提取资产,并基于这些资产构建资源包,以便后续将其用作父模型或直接作为纹理使用。
上述所有操作均符合 模组许可证 的规定,该许可证指出:
"只要上传/发布时,相关人员也从许可证提供的 VDL 处获取下载,即允许使用和改编这些资产。"
本模组既不包含也不重新分发这些资产,因此是合法的。为此,我再次强调:
⚠️本模组未包含任何原始资产 ⚠️
如果你好奇想了解代码层面的详细工作原理,可以查看 我的 GitHub。
⚠️This is not a compatibility layer nor it fixes the original Design 'N' Decor.
⚠️This project is not affiliated in any way with Design 'N' Decor. Don't report issues to them.
❌ Various blocks from 2.1.0 are still missing, this is in beta!
Installation:
The installation process of this mod is the same as for any other mod, simply add the jar file in your mod folder.
This is not all though. To make the mod properly work, you have to also put a correct Design 'N' Decor jar in the mod folder. The correct jar version is shown in the table below.
For any problems during the installation, refer to my discord server.
| Mod Version |
DnD Version |
| 1.0.0 |
1.21.1 - 2.1.0 |
| 1.0.1 |
1.21.1 - 2.1.0 |
| 1.0.2 |
1.21.1 - 2.1.0 |
How does this mod work?
This section is a bit more technical. It requires a bit of modding and Java knowledge. Don't worry if you don't undestand, this is for curious people only and you are not required to read this.
The mod code has been written by me by also taking some parts of it from Design 'N' Decor. So far, it's all allowed. The problem comes when you have to use the DnD textures and assets, those are All Right Reserved so i can't publish them (unlike the code that is licensed MIT).
To solve this issue, in the addPackFinders() event this mod searches for a valid DnD jar in the mods folder, it then builds a FileSystem to extract the assets from the jar and it builds a resourcepack with those assets so that they can be used later as parents models or directly as textures.
All of this is totally allowed by the mod license, which states:
"You are permitted to use and adapt the assets as long when uploading/publishing, the said person need to obtain the download from said VDL provided by license also."
This mod neither contains nor redistributes the assets, so it's allowed. For this reason, I reiterate that:
⚠️ NO ORIGINAL ASSETS ARE INCLUDED IN THIS MOD ⚠️
If you are curios to know in-dept how the code works, you can view it on my GitHub.
评论 0
登录后参与评分
还没有评论,来抢沙发吧