Class Minecraft

  • All Implemented Interfaces:
    java.lang.Runnable, java.util.concurrent.Executor
    Direct Known Subclasses:
    MinecraftImpl

    @Client
    public abstract class Minecraft
    extends java.lang.Object
    implements java.lang.Runnable, java.util.concurrent.Executor
    • Field Detail

      • field_28006_b

        public static byte[] field_28006_b
      • PRCRAFT_DEBUG

        public static final boolean PRCRAFT_DEBUG
      • IS_TEST_BUILD

        public static final boolean IS_TEST_BUILD
      • GROUP_MEMBERS

        public static final java.util.Set<java.lang.String> GROUP_MEMBERS
      • CHAT_COMMAND_START

        public static final java.lang.String CHAT_COMMAND_START
        See Also:
        Constant Field Values
      • GSON

        public static final com.google.gson.Gson GSON
      • FREECAM_PLAYERS

        public final java.util.Map<java.lang.String,​FreecamPos> FREECAM_PLAYERS
      • ACCOUNTS

        public static final java.util.List<AccountInfo> ACCOUNTS
      • oldPlayerListRegexes

        public static java.util.List<OldPlayerListRegex> oldPlayerListRegexes
      • theMinecraft

        public static Minecraft theMinecraft
      • displayWidth

        public int displayWidth
      • displayHeight

        public int displayHeight
      • timer

        public Timer timer
      • theWorld

        public World theWorld
      • minecraftUri

        public java.lang.String minecraftUri
      • mcCanvas

        public java.awt.Canvas mcCanvas
      • hideQuitButton

        public boolean hideQuitButton
      • isGamePaused

        public volatile boolean isGamePaused
      • standardGalacticFontRenderer

        public FontRenderer standardGalacticFontRenderer
      • currentScreen

        public Screen currentScreen
      • ticksLastSecond

        public int ticksLastSecond
      • skipRenderWorld

        public boolean skipRenderWorld
      • playerModelBiped

        public ModelBiped playerModelBiped
      • mcDataDir

        public java.io.File mcDataDir
      • frameTimes

        public static long[] frameTimes
      • tickTimes

        public static long[] tickTimes
      • numRecordedFrameTimes

        public static int numRecordedFrameTimes
      • mpMirrorWorld

        public static World mpMirrorWorld
      • disableChunkMirror

        public static boolean disableChunkMirror
      • mirrorOnly

        public static boolean mirrorOnly
      • hasPaidCheckTime

        public static long hasPaidCheckTime
      • currentServerName

        public static java.lang.String currentServerName
      • running

        public volatile boolean running
      • doDispose

        public volatile boolean doDispose
      • debug

        public java.lang.String debug
      • isTakingScreenshot

        public int isTakingScreenshot
      • inGameHasFocus

        public boolean inGameHasFocus
      • isRaining

        public boolean isRaining
      • blinkHacking

        public static boolean blinkHacking
      • hasSeed

        public static boolean hasSeed
      • currentSeed

        public long currentSeed
      • pathDestX

        public int pathDestX
      • pathDestY

        public int pathDestY
      • pathDestZ

        public int pathDestZ
      • pathDestEntity

        public Entity pathDestEntity
      • pathFindDurationTicks

        public int pathFindDurationTicks
      • lastConnectionInfo

        public java.lang.Object[] lastConnectionInfo
      • deathMessage

        public static java.lang.String deathMessage
      • proxy

        public static java.net.Proxy proxy
    • Constructor Detail

      • Minecraft

        public Minecraft​(java.awt.Canvas var2,
                         MinecraftApplet var3,
                         int var4,
                         int var5,
                         boolean var6)
    • Method Detail

      • getProtocolVersion

        public static int getProtocolVersion()
      • displayCrash

        public abstract void displayCrash​(CrashReport report)
      • setWorldName

        public void setWorldName​(java.lang.String worldName)
      • setServer

        public void setServer​(java.lang.String var1,
                              int var2)
      • execute

        public void execute​(@NotNull
                            @NotNull java.lang.Runnable run)
        Specified by:
        execute in interface java.util.concurrent.Executor
      • startGame

        public void startGame()
                       throws org.lwjgl.LWJGLException
        Throws:
        org.lwjgl.LWJGLException
      • scaledTessellator

        public void scaledTessellator​(int var1,
                                      int var2,
                                      int var3,
                                      int var4,
                                      int var5,
                                      int var6)
      • getMinecraftDir

        public static java.io.File getMinecraftDir()
      • getAppDir

        public static java.io.File getAppDir​(java.lang.String var0)
      • getOs

        public static EnumOS getOs()
      • displayGuiScreen

        public void displayGuiScreen​(Screen var1)
      • shutdownMinecraftApplet

        public void shutdownMinecraftApplet()
      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
      • getBackendApi

        public static java.lang.String getBackendApi()
      • emergencySave

        public void emergencySave()
      • shutdown

        public void shutdown()
      • setIngameFocus

        public void setIngameFocus()
      • setIngameNotInFocus

        public void setIngameNotInFocus()
      • displayInGameMenu

        public void displayInGameMenu()
      • toggleFullscreen

        public void toggleFullscreen()
      • runTick

        public void runTick()
      • debugPrint

        public void debugPrint​(java.lang.String s)
      • demoEvent

        public void demoEvent​(int event)
      • isMultiplayerWorld

        public boolean isMultiplayerWorld()
      • startWorld

        public void startWorld​(java.lang.String var1,
                               java.lang.String var2,
                               WorldSettings var3)
      • usePortal

        public void usePortal​(int var1)
      • exitToMainMenu

        public void exitToMainMenu​(java.lang.String var1)
      • changeWorld1

        public void changeWorld1​(World var1)
      • changeWorld2

        public void changeWorld2​(World var1,
                                 java.lang.String var2)
      • changeWorld

        public void changeWorld​(World var1,
                                java.lang.String var2,
                                Player var3)
      • debugInfoRenders

        public java.lang.String debugInfoRenders()
      • getEntityDebug

        public java.lang.String getEntityDebug()
      • getWorldProviderName

        public java.lang.String getWorldProviderName()
      • debugInfoEntities

        public java.lang.String debugInfoEntities()
      • respawn

        public void respawn​(boolean var1,
                            int var2,
                            boolean var3)
      • startMainThread

        public static void startMainThread​(LaunchData launchData)
      • main

        public static void main​(java.lang.String[] args)
      • getNetworkManager

        public static NetworkManager getNetworkManager()
      • isFreecamPlayer

        public static boolean isFreecamPlayer​(Entity entity)
      • isGuiEnabled

        public static boolean isGuiEnabled()
      • isFancyGraphicsEnabled

        public static boolean isFancyGraphicsEnabled()
      • isAmbientOcclusionEnabled

        public static boolean isAmbientOcclusionEnabled()
      • isDebugInfoEnabled

        public static boolean isDebugInfoEnabled()
      • sendCommandChatMessage

        public void sendCommandChatMessage​(java.lang.String s,
                                           boolean ignoreSelf,
                                           java.lang.String... args)
      • lineIsCommand

        public boolean lineIsCommand​(java.lang.String var1)
      • pathFind

        public PathEntity pathFind​(int x,
                                   int y,
                                   int z)
      • saveAccounts

        public static void saveAccounts()
      • autoUpdateClient

        public void autoUpdateClient()
      • parsePatternWithFlags

        public static java.util.regex.Pattern parsePatternWithFlags​(java.lang.String string)
      • isDemo

        public boolean isDemo()