Package net.elytrium.limboapi.api.chunk
Interface VirtualChunk
public interface VirtualChunk
-
Method Summary
Modifier and TypeMethodDescriptionvoidfillBlockLight(@org.checkerframework.common.value.qual.IntRange(from=0L, to=15L) int level) voidfillSkyLight(@org.checkerframework.common.value.qual.IntRange(from=0L, to=15L) int level) @NonNull VirtualBiomegetBiome(int posX, int posY, int posZ) @NonNull VirtualBlockgetBlock(int posX, int posY, int posZ) bytegetBlockLight(int posX, int posY, int posZ) getPartialChunkSnapshot(long previousUpdate) intgetPosX()intgetPosZ()bytegetSkyLight(int posX, int posY, int posZ) voidsetBiome2D(int posX, int posZ, @NonNull VirtualBiome biome) voidsetBiome3D(int posX, int posY, int posZ, @NonNull VirtualBiome biome) voidsetBlock(int posX, int posY, int posZ, @Nullable VirtualBlock block) voidsetBlockEntity(int posX, int posY, int posZ, @Nullable net.kyori.adventure.nbt.CompoundBinaryTag nbt, @Nullable VirtualBlockEntity blockEntity) voidsetBlockEntity(VirtualBlockEntity.Entry blockEntityEntry) voidsetBlockLight(int posX, int posY, int posZ, byte light) voidsetSkyLight(int posX, int posY, int posZ, byte light)
-
Method Details
-
setBlock
-
setBlockEntity
void setBlockEntity(int posX, int posY, int posZ, @Nullable net.kyori.adventure.nbt.CompoundBinaryTag nbt, @Nullable VirtualBlockEntity blockEntity) -
setBlockEntity
-
getBlock
-
setBiome2D
-
setBiome3D
-
getBiome
-
setBlockLight
void setBlockLight(int posX, int posY, int posZ, byte light) -
getBlockLight
byte getBlockLight(int posX, int posY, int posZ) -
setSkyLight
void setSkyLight(int posX, int posY, int posZ, byte light) -
getSkyLight
byte getSkyLight(int posX, int posY, int posZ) -
fillBlockLight
void fillBlockLight(@org.checkerframework.common.value.qual.IntRange(from=0L, to=15L) int level) -
fillSkyLight
void fillSkyLight(@org.checkerframework.common.value.qual.IntRange(from=0L, to=15L) int level) -
getPosX
int getPosX() -
getPosZ
int getPosZ() -
getFullChunkSnapshot
ChunkSnapshot getFullChunkSnapshot() -
getPartialChunkSnapshot
-