Skip to content

fix: register iris, sodium and simple voice chat compat mixins - #1018

Open
offline-ant wants to merge 1 commit into
isXander:mainfrom
offline-ant:fix/compat-mixin-manifest
Open

offline-ant wants to merge 1 commit into
isXander:mainfrom
offline-ant:fix/compat-mixin-manifest

Conversation

@offline-ant

Copy link
Copy Markdown

The common manifest in build.gradle.kts guards the compat mixin configs with ifPresent("deps.…"), but the version properties are named dep.… (and Reese's Sodium Options is dep.rso). So controlify-compat.iris, .sodium, .reeses-sodium-options and the voice chat config were never listed in fabric.mod.json / neoforge.mods.toml. The voice chat entry also named controlify-compat.svc.mixins.json, while the file is controlify-compat.simple-voice-chat.mixins.json.

Without PTTKeyHandlerMixin, the Simple Voice Chat binds (Push-To-Talk Hold/Toggle, Whisper) register but never reach SVC, so controller push-to-talk does nothing. This is what 3.5.3+mc26.3 currently ships.

The compat configs keep their CompatMixinPlugin mod check, so listing them is safe when the mod is absent.

Tested:

  • CI_SINGLE_BUILD=26.3 ./gradlew build: the Fabric and NeoForge manifests now list the iris, sodium and simple-voice-chat configs (26.3 defines no dep.rso).
  • Fabric 26.3 client with Simple Voice Chat 2.6.27, Sodium 0.9.2 and Iris 1.11.7: starts normally, and holding the bound "Push-To-Talk (Hold)" button transmits voice. Before the change it did nothing.
  • Not tested: NeoForge at runtime, Reese's Sodium Options.

The manifest checked deps.* properties, but versions define dep.* (and dep.rso),
so the compat mixin configs were never listed in fabric.mod.json or
neoforge.mods.toml. The voice chat config was also named
controlify-compat.svc.mixins.json instead of
controlify-compat.simple-voice-chat.mixins.json. Without PTTKeyHandlerMixin,
controller push-to-talk and whisper binds never reach Simple Voice Chat.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant