Blockbench Reference Docs
    Preparing search index...
    Index

    Constructors

    Properties

    id: string

    The ID of the namespace.

    queries: Map<string, Query>

    The queries in the namespace.

    queryGetters: Map<string, () => Query[]>

    The query getters in the namespace.

    shorthand: string

    The shorthand of the namespace.

    Methods

    • Returns any queries in this namespace who's ID starts with incomplete.

      Parameters

      • expression: string
      • incomplete: string
      • Optionalrecursive: boolean

      Returns Query[]

    • Checks if the namespace has a query.

      Parameters

      • queryID: string

      Returns boolean

    • Removes a query from the namespace.

      Parameters

      • queryID: string

      Returns boolean

    • Removes a query getter function.

      Parameters

      • id: string

      Returns void