Class ComposedTimeline.Builder
java.lang.Object
dev.wyck.level.dimension.timeline.types.ComposedTimeline.Builder
- Enclosing interface:
ComposedTimeline
-
Method Summary
Modifier and TypeMethodDescriptionbuild()clock(WorldClock clock) key(ResourceKey key) periodTicks(int periodTicks) register()timeMarker(ResourceKey key, int ticks) timeMarker(ResourceKey key, int ticks, boolean showInCommands) timeMarker(TimeMarker timeMarker) track(EnvironmentAttributeSupplier<V> attribute, AttributeOperation operation, Consumer<AttributeTrack.Builder<V>> track) track(EnvironmentAttributeSupplier<V> attribute, Consumer<AttributeTrack.Builder<V>> track) track(AttributeTrack<?> track)
-
Method Details
-
key
-
clock
-
periodTicks
-
timeMarker
-
timeMarker
-
timeMarker
@AsOf("3.2.0") public ComposedTimeline.Builder timeMarker(ResourceKey key, int ticks, boolean showInCommands) -
track
-
track
@AsOf("3.2.0") public <V> ComposedTimeline.Builder track(EnvironmentAttributeSupplier<V> attribute, Consumer<AttributeTrack.Builder<V>> track) -
track
@AsOf("3.2.0") public <V> ComposedTimeline.Builder track(EnvironmentAttributeSupplier<V> attribute, AttributeOperation operation, Consumer<AttributeTrack.Builder<V>> track) -
build
-
register
-