Interface BlockChangeRecord

    • Method Detail

      • getSectionX

        byte getSectionX()
        Returns the relative x coordinate within the chunk section.
        Returns:
        relative x coordinate within the chunk section
      • getSectionY

        byte getSectionY()
        Returns the relative y coordinate within the chunk section.
        Returns:
        relative y coordinate within the chunk section
      • getSectionZ

        byte getSectionZ()
        Returns the relative z coordinate within the chunk section.
        Returns:
        relative z coordinate within the chunk section
      • getY

        short getY​(int chunkSectionY)
        Returns the absolute y coordinate based on the given chunk section y.
        Parameters:
        chunkSectionY - chunk section
        Returns:
        absolute y coordinate
      • getY

        @Deprecated
        default short getY()
        Deprecated.
        1.16+ stores the relative y coordinate
        Returns:
        absolute y coordinate
      • getBlockId

        int getBlockId()
      • setBlockId

        void setBlockId​(int blockId)