Class EagRuntime


  • public class EagRuntime
    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 Detail

      • EagRuntime

        public EagRuntime()
    • Method Detail

      • getVersion

        public static java.lang.String getVersion()
      • create

        public static void create()
      • destroy

        public static void destroy()
      • getUserAgentString

        public static java.lang.String getUserAgentString()
      • allocateByteBuffer

        public static ByteBuffer allocateByteBuffer​(int length)
      • allocateIntBuffer

        public static IntBuffer allocateIntBuffer​(int length)
      • allocateFloatBuffer

        public static FloatBuffer allocateFloatBuffer​(int length)
      • freeByteBuffer

        public static void freeByteBuffer​(ByteBuffer floatBuffer)
      • freeIntBuffer

        public static void freeIntBuffer​(IntBuffer intBuffer)
      • freeFloatBuffer

        public static void freeFloatBuffer​(FloatBuffer byteBuffer)
      • getResourceBytes

        public static byte[] getResourceBytes​(java.lang.String path)
      • getResourceStream

        public static java.io.InputStream getResourceStream​(java.lang.String path)
      • getResourceString

        public static java.lang.String getResourceString​(java.lang.String path)
      • getResourceLines

        public static java.util.List<java.lang.String> getResourceLines​(java.lang.String path)
      • debugPrintStackTraceToSTDERR

        public static void debugPrintStackTraceToSTDERR​(java.lang.Throwable t)
      • getStackTrace

        public static void getStackTrace​(java.lang.Throwable t,
                                         java.util.function.Consumer<java.lang.String> ret)
      • getStackTraceElements

        public static java.lang.String[] getStackTraceElements​(java.lang.Throwable t)
      • getStackTrace

        public static java.lang.String getStackTrace​(java.lang.Throwable t)
      • debugPrintStackTrace

        public static void debugPrintStackTrace​(java.lang.Throwable t)
      • dumpStack

        public static void dumpStack()
      • exit

        public static void exit()
      • maxMemory

        public static long maxMemory()
      • totalMemory

        public static long totalMemory()
      • freeMemory

        public static long freeMemory()
      • requireSSL

        public static boolean requireSSL()
      • showPopup

        public static void showPopup​(java.lang.String msg)
      • getClipboard

        public static java.lang.String getClipboard()
      • setClipboard

        public static void setClipboard​(java.lang.String text)
      • openLink

        public static void openLink​(java.lang.String url)
      • displayFileChooser

        public static void displayFileChooser​(java.lang.String mime,
                                              java.lang.String ext)
      • fileChooserHasResult

        public static boolean fileChooserHasResult()
      • setStorage

        public static void setStorage​(java.lang.String name,
                                      byte[] data)
      • getStorage

        public static byte[] getStorage​(java.lang.String data)
      • getRecText

        public static java.lang.String getRecText()
      • toggleRec

        public static void toggleRec()
      • recSupported

        public static boolean recSupported()
      • openCreditsPopup

        public static void openCreditsPopup​(java.lang.String text)