Class WorldSlumber
java.lang.Object
com.hypixel.hytale.builtin.beds.sleep.resources.WorldSlumber
- All Implemented Interfaces:
com.hypixel.hytale.builtin.beds.sleep.resources.WorldSleep
public final class WorldSlumber
extends Object
implements com.hypixel.hytale.builtin.beds.sleep.resources.WorldSleep
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.hypixel.hytale.builtin.beds.sleep.resources.WorldSleep
com.hypixel.hytale.builtin.beds.sleep.resources.WorldSleep.Awake -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final floatprivate floatprivate final Instantprivate final InstantDataprivate final Instantprivate final InstantData -
Constructor Summary
ConstructorsConstructorDescriptionWorldSlumber(Instant startInstant, Instant targetInstant, float irlDurationSeconds) -
Method Summary
-
Field Details
-
startInstant
-
targetInstant
-
startInstantData
-
targetInstantData
-
irlDurationSeconds
private final float irlDurationSeconds -
progressSeconds
private float progressSeconds
-
-
Constructor Details
-
WorldSlumber
-
-
Method Details
-
getStartInstant
-
getTargetInstant
-
getStartInstantData
-
getTargetInstantData
-
getProgressSeconds
public float getProgressSeconds() -
incProgressSeconds
public void incProgressSeconds(float seconds) -
getIrlDurationSeconds
public float getIrlDurationSeconds() -
createSleepClock
-