Class Datapack

Represent the datapack itself

Hierarchy

  • Datapack

Constructors

Properties

Advancement: typeof gameAdvancement = gameAdvancement
Event: typeof gameEvent = gameEvent
Function: typeof gameFunction = gameFunction
LootTable: typeof gameLootTable = gameLootTable
Recipe: typeof gameRecipe = gameRecipe
Tag: typeof gameTag = gameTag
datas: buildDatas[]
description: string
icon: undefined | string
name: string
namespace: string
options: undefined | dpOptions
version: acceptVersion

Methods

  • Build the datapack into the "buildPath" folder

    Parameters

    • Rest ...datas: buildDatas[]

      Add buildables objects to the datapack before building it

    Returns void

Generated using TypeDoc