| Modifier and Type | Method and Description |
|---|---|
CloudChunk |
CloudBlock.getChunk() |
| Modifier and Type | Method and Description |
|---|---|
CloudChunk |
BaseBlockEntity.getChunk() |
| Modifier and Type | Field and Description |
|---|---|
CloudChunk |
BaseEntity.chunk |
| Modifier and Type | Method and Description |
|---|---|
CloudChunk |
BaseEntity.getChunk() |
| Modifier and Type | Method and Description |
|---|---|
CloudChunk |
CloudLevel.getChunk(int chunkX,
int chunkZ) |
CloudChunk |
CloudLevel.getChunk(long chunkKey) |
CloudChunk |
CloudLevel.getChunk(com.nukkitx.math.vector.Vector3f pos) |
CloudChunk |
CloudLevel.getChunk(com.nukkitx.math.vector.Vector3i pos) |
CloudChunk |
CloudLevel.getLoadedChunk(int chunkX,
int chunkZ) |
CloudChunk |
CloudLevel.getLoadedChunk(long chunkKey) |
CloudChunk |
CloudLevel.getLoadedChunk(com.nukkitx.math.vector.Vector3f pos) |
CloudChunk |
CloudLevel.getLoadedChunk(com.nukkitx.math.vector.Vector3i pos) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<CloudChunk> |
CloudLevel.getChunkFuture(int chunkX,
int chunkZ) |
Set<CloudChunk> |
CloudLevel.getChunks() |
| Modifier and Type | Method and Description |
|---|---|
Set<BlockUpdateEntry> |
CloudLevel.getPendingBlockUpdates(CloudChunk chunk) |
| Modifier and Type | Method and Description |
|---|---|
CloudChunk |
ChunkBuilder.build() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ChunkDataLoader.load(CloudChunk chunk)
Loads data into specified chunk.
|
| Modifier and Type | Method and Description |
|---|---|
CloudChunk |
GenerationTask.apply(@NonNull CloudChunk chunk) |
CloudChunk |
FinishingTask.apply(@NonNull CloudChunk chunk,
List<CloudChunk> chunks) |
CloudChunk |
PopulationTask.apply(@NonNull CloudChunk chunk,
List<CloudChunk> chunks) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<CloudChunk> |
LevelChunkManager.getChunkFuture(int x,
int z)
Get chunk future at specified coordinate.
|
Set<CloudChunk> |
LevelChunkManager.getLoadedChunks()
Returns a set of all loaded chunks in this level.
|
| Modifier and Type | Method and Description |
|---|---|
CloudChunk |
GenerationTask.apply(@NonNull CloudChunk chunk) |
CloudChunk |
FinishingTask.apply(@NonNull CloudChunk chunk,
List<CloudChunk> chunks) |
CloudChunk |
PopulationTask.apply(@NonNull CloudChunk chunk,
List<CloudChunk> chunks) |
boolean |
LevelChunkManager.unloadChunk(CloudChunk chunk) |
boolean |
LevelChunkManager.unloadChunk(CloudChunk chunk,
boolean save) |
boolean |
LevelChunkManager.unloadChunk(CloudChunk chunk,
boolean save,
boolean safe) |
| Modifier and Type | Method and Description |
|---|---|
CloudChunk |
FinishingTask.apply(@NonNull CloudChunk chunk,
List<CloudChunk> chunks) |
CloudChunk |
PopulationTask.apply(@NonNull CloudChunk chunk,
List<CloudChunk> chunks) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<CloudChunk> |
LevelProvider.readChunk(ChunkBuilder chunkBuilder)
Reads chunk from provider asynchronously
|
CompletableFuture<CloudChunk> |
ConversionProvider.readChunk(ChunkBuilder chunkBuilder) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
LevelProvider.forEachChunk(ChunkBuilder.Factory factory,
BiConsumer<CloudChunk,Throwable> consumer)
Iterate over all chunks that the provider has.
|
CompletableFuture<Void> |
ConversionProvider.forEachChunk(ChunkBuilder.Factory factory,
BiConsumer<CloudChunk,Throwable> consumer) |
| Modifier and Type | Method and Description |
|---|---|
static com.nukkitx.nbt.NbtMap |
AnvilConverter.convertToAnvil(CloudChunk chunk) |
| Modifier and Type | Method and Description |
|---|---|
static void |
BlockEntitySerializer.saveBlockEntities(org.iq80.leveldb.WriteBatch db,
CloudChunk chunk) |
static void |
EntitySerializer.saveEntities(org.iq80.leveldb.WriteBatch db,
CloudChunk chunk) |
static void |
Data2dSerializer.serialize(org.iq80.leveldb.WriteBatch db,
CloudChunk chunk) |
static void |
ChunkSerializers.serializeChunk(org.iq80.leveldb.WriteBatch db,
CloudChunk chunk,
int version) |
| Modifier and Type | Method and Description |
|---|---|
<T extends org.cloudburstmc.api.blockentity.BlockEntity> |
BlockEntityRegistry.newEntity(org.cloudburstmc.api.blockentity.BlockEntityType<T> type,
CloudChunk chunk,
com.nukkitx.math.vector.Vector3i position)
Creates new entity of given type
|
<T extends org.cloudburstmc.api.blockentity.BlockEntity> |
BlockEntityRegistry.newEntity(org.cloudburstmc.api.blockentity.BlockEntityType<T> type,
Object plugin,
CloudChunk chunk,
com.nukkitx.math.vector.Vector3i position)
Creates new entity of given type from specific plugin factory
|
Copyright © 2021. All rights reserved.