TrainCarts/Velocity

From BergerHealer Wiki
Revision as of 21:25, 7 November 2020 by Bergerhealer Wiki>Bergerkiller (Created page with "« Go back == Introduction == Velocity is the speed of the train. Speed syntax is important for Launcher signs, Trai...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

« Go back

Introduction

Velocity is the speed of the train. Speed syntax is important for Launcher signs, Speed limit property and any other places where a speed is specified.

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.