Beta Protected constructorReadonly maxReadonly swayAmplitude of the sway motion.
This property can throw when used.
Readonly swayAmount of sway frequency.
This property can throw when used.
Readonly typeStatic 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.