Community listing page, reviews here may not be monitored by the author.
FastMapCodec
No reviews yet
Provides more efficient BaseMapCodec.decode implementation
Community voices
Reviews
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
Install on the client or the server; either alone gives full functionality.
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
About
Description
Mainly fixes TPS freeze on player join caused by large advancement files (and the same class of freeze anywhere else in the game, or in other mods, that arises from decoding a large map through DFU).
It is okay to use this mod on server only or client only.
Fixes O(N²) behavior in Mojang's BaseMapCodec (part of com.mojang:datafixerupper) when decoding large map-based Codecs. Since the fix lives in BaseMapCodec itself, it applies to every codec built on top of it - UnboundedMapCodec, SimpleMapCodec, and anything else sharing the same decode/encode logic - not just player advancements.
This bug was introduced in 1.21 and is present up to modern versions.
Benchmarks comparing this mod's fix to vanilla behaviour (with some context) are available here:
The fix has also been submitted upstream to Mojang's DataFixerUpper:
If Mojang accepts the PR, this mod won't be needed on newer versions.
NeoForge disclaimer
On NeoForge, this mod uses some cursed techniques to modify DFU behaviour, which may cause incompatibility with other mods. If you notice any issues, please open an issue on GitHub.
It is known to be incompatible with Sodium Extra.
This only applies to NeoForge — the Fabric version is not affected.
Mainly fixes TPS freeze on player join caused by large advancement files (and the same class of freeze anywhere else in the game, or in other mods, that arises from decoding a large map through DFU).
It is okay to use this mod on server only or client only.
Fixes O(N²) behavior in Mojang's BaseMapCodec (part of com.mojang:datafixerupper) when decoding large map-based Codecs. Since the fix lives in BaseMapCodec itself, it applies to every codec built on top of it - UnboundedMapCodec, SimpleMapCodec, and anything else sharing the same decode/encode logic - not just player advancements.
This bug was introduced in 1.21 and is present up to modern versions.
Benchmarks comparing this mod's fix to vanilla behaviour (with some context) are available here:
The fix has also been submitted upstream to Mojang's DataFixerUpper:
If Mojang accepts the PR, this mod won't be needed on newer versions.
NeoForge disclaimer
On NeoForge, this mod uses some cursed techniques to modify DFU behaviour, which may cause incompatibility with other mods. If you notice any issues, please open an issue on GitHub.
It is known to be incompatible with Sodium Extra.
This only applies to NeoForge — the Fabric version is not affected.
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
(opens in a new tab)
Get it on
Available Platforms
On ModDex
Community snapshot
By the numbers