Files
minecraft-bedrock-json-schemas/source/behavior/entities/format/components/movement.sway.json
2021-10-11 18:10:42 +02:00

27 lines
719 B
JSON

{
"$id": "blockception.minecraft.behavior.entities.minecraft.movement.sway",
"title": "Movement.sway",
"description": "This move control causes the mob to sway side to side giving the impression it is swimming.",
"type": "object",
"additionalProperties": false,
"properties": {
"max_turn": {
"type": "number",
"default": 30,
"description": "The maximum number in degrees the mob can turn per tick.",
"title": "Maximum Turn"
},
"sway_amplitude": {
"type": "number",
"description": "The amount of sway that is allowed for movement.",
"title": "Sway Amplitude"
}
},
"examples": [
{
"max_turn": 30,
"sway_amplitude": 0.0
}
]
}