Entity Documentation - minecraft:rail_movement
minecraft:rail_movement
defines the entity's movement on rails. An entity with this component is only allowed to move on the rail.
Parameters
Name | Default Value | Type | Description |
---|---|---|---|
max_speed | 0.4 | Decimal | Maximum speed that this entity will move at when on the rail. |
Example
"minecraft:rail_movement":{
"max_speed": 0.4
}
Vanilla entities examples
minecart
"minecraft:rail_movement": {
}
Vanilla entities using minecraft:rail_movement
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for