LogoLogo
CtrlK
  • Introduction
  • sdks
    • Feature Comparison
    • Unity
    • Godot
    • Defold
    • LÖVE
    • Unreal
  • Quick Start
    • Unity
    • Godot
    • Defold
    • LÖVE
    • Unreal
  • Server Side
    • Entities
    • Chunks
    • Players
    • Dimensions
    • Events
    • Logging
    • Lua Environment
    • Git Primer
    • Physics
  • HTTP API
    • Authentication
    • Player API
  • Api Reference
    • Entity API
      • Create
      • Message
      • Entity
        • Fields
          • ID
          • Type
          • Data
          • Chunkloader
          • Transient
        • Methods
          • Move
          • MoveTo
          • GetPosition
          • Remove
          • GetNearbyEntities
          • Warp
        • Necessary Methods
          • init
          • update
          • message
    • Chunk API
      • Chunk
        • Fields
          • ID
          • X
          • Y
          • Size
          • Generated
          • Dimension
          • Data
        • Necessary Methods
          • init
    • Client API
      • Message
    • Dimension API
      • Create
      • Delete
      • List
    • Events API
      • on_player_join
      • on_player_leave
    • Table API
      • Append
      • Remove
      • Join
    • Util API
      • Time
      • TimeMillis
    • HTTP Request API
      • Get
      • Post
      • Put
      • Delete
    • Physics API
      • NewBody
      • NewBoxShape
      • NewSphereShape
  • Template Projects
    • Rust Realm (MMO by BiteMe Games)
Powered by GitBook
On this page
  1. Api Reference
  2. Chunk API
  3. Chunk

Fields

chunk.

Field
Type
Description

ID

int

ID of the chunk

X

int

X coordinate in chunk space.

Y

int

Y coordinate in chunk space.

Size

int

Size of the chunk in world units.

Generated

bool

True, if this chunk has been loaded before.

Dimension

string

ID of the current dimension.

Data

table

A custom Lua table which can be used to store any data about the chunk.

PreviousChunkNextID

Last updated 1 month ago