diff --git a/paper-api/src/main/java/org/bukkit/Chunk.java b/paper-api/src/main/java/org/bukkit/Chunk.java index 58cf0dde77..75981fe694 100644 --- a/paper-api/src/main/java/org/bukkit/Chunk.java +++ b/paper-api/src/main/java/org/bukkit/Chunk.java @@ -198,4 +198,20 @@ public interface Chunk { */ @NotNull Collection 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); }