Bad packets allows packet messaging between multiple modding platforms.
This means a Fabric client version of a mod that uses Bad Packets can send a packet to a server that uses the Forge version and vice versa.
This mod DOES NOT magically make all mods that have versions for different platforms to be compatible with each other, the developer needs to use BP's API to send its packet. Even then there are more complicated things like game object id sync that this mod doesn't handle which makes it unrealistic to support in the first place.
repositories {
maven {
url "https://maven2.bai.lol"
content {
includeGroup "lol.bai"
}
}
}
dependencies {
modImplementation "lol.bai:badpackets:fabric-${badpackets_version}"
}
buildscript {
dependencies {
classpath "org.spongepowered:mixingradle:0.7.+"
}
}
apply plugin: "org.spongepowered.mixin"
dependencies {
implementation fg.deobf("lol.bai:badpackets:forge-${badpackets_version}")
}
dependencies {
modCompileOnly "lol.bai:badpackets:fabric-${badpackets_version}"
}
dependencies {
modRuntimeOnly "lol.bai:badpackets:fabric-${badpackets_version}"
}
dependencies {
modRuntimeOnly "lol.bai:badpackets:forge-${badpackets_version}"
}
dependencies {
compileOnly "lol.bai:badpackets:mojmap-${badpackets_version}"
}
dependencies {
modRuntimeOnly "lol.bai:badpackets:fabric-${badpackets_version}"
}
buildscript {
dependencies {
classpath "org.spongepowered:mixingradle:0.7.+"
}
}
apply plugin: "org.spongepowered.mixin"
dependencies {
runtimeOnly fg.deobf("lol.bai:badpackets:forge-${badpackets_version}")
}