henkelmax / replay-voice-chat

A compatibility mod to record Simple Voice Chat with ReplayMod
MIT License
21 stars 9 forks source link

Add Forge compatibility #34

Closed ByThePowerOfScience closed 6 months ago

ByThePowerOfScience commented 6 months ago

Yeah yeah it's a Fabric mod, but it absolutely works with the Forge version of SVC too (with Sinytra Connector to use Replay on Forge) as long as it's annotated with the annotation the Forge version expects.

This is specifically for people who play on a Forge server that enforces the Forge version of SVC (and thus can't use the Fabric version), but who also want to use Replay Mod, so they install the Connector and record a ton of replays only to realize that none of them have voice chat and are thus completely useless. Not that I would have any experience with that. >->

Anyway, this PR just adds the Forge entrypoint to the mod (shading the annotation class to avoid classloading issues on non-Forge versions), making it fully compatible with the Forge version of Simple Voice Chat without any major refactoring or compatibility concerns. :D

henkelmax commented 6 months ago

Thanks!