简介
一个简单的模组,用于追踪你行走的距离。

该模组在屏幕左上角添加了两个计数器(一个用于速度,另一个用于距离),并在玩家达到里程碑时,在聊天栏和快捷栏上方显示消息,例如:
- 10 米
- 100 米
- 1 公里
- 5 公里
- 10 公里
- 50 公里
- 100 公里 (1 方块 = 1 米)
版本 1.0.2 增加了使用键盘上的 'I' 键隐藏统计信息的功能:

版本 1.0.2 还增加了使用键盘上的 'U' 键更改统计单位的功能
版本 1.0.3 添加了命令:
- /resetstep (玩家名称)
版本 1.0.4 添加了一项功能,当玩家身处村庄时,会在快捷栏上方显示“Village”
计算原理
剧透
距离计算
本模组仅计算沿 X 轴和 Z 轴的水平距离,使用以下公式:

X 和 Z 代表玩家在 X 轴和 Z 轴上的位置,Xt 和 Zt 代表玩家在上一刻(tick)时在 X 轴和 Z 轴上的位置
速度计算
与距离类似,本模组仅计算沿 X 轴和 Z 轴的水平速度,使用以下公式:

X 和 Z 代表玩家在 X 轴和 Z 轴上的位置,Xt 和 Zt 代表玩家在上一刻(tick)时在 X 轴和 Z 轴上的位置
该项目正在开发中
Introduction
A simple mod that tracks the distance you travel

The mod adds two counters (one for speed, the other for distance) to the top-left of the screen and displays messages in the chat and above the hotbar when the player reaches milestones such as:
- 10 m
- 100 m
- 1 km
- 5 km
- 10 km
- 50 km
- 100 km ( 1 block = 1 meter )
Version 1.0.2 adds the ability to hide the statistics using the 'I' key on your keyboard :

Version 1.0.2 also adds the ability to change the statistics unit using the 'U' key on your keyboard
Version 1.0.3 adds the command :
- /resetstep (PlayerName)
Version 1.0.4 Adds a feature that displays "Village" above the hotbar when the player is in a village
Calculation
Spoiler
Distance calculation
This mod calculates only the horizontal distance along the X and Z axes, using the following formula :

X and Z represent the player's positions on the X and Z axes Xt and Zt represent the player's positions on the X and Z axes during the previous tick
Speed calculation
As with distance, this mod calculates only the horizontal speed along the X and Z axes, using the formula :

X and Z represent the player's positions on the X and Z axes Xt and Zt represent the player's positions on the X and Z axes during the previous tick
This project is under development
下载 StepTrack
下载 StepTrack
下载 StepTrack
下载 StepTrack
下载 StepTrack
下载 StepTrack
- 添加了多个距离层级:
- 250 公里
- 500 公里
- 750 公里
- 1000 公里
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
适用于 MC 1.18+ 的 Effekseer 加载器
评论 0
登录后参与评分
还没有评论,来抢沙发吧