Update Forge and fix hotloading

This commit is contained in:
raoulvdberge
2020-01-13 23:47:21 +01:00
parent c2c92f7b1e
commit 8e643a32f3

View File

@@ -39,8 +39,8 @@ minecraft {
runs { runs {
client { client {
workingDirectory project.file('run') workingDirectory project.file('run')
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP' property 'forge.logging.markers', ''
property 'forge.logging.console.level', 'debug' property 'forge.logging.console.level', 'info'
mods { mods {
refinedstorage { refinedstorage {
source sourceSets.main source sourceSets.main
@@ -48,6 +48,12 @@ minecraft {
} }
} }
intellijClient {
parent runs.client
ideaModule "${project.name}.main"
environment 'MOD_CLASSES', "${project.file("out/production/resources").canonicalPath};${project.file("out/production/classes").canonicalPath}"
}
server { server {
workingDirectory project.file('run') workingDirectory project.file('run')
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP' property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
@@ -88,7 +94,7 @@ processResources {
} }
dependencies { dependencies {
minecraft 'net.minecraftforge:forge:1.15.1-30.0.36' minecraft 'net.minecraftforge:forge:1.15.1-30.0.39'
//compileOnly fg.deobf("mezz.jei:jei-1.14.4:6.0.0.11:api") //compileOnly fg.deobf("mezz.jei:jei-1.14.4:6.0.0.11:api")
//compileOnly 'mouse-tweaks:MouseTweaks:2.12:mc1.14.4' //compileOnly 'mouse-tweaks:MouseTweaks:2.12:mc1.14.4'
//runtimeOnly fg.deobf('crafting-tweaks:CraftingTweaks_1.14.4:10.1.3') //runtimeOnly fg.deobf('crafting-tweaks:CraftingTweaks_1.14.4:10.1.3')