Search in sources :

Example 1 with MissingImplementationException

use of org.spongepowered.common.util.MissingImplementationException in project SpongeCommon by SpongePowered.

the class ChunkMapMixin_API method regenerateChunk.

@Override
@NonNull
public CompletableFuture<Boolean> regenerateChunk(final int cx, final int cy, final int cz, @NonNull final ChunkRegenerateFlag flag) {
    final CompletableFuture<Boolean> cf = new CompletableFuture<>();
    cf.completeExceptionally(new MissingImplementationException("ServerWorld", "regenerateChunk"));
    return cf;
}
Also used : CompletableFuture(java.util.concurrent.CompletableFuture) MissingImplementationException(org.spongepowered.common.util.MissingImplementationException) NonNull(org.checkerframework.checker.nullness.qual.NonNull)

Aggregations

CompletableFuture (java.util.concurrent.CompletableFuture)1 NonNull (org.checkerframework.checker.nullness.qual.NonNull)1 MissingImplementationException (org.spongepowered.common.util.MissingImplementationException)1