Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manifest ¶
type Manifest struct { // FormatVersion defines the current version of the manifest. This is currently always 2. FormatVersion int `json:"format_version"` // Header is the header of a resource pack. It contains information that applies to the entire resource // pack, such as the name of the resource pack. Header gtresource.Header `json:"header"` // Modules describes the modules that comprise the pack. Each entry here defines one of the kinds of // contents of the pack. Modules []gtresource.Module `json:"modules"` // Dependencies describes the packs that this pack depends on in order to work. Dependencies []gtresource.Dependency `json:"dependencies,omitempty"` // Capabilities are the different features that the pack makes use of that aren't necessarily enabled by // default. For a list of options, see below. Capabilities []gtresource.Capability `json:"capabilities,omitempty"` // Subpacks are the packs's subpacks. Subpacks []Subpack `json:"subpacks,omitempty"` }
Manifest contains all the basic information about the pack that Minecraft needs to identify it.
Click to show internal directories.
Click to hide internal directories.