Modifier and Type | Method and Description |
---|---|
Optional<org.spongepowered.api.world.Location<org.spongepowered.api.world.World>> |
getLocation()
Gets the
Location if the world is loaded. |
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.
|
Optional<org.spongepowered.api.entity.Transform<org.spongepowered.api.world.World>> |
getTransform()
Gets the
Transform if the world is loaded. |
Optional<org.spongepowered.api.world.storage.WorldProperties> |
getWorldProperties()
Gets the
WorldProperties that this location points to, if the world exists. |
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()
Optional<org.spongepowered.api.world.Location<org.spongepowered.api.world.World>> getLocation()
Location
if the world is loaded.Location
if the world is loaded.Optional<org.spongepowered.api.entity.Transform<org.spongepowered.api.world.World>> getTransform()
Transform
if the world is loaded.Transform
if the world is loaded.String getName()