Interface Timeline
- All Known Implementing Classes:
TimelineImpl
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final recordstatic final record -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Codec<RegistryKey<Timeline>> static final RegistryKey<Timeline> static final RegistryKey<Timeline> static final RegistryKey<Timeline> static final NetworkBuffer.Type<RegistryKey<Timeline>> static final Codec<Map<EnvironmentAttribute<?>, Timeline.Track<?, ?>>> static final RegistryKey<Timeline> -
Method Summary
Modifier and TypeMethodDescriptionstatic Timeline.Builderbuilder()static Timelinecreate(@Nullable Integer periodTicks, Map<EnvironmentAttribute<?>, Timeline.Track<?, ?>> tracks) static DynamicRegistry<Timeline> Creates a new registry for timelines, loading the vanilla timelines.Map<EnvironmentAttribute<?>, Timeline.Track<?, ?>> tracks()
-
Field Details
-
TRACKS_CODEC
-
REGISTRY_CODEC
-
NETWORK_TYPE
-
CODEC
-
VILLAGER_SCHEDULE
-
EARLY_GAME
-
DAY
-
MOON
-
-
Method Details
-
periodTicks
-
tracks
Map<EnvironmentAttribute<?>, Timeline.Track<?,?>> tracks() -
create
static Timeline create(@Nullable @Nullable Integer periodTicks, Map<EnvironmentAttribute<?>, Timeline.Track<?, ?>> tracks) -
builder
-
createDefaultRegistry
Creates a new registry for timelines, loading the vanilla timelines.- See Also:
-