Datapack
The main class for a datapack. Contains all namespaces and pack metadata.
Created using the datapack builder function
Example:
val dp = datapack {
name = "My Datapack"
description = "A datapack made with mcdsl"
packFormat = 12 // Defaults to 12
icon = "path/to/icon.png"
}
Content copied to clipboard