Modifier and Type | Method and Description |
---|---|
java.util.Optional<org.spongepowered.api.world.Location<org.spongepowered.api.world.World>> |
getLocation()
Gets the
Location if the world is loaded. |
java.lang.String |
getName()
Gets the name of the location.
|
com.flowpowered.math.vector.Vector3d |
getPosition()
Gets the position.
|
com.flowpowered.math.vector.Vector3d |
getRotation()
Gets the rotation.
|
java.util.Optional<org.spongepowered.api.entity.Transform<org.spongepowered.api.world.World>> |
getTransform()
Gets the
Transform if the world is loaded. |
java.util.Optional<org.spongepowered.api.world.storage.WorldProperties> |
getWorldProperties()
Gets the
WorldProperties that this location points to, if the world exists. |
java.util.UUID |
getWorldUUID()
Gets the world
UUID that this location targets |
java.util.UUID getWorldUUID()
UUID
that this location targetsjava.util.Optional<org.spongepowered.api.world.storage.WorldProperties> getWorldProperties()
WorldProperties
that this location points to, if the world exists.com.flowpowered.math.vector.Vector3d getRotation()
com.flowpowered.math.vector.Vector3d getPosition()
java.util.Optional<org.spongepowered.api.world.Location<org.spongepowered.api.world.World>> getLocation()
Location
if the world is loaded.Location
if the world is loaded.java.util.Optional<org.spongepowered.api.entity.Transform<org.spongepowered.api.world.World>> getTransform()
Transform
if the world is loaded.Transform
if the world is loaded.java.lang.String getName()