Interface Timeline
- All Known Subinterfaces:
ComposedTimeline, ReferencedTimeline
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic ComposedTimeline.Builderbuilder()Creates a new timeline builder.key()The registry key of this timeline.static ReferencedTimelinereference(ResourceKey key) Creates a timeline reference to the given timeline.default Timelinewrap()Resolves this timeline's key in Minecraft's registry and returns its registry-backed wrapper.Methods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Field Details
-
OVERWORLD_DAY
-
MOON
-
VILLAGER_SCHEDULE
-
EARLY_GAME
-
OVERWORLD
-
-
Method Details
-
key
The registry key of this timeline. -
reference
Creates a timeline reference to the given timeline.- Parameters:
key- the key of the timeline to reference- Returns:
- a timeline reference to the given timeline
- Since:
- 3.2.0
-
wrap
Resolves this timeline's key in Minecraft's registry and returns its registry-backed wrapper.- Returns:
- the registered timeline wrapper
- Since:
- 3.3.0
-
builder
Creates a new timeline builder.- Returns:
- a new timeline builder
- Since:
- 3.2.0
-