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

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

版本 1.0.2 还增加了使用键盘上的 'U' 键更改统计单位的功能
版本 1.0.3 添加了命令:
版本 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 :
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
评论 0
登录后参与评分
还没有评论,来抢沙发吧