Switch build target to NeoForge

This commit is contained in:
embeddedt 2023-12-03 19:44:05 -05:00
parent 473597a915
commit fcf21283d8
No known key found for this signature in database
GPG Key ID: A69433EC199B5613
71 changed files with 6 additions and 16 deletions

View File

@ -1 +0,0 @@
loom.platform=forge

View File

@ -6,8 +6,8 @@ mixinextras_version=0.2.0-beta.9
mod_id=modernfix
minecraft_version=1.20.2
enabled_platforms=fabric,forge
forge_version=1.20.2-48.0.40
enabled_platforms=fabric,neoforge
forge_version=20.2.86
# parchment_version=2023.07.09
refined_storage_version=4392788
jei_version=16.0.0.28

View File

@ -6,18 +6,7 @@ plugins {
architectury {
platformSetupLoomIde()
forge()
}
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"
neoForge()
}
configurations {
@ -41,10 +30,11 @@ repositories {
includeGroup "extra-mods"
}
}
maven { url "https://maven.neoforged.net" }
}
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(include("com.github.llamalad7.mixinextras:mixinextras-forge:${rootProject.mixinextras_version}"))
// Remove the next line if you don't want to depend on the API

View File

@ -0,0 +1 @@
loom.platform=neoforge