Protected constructorReadonly maxThe maximum number in degrees the mob can turn per tick.
This property can throw when used.
Readonly swayAmplitude of the sway motion.
This property can throw when used.
Readonly swayAmount of sway frequency.
This property can throw when used.
Readonly typeIdentifier of this component. Should always be minecraft:movement.sway.
Static Readonly componentIdentifier of this component. Should always be minecraft:movement.sway.
When added, this move control causes the mob to sway side to side giving the impression it is swimming.