User:Dig494/Sandbox

Movement speed is one of the player's stat and affects how quickly they can travel around. Many features can affect movement speed, such as Movement Accessories, Wings, Mounts, Minecarts and Liquids, along with certain Buffs, Debuffs, Armor and other hazards such as Ice Blocks and Cobwebs. Movement speed can be broken down into horizontal movement, which is the most affected component by most sources, and vertical movement, which is mostly affected by Wings and Movement Accessories.

Horizontal movement
[To do]

Minecarts
[To do]

Vertical movement
Vertical movement is mostly impacted by jump speed and gravity, which can be improved with the use of Wings, Mounts and certain Movement Accessories. When jumping, the vertical movement speed is set to the total jump speed value, subtracted by the gravity value (see Gravity) and remains constant for a certain duration.

By default, a full jump causes a vertical speed of ~18.8 tiles/s for 0.25 seconds, which equates to a jump height of ~4.3 tiles when accounting for a default gravity of 1.5 tiles/s.

Extra jumps
Certain accessories or mounts allow for one or more extra mid-air jumps. Extra jumps use the same jump speed as the first jump and have a jump duration multiplier.

Jumps of the same type won't stack with each other but will stack with other types, allowing for more than two consecutive jumps. This is the case with Bundle of Balloons which allows for 3 different types of jumps by itself.

The different types of jumps always happen in the same order:, , , then.

Gravity
Gravity affects how quickly maximum falling speed is reached and the slowdown effect when moving upwards. When moving downwards, default gravity will cause speed to increase each tick by a rate of 1.5 tiles/s, up to a default maximum falling speed of 37.5 tiles/s. When moving upwards, speed is subtracted by the same amount each tick, causing a slowdown effect if no longer accelerating upwards.

Note that Wings are not affected by gravity during flight time, but the initial jump and slowdown are.

[To do] Gravitation Potion and Gravity Globe.

Wings
[To do]

Mounts
[To do]

Other effects
Other notes:
 * Canceling a grappling hook with the key will result in a jump with half duration, unless currently moving or holding the  key in which case no jump happens.

Mph
Mph (miles per hour) is the unit of measurement of movement speed displayed by the Stopwatch. It takes into account both vertical and horizontal movement.

Mph conversion is hard coded as  which directly multiplies the pixel per tick velocities used by the game. This coincides with the number of ticks per hour (60 ticks per second and 3600 seconds per hour = 216000 ticks) and the number of pixels per mile (16 pixels per tile, 1/2 tile per foot and 5280 feet per mile = 42240 pixels).

Thus, 1 mph is equal to:
 * 11/15 tiles per second (tiles/s)
 * 44/225 pixels per tick (px/t)