Download MC-249136 Fix — Minecraft Mods — MetaMods
MC-249136 Fix

MC-249136 Fix

Active

Downloads

0

Last update

1 year ago

Versions

1.19 — 1.20.4
Server
Fabric
Quilt
Game optimization
Utils

MC-249136 Fix

This mod provides a simple yet effective solution for the MC-249136 issue - significant server slowdown that occurs when searching for buried treasures in shipwrecks.

Instead of blocking the main server processing loop, structure location determination is now performed in a separate thread. This doesn't speed up the search process itself, but prevents negative impact on gameplay.

Empty Minecraft treasure map with "Loading" text in the center

Appearance Customization

You can customize the images displayed during map loading. To do this, place 128x128 pixel PNG files at the following paths:

  • /config/mc249136/map_loading.png - image during loading
  • /config/mc249136/map_not_found.png - image if treasure is not found

Important note: For performance reasons, all image pixels will be displayed as black unless they are completely transparent (i.e. rgba(0,0,0,0)). Minecraft's map color palette is complex to calculate, so the mod uses a simple if (rgb != 0) check to render the image.

Known Limitations

  • The mod does not save loading state and only updates maps when they are in a player's inventory. This means that if you break a chest with a map, leave it as an item entity and restart the server, map loading may not complete.

Compatibility

Please note that the MC-249136 issue was fixed by Minecraft developers in versions 1.20.5 and newer. Accordingly, this mod will not be updated for these versions.

If you still encounter treasure map issues in versions 1.20.5+, please report this to the developer.

Project members
fennifith

fennifith

Developer

Created: 14 Aug 2023

ID: 3625