Switch build target to NeoForge
This commit is contained in:
parent
473597a915
commit
fcf21283d8
|
|
@ -1 +0,0 @@
|
||||||
loom.platform=forge
|
|
||||||
|
|
@ -6,8 +6,8 @@ mixinextras_version=0.2.0-beta.9
|
||||||
|
|
||||||
mod_id=modernfix
|
mod_id=modernfix
|
||||||
minecraft_version=1.20.2
|
minecraft_version=1.20.2
|
||||||
enabled_platforms=fabric,forge
|
enabled_platforms=fabric,neoforge
|
||||||
forge_version=1.20.2-48.0.40
|
forge_version=20.2.86
|
||||||
# parchment_version=2023.07.09
|
# parchment_version=2023.07.09
|
||||||
refined_storage_version=4392788
|
refined_storage_version=4392788
|
||||||
jei_version=16.0.0.28
|
jei_version=16.0.0.28
|
||||||
|
|
|
||||||
|
|
@ -6,18 +6,7 @@ plugins {
|
||||||
|
|
||||||
architectury {
|
architectury {
|
||||||
platformSetupLoomIde()
|
platformSetupLoomIde()
|
||||||
forge()
|
neoForge()
|
||||||
}
|
|
||||||
|
|
||||||
loom {
|
|
||||||
forge {
|
|
||||||
convertAccessWideners = true
|
|
||||||
extraAccessWideners.add loom.accessWidenerPath.get().asFile.name
|
|
||||||
|
|
||||||
mixinConfig "modernfix-common.mixins.json"
|
|
||||||
mixinConfig "modernfix-forge.mixins.json"
|
|
||||||
}
|
|
||||||
mixin.defaultRefmapName = "modernfix.refmap.json"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
configurations {
|
configurations {
|
||||||
|
|
@ -41,10 +30,11 @@ repositories {
|
||||||
includeGroup "extra-mods"
|
includeGroup "extra-mods"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
maven { url "https://maven.neoforged.net" }
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
forge "net.minecraftforge:forge:${rootProject.forge_version}"
|
neoForge "net.neoforged:neoforge:${rootProject.forge_version}"
|
||||||
implementation(annotationProcessor("com.github.llamalad7.mixinextras:mixinextras-common:${rootProject.mixinextras_version}"))
|
implementation(annotationProcessor("com.github.llamalad7.mixinextras:mixinextras-common:${rootProject.mixinextras_version}"))
|
||||||
implementation(include("com.github.llamalad7.mixinextras:mixinextras-forge:${rootProject.mixinextras_version}"))
|
implementation(include("com.github.llamalad7.mixinextras:mixinextras-forge:${rootProject.mixinextras_version}"))
|
||||||
// Remove the next line if you don't want to depend on the API
|
// Remove the next line if you don't want to depend on the API
|
||||||
1
neoforge/gradle.properties
Normal file
1
neoforge/gradle.properties
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
loom.platform=neoforge
|
||||||
Loading…
Reference in New Issue
Block a user