Namespace AddonEntityRegistry

Module used to manage custom entities added via add-ons.

2.0.1b18

Depends on local player dimension, highly recommended to replace it with BlockSource.spawnEntity and Entity.getTypeName.

Functions

Interfaces

Functions

  • Added entities stores in registry, so already spawned entity data may resolved again by requesting information by UID.

    Parameters

    • entity: number

    Returns AddonEntity

    Add-on entity information by entity ID.

  • Spawns an entity defined via add-on on the specified coordinates.

    Parameters

    • x: number
    • y: number
    • z: number
    • nameID: string

      entity name ID, as defined from add-on

    Returns number

    Client-side method, use BlockSource.spawnEntity instead.

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