Class ClientClockManager
java.lang.Object
net.minecraft.client.ClientClockManager
- All Implemented Interfaces:
ClockManager
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<Holder<WorldClock>, ClientClockManager.ClockInstance> private long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate ClientClockManager.ClockInstancegetInstance(Holder<WorldClock> definition) longgetTotalTicks(Holder<WorldClock> definition) voidhandleUpdates(long gameTime, Map<Holder<WorldClock>, ClockState> updates) voidtick(long gameTime) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ClockManager
getFractionalTick, setSpeed
-
Field Details
-
clocks
-
lastTickGameTime
private long lastTickGameTime
-
-
Constructor Details
-
ClientClockManager
public ClientClockManager()
-
-
Method Details
-
getInstance
-
tick
public void tick(long gameTime) -
handleUpdates
-
getTotalTicks
- Specified by:
getTotalTicksin interfaceClockManager
-