Class GeyserChunkSection

java.lang.Object
org.geysermc.geyser.level.chunk.GeyserChunkSection

public class GeyserChunkSection extends Object
  • Constructor Details

    • GeyserChunkSection

      public GeyserChunkSection(int airBlockId)
    • GeyserChunkSection

      public GeyserChunkSection(BlockStorage[] storage)
  • Method Details

    • getFullBlock

      public int getFullBlock(int x, int y, int z, int layer)
    • setFullBlock

      public void setFullBlock(int x, int y, int z, int layer, int fullBlock)
    • writeToNetwork

      public void writeToNetwork(io.netty.buffer.ByteBuf buffer)
    • estimateNetworkSize

      public int estimateNetworkSize()
    • getBlockStorageArray

      public BlockStorage[] getBlockStorageArray()
    • isEmpty

      public boolean isEmpty()
    • copy

      public GeyserChunkSection copy()
    • blockPosition

      public static int blockPosition(int x, int y, int z)