Beta Private constructorReadonly Beta entityThe entity that owns this component.
Readonly maxReadonly 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 the component.
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.