Skip to content

Commit a266b9f

Browse files
committed
fix: refmaps
1 parent b9e8d7f commit a266b9f

File tree

7 files changed

+14
-3
lines changed

7 files changed

+14
-3
lines changed

build.gradle.kts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,16 @@ allprojects {
7979

8080
modCompileOnly(libs.bundles.common.compile)
8181

82-
annotationProcessor(libs.mixin.squared)
82+
annotationProcessor(libs.mixin.squared) {
83+
exclude(module = "fabric-loader")
84+
}
8385
modImplementation(libs.bundles.common.bundle)
8486
if (project !in excluded) {
8587
include(libs.bundles.common.bundle)
8688
}
89+
90+
annotationProcessor(libs.mixin.extras)
91+
modCompileOnly(libs.mixin.extras)
8792
}
8893

8994
tasks {

fabric/src/client/resources/joy.client.fabric.mixins.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"minVersion": "0.8",
44
"package": "gay.pridecraft.joy.fabric.client.mixin",
55
"plugin": "gay.pridecraft.joy.fabric.client.MixinPlugin",
6+
"refmap": "client-joy.refmap.json",
67
"compatibilityLevel": "JAVA_21",
78
"client": [
89
"mavapi.EntityBucketItemMixin"

fabric/src/main/resources/joy.fabric.mixins.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"required": true,
33
"minVersion": "0.8",
44
"package": "gay.pridecraft.joy.fabric.client.mixin",
5+
"refmap": "joy.refmap.json",
56
"compatibilityLevel": "JAVA_21",
67
"injectors": {
78
"defaultRequire": 1

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
org.gradle.jvmargs=-Xmx2G
22
org.gradle.parallel=true
33

4-
version=1.0.0-alpha.1
4+
version=1.0.0-alpha.3
55
group=gay.pridecraft
66
id=joy
77

libs.versions.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ lib39 = "1.5.0-experimental7+1.20.1"
3636
# Libraries
3737
annotations = "23.+"
3838
mixin = "0.15.0+mixin.0.8.7"
39+
mixin-extras = "0.4.1"
3940
mixin-squared = "0.2.0"
4041

4142
testng = "7.5.1"
@@ -76,6 +77,7 @@ lib39-ripple = { module = "com.unascribed:lib39-ripple", version.ref = "lib39" }
7677

7778
annotations = { module = "org.jetbrains:annotations", version.ref = "annotations" }
7879
mixin = { module = "net.fabricmc:sponge-mixin", version.ref = "mixin" }
80+
mixin-extras = { module = "io.github.llamalad7:mixinextras-common", version.ref = "mixin-extras" }
7981
mixin-squared = { module = "com.github.bawnorton.mixinsquared:mixinsquared-fabric", version.ref = "mixin-squared" }
8082

8183
testng = { module = "org.testng:testng", version.ref = "testng" }

xplat/src/client/resources/joy.client.mixins.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22
"required": true,
33
"minVersion": "0.8",
44
"package": "gay.pridecraft.joy.mixin.client",
5+
"refmap": "client-joy.refmap.json",
56
"compatibilityLevel": "JAVA_21",
67
"client": [
78
"BipedEntityModelMixin",
89
"ClientPlayNetworkHandlerMixin",
910
"PlayerEntityRendererMixin",
10-
"SplashTextResourceSupplierMixin",
11+
"SplashTextResourceSupplierMixin"
1112
],
1213
"injectors": {
1314
"defaultRequire": 1

xplat/src/main/resources/joy.mixins.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"required": true,
33
"minVersion": "0.8",
44
"package": "gay.pridecraft.joy.mixin",
5+
"refmap": "joy.refmap.json",
56
"compatibilityLevel": "JAVA_21",
67
"mixins": ["AllayEntityMixin", "LivingEntityMixin", "PaintingVariantsMixin"],
78
"injectors": {

0 commit comments

Comments
 (0)