@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 | Description |
---|---|---|
default void |
accept(Chunk chunk) |
Deprecated.
|
void |
onLoad(Chunk chunk) |
Deprecated.
|
Copyright © 2020. All rights reserved.