Class DayCycle
java.lang.Object
io.github.addoncommunity.galactifun.api.universe.attributes.DayCycle
Represents the amount of sunlight a celestial object s
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyEffects(org.bukkit.World world) static DayCycledays(int days) static DayCycleeternal(long time) static DayCyclehours(int hours) static DayCycleof(int days, int hours) static DayCyclerelativeToEarth(double ratio) voidtick(org.bukkit.World world) Apply time effects to world every 5 seconds
-
Field Details
-
ETERNAL_DAY
-
ETERNAL_NIGHT
-
EARTH_LIKE
-
-
Method Details
-
eternal
-
relativeToEarth
-
days
-
hours
-
of
-
applyEffects
public void applyEffects(@Nonnull org.bukkit.World world) -
tick
public void tick(@Nonnull org.bukkit.World world) Apply time effects to world every 5 seconds -
description
-