Contents
Interface BuilderToolsPlugin.TaskRegion
- Enclosing class:
BuilderToolsPlugin
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
The area a queued task works on, and how to load it.
A task reads the world through SectionAccessor, which treats an absent section as a wall,
and writes through a placement, which loads a column it is missing on the calling thread. Either way the
area has to be in memory before the task starts. The area is resolved when the task reaches the head of the
queue rather than when it is queued, because a task queued ahead of it can move the selection.
-
Method Summary
Modifier and TypeMethodDescriptionresolve(BuilderToolsPlugin.BuilderState state, World world, PrefetchLease lease) Starts the loads the task needs, holding everything they load on the lease.
-
Method Details
-
resolve
@Nonnull CompletableFuture<Void> resolve(@Nonnull BuilderToolsPlugin.BuilderState state, @Nonnull World world, @Nonnull PrefetchLease lease) Starts the loads the task needs, holding everything they load on the lease.
-