Skip to content

Commit

Permalink
fix: Neo's mixin breaking changes
Browse files Browse the repository at this point in the history
  • Loading branch information
null2264 committed Nov 17, 2023
1 parent a2c3c7e commit 819ca23
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 4 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ group = project.maven_group
loom {
silentMojangMappingsLicense()

mixin.defaultRefmapName.set("mixins.cobblegen.refmap.json")
//mixin.defaultRefmapName.set("mixins.cobblegen.refmap.json")

runConfigs.configure {
client {
Expand All @@ -73,12 +73,13 @@ loom {
}
}

if (!isFabric)
if (!isFabric && !isNeo) {
forge {
mixinConfigs = [
"cobblegen.mixins.json"
]
}
}
}

configurations {
Expand Down Expand Up @@ -119,7 +120,7 @@ dependencies {
12002: "1.20.2-48.0.13",
][mcVersion]
} else {
forge "net.neoforged:neoforge:" + [
neoForge "net.neoforged:neoforge:" + [
12002: "20.2.31-beta"
// TODO: 1.20.3
][mcVersion]
Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ logoFile = "icon.png"
authors = "null2264"
description = "An MC mod that allows you to customize cobblestone (stone and basalt) generators"

[[mixins]]
config = "cobblegen.mixins.json"

[[dependencies.cobblegen]]
modId = "${forge}"
mandatory = true
Expand Down

0 comments on commit 819ca23

Please sign in to comment.