Package kr.toxicity.model.api.pack
package kr.toxicity.model.api.pack
Contains resource-pack building and packaging contracts.
Pack types describe resource paths, namespaces, byte resources, overlays, metadata, built-in assets, obfuscation, build results, and zipper support. They provide the API shape for producing Minecraft resource packs from loaded model data without embedding platform delivery logic.
Example:
PackPath path = new PackPath("assets/bettermodel/models/example.json");
PackByte entry = new PackByte(path, bytes);
- Since:
- 3.2.0
-
ClassDescriptionManages assets within a specific pack overlay.A builder for constructing resource pack contents within a specific path context.Represents a raw byte array associated with a specific pack path.Represents the metadata (pack.mcmeta) of a resource pack.Builder for
PackMeta.Represents the 'overlays' section of the metadata.Represents a single entry in the overlays list.Represents the 'pack' section of the metadata.Represents a pack version, consisting of major and minor numbers.Represents a range of versions.Represents a namespace within a resource pack, providing access to standard subdirectories.Defines a strategy for obfuscating resource names in the pack.An obfuscator that generates short names based on the order of appearance.A pair of obfuscators for models and textures.Represents a resource pack overlay, allowing for version-specific resources.Represents a path within a resource pack.Represents a resource within a resource pack.A simple implementation ofPackResource.Represents the result of a pack building process.Manages the assembly and zipping of resource pack contents.Holds the result of a build operation.