Namespace Updatable

Module used to create and manage Updatables. Updatables provide the proper way to manage objects that update their state every tick. Updatables may not be notified every tick, if there are too many, to avoid user interface freezes.

Functions

  • Adds object to updatables list, that ticks on client thread and never saves.

    Parameters

    • updatable: Updatable

      object to be added to updatables list

    Returns void

    2.0.4b40

  • Adds object to updatables list, that ticks on client thread and never saves.

    Parameters

    • updatable: Updatable

      object to be added to updatables list

    Returns void

    2.0.4b40

  • Adds object to updatables list.

    Parameters

    • updatable: Updatable

      object to be added to updatables list

    Returns void

  • Returns number

    Current thread tick number.

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