public class ResourcePack extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CHUNK_SIZE
The size of each chunk to use when sending the resource packs to clients in bytes
|
static Map<String,ResourcePack> |
PACKS
The list of loaded resource packs
|
| Constructor and Description |
|---|
ResourcePack() |
| Modifier and Type | Method and Description |
|---|---|
File |
getFile() |
ResourcePackManifest |
getManifest() |
byte[] |
getSha256() |
ResourcePackManifest.Version |
getVersion() |
static void |
loadPacks()
Loop through the packs directory and locate valid resource pack files
|
public static final Map<String,ResourcePack> PACKS
public static final int CHUNK_SIZE
public static void loadPacks()
public byte[] getSha256()
public File getFile()
public ResourcePackManifest getManifest()
public ResourcePackManifest.Version getVersion()
Copyright © 2020 GeyserMC. All rights reserved.