mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-14 03:35:51 -07:00
Added method to set spawn location
By: SpeaKeasY <mekevin1917@gmail.com>
This commit is contained in:
@@ -334,6 +334,13 @@ public interface World {
|
||||
*/
|
||||
public Location getSpawnLocation();
|
||||
|
||||
/**
|
||||
* Sets the spawn location of the world
|
||||
*
|
||||
* @return True if it was successfully set.
|
||||
*/
|
||||
public boolean setSpawnLocation(int x, int y, int z);
|
||||
|
||||
/**
|
||||
* Gets the relative in-game time of this world.
|
||||
*
|
||||
|
Reference in New Issue
Block a user