A class representing a Packwiz TOML file.

Constructors

  • Creates a new Packwiz instance.

    Parameters

    • location: Resource

      The location of the TOML file.

    • index: PackwizIndex

      The index of the TOML file.

    • name: string

      The name of the pack.

    • packFormat: string = "packwiz:1.0.0"

      The packwiz version of the TOML file.

    • authors: string[]

      The authors of the pack.

    • description: string

      The description of the pack.

    • version: string

      The version of the pack.

    • versions: PackwizVersions

      The Minecraft / modloader versions that the pack uses.

    Returns Packwiz

Properties

authors: string[]

The authors of the pack.

description: string

The description of the pack.

The index of the TOML file.

location: Resource

The location of the TOML file.

name: string

The name of the pack.

packFormat: string = "packwiz:1.0.0"

The packwiz version of the TOML file.

version: string

The version of the pack.

versions: PackwizVersions

The Minecraft / modloader versions that the pack uses.