ResourcePack instead.public class MCPackr
extends java.lang.Object
| Constructor and Description |
|---|
MCPackr()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.Map<PackFormat,java.io.File> |
packResourcePack(java.io.File resourcePackFolder,
java.io.File outputFolder)
Deprecated.
Creates a version of a resource pack for each pack format.
|
static java.util.Map<PackFormat,java.io.File> |
packResourcePack(java.io.File resourcePackFolder,
java.io.File outputFolder,
java.util.List<PackFormat> outputFormats)
Deprecated.
Creates a version of a resource pack for each given pack format.
|
static java.io.File |
packResourcePack(java.io.File resourcePackFolder,
java.io.File outputFolder,
PackFormat outputFormat)
Deprecated.
Creates a version of a resource pack for the given pack format.
|
public static java.util.Map<PackFormat,java.io.File> packResourcePack(java.io.File resourcePackFolder, java.io.File outputFolder) throws java.io.IOException
resourcePackFolder - The base folder of the resource pack, which must contain a pack.mcmeta file.outputFolder - The folder where the zips should be generated in.java.io.IOException - When there are some unexpected errors with the file system.public static java.io.File packResourcePack(java.io.File resourcePackFolder,
java.io.File outputFolder,
PackFormat outputFormat)
throws java.io.IOException
resourcePackFolder - The base folder of the resource pack, which must contain a pack.mcmeta file.outputFolder - The folder where the zips should be generated in.java.io.IOException - When there are some unexpected errors with the file system.public static java.util.Map<PackFormat,java.io.File> packResourcePack(java.io.File resourcePackFolder, java.io.File outputFolder, java.util.List<PackFormat> outputFormats) throws java.io.IOException
resourcePackFolder - The base folder of the resource pack, which must contain a pack.mcmeta file.outputFolder - The folder where the zips should be generated in.outputFormats - An array of versions you'd like to the resource pack to be compatible with.java.io.IOException - When there are some unexpected errors with the file system.