Class BlockStorage

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

public class BlockStorage extends Object
  • Field Details

  • Constructor Details

    • BlockStorage

      public BlockStorage(int airBlockId)
    • BlockStorage

      public BlockStorage(int airBlockId, BitArrayVersion version)
    • BlockStorage

      public BlockStorage(BitArray bitArray, it.unimi.dsi.fastutil.ints.IntList palette)
  • Method Details

    • getFullBlock

      public int getFullBlock(int index)
    • setFullBlock

      public void setFullBlock(int index, int runtimeId)
    • writeToNetwork

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

      public int estimateNetworkSize()
    • idFor

      public int idFor(int runtimeId)
    • isEmpty

      public boolean isEmpty()
    • copy

      public BlockStorage copy()
    • getPalette

      public it.unimi.dsi.fastutil.ints.IntList getPalette()
    • getBitArray

      public BitArray getBitArray()