Class SYS
- java.lang.Object
-
- net.lax1dude.eaglercraft.v1_8.internal.vfs.SYS
-
- Direct Known Subclasses:
SYS
public class SYS extends java.lang.Object
Copyright (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Field Summary
Fields Modifier and Type Field Description static VirtualFilesystem
VFS
-
Constructor Summary
Constructors Constructor Description SYS()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
deleteResourcePack(java.lang.String packName)
static java.util.List<java.lang.String>
getResourcePackNames()
static void
loadRemoteResourcePack(java.lang.String url, java.lang.String hash, java.util.function.Consumer<java.lang.String> cb, java.util.function.Consumer<java.lang.Runnable> ast, java.lang.Runnable loading)
static boolean
loadResourcePack(java.lang.String name, java.io.InputStream is, java.lang.String hash)
-
-
-
Field Detail
-
VFS
public static final VirtualFilesystem VFS
-
-
Method Detail
-
loadRemoteResourcePack
public static final void loadRemoteResourcePack(java.lang.String url, java.lang.String hash, java.util.function.Consumer<java.lang.String> cb, java.util.function.Consumer<java.lang.Runnable> ast, java.lang.Runnable loading)
-
loadResourcePack
public static final boolean loadResourcePack(java.lang.String name, java.io.InputStream is, java.lang.String hash)
-
getResourcePackNames
public static final java.util.List<java.lang.String> getResourcePackNames()
-
deleteResourcePack
public static final void deleteResourcePack(java.lang.String packName)
-
-