Closed jredfox closed 6 months ago
It looks you're trying to create mod but downloading this repository is not the correct way. This repository contains ForgeGradle, an Gradle plugin used by MDK and this is not MDK. You should download MDK and replace with this ForgeGradle.
@anatawa12 that didn't really work either the only thing that works with eclipse is to download an older 1.12.2 MDK fallow the instructions
winget install --id Git.Git -e --source winget
buildscript {
repositories {
jcenter()
mavenCentral()
maven { url = "https://files.minecraftforge.net/maven" }
}
dependencies {
classpath("com.anatawa12.forge:ForgeGradle:2.3-1.0.+") {
changing = true
}
}
}
apply plugin: 'net.minecraftforge.gradle.forge'
//Only edit below this line, the above code adds and enables the necessary things for Forge to be setup.
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4.1-bin.zip
the instructions were confusing, unclear and completely missing the fact you have to have installed git which not most people want to do.
The git is not required to run mdk (projects with forgegradle).
download an older 1.12.2 MDK fallow the instructions
it's is precondition. the document is for people already have some mod developing,. the README descrives how to replace, there is no document to create new mod yet.
I have added How to create project with this ForgeGradle instead of official ForgeGradle to README
@anatawa12 1.12.2 did not require git to use forge gradle. and I am confused on why you keep saying use ForgeGradle instead of ForgeGradle? you Mean anatawa12ForgeGradle?
however when I run the projects with your fixes it requires git so I am saying you need to download it for the user if it's not found in the path and set it to their enviorment path for the user so no admin is required or require admin and run the powershell command for them (windows)
1.12.2 did not require git to use forge gradle.
Yes. and not require git to use this ForgeGradle.
I am confused on why you keep saying use ForgeGradle instead of ForgeGradle? you Mean anatawa12ForgeGradle?
I'm always saying "to use this (fork of) ForgeGradle instead of official ForgeGradle". Since both project is ForgeGradle, I'm distinguishing two with "official" and "this/my (fork of)".
however when I run the projects with your fixes it requires git
Could you show me the error message?
The error message above looks mentioning the build.gradle.kts
in this repository.
It is not necessary to build this repository for developing your mod.
Unable to reproduce with Modifying only Forge's MDK with your plugin
Please fix the unclear readme on how to use this fix. Say Usage Download Forge MDK from their website then modify them with x and y. Also you edited the URL inside of the build.gradle yet you didn't put it in your instructions. it's just confusing to me. The average coder even would assume this project that has releases is the actual replacement for Forge MDK and download this instead.
do not run git commands unless you plan to manually install them for the user