emerald-extension / cn.berberman.emerald.extension / org.bukkit.Location

Extensions for org.bukkit.Location

get operator fun Location.get(axis3D: Axis3D): Double
Get a one-dimension value from this location.
minus operator fun Location.minus(location: Location): Location
Subtracts the location by another.
plus operator fun Location.plus(location: Location): Location
Adds the location by another.
set operator fun Location.set(axis3D: Axis3D, double: Double): Unit
Set a one-dimension value to this location.
times operator fun Location.times(double: Double): Location
Performs scalar multiplication, multiplying all components with a scalar. Not world-aware.