Class PlatformAssets
- java.lang.Object
-
- net.lax1dude.eaglercraft.v1_8.internal.PlatformAssets
-
public class PlatformAssets 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)
-
-
Constructor Summary
Constructors Constructor Description PlatformAssets()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]
getResourceBytes(java.lang.String path)
static ImageData
loadImageFile(byte[] data)
static ImageData
loadImageFile(java.io.InputStream data)
static org.teavm.jso.JSObject
youEagler()
-
-
-
Method Detail
-
getResourceBytes
public static final byte[] getResourceBytes(java.lang.String path)
-
loadImageFile
public static final ImageData loadImageFile(java.io.InputStream data)
-
loadImageFile
public static ImageData loadImageFile(byte[] data)
-
youEagler
public static org.teavm.jso.JSObject youEagler()
-
-