
Modrinth · Minecraft mod
MC-249136 Fix
A hacky fix for server lag spikes when generating shipwreck buried treasure map / explorer map loot.
Quick answer
Which MC-249136 Fix release should I use?
MC-249136 Fix 1.0.2 targets 1.19, 1.19.1, 1.19.2 with Fabric, Quilt. Do not install it on the client. It must be installed on the dedicated server. All 1 required mods have matching files.
Where it goes
Is MC-249136 Fix required on the client, server, or both?
Do not install it on the client. It must be installed on the dedicated server.
This file is marked server-only.
What else does MC-249136 Fix 1.0.2 need?
1.0.2. Change the file and its required mods may change too.
Install Fabric API first. We found matching files for this game-version and loader setup.
We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add MC-249136 Fix without breaking your instance.
Built for MC-249136 Fix 1.0.2. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.0.2. It targets 1.19, 1.19.1, 1.19.2 with Fabric, Quilt; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install Fabric API first. We found matching files for this game-version and loader setup.
- 03
Put it on the correct side
Do not install it on the client. It must be installed on the dedicated server.
- 04
Pick the file you checked
Use the “Get this file” button beside 1.0.2. It opens that exact file at the source.
About this project
What does MC-249136 Fix add?
NOTICEMC-249136 appears to have been fixed in newer versions of Minecraft! As such, I've decided not to update this mod for 1.20.5-onwards. If you still encounter problems with treasure maps in 1.20.5+, please create an issue to let me know! |
MC-249136 Fix
This mod implements a minimal hacky fix for MC-249136, a significant server lag spike that occurs when locating buried treasure structures for shipwreck loot.
To avoid this lag spike, structure location is moved into a separate thread that does not block the server tick loop. This does nothing to improve the structure location performance, but it does at least prevent it from significantly impeding gameplay.

Configuration
The map "loading" images can be customized by placing 128x128 PNG files in /config/mc249136/map_loading.png and /config/mc249136/map_not_found.png.
For performance reasons, these images will draw all pixels as black unless they are fully transparent (i.e. rgba(0,0,0,0)). Minecraft's map color palette is difficult and expensive to calculate - so this mod literally just does an if (rgb != 0) to draw the image.
Known issues:
- This mod does not handle state persistence, and only updates loaded maps once they are inside a player's inventory.
This means that it is possible to prevent a treasure map from loading by breaking the chest, leaving it in item entity
form, and then restarting the server.
Project description from Modrinth.
Pick your setup
MC-249136 Fix by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.20.4
2 loader builds1.20.3
2 loader builds1.20.2
2 loader builds1.20.1
2 loader builds1.20
2 loader builds1.19.4
2 loader builds1.19.3
2 loader builds1.19.2
2 loader builds1.19.1
2 loader builds1.19
2 loader buildsCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
MC-249136 Fix versions and loaders
1.0.2
mc249136-1.0.2.jar
9 Dec 2023
1.0.1
mc249136-1.0.1.jar
31 Aug 2023
1.0.0
mc249136-1.0.0.jar
10 Aug 2023
Looking for an older file? The official Modrinth project page is in Resources.