2021-10-08 12:59:03 +02:00
|
|
|
{
|
2021-10-08 13:04:13 +02:00
|
|
|
"$id": "blockception.minecraft.behavior.entities.minecraft.movement.sway",
|
2022-07-26 15:05:04 +01:00
|
|
|
"title": "Movement Sway",
|
2021-10-08 12:59:03 +02:00
|
|
|
"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",
|
2022-02-09 15:23:43 +01:00
|
|
|
"description": "Strength of the sway movement.",
|
|
|
|
|
"title": "Sway Amplitude",
|
|
|
|
|
"default": 0.05
|
|
|
|
|
},
|
|
|
|
|
"sway_frequency": {
|
|
|
|
|
"type": "number",
|
|
|
|
|
"description": "Multiplier for the frequency of the sway movement.",
|
|
|
|
|
"title": "Sway Amplitude",
|
|
|
|
|
"default": 0.5
|
2021-10-08 12:59:03 +02:00
|
|
|
}
|
2021-10-11 18:10:42 +02:00
|
|
|
},
|
|
|
|
|
"examples": [
|
|
|
|
|
{
|
|
|
|
|
"max_turn": 30,
|
|
|
|
|
"sway_amplitude": 0.0
|
|
|
|
|
}
|
|
|
|
|
]
|
2021-10-08 12:59:03 +02:00
|
|
|
}
|