User Tools

Site Tools


zh_cn:tutorial:loader04x

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
zh_cn:tutorial:loader04x [2021/07/24 23:39] – created solidblockzh_cn:tutorial:loader04x [2024/01/02 10:33] (current) – ↷ Links adapted because of a move operation 60.188.11.60
Line 1: Line 1:
-====== 加载器0.4.x和你! ====== +====== 加载器 0.4.x 和你! ======
- +
-FIXME 本文翻译质量不佳,请帮助完善翻译。+
  
 本教程列举了将模组更新到**加载器 0.4.x**(或更高版本)所需要做的事情。 本教程列举了将模组更新到**加载器 0.4.x**(或更高版本)所需要做的事情。
Line 7: Line 5:
 ===== 架构更改===== ===== 架构更改=====
  
-架构更改。在0.04.x,支持架构版本0,但不确保支持0.5.x或更高版本。+架构更改。在 0.04.x,支持架构版本 0,但不确保支持 0.5.x 或更高版本。
  
 有用的资源: 有用的资源:
Line 13: Line 11:
   * [[zh_cn:documentation:fabric_mod_json|fabric.mod.json格式]]   * [[zh_cn:documentation:fabric_mod_json|fabric.mod.json格式]]
   * [[https://github.com/FabricMC/fabric-example-mod/|示例模组]],应该现在更新([[https://github.com/FabricMC/fabric-example-mod/commit/d6e85e22192c7d824572668f54a5bf81eec3bc78|update commit]])   * [[https://github.com/FabricMC/fabric-example-mod/|示例模组]],应该现在更新([[https://github.com/FabricMC/fabric-example-mod/commit/d6e85e22192c7d824572668f54a5bf81eec3bc78|update commit]])
-===== 嵌套JAR =====+===== 嵌套 JAR =====
  
 {{:tutorial:nested_jar.png?direct|}} {{:tutorial:nested_jar.png?direct|}}
  
-关于嵌套JAR的用途很多疑惑+关于嵌套 JAR 的用途一直存在很多容易弄混的地方
  
-嵌套JAR**是**:+嵌套 JAR **是**:
  
-  * a solution to provide dependencies which are in the form of //Fabric mods//, allowing the loader to pick the best version matching a given modpack's sets of dependencies, +  * 一种以 //Fabric 模组//的形式提供依赖项的方法,可以让加载器选择与指定的模组包的依赖的集合相符的最佳版本, 
-  * a solution that allows you turning libraries into //Fabric mods// and avoiding conflicts where they are not cleanly shadowable or where there is good reason for a Fabric mod developer to be the authoritative versioning source, +  * 可以将库转换为 //Fabric 模组//,并且在这些模组无法清晰地遮蔽,或有充分理由让 Fabric 模组开发者成为可靠的版本源的情况下,可以避免发生冲突, 
-  * a potential solution to cleanly package subprojects/submodules of a mod in one "combined" JAR, while also allowing using them separately.+  * 一种潜在的将模组的子项目/子模块干净地打包在一个“组合的”JAR 中,同时还能够单独使用的方法。
  
-嵌套JAR**不是**:+嵌套 JARs **不是**:
  
-  * meant to be used on non-mod Java libraries, +  * 用于非模组的 Java 库, 
-  * always the best solution for libraries which can be safely shadowed under a different package. Keep in mind that a Fabric mod ID can only exist once, meaning that potential version conflicts could prevent a pack from loading shadowed libraries do not have this problem.+  * 一定能安全地遮蔽不同包下的库的最佳方式。请记住,Fabric 模组 ID 只能存在一次,这意味着潜在的版本冲突可能会阻止加载包 遮蔽的库没有这个问题。
  
 如有疑问,请参阅这个图表: 如有疑问,请参阅这个图表:
zh_cn/tutorial/loader04x.1627169964.txt.gz · Last modified: 2021/07/24 23:39 by solidblock