TrainCarts/Velocity [zh]

From BergerHealer Wiki
Jump to navigation Jump to search
(Created page with "TrainCarts/速度")
 
(Created page with "速度(Velocity)是列车的行驶速度。速度语法对于启动器标志速度限制属性以及任何其他指定速度的地方都很重要。")
Line 2: Line 2:
== 介绍 ==
== 介绍 ==


<div lang="en" dir="ltr" class="mw-content-ltr">
速度(Velocity)是列车的行驶速度。速度语法对于[[TrainCarts/Signs/Launcher#Third_line|启动器标志]][[TrainCarts/Signs/Property#Properties|速度限制属性]]以及任何其他指定速度的地方都很重要。
Velocity is the speed of the train. Speed syntax is important for [[TrainCarts/Signs/Launcher#Third_line|Launcher signs]], [[TrainCarts/Signs/Property#Properties|Speed limit property]] and any other places where a speed is specified.
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">

Revision as of 17:13, 28 December 2025

Other languages:

介绍

速度(Velocity)是列车的行驶速度。速度语法对于启动器标志速度限制属性以及任何其他指定速度的地方都很重要。

As a base unit TrainCarts uses blocks/tick This can be understood as: Move the train by <value> blocks every tick. A single tick is 1/20 second. All units are case-insensitive. Some mix-matching of units is possible, for example, you can use 20m/h even though it is not listed. For a change in velocity, see TrainCarts/Acceleration.

Syntax

Input blocks/tick Explanation
0.2
0.2/t
0.2 When no unit is specified, the value is in blocks/tick
20m/s
20/s
1.0 Unit in blocks/second (or m/s). The m before the unit is optional.
30km/h
30kmh
30kmph
0.4167 Unit in kilometers/second. Can be specified as km/h, kmh or kmph.
3.28ft/s 0.05 Unit in feet/second
1.0mi/h
1.0mph
0.022352 Unit in miles/hour. mi/h can be specified as mph.