2021-10-08 12:59:03 +02:00
|
|
|
{
|
2021-10-08 13:04:13 +02:00
|
|
|
"$id": "blockception.minecraft.behavior.entities.minecraft.rail_movement",
|
2021-10-08 12:59:03 +02:00
|
|
|
"type": "object",
|
2021-10-08 13:04:13 +02:00
|
|
|
"title": "Rail Movement",
|
2021-10-08 12:59:03 +02:00
|
|
|
"description": "Defines the entity's movement on the rails. An entity with this component is only allowed to move on the rail.",
|
|
|
|
|
"additionalProperties": false,
|
|
|
|
|
"required": [],
|
|
|
|
|
"properties": {
|
|
|
|
|
"max_speed": {
|
|
|
|
|
"type": "number",
|
|
|
|
|
"default": 0.4,
|
2022-07-22 19:41:04 +02:00
|
|
|
"description": "Maximum speed that this entity will move at when on the rail.",
|
2021-10-08 12:59:03 +02:00
|
|
|
"title": "Maximum Speed"
|
|
|
|
|
}
|
2021-10-11 18:10:42 +02:00
|
|
|
},
|
|
|
|
|
"examples": [
|
|
|
|
|
{
|
|
|
|
|
"max_speed": 0.4
|
|
|
|
|
}
|
|
|
|
|
]
|
2021-10-08 12:59:03 +02:00
|
|
|
}
|