运行环境:1.20.4 Fabric
前端模组依赖:Cloth Config API、Mod Menu(可选)
本模组能够实时在用户界面中显示玩家的移动速度,并计算玩家的累计移动距离,由 Minimax Agent 和 Deepseek 提供支持。
已实现功能:
- 在游戏界面显示当前玩家的移动速度,单位为米每秒(m/s),包含水平和垂直方向的移动。该速度基于玩家坐标的变化进行计算,并每游戏刻(每秒 20 次)更新一次。
- 根据速度变化计算并显示玩家的总移动距离,持续累加直至手动重置。注意:由于数据源为玩家坐标变换,使用
/tp 命令传送的距离也会被记录(累加传送前后的直线距离)。
- UI 位置管理:支持自定义 UI 坐标位置,提供四种预设角落位置:左上角(topleft)、右上角(topright)、左下角(bottomleft)和右下角(bottomright),可实时调整。
- 配置文件管理:配置文件采用 JSON 格式,自动保存和加载,支持手动编辑及生成默认配置。
设置命令:
/milometer reset - 重置累计距离为零
/milometer setdistance manually <newtotaldistance> - 手动设置累计距离
/milometer setpos - 设置 HUD 位置
-xy <x><y> - 到指定坐标
-corner - 到屏幕角落
topleft - 左上角
topright - 右上角
bottomleft - 左下角
bottomright - 右下角
/milometer help - 显示此帮助
运行环境:1.20.4 Fabric
前置模组:Cloth Config API,Mod Menu(可选)
此模组能够在 UI 界面上实时显示玩家的移动速度并统计玩家的累计移动距离,使用 Minimax Agent 和 Deepseek 制作。
实现的功能: 1.在游戏界面显示当前玩家移动速度,单位为 m/s (米/秒),此速度包含水平和垂直移动,由玩家坐标的变化计算得出,每游戏 tick 更新 (20次/秒)。 2.根据速度变化,统计并显示玩家的总移动距离,持续累计,直到手动重置。 注:由于数据来源是玩家坐标变换,所以使用 /tp 指令传送的距离也会被记录(累加传送前后的直线距离)。 3.UI 位置管理:支持自定义 UI 坐标位置,预设四个角落位置:topleft, topright, bottomleft, bottomright,可实时调整。 4.配置文件管理:配置文件为 JSON 格式,自动保存和加载,支持手动编辑与默认配置生成。
设置指令:
/milometer reset - 重置累计距离为零
/milometer setdistancemanually <newtotaldistance> - 手动设置累计距离
/milometer setpos - 设置 HUD 位置
-xy <x> <y> - 到指定坐标
-corner - 到屏幕角落
topleft - 左上角
topright - 右上角
bottomleft - 左下角
bottomright - 右下角
/milometer help - 显示此帮助
Running environment: 1.20.4 Fabric
Front end mods required: Cloth Config API, Mod Menu(Optional)
This mod can display the player's movement speed in real-time on the user interface and calculate the player's cumulative movement distance, powered by Minimax Agent and Deepseek.
Implemented functions:
- Display the current player's movement speed on the game interface, measured in meters per second (m/s), which includes both horizontal and vertical movements. This speed is calculated based on changes in the player's coordinates and is updated every game tick (20 times per second).
- Based on the speed change, calculate and display the total movement distance of the player, continuously accumulate until manually reset. Note: As the data source is player coordinate transformation, the distance transmitted using the/tp command will also be recorded (adding up the straight-line distance before and after transmission).
- UI Position Management: Supports custom UI coordinate positions, with four preset corner positions: topleft, topright, bottomleft, and bottomright, which can be adjusted in real-time.
- Configuration file management: Configuration files are in JSON format, automatically saved and loaded, and support manual editing and default configuration generation.
Set command:
/milometer reset - Reset cumulative distance to zero
/milometer setdistance manually <newtotaldistance> - manually set cumulative distance
/milometer setpos - Set HUD position
-xy <x><y> - to the specified coordinates
-corner - to the corner of the screen
topleft - Upper left corner
topright - upper right corner
bottomleft - bottom left corner
bottomright - bottom right corner
/milometer help - Display this help
运行环境:1.20.4 Fabric
前置模组:Cloth Config API,Mod Menu(可选)
此模组能够在UI界面上实时显示玩家的移动速度并统计玩家的累计移动距离,使用Minimax Agent和Deepseek制作。
实现的功能: 1.在游戏界面显示当前玩家移动速度,单位为m/s (米/秒),此速度包含水平和垂直移动,由玩家坐标的变化计算得出,每游戏tick更新 (20次/秒)。 2.根据速度变化,统计并显示玩家的总移动距离,持续累计,直到手动重置。 注:由于数据来源是玩家坐标变换,所以使用/tp指令传送的距离也会被记录(累加传送前后的直线距离)。 3.UI位置管理:支持自定义UI坐标位置,预设四个角落位置:topleft, topright, bottomleft, bottomright,可实时调整。 4.配置文件管理:配置文件为JSON格式,自动保存和加载,支持手动编辑与默认配置生成。
设置指令:
/milometer reset - 重置累计距离为零
/milometer setdistancemanually <newtotaldistance> - 手动设置累计距离
/milometer setpos - 设置HUD位置
-xy <x> <y> - 到指定坐标
-corner - 到屏幕角落
topleft - 左上角
topright - 右上角
bottomleft - 左下角
bottomright - 右下角
/milometer help - 显示此帮助
评论 0
登录后参与评分
还没有评论,来抢沙发吧