- Add the mod as a dependency in your
build.gradle
like so:
// Add this to the repositories
repositories {
maven {
name = "TomTheGeek-bintray"
url = "https://dl.bintray.com/tomthegeek/mods"
}
}
// Add this to the dependencies
dependencies {
// [... Generic Fabric mod dependencies (MC, loader, fapi)]
modImplementation "me.geek.tom:twitchlink:<latest version>" // Check the version with the icon above
}
- Read the Javadoc of TwitchLinkIntegration to understand how to subscribe to events.
(see the Fabric wiki for more details on entrypoints)