MinecraftHub.io
Java Mods

Bad Packets

A library mod that gives mod authors one API for sending packets between Fabric, Forge, NeoForge and Quilt. Most players meet it as a requirement of another mod.

MinecraftHub-generated cover art for Bad Packets: a floating snowy block island with a workshop of crafting tables and furnaces, under a night sky

Screenshot 1 of 1. MinecraftHub-generated cover art for Bad Packets: a floating snowy block island with a workshop of crafting tables and furnaces, under a night sky

What Bad Packets works with.

PlatformJava Edition
LoadersFabric, Forge, NeoForge, Quilt
Minecraft versions1.18.2, 1.19.4, 1.20.6, 1.21.11, 26.1.2, 26.2
EnvironmentClient, Server

Bad Packets is a library mod that lets mods on Fabric, Forge, NeoForge and Quilt exchange packets across loaders. A mod on Fabric can send a packet to a host running the Forge release of the same mod, and the reverse. It runs on both sides of a connection, and its newest release needs no dependencies.

Loaders and versions

  • Fabric, Forge and Quilt: Minecraft 1.18.2 to 26.2. The newest build needs no dependencies.
  • NeoForge: Minecraft 1.19.4 to 26.2. The newest build needs no dependencies.

What it does

Bad Packets is plumbing for mod authors. It offers one API for packet messaging, so a mod published for several loaders keeps its network traffic understood by every one of them. Players rarely pick it on purpose. It usually arrives as a requirement of another mod. badasintended has maintained it since April 2022.

Installation

Add it only when another mod asks for it. Choose the file made for the loader your other mods use, drop it into the mods folder (.minecraft/mods by default) beside the mod that needs it, then launch with that loader's profile. No loader yet? See how to set up Fabric or Forge and NeoForge. The general steps are in the guide to installing Java mods.

For mod developers

The README covers Gradle setup for several project layouts. Artifacts come from a public Maven repository.

  • Repository at maven2.bai.lol, group lol.bai.
  • Fabric and Forge artifacts carry a fabric- or forge- prefix.
  • Architectury projects add it compile-only in common code and runtime-only on each loader.
  • Sponge VanillaGradle multiplatform setups are also documented, and issues go to the GitHub tracker.

Questions about Bad Packets.

3 questions

What does the Bad Packets mod do?

Bad Packets is a library that lets mods send packets between different modding platforms. A Fabric mod using it can message a Forge release of the same mod, and the reverse. Players mostly install it because another mod lists it as a requirement.

Does Bad Packets make Fabric and Forge mods work together?

No. It does not make mods for different loaders compatible by itself. A developer must route the mod's packets through the Bad Packets API, and extras such as object id syncing are not handled, so full cross-loader play stays unrealistic.

Do I need Bad Packets on a multiplayer host?

Only when a mod you run depends on it. Bad Packets works on both sides of a connection, and its newest release needs no other mods. Check the requirements of the mod that uses it, and install the file for the same loader.

More Java Mods like Bad Packets.

Guides for Java Mods.

Browse all Minecraft Java mods ↗