Class Minecraft

  • All Implemented Interfaces:
    IThreadListener, org.teavm.jso.JSObject

    public class Minecraft
    extends PluginData
    implements IThreadListener
    + This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code. Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!" Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team EaglercraftX 1.8 patch files are (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 Detail

      • displayWidth

        public int displayWidth
      • displayHeight

        public int displayHeight
      • pointedEntity

        public Entity pointedEntity
      • standardGalacticFontRenderer

        public FontRenderer standardGalacticFontRenderer
      • currentScreen

        public GuiScreen currentScreen
      • skipRenderWorld

        public boolean skipRenderWorld
      • inGameHasFocus

        public boolean inGameHasFocus
      • field_181542_y

        public final FrameTimer field_181542_y
      • mcProfiler

        public final Profiler mcProfiler
        + The profiler instance
      • debug

        public java.lang.String debug
        + String that shows the debug information
      • field_175613_B

        public boolean field_175613_B
      • field_175614_C

        public boolean field_175614_C
      • field_175611_D

        public boolean field_175611_D
      • renderChunksMany

        public boolean renderChunksMany
      • joinWorldTickCounter

        public int joinWorldTickCounter
    • Method Detail

      • run

        public void run()
      • getVersion

        public java.lang.String getVersion()
      • displayCrashReport

        public void displayCrashReport​(CrashReport crashReportIn)
        + Wrapper around displayCrashReportInternal
      • isUnicode

        public boolean isUnicode()
      • refreshResources

        public void refreshResources()
      • func_181536_a

        public void func_181536_a​(int parInt1,
                                  int parInt2,
                                  int parInt3,
                                  int parInt4,
                                  int parInt5,
                                  int parInt6,
                                  int parInt7,
                                  int parInt8,
                                  int parInt9,
                                  int parInt10)
      • displayGuiScreen

        public void displayGuiScreen​(GuiScreen guiScreenIn)
        + Sets the argument GuiScreen as the main (topmost visible) screen.
      • checkGLError

        public void checkGLError​(java.lang.String message)
        + Checks for an OpenGL error. If there is one, prints the error ID and error string.
      • shutdownMinecraftApplet

        public void shutdownMinecraftApplet()
        + Shuts down the minecraft applet by stopping the resource downloads, and clearing up GL stuff; called when the application (or web page) is exited.
      • updateDisplay

        public void updateDisplay()
      • checkWindowResize

        protected void checkWindowResize()
      • getLimitFramerate

        public int getLimitFramerate()
      • isFramerateLimitBelowMax

        public boolean isFramerateLimitBelowMax()
      • freeMemory

        public void freeMemory()
      • shutdown

        public void shutdown()
        + Called when the window is closing. Sets 'running' to false which allows the game loop to exit cleanly.
      • setIngameFocus

        public void setIngameFocus()
        + Will set the focus to ingame if the Minecraft window is the active with focus. Also clears any GUI screen currently displayed
      • setIngameNotInFocus

        public void setIngameNotInFocus()
        + Resets the player keystate, disables the ingame focus, and ungrabs the mouse cursor.
      • displayInGameMenu

        public void displayInGameMenu()
        + Displays the ingame menu
      • clickMouse

        public void clickMouse()
      • rightClickMouse

        public void rightClickMouse()
        + Called when user clicked he's mouse right button (place)
      • toggleFullscreen

        public void toggleFullscreen()
        + Toggles fullscreen mode.
      • runTick

        public void runTick()
                     throws java.io.IOException
        + Runs the current tick.
        Throws:
        java.io.IOException
      • launchIntegratedServer

        public void launchIntegratedServer​(java.lang.String folderName,
                                           java.lang.String worldName,
                                           WorldSettings worldSettingsIn)
        + Arguments: World foldername, World ingame name, WorldSettings
      • loadWorld

        public void loadWorld​(WorldClient worldClientIn)
        + unloads the current world first
      • loadWorld

        public void loadWorld​(WorldClient worldClientIn,
                              java.lang.String loadingMessage)
        + unloads the current world first
      • setDimensionAndSpawnPlayer

        public void setDimensionAndSpawnPlayer​(int dimension)
      • isDemo

        public final boolean isDemo()
        + Gets whether this is a demo or not.
      • isGuiEnabled

        public static boolean isGuiEnabled()
      • isFancyGraphicsEnabled

        public static boolean isFancyGraphicsEnabled()
      • isAmbientOcclusionEnabled

        public static boolean isAmbientOcclusionEnabled()
        + Returns if ambient occlusion is enabled
      • addGraphicsAndWorldToCrashReport

        public CrashReport addGraphicsAndWorldToCrashReport​(CrashReport theCrash)
        + adds core server Info (GL version , Texture pack, isModded, type), and the worldInfo to the crash report
      • getMinecraft

        public static Minecraft getMinecraft()
        + Return the singleton Minecraft instance for the game
      • scheduleResourcesRefresh

        public ListenableFuture<java.lang.Object> scheduleResourcesRefresh()
      • isSnooperEnabled

        public boolean isSnooperEnabled()
        + Returns whether snooping is enabled or not.
      • setServerData

        public void setServerData​(ServerData serverDataIn)
        + Set the current ServerData instance.
      • getCurrentServerData

        public ServerData getCurrentServerData()
      • isIntegratedServerRunning

        public boolean isIntegratedServerRunning()
      • isSingleplayer

        public boolean isSingleplayer()
        + Returns true if there is only one player playing, and the current server is the integrated one.
      • stopIntegratedServer

        public static void stopIntegratedServer()
      • getSystemTime

        public static long getSystemTime()
        + Gets the system time in milliseconds.
      • isFullScreen

        public boolean isFullScreen()
        + Returns whether we're in full screen or not.
      • getSession

        public Session getSession()
      • getTextureMapBlocks

        public TextureMap getTextureMapBlocks()
      • isJava64bit

        public boolean isJava64bit()
      • isGamePaused

        public boolean isGamePaused()
      • dispatchKeypresses

        public void dispatchKeypresses()
      • getRenderViewEntity

        public Entity getRenderViewEntity()
      • setRenderViewEntity

        public void setRenderViewEntity​(Entity viewingEntity)
      • addScheduledTask

        public <V> ListenableFuture<V> addScheduledTask​(java.util.concurrent.Callable<V> callableToSchedule)
      • getRenderItem

        public RenderItem getRenderItem()
      • getDebugFPS

        public static int getDebugFPS()
      • func_181539_aj

        public FrameTimer func_181539_aj()
      • func_181540_al

        public boolean func_181540_al()
      • func_181537_a

        public void func_181537_a​(boolean parFlag)
      • getGLMaximumTextureSize

        public static int getGLMaximumTextureSize()
        + Used in the usage snooper.
      • areKeysLocked

        public boolean areKeysLocked()