mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-18 05:43:49 -07:00
@@ -474,6 +474,16 @@ public interface World extends PluginMessageRecipient, Metadatable {
|
|||||||
*/
|
*/
|
||||||
public Location getSpawnLocation();
|
public Location getSpawnLocation();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the spawn location of the world.
|
||||||
|
* <br>
|
||||||
|
* The location provided must be equal to this world.
|
||||||
|
*
|
||||||
|
* @param location The {@link Location} to set the spawn for this world at.
|
||||||
|
* @return True if it was successfully set.
|
||||||
|
*/
|
||||||
|
public boolean setSpawnLocation(Location location);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the spawn location of the world
|
* Sets the spawn location of the world
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user