Interface ChunkStateChangedFunction

  • Parameters

    • chunkX: number

      chunk X coordinate; multiply by 16 to receive corner block coordinates

    • chunkZ: number

      chunk Z coordinate; multiply by 16 to receive corner block coordinates

    • dimensionId: number

      current dimension's numeric ID

    • lastState: number

      previous chunk loading state

    • state: number

      new chunk loading state

    • discarded: boolean

      was chunk previously loaded and unloaded from memory (only after generation was completed)

    Returns void

Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.