User Tools

Site Tools


ja:tutorial:mappings

Differences

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

Link to this comparison view

ja:tutorial:mappings [2022/08/13 06:45] – created skytomoja:tutorial:mappings [2022/08/13 06:49] (current) – [マッピングの使用] 未翻訳部分を翻訳 skytomo
Line 22: Line 22:
 Loom の ''remapJar'' タスクは、中間の名前を使用してビルドされた jar である主要な Mod アーティファクトを生成します。ただし、テストや検証は実行しません。 ''build'' は、エンド ユーザーが使用する JAR を生成するために常に使用する必要があります。 さらに、 ''sourcesJar'' タスクが存在する場合、 ''remapSourcesJar'' は中間名を使用してソース jar を生成します。 これらの jar は、Mod としてインストールするか、 ''modCompile'' 依存関係構成を使用して開発環境に含めることができます。 Loom の ''remapJar'' タスクは、中間の名前を使用してビルドされた jar である主要な Mod アーティファクトを生成します。ただし、テストや検証は実行しません。 ''build'' は、エンド ユーザーが使用する JAR を生成するために常に使用する必要があります。 さらに、 ''sourcesJar'' タスクが存在する場合、 ''remapSourcesJar'' は中間名を使用してソース jar を生成します。 これらの jar は、Mod としてインストールするか、 ''modCompile'' 依存関係構成を使用して開発環境に含めることができます。
  
-  * **The '-dev' jar (the ''jar'' task output) does not use intermediary names, and is therefore not useful.** It cannot be installed as a mod outside a development environment and will only work in a development environment with matching mappings. The regular jar (the ''remapJar'' task output) should be used instead and installed in development environments using mod-augmented dependency configurations like ''modCompile''. +  * **''-dev'' jar ''jar'' タスク出力)は中間名を使用しないため、役に立ちません。** 開発環境外で Mod としてインストールすることはできず、マッピングが一致する開発環境でのみ機能します。通常の jar ''remapJar'' タスク出力)を代わりに使用し、 ''modCompile'' などの Mod 拡張依存関係構成を使用して開発環境にインストールする必要があります。 
-  * **Yarn names are only applied in a development environment**. Outside a development environment, only intermediary names exist, meaning the code will not match exactly what you see and wrote. Loom transparently handles this transition for you, but be cautious when using reflection.+  * **Yarn の名前は開発環境でのみ適用されます。** 開発環境の外では、中間の名前だけが存在します。つまり、コードは、見たり書いたりしたものと正確には一致しません。このトランジションは Loom が透過的に処理しますが、リフレクションを使用する場合は注意が必要です。
  
 === Mojang のマッピング === === Mojang のマッピング ===
ja/tutorial/mappings.1660373105.txt.gz · Last modified: 2022/08/13 06:45 by skytomo