@minecraft
    Preparing search index...

    Class TickingAreaManagerBeta

    This manager is used to add, remove or query temporary ticking areas to a dimension. These ticking areas are limited by a fixed amount of ticking chunks per pack independent of the command limits. Cannot modify or query ticking areas added by other packs or commands.

    Index

    Properties

    chunkCount: number

    The number of currently ticking chunks in this manager.

    maxChunkCount: number

    The maximum number of allowed ticking chunks. Overlapping ticking area chunks do count towards total.

    Methods

    • World mutation

      Parameters

      Returns boolean

      Returns true if the manager has enough chunk capacity for the ticking area and false otherwise. Will also return false if the length or width exceeds the 255 chunk limit.

    • World mutation

      Parameters

      • identifier: string

      Returns boolean

      Returns true if the identifier is already in the manager and false otherwise.

    • World mutation

      Returns void

      Removes all ticking areas added by this manager.

      This function can throw errors.

      EngineError