zh_cn:documentation:fabric_loom
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
zh_cn:documentation:fabric_loom [2023/04/17 04:46] – solidblock | zh_cn:documentation:fabric_loom [2023/04/29 07:35] – [分离客户端与常规代码] solidblock | ||
---|---|---|---|
Line 11: | Line 11: | ||
* '' | * '' | ||
* '' | * '' | ||
+ | * '' | ||
* '' | * '' | ||
* '' | * '' | ||
Line 30: | Line 31: | ||
以下 build.gradle 文件片段展示了如何为您的模组启用此功能。由于您的模组现在将拆分为两个源集,因此您将需要使用新的 DSL 来定义您的模组源集。这将会让 Fabric Loader 将您的模组类路径组合在一起,对于其他一些复杂的多项目设置也有用。 | 以下 build.gradle 文件片段展示了如何为您的模组启用此功能。由于您的模组现在将拆分为两个源集,因此您将需要使用新的 DSL 来定义您的模组源集。这将会让 Fabric Loader 将您的模组类路径组合在一起,对于其他一些复杂的多项目设置也有用。 | ||
+ | |||
+ | 要分享客户端与服务器的代码,需要 Minecraft 1.18(建议 1.19)、Loader 0.14 和 Loom 1.0 以上的版本。 | ||
< | < | ||
loom { | loom { |
zh_cn/documentation/fabric_loom.txt · Last modified: 2023/10/10 15:33 by rawdiamondmc