Package org.geysermc.geyser.pack
Class ResourcePack
java.lang.Object
org.geysermc.geyser.pack.ResourcePack
This represents a resource pack and all the data relevant to it
-
Field Summary
Modifier and TypeFieldDescriptionstatic int
The size of each chunk to use when sending the resource packs to clients in bytesstatic Map<String,ResourcePack>
The list of loaded resource packs -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetFile()
byte[]
static void
Loop through the packs directory and locate valid resource pack files
-
Field Details
-
PACKS
The list of loaded resource packs -
CHUNK_SIZE
public static final int CHUNK_SIZEThe size of each chunk to use when sending the resource packs to clients in bytes- See Also:
- Constant Field Values
-
-
Constructor Details
-
ResourcePack
public ResourcePack()
-
-
Method Details
-
loadPacks
public static void loadPacks()Loop through the packs directory and locate valid resource pack files -
getSha256
public byte[] getSha256() -
getFile
-
getManifest
-
getVersion
-