From b14e0b0d10f214a4e71cf376cf315727eb55523e Mon Sep 17 00:00:00 2001 From: Steveplays28 Date: Thu, 12 Oct 2023 23:07:08 +0200 Subject: [PATCH] chore: Add `@since` annotation to `RealisticSleepApi#getTimeOfDay` JavaDoc --- .../steveplays28/realisticsleep/api/RealisticSleepApi.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/github/steveplays28/realisticsleep/api/RealisticSleepApi.java b/src/main/java/com/github/steveplays28/realisticsleep/api/RealisticSleepApi.java index 75231c0..0e4ebe9 100644 --- a/src/main/java/com/github/steveplays28/realisticsleep/api/RealisticSleepApi.java +++ b/src/main/java/com/github/steveplays28/realisticsleep/api/RealisticSleepApi.java @@ -22,6 +22,7 @@ public static float getSleepProgress(@NotNull World world) { /** * @param world The world (aka dimension) * @return The time of day of the world in ticks, with the day count filtered out using a modulo operator. This means that when Minecraft returns the time of day of a world, the day count doesn't have any effect on the resulting time. Equal to (int) world.getLevelProperties().getTimeOfDay() % DAY_LENGTH. + * @since v1.8.4 */ public static int getTimeOfDay(@NotNull World world) { return (int) world.getLevelProperties().getTimeOfDay() % DAY_LENGTH;