zh_cn:tutorial:setup
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:tutorial:setup [2023/08/10 01:05] – [java.lang.ClassNotFoundException: net.fabricmc.loader.impl.launch.knot.KnotClient / java.lang.TypeNotPresentException: Type net/minecraft/util/Identifier not present / java.lang.RuntimeException: Minecraft game provider couldn't locate the game! The game solidblock | zh_cn:tutorial:setup [2024/03/14 04:19] – [手动步骤] solidblock | ||
---|---|---|---|
Line 24: | Line 24: | ||
运行 Gradle 任务 '' | 运行 Gradle 任务 '' | ||
- | 如有需要,可以在 '' | + | 如有需要,可以在 '' |
<code properties> | <code properties> | ||
Line 48: | Line 48: | ||
- 在 Gradle 页面里打开“Gradle 设置(Gradle Settings)” | - 在 Gradle 页面里打开“Gradle 设置(Gradle Settings)” | ||
- 将“使用此工具构建和运行(Build and run using)”和“使用此工具运行测试(Run tests using)”选项改成“IntelliJ IDEA”。 | - 将“使用此工具构建和运行(Build and run using)”和“使用此工具运行测试(Run tests using)”选项改成“IntelliJ IDEA”。 | ||
- | - 进入 文件(File)-> | ||
不幸的是,目前还不能给“使用此工具构建和运行”和“使用此工具运行测试”设置一个全 IDE 内的默认值,所以这些每创建一个新项目都得重复上述步骤。 | 不幸的是,目前还不能给“使用此工具构建和运行”和“使用此工具运行测试”设置一个全 IDE 内的默认值,所以这些每创建一个新项目都得重复上述步骤。 | ||
Line 55: | Line 54: | ||
如果你使用 IntelliJ IDEA,你可以使用 [[https:// | 如果你使用 IntelliJ IDEA,你可以使用 [[https:// | ||
+ | |||
+ | **注**:MCDev 插件中的模板会直接使用 loom 的最新不稳定版本,请小心使用。 | ||
=== Eclipse === | === Eclipse === |
zh_cn/tutorial/setup.txt · Last modified: 2024/04/15 00:36 by solidblock