Interface WorldClock
A reference to a registered world clock.
- Since:
- 2.4.0
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface Wrapper
Wrapper.Context<C> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final WorldClockstatic final WorldClockstatic final WireProvider<WorldClock.Factory> -
Method Summary
Modifier and TypeMethodDescriptionkey()The registry key this clock points at.static WorldClockreference(ResourceKey key) Creates a reference to a registered world clock.Methods inherited from interface Wrapper
asHandle, toMinecraft
-
Field Details
-
WIRE
-
OVERWORLD
-
THE_END
-
-
Method Details
-
key
The registry key this clock points at. -
reference
Creates a reference to a registered world clock.- Parameters:
key- the key of an entry in the world-clock registry- Returns:
- a reference to that world clock
- Since:
- 2.4.0
-