Interface ChunkEvent.WorldScoped

    • Method Detail

      • worldKey

        ResourceKey worldKey()
        Gets the key of the ChunkEvent.WorldScoped that the chunk resides in.

        Be careful when retrieving the world within this event as some events may not fire on the main thread and such world access is not thread safe.

        Returns:
        The world's key