SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
✓ VerifiedPerformance

MC-249136 Fix

by fennifith · for Minecraft

A hacky fix for server lag spikes when generating shipwreck buried treasure map / explorer map loot.

81KDownloads
3 yr agoLast updated
LGPL-3.0-onlyLicense
Fabric · QuiltLoaders

About MC-249136 Fix

From Modrinth

A hacky fix for server lag spikes when generating shipwreck buried treasure map / explorer map loot.

<table><tbody><td>

NOTICE

MC-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!

</td></tbody></table>

MC-249136 Fix

Requires Fabric API Available on GitLab Available on Modrinth

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.

An empty Minecraft buried treasure map, with the text "Loading" in the center

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.

Highlights

From source data

Game versions

Supports 10 Minecraft versions, the newest being 1.20.4.

Loaders

Runs on Fabric and Quilt.

Footprint

Rated a light load on a server.

What kind of mod it is

From the catalog
Listed on Modrinth as “Mods”

Performance

Makes the game or server run faster or lighter without changing how it plays.

Runs on your server

From source side support

Modrinth lists MC-249136 Fix as required on the server. Check its Modrinth page to see whether players need it too.

Compatibility

Game
Minecraft
Loaders
FabricQuilt
Runs on
Serverrequired on the server
Game versions
1.20.4 and 9 earlier

Verified at the source

  • ✓ModrinthOfficial listing, checked 2026-10-01Open ↗
  • ✓Authorfennifith, as published on Modrinth
  • ✓LicenseLGPL-3.0-onlyFree

MC-249136 Fix, answered

Generated from the mod’s own source data.

Do my players need to install MC-249136 Fix?

Modrinth lists MC-249136 Fix as required on the server. Check its Modrinth page to see whether players need it too.

Which loaders does it support?

Fabric and Quilt.

Is it free?

Yes. MC-249136 Fix is free to download from Modrinth. Its license is LGPL-3.0-only.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run MC-249136 Fix on a Minecraft server.

Deploy in about a minute from $4.20 a month, then add MC-249136 Fix in one click.