TeamCovertDragon / Harbinger

Frontier. Apocalypse. Promised Land. Wonderland. Götterdämmerung. Doomsday. Ragnarök. 8th Sin. Drama Generator. Miracle Worker. Harbinger Gunship. - Grimoire of Forge mod, 1.12.2.
https://harbinger.covertdragon.team/
MIT License
176 stars 18 forks source link

[Enchantment] 部署Forge开发环境步骤需要更新 #74

Open nainiu233 opened 4 years ago

nainiu233 commented 4 years ago

Synopsis / 简介

部署Forge开发环境步骤错误

Analysis / 分析

以下内容引自Forger README.txt `Step 1: Open your command-line and browse to the folder where you extracted the zip file.

Step 2: You're left with a choice. If you prefer to use Eclipse:

  1. Run the following command: "gradlew genEclipseRuns" (./gradlew genEclipseRuns if you are on Mac/Linux)
  2. Open Eclipse, Import > Existing Gradle Project > Select Folder or run "gradlew eclipse" to generate the project. (Current Issue)
  3. Open Project > Run/Debug Settings > Edit runClient and runServer > Environment
  4. Edit MOD_CLASSES to show [modid]%%[Path]; 2 times rather then the generated 4.

If you prefer to use IntelliJ:

  1. Open IDEA, and import project.
  2. Select your build.gradle file and have it import.
  3. Run the following command: "gradlew genIntellijRuns" (./gradlew genIntellijRuns if you are on Mac/Linux)
  4. Refresh the Gradle Project in IDEA if required.`

现在已经不需要进行gradlew.bat setupDecompWorkspace操作了 反而会报错Task 'setupDecompWorkspace' not found in root project 'MY_MOD'.

Proposed Correction / 建议修改为……

建议删除

yuki-harbinger[bot] commented 4 years ago

Invalid title format!

3TUSK commented 4 years ago

现在已经不需要进行gradlew.bat setupDecompWorkspace操作了

嗯…… 教程限定 Forge 版本是有原因的。构建 2847、2851、2852、2854 本质上是一样的,唯一的区别在于后三个使用的 ForgeGradle 版本是 3.1。
如果你使用 2847,那还是需要 setupDecompWorkspace 的。因为 2847 使用的仍然是 FG2.3。

SeraphJACK commented 4 years ago

Harbinger 指定的 Forge 版本使用的仍然是 FG2 ,因此不建议修改。