mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-09 00:22:08 -07:00
@@ -198,4 +198,20 @@ public interface Chunk {
|
||||
*/
|
||||
@NotNull
|
||||
Collection<Plugin> getPluginChunkTickets();
|
||||
|
||||
/**
|
||||
* Gets the amount of time in ticks that this chunk has been inhabited.
|
||||
*
|
||||
* Note that the time is incremented once per tick per player in the chunk.
|
||||
*
|
||||
* @return inhabited time
|
||||
*/
|
||||
long getInhabitedTime();
|
||||
|
||||
/**
|
||||
* Sets the amount of time in ticks that this chunk has been inhabited.
|
||||
*
|
||||
* @param ticks new inhabited time
|
||||
*/
|
||||
void setInhabitedTime(long ticks);
|
||||
}
|
||||
|
Reference in New Issue
Block a user