User Tools

Site Tools


zh_cn:tutorial:accesswideners

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
zh_cn:tutorial:accesswideners [2021/10/25 10:11] – [Access Changes] solidblockzh_cn:tutorial:accesswideners [2021/10/25 10:13] – [Specifying file location] solidblock
Line 102: Line 102:
   * 字段将会移除 final 修饰符   * 字段将会移除 final 修饰符
  
-===== Specifying file location =====+===== 指定文件位置 =====
  
-The access widener file location must be specified in your build.gradle and in your fabric.mod.json file. It should be stored in the resources as it needs to be included in the exported jar file.+访问加宽文件位置必须在 build.gradle 和 fabric.mod.json 文件中指定。该文件应该存在 resources 中,且需要包括在导出的 jar 文件中。
  
-Loom 0.9 or higher:+Loom 0.9 或更高版本:
  
 <code groovy [enable_line_numbers="true"]> <code groovy [enable_line_numbers="true"]>
Line 114: Line 114:
 </code> </code>
  
-Loom 0.8 or lower:+Loom 0.8 或更低版本:
  
 <code groovy [enable_line_numbers="true"]> <code groovy [enable_line_numbers="true"]>
Line 122: Line 122:
 </code> </code>
  
-fabric.mod.json:+fabric.mod.json
  
 <code json [enable_line_numbers="true"]> <code json [enable_line_numbers="true"]>
zh_cn/tutorial/accesswideners.txt · Last modified: 2021/10/25 10:14 by solidblock