java.lang.Object
org.geysermc.connector.network.translators.world.chunk.ChunkSection

public class ChunkSection extends Object
  • Constructor Details

    • ChunkSection

      public ChunkSection(int airBlockId)
    • ChunkSection

      public ChunkSection(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 ChunkSection copy()
    • blockPosition

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