跳到正文

MapBoost

作者:mccmcaozr

Map update frequency optimization mod — Fabric / NeoForge / Forge

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

MapBoost

Map update frequency optimization mod — Fabric / NeoForge / Forge

Basic Info

| Property | Value |
|———-|——-|
| Mod ID | mapboost |
| Version | 1.0.0 |
| Author | mccmcaozr |
| License | All Rights Reserved (closed source) |
| Environment | Server (client optional) |
| Minecraft | >=1.21 (1.21 ~ 1.21.11, 26.1 ~ 26.2) |
| Java | 21+ |

Loader Support

| Loader | Minimum Version | JAR Filename |
|——–|—————–|————–|
| Fabric | Loader 0.15.0 + Fabric API | mapboost-fabric-1.0.0.jar |
| NeoForge | 21.1.236 | mapboost-neoforge-1.0.0.jar |
| Forge | 52.1.15 | mapboost-forge-1.0.0.jar |

Compatibility

  • Recommended: Sodium, Lithium
  • Optional: Iris, Xaero’s Minimap, Xaero’s World Map

Overview

MapBoost applies dynamic throttling to MapState.update (Mojang: MapItemSavedData.tickCarriedBy): refreshes more frequently when the player is moving, and reduces frequency when stationary.

Core Features

  • MapUpdateScheduler with per-map independent intervals
  • Player position-aware interval adjustment
  • Globally unique mapId + cross-Mixin duck typing (MapStateIdAccess)
  • Expired map cleanup
  • Player disconnect cleanup
  • Does not erroneously reset update timer during flush

Cross-Loader Mapping Differences

| Fabric (Yarn) | NeoForge/Forge (Mojang) |
|—————|————————|
| MapState | MapItemSavedData |
| FilledMapItem | MapItem |
| MapState.update | MapItemSavedData.tickCarriedBy |
| MapState.putColor | MapItemSavedData.setColor |
| FilledMapItem.getMapState | MapItem.getSavedData |
| World | Level |
| PlayerEntity | Player |
| BlockPos | BlockPos (unchanged) |

Installation

  1. Install the corresponding loader (Fabric / NeoForge / Forge)
  2. For Fabric, also install Fabric API
  3. Place the JAR file for your loader into the mods folder

常见问题

MapBoost 支持哪些 Minecraft 版本?

MapBoost 支持 Minecraft Java 版 1.21–26.2,共 16 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

MapBoost 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。

评论

登录后评论和评分

mccmcaozr 的其他作品

查看全部 →