-
- All Implemented Interfaces:
-
org.bukkit.configuration.serialization.ConfigurationSerializable
public final class LocationWrapper implements ConfigurationSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classLocationWrapper.Companion
-
Constructor Summary
Constructors Constructor Description LocationWrapper(Location loc)LocationWrapper(World world, Integer x, Integer y, Integer z, Integer yaw, Integer pitch)
-
Method Summary
Modifier and Type Method Description final WorldgetWorld()final IntegergetX()final IntegergetY()final IntegergetZ()final IntegergetYaw()final IntegergetPitch()final LocationgetLocation()final DoublegetDistance(LocationWrapper other)final DoublegetDistance(Location other)Booleanequals(Object other)Map<String, Object>serialize()IntegerhashCode()-
-
Method Detail
-
getWorld
final World getWorld()
-
getLocation
final Location getLocation()
-
getDistance
final Double getDistance(LocationWrapper other)
-
getDistance
final Double getDistance(Location other)
-
-
-
-