Class WorldClockKeys
java.lang.Object
io.papermc.paper.registry.keys.WorldClockKeys
Vanilla keys for
RegistryKey.WORLD_CLOCK.- API Note:
- The fields provided here are a direct representation of what is available from the vanilla game source. They may be changed (including removals) on any Minecraft version bump, so cross-version compatibility is not provided on the same level as it is on most of the other API.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TypedKey<WorldClock> minecraft:overworldstatic final TypedKey<WorldClock> minecraft:the_end -
Method Summary
Modifier and TypeMethodDescriptionstatic TypedKey<WorldClock> Creates a typed key forWorldClockin the registryminecraft:world_clock.
-
Field Details
-
OVERWORLD
minecraft:overworld- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
THE_END
minecraft:the_end- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
-
Method Details
-
create
Creates a typed key forWorldClockin the registryminecraft:world_clock.- Parameters:
key- the value's key in the registry- Returns:
- a new typed key
-