Mod
CarryOnFix
No reviews yet
Your Minecraft 1.21.1 NeoForge server was crashing every time a player used Carry On to pick up an entity or block
Forge is a popular mod loader for versions 1.1+ of Minecraft.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description
The crash: Your Minecraft 1.21.1 NeoForge server was crashing every time a player used Carry On to pick up an entity or block. The root cause was a NullPointerException inside StringTagVisitor.visitCompound(): Minecraft tried to sort the NBT keys of whatever was being carried, but one of those keys was null, causing Java's TimSort to explode.
The fix: We built a small standalone NeoForge mod called CarryOnFix that uses a Mixin to intercept the Collections.sort() call, strip any null entries from the list, and then let the sort proceed normally. Two lines of actual logic.
Mod features:
- Server-side only — clients don't need it installed, just drop the jar in the server's
mods/folder - No extra dependencies
- Compatible with NeoForge 21.1.228 / Minecraft 1.21.1
Bumps along the way:
IExtensionPointandNetworkRegistryno longer exist in NeoForge 21.1 and caused a compile error — we removed them entirely, sincedisplayTest = "IGNORE_ALL_VERSION"inneoforge.mods.tomlis all you need to declare a server-side-only mod in modern NeoForge.
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources