bedrock-kit
    Preparing search index...

    Class GeometryModel

    A single named model within a geometry file.

    Access via addon.geometries.get(id).

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • id: string
      • modelData: Record<string, unknown>
      • filePath: string
      • rawText: string

      Returns GeometryModel

    Properties

    data: Record<string, unknown>

    The raw parsed JSON data of the asset file.

    docstrings: CommentBlock[]

    All JSDoc-style comment blocks parsed from this asset's source file, in document order. Empty array when no /** … */ blocks are present.

    filePath: string

    Absolute path to the asset's file on disk. Empty string in browser mode.

    id: string

    The full geometry identifier, e.g. "geometry.humanoid.custom".