getAsVector

fun ConfigurationSection.getAsVector(path: String): Vector

Retrieves a Vector from the configuration section at the specified path.

The configuration is expected to have the following structure:

  • path.x: Double representing the x-component

  • path.y: Double representing the y-component

  • path.z: Double representing the z-component

Return

The Vector object constructed from the x, y, and z coordinates

Parameters

path

The configuration path to read the vector from