Options
All
  • Public
  • Public/Protected
  • All
Menu

packwiz-spec

Index

Type aliases

HashFormat

HashFormat: SHA256 | SHA512 | MD5 | Murmur2

A hashing format used to detect if a file has changed. You may use your own hash format, but the valid values here should be supported and expected for most packs, especially SHA-256 and Murmur2.

MD5

MD5: "md5"

The MD5 hashing standard.

Murmur2

Murmur2: "murmur2"

The MurmurHash2 32-bit hashing standard (seed 1) with some characters removed before applying the hash (decimal bytes 9, 10, 13, 32), stored as a positive integer.

In Java, this is parsed as a long then casted to an int (so the sign bit is part of the value - Java doesn't have unsigned integers).

Path

Path: string

TODO: document this

RFC2396URL

RFC2396URL: string

A URI reference compliant to RFC 2396; specifically RFC 2396 amended by RFC 2732 for IPv6 support. This ensures compatibility with older URI parsers that do not support RFC 3986 - if your URI implementation complies with RFC 3986 make sure that it correctly encodes [ and ] to %5B and %5D respectively.

SHA256

SHA256: "sha256"

The SHA-256 hashing standard. Used by default for metadata files.

SHA512

SHA512: "sha512"

The SHA-512 hashing standard.

Side

Side: "client" | "server" | "both"

A physical Minecraft side. Server applies to the dedicated server, client applies to the client (and integrated server), and both applies to every installation.

Generated using TypeDoc