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;