MC-249136 Fix 图标

MC-249136 Fix

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.2
本资源为搬运资源,原资源地址: https://modrinth.com/mod/mc-249136-fix
资源信息

Minecraft 版本: 1.19 1.19.1 1.19.2 1.19.3 1.19.4 1.20 1.20.1 1.20.2 1.20.3 1.20.4

平台: fabric quilt

标签: optimization utility

资源介绍
## **NOTICE** [MC-249136 appears to have been fixed](https://bugs.mojang.com/browse/MC-249136) 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](https://gitlab.com/horrific-tweaks/MC-249136/-/issues/new) to let me know!

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.
📥 下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Fixed uku's Armor HUD Warn

价格:0 墨喵币
下载量:0

查看详情
Bright Plus

价格:0 墨喵币
下载量:0

查看详情
Variants&Ventures

价格:0 墨喵币
下载量:0

查看详情
Motion Capture

价格:0 墨喵币
下载量:0

查看详情