Beta Protected constructorReadonly softDistance in blocks at which the 'spring' effect starts acting to keep this entity close to the entity that leashed it.
This property can throw when used.
Readonly typeStatic Readonly componentIdentifier of this component. Should always be minecraft:leashable.
The entity to leash this entity to.
Leashes this entity to another entity.
This function can't be called in read-only mode.
This function can throw errors.
Allows this entity to be leashed and defines the conditions and events for this entity when is leashed.