Badpackets
multiplatform packet api
Install / Use
/learn @badasintended/BadpacketsREADME
bad packets
<img src="src/main/resources/badpackets.png" align="right"/>
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.
Project Setup
repositories {
maven {
url "https://maven2.bai.lol"
content {
includeGroup "lol.bai"
}
}
}
Fabric
dependencies {
modImplementation "lol.bai:badpackets:fabric-${badpackets_version}"
}
Forge
buildscript {
dependencies {
classpath "org.spongepowered:mixingradle:0.7.+"
}
}
apply plugin: "org.spongepowered.mixin"
dependencies {
implementation fg.deobf("lol.bai:badpackets:forge-${badpackets_version}")
}
Architectury
Common
dependencies {
modCompileOnly "lol.bai:badpackets:fabric-${badpackets_version}"
}
Fabric
dependencies {
modRuntimeOnly "lol.bai:badpackets:fabric-${badpackets_version}"
}
Forge
dependencies {
modRuntimeOnly "lol.bai:badpackets:forge-${badpackets_version}"
}
Sponge VanillaGradle based multiplatform
Common
dependencies {
compileOnly "lol.bai:badpackets:mojmap-${badpackets_version}"
}
Fabric
dependencies {
modRuntimeOnly "lol.bai:badpackets:fabric-${badpackets_version}"
}
Forge
buildscript {
dependencies {
classpath "org.spongepowered:mixingradle:0.7.+"
}
}
apply plugin: "org.spongepowered.mixin"
dependencies {
runtimeOnly fg.deobf("lol.bai:badpackets:forge-${badpackets_version}")
}
Related Skills
node-connect
352.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
