Package net.elytrium.limboapi.api.chunk
Interface VirtualWorld
public interface VirtualWorld
-
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) getBiome(int posX, int posY, int posZ) @NonNull VirtualBlockgetBlock(int posX, int posY, int posZ) bytegetBlockLight(int posX, int posY, int posZ) @Nullable VirtualChunkgetChunk(int posX, int posZ) getChunkOrNew(int posX, int posZ) @NonNull DimensionfloatgetPitch()doubledoubledoublefloatgetYaw()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) voidsetBlockLight(int posX, int posY, int posZ, byte light)
-
Method Details
-
setBlockEntity
void setBlockEntity(int posX, int posY, int posZ, @Nullable net.kyori.adventure.nbt.CompoundBinaryTag nbt, @Nullable VirtualBlockEntity blockEntity) -
getBlock
-
setBiome2d
-
setBiome3d
-
getBiome
-
getBlockLight
byte getBlockLight(int posX, int posY, int posZ) -
setBlockLight
void setBlockLight(int posX, int posY, int posZ, byte light) -
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) -
getChunks
List<VirtualChunk> getChunks() -
getOrderedChunks
List<List<VirtualChunk>> getOrderedChunks() -
getChunk
-
getChunkOrNew
-
getDimension
@NonNull Dimension getDimension() -
getSpawnX
double getSpawnX() -
getSpawnY
double getSpawnY() -
getSpawnZ
double getSpawnZ() -
getYaw
float getYaw() -
getPitch
float getPitch() -
setBlock
-