Entity Documentation - minecraft:rail_movement

Defines the entity's movement on the rails. An entity with this component is only allowed to move on the rail.

Rail Movement Properties

Name Default Value Type Description Example Values
max_speed 0.4 Decimal number Maximum speed that this entity will move at when on the rail.

Samples

Chest Minecart

"minecraft:rail_movement": {}