@Deprecated public static interface World.ChunkLoadCallback extends Consumer<Chunk>
World.getChunkAtAsync(Location,ChunkLoadCallback)
methods
to request a Chunk
to be loaded, with this callback receiving
the chunk when it is finished.
This callback will be executed on synchronously on the main thread.
Timing and order this callback is fired is intentionally not defined and
and subject to change.Modifier and Type | Method and Description |
---|---|
default void |
accept(@NotNull Chunk chunk)
Deprecated.
|
void |
onLoad(@NotNull Chunk chunk)
Deprecated.
|
Copyright © 2021. All rights reserved.