Skip to content

helix / VersionProfile

Interface: VersionProfile

Defined in: versions/profile.ts:32

Properties

commands

commands: BrigadierNode

Defined in: versions/profile.ts:75


dataVersion

dataVersion: number

Defined in: versions/profile.ts:36

Numeric data version, used for threshold comparisons.


id

id: string

Defined in: versions/profile.ts:34

Human id, e.g. "1.21.4".


pack

pack: PackFormatSpec

Defined in: versions/profile.ts:38

The datapack pack_format for this version's pack.mcmeta.


paths

paths: object

Defined in: versions/profile.ts:45

advancement

advancement: string

"advancement" (1.21+) | "advancements" (<1.21) - registered advancement JSON files

dimension

dimension: string

"dimension" (both) - custom dimension JSON files

function

function: string

"function" (1.21+) | "functions" (<1.21)

functionTag

functionTag: string

"tags/function" (1.21+) | "tags/functions" (<1.21)

itemModifier

itemModifier: string

"item_modifier" (1.21+) | "item_modifiers" (<1.21) - registered item modifier JSON files

lootTable

lootTable: string

"loot_table" (1.21+) | "loot_tables" (<1.21) - registered loot table JSON files

predicate

predicate: string

"predicate" (1.21+) | "predicates" (<1.21) - registered predicate JSON files

recipe

recipe: string

"recipe" (1.21+) | "recipes" (<1.21) - registered recipe JSON files

structure

structure: string

"structure" (1.21+) | "structures" (<1.21) - where /place template reads .nbt

worldgen

worldgen: string

"worldgen" (both) - worldgen registry root (subfolders per registry)


registries

registries: RegistrySet

Defined in: versions/profile.ts:74


resourcePack

resourcePack: PackFormatSpec

Defined in: versions/profile.ts:44

The resource-pack pack_format - distinct from pack (e.g. 1.21.4 is data 61 / resource 46). Used by writeResourcePack's pack.mcmeta. Falls back to the data format on versions predating a separate resource format.


singularFolders

singularFolders: boolean

Defined in: versions/profile.ts:73

Whether this version uses the 1.21 singular registry-folder convention (tags/block, function, …) vs the pre-1.21 plural one (tags/blocks, functions, …). Drives registry-tag folder names where the registry id itself pluralizes; the fixed folders above are pre-resolved in paths.

Released under the MIT License · Credits