Waraing: This plugin is under development and there are still many bugs
buildscript {
repositories {
mavenCentral()
maven { url 'https://maven.enaium.cn/' }
}
dependencies {
classpath 'cn.enaium:ml4g:1.0.11'
}
}
apply plugin: 'ml4g'
gradlew idea
minecraft {
gameVersion = "1.16.5"//Default
}
minecraft {
mainClass = "net.minecraft.launchwrapper.Launch"
tweakClass = "cn.enaium.example.launch.Tweaker"
mixinRefMap = "mixins.temp.refmap.json"
}
minecraft {
injectRemapping = "inject.remapping.json"
}