Interface VirtualWorld


public interface VirtualWorld
  • Method Details

    • setBlockEntity

      void setBlockEntity(int posX, int posY, int posZ, @Nullable net.kyori.adventure.nbt.CompoundBinaryTag nbt, @Nullable VirtualBlockEntity blockEntity)
    • getBlock

      @NonNull VirtualBlock getBlock(int posX, int posY, int posZ)
    • setBiome2d

      void setBiome2d(int posX, int posZ, @NonNull VirtualBiome biome)
    • setBiome3d

      void setBiome3d(int posX, int posY, int posZ, @NonNull VirtualBiome biome)
    • getBiome

      VirtualBiome getBiome(int posX, int posY, int posZ)
    • 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

      @Nullable VirtualChunk getChunk(int posX, int posZ)
    • getChunkOrNew

      VirtualChunk getChunkOrNew(int posX, int posZ)
    • getDimension

      @NonNull Dimension getDimension()
    • getSpawnX

      double getSpawnX()
    • getSpawnY

      double getSpawnY()
    • getSpawnZ

      double getSpawnZ()
    • getYaw

      float getYaw()
    • getPitch

      float getPitch()
    • setBlock

      void setBlock(int posX, int posY, int posZ, @Nullable VirtualBlock block)