Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Extends
When added, this move control causes the mob to sway side to side giving the impression it is swimming.
Properties
swayAmplitude
read-only swayAmplitude: number;
Amplitude of the sway motion.
Type: number
Notes:
- This property can throw errors when used.
swayFrequency
read-only swayFrequency: number;
Amount of sway frequency.
Type: number
Notes:
- This property can throw errors when used.
Constants
componentId
static read-only componentId = "minecraft:movement.sway";
Type: string