mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-06 00:07:56 +01:00
SPIGOT-5778: Added World.getGameTime method
By: Jakub Zacek <dawon.cz@gmail.com>
This commit is contained in:
parent
d79c0d51af
commit
652b7b8ea8
@ -954,6 +954,15 @@ public interface World extends PluginMessageRecipient, Metadatable {
|
|||||||
*/
|
*/
|
||||||
public void setFullTime(long time);
|
public void setFullTime(long time);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the full in-game time on this world since the world generation
|
||||||
|
*
|
||||||
|
* @return The current absolute time since the world generation
|
||||||
|
* @see #getTime() Returns a relative time of this world
|
||||||
|
* @see #getFullTime() Returns an absolute time of this world
|
||||||
|
*/
|
||||||
|
public long getGameTime();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns whether the world has an ongoing storm.
|
* Returns whether the world has an ongoing storm.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user