4/17/2024 0 Comments Build minecraft forgeThe modid must be between 2 and 64 characters, and must consist of lowercase letters, numbers, underscores ( _) and hyphens ( -). Use your IDE's find-and-replace function to quickly replace these values.All references to examplemod in the buildscript should be replaced with your modid.The lines above it are required for the Forge MDK to work correctly, and should not be modified without proper knowledge. These values should be replaced with your own mod's information.Īll edits should be done below the apply plugin: '' line. The MDK provides default values for the buildscript and mods.toml file. For Visual Studio Code: the task is genVSCodeRuns.For IntelliJ IDEA: the task is genIntellijRuns to run in the IDE directly, open the Gradle on the right, expand the project folder, double-click Tasks > fg_runs > genIntellijRuns.For Eclipse: the task is genEclipseRuns to run in the IDE directly, open the Gradle Tasks tab on the bottom panel, wait until the tasks have loaded then expand the folder, expand the fg_runs folder, then double-click genEclipseRuns.These tasks can be run on the command line using (Windows) gradlew gen***Runs or (*nix). Generate the run configurations for your IDE using the appropriate Gradle task.Wait for the setup process to complete and the Minecraft sources are decompiled.For IntelliJ IDEA: File > Open, select and open the folder, select the adle file, click OK, click Open as Project.For Eclipse: File > Import > Gradle > Existing Gradle Project, select the folder for the Project root directory, click Finish.Open your IDE of choice, and import the project as a Gradle project.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |