public interface ImmutableRespawnLocation extends ImmutableDataManipulator<ImmutableRespawnLocation,RespawnLocationData>
ImmutableDataManipulator
for the "respawn" location of a
Player
. A Player
may have multiple respawn locations, but
can only have a single respawn location per World
.Modifier and Type | Method and Description |
---|---|
Optional<com.flowpowered.math.vector.Vector3d> |
getForWorld(World world)
Gets the
Vector3d location for the spawn world if available. |
ImmutableMapValue<UUID,com.flowpowered.math.vector.Vector3d> |
respawnLocation()
Gets the
ImmutableMapValue for the "respawn" locations set for
various Identifiable.getUniqueId() such that a Player may not
have a respawn point for a particular World , but may have
multiple respawn points for other World s. |
asMutable, copy, with, with
compareTo
toContainer
ImmutableMapValue<UUID,com.flowpowered.math.vector.Vector3d> respawnLocation()
ImmutableMapValue
for the "respawn" locations set for
various Identifiable.getUniqueId()
such that a Player
may not
have a respawn point for a particular World
, but may have
multiple respawn points for other World
s.Optional<com.flowpowered.math.vector.Vector3d> getForWorld(World world)
Vector3d
location for the spawn world if available.
If the respawn point for that world has not been set,
Optional.absent()
is returned.world
- The world to check