mirror of
https://github.com/chylex/Better-Controls.git
synced 2025-05-06 13:34:05 +02:00
Fix broken mixins in runtime environment
This commit is contained in:
parent
cbe3fa6a71
commit
edf97c834a
@ -3,6 +3,7 @@ plugins {
|
||||
id("fabric-loom") version "0.9-SNAPSHOT"
|
||||
}
|
||||
|
||||
val modId: String by project
|
||||
val minecraftVersion: String by project
|
||||
val fabricVersion: String by project
|
||||
|
||||
@ -28,6 +29,10 @@ loom {
|
||||
ideConfigGenerated(true)
|
||||
}
|
||||
}
|
||||
|
||||
mixin {
|
||||
add(sourceSets.main.get(), "$modId.refmap.json")
|
||||
}
|
||||
}
|
||||
|
||||
tasks.processResources {
|
||||
|
@ -95,14 +95,14 @@ subprojects {
|
||||
|
||||
manifest {
|
||||
attributes(
|
||||
"Specification-Title" to modName,
|
||||
"Specification-Title" to modId,
|
||||
"Specification-Vendor" to modAuthor,
|
||||
"Specification-Version" to "1",
|
||||
"Implementation-Title" to "$modName-${project.name}",
|
||||
"Implementation-Version" to modVersion,
|
||||
"Implementation-Title" to "${modName.replace(" ", "")}-${project.name}",
|
||||
"Implementation-Vendor" to modAuthor,
|
||||
"Implementation-Version" to modVersion,
|
||||
"Implementation-Timestamp" to SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ").format(Date()),
|
||||
"MixinConfigs" to "$modId.mixin.json"
|
||||
"MixinConfigs" to "$modId.mixins.json"
|
||||
)
|
||||
}
|
||||
}
|
||||
|
@ -2,6 +2,7 @@
|
||||
"required": true,
|
||||
"minVersion": "0.8",
|
||||
"package": "chylex.bettercontrols.mixin",
|
||||
"refmap": "bettercontrols.refmap.json",
|
||||
"compatibilityLevel": "JAVA_16",
|
||||
"client": [
|
||||
"AccessCameraFields",
|
||||
|
Loading…
Reference in New Issue
Block a user