IWorldChunks

public interface IWorldChunks extends IChunkAccessorSync

Interface for worldchunks functionality. Defines the contract for worldchunks implementations.

java.lang.Object > IChunkAccessorSync > IWorldChunks

Field Summary

worldChunk

final WorldChunk worldChunk

Field worldChunk.

future

final CompletableFuture future

Field future.

Method Detail

getChunk

public WorldChunk getChunk (final long index)

Method getChunk.

Parameters:
final long index

getNonTickingChunk

public WorldChunk getNonTickingChunk (final long index)

Method getNonTickingChunk.

Parameters:
final long index

waitForFutureWithoutLock

public T waitForFutureWithoutLock (@Nonnull final CompletableFuture future)

Method waitForFutureWithoutLock.

Parameters:
@Nonnull final CompletableFuture future