Skip to content

Commit eb4ca49

Browse files
committed
Fix mixins not being remapped in production
1 parent 0221782 commit eb4ca49

File tree

4 files changed

+14
-2
lines changed

4 files changed

+14
-2
lines changed

levels/build.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
plugins {
22
id("gander-convention")
33
}
4+
5+
mixin {
6+
add(sourceSets["main"], "gander_levels.refmap.json")
7+
config("gander_levels.mixins.json")
8+
}

levels/src/main/resources/gander_levels.mixins.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
"compatibilityLevel": "JAVA_17",
66
"mixins": [
77
"StructureTemplateAccessor"
8-
]
8+
],
9+
"refmap": "gander_levels.refmap.json"
910
}

rendering/build.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
plugins {
22
id("gander-convention")
33
}
4+
5+
mixin {
6+
add(sourceSets["main"], "gander_render.refmap.json")
7+
config("gander_render.mixins.json")
8+
}

rendering/src/main/resources/gander_render.mixins.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66
"client": [
77
"CompositeRenderTypeMixin",
88
"GlStateManagerAccessor"
9-
]
9+
],
10+
"refmap": "gander_render.refmap.json"
1011
}

0 commit comments

Comments
 (0)