forge.class
    Preparing search index...

    Class ForgeClass

    Hierarchy

    • ForgeExtension
      • ForgeClass
    Index
    classes: ClassManager = ...

    The class registry, also at client.classes.

    description: string = description
    name: string = "ForgeClass"
    requireExtensions?: string[]

    A list of extension names this extension requires

    targetVersions?: string[]

    Only the versions written here will be allowed

    version: string = version
    • Returns any

    • Loads the functions and sets client.classes.

      Parameters

      • client: ForgeClient

      Returns void

    • Parameters

      • path: string

      Returns void

    • Parameters

      • client: ForgeClient

      Returns void

    • The ForgeClass of a client. Throws when it isn't in the extensions.

      Parameters

      • client: ForgeClient

      Returns ForgeClass