Class default<ID, INSTANCE, INSTANCE_ARGS>Abstract

Type Parameters

Hierarchy

Implements

Constructors

  • Type Parameters

    Parameters

    Returns default<ID, INSTANCE, INSTANCE_ARGS>

Properties

id: ID
imagePath?: string

A replacement image to use. Used in modding.

random: RandomInstance | RandomReference = RandomInstance.Seeded

Methods

  • Returns Random<LegacySeededGenerator | PCGSeededGenerator>

  • Parameters

    • instance: INSTANCE
    • Rest ...args: INSTANCE_ARGS

    Returns undefined | INSTANCE

  • Parameters

    • type: ID
    • Rest ...args: INSTANCE_ARGS

    Returns undefined | INSTANCE

  • Parameters

    • instance: INSTANCE

    Returns void

Generated using TypeDoc