Package net.minecraft.client
Class Minecraft
- java.lang.Object
-
- net.minecraft.client.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 Summary
-
Constructor Summary
Constructors Constructor Description Minecraft(java.awt.Canvas var2, MinecraftApplet var3, int var4, int var5, boolean var6)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
autoUpdateClient()
void
changeWorld(World var1, java.lang.String var2, Player var3)
void
changeWorld1(World var1)
void
changeWorld2(World var1, java.lang.String var2)
void
crash(CrashReport report)
java.lang.String
debugInfoEntities()
java.lang.String
debugInfoRenders()
void
debugPrint(java.lang.String s)
void
demoEvent(int event)
abstract void
displayCrash(CrashReport report)
void
displayGuiScreen(Screen var1)
void
displayInGameMenu()
void
emergencySave()
void
execute(@NotNull java.lang.Runnable run)
void
exitToMainMenu(java.lang.String var1)
CrashReport
fillReport(CrashReport report)
static java.io.File
getAppDir(java.lang.String var0)
static java.lang.String
getBackendApi()
java.lang.String
getEntityDebug()
LocalPlayer
getFreecamMain()
static java.io.File
getMinecraftDir()
NetworkedLocalPlayer
getMultiplayerPlayerEntity()
static NetworkManager
getNetworkManager()
static EnumOS
getOs()
static int
getProtocolVersion()
ResourceManager
getResourceManager()
ISaveFormat
getSaveLoader()
NetClientHandler
getSendQueue()
java.lang.String
getWorldProviderName()
static boolean
isAmbientOcclusionEnabled()
static boolean
isDebugInfoEnabled()
boolean
isDemo()
static boolean
isFancyGraphicsEnabled()
static boolean
isFreecamPlayer(Entity entity)
static boolean
isGuiEnabled()
boolean
isMultiplayerWorld()
boolean
lineIsCommand(java.lang.String var1)
static void
main(java.lang.String[] args)
static java.util.regex.Pattern
parsePatternWithFlags(java.lang.String string)
PathEntity
pathFind(int x, int y, int z)
PathEntity
pathFind(Entity to)
void
respawn(boolean var1, int var2, boolean var3)
void
run()
void
runTick()
static void
saveAccounts()
void
scaledTessellator(int var1, int var2, int var3, int var4, int var5, int var6)
void
sendCommandChatMessage(java.lang.String s, boolean ignoreSelf, java.lang.String... args)
void
setIngameFocus()
void
setIngameNotInFocus()
void
setServer(java.lang.String var1, int var2)
void
setWorldName(java.lang.String worldName)
void
shutdown()
void
shutdownMinecraftApplet()
void
startGame()
static void
startMainThread(LaunchData launchData)
void
startWorld(java.lang.String var1, java.lang.String var2, WorldSettings var3)
void
toggleFullscreen()
void
usePortal(int var1)
-
-
-
Field Detail
-
field_28006_b
public static byte[] field_28006_b
-
PRCRAFT_DEBUG
public static final boolean PRCRAFT_DEBUG
-
VERSION_INFO
public static final java.lang.String VERSION_INFO
- See Also:
- Constant Field Values
-
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
-
SEED_OF_ITERMIA
public static final long SEED_OF_ITERMIA
- 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
-
NEW_CHUNKS
public final java.util.List<ChunkCoordIntPair> NEW_CHUNKS
-
ACCOUNTS
public static final java.util.List<AccountInfo> ACCOUNTS
-
reloadProgressListener
public final ReloadProgressListener reloadProgressListener
-
oldPlayerListRegexes
public static java.util.List<OldPlayerListRegex> oldPlayerListRegexes
-
oldPlayerListRegex
public static OldPlayerListRegex oldPlayerListRegex
-
theMinecraft
public static Minecraft theMinecraft
-
playerController
public PlayerController playerController
-
displayWidth
public int displayWidth
-
displayHeight
public int displayHeight
-
timer
public Timer timer
-
theWorld
public World theWorld
-
levelRenderer
public LevelRenderer levelRenderer
-
thePlayer
public LocalPlayer thePlayer
-
freecamPlayer
public LocalPlayer freecamPlayer
-
renderViewEntity
public LivingEntity renderViewEntity
-
effectRenderer
public EffectRenderer effectRenderer
-
session
public Session session
-
minecraftUri
public java.lang.String minecraftUri
-
mcCanvas
public java.awt.Canvas mcCanvas
-
hideQuitButton
public boolean hideQuitButton
-
isGamePaused
public volatile boolean isGamePaused
-
renderEngine
public RenderEngine renderEngine
-
fontRenderer
public FontRenderer fontRenderer
-
standardGalacticFontRenderer
public FontRenderer standardGalacticFontRenderer
-
currentScreen
public Screen currentScreen
-
loadingScreen
public static LoadingScreenRenderer loadingScreen
-
entityRenderer
public EntityRenderer entityRenderer
-
ticksLastSecond
public int ticksLastSecond
-
guiAchievement
public GuiAchievement guiAchievement
-
ingameGUI
public GuiIngame ingameGUI
-
skipRenderWorld
public boolean skipRenderWorld
-
playerModelBiped
public ModelBiped playerModelBiped
-
objectMouseOver
public MovingObjectPosition objectMouseOver
-
gameSettings
public GameSettings gameSettings
-
mcApplet
protected MinecraftApplet mcApplet
-
sndManager
public SoundManager sndManager
-
mouseHelper
public MouseHelper mouseHelper
-
texturePackList
public TexturePackList texturePackList
-
mcDataDir
public java.io.File mcDataDir
-
saveLoader
public static ISaveFormat saveLoader
-
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
-
statFileWriter
public StatFileWriter statFileWriter
-
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
-
currentPath
public PathEntity currentPath
-
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
-
launchData
public LaunchData launchData
-
-
Constructor Detail
-
Minecraft
public Minecraft(java.awt.Canvas var2, MinecraftApplet var3, int var4, int var5, boolean var6)
-
-
Method Detail
-
getProtocolVersion
public static int getProtocolVersion()
-
crash
public void crash(CrashReport report)
-
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 interfacejava.util.concurrent.Executor
-
startGame
public void startGame() throws org.lwjgl.LWJGLException
- Throws:
org.lwjgl.LWJGLException
-
getResourceManager
public ResourceManager getResourceManager()
-
scaledTessellator
public void scaledTessellator(int var1, int var2, int var3, int var4, int var5, int var6)
-
getFreecamMain
public LocalPlayer getFreecamMain()
-
getMinecraftDir
public static java.io.File getMinecraftDir()
-
getAppDir
public static java.io.File getAppDir(java.lang.String var0)
-
getOs
public static EnumOS getOs()
-
getSaveLoader
public ISaveFormat getSaveLoader()
-
displayGuiScreen
public void displayGuiScreen(Screen var1)
-
shutdownMinecraftApplet
public void shutdownMinecraftApplet()
-
getMultiplayerPlayerEntity
public NetworkedLocalPlayer getMultiplayerPlayerEntity()
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
-
fillReport
public CrashReport fillReport(CrashReport report)
-
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)
-
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)
-
getSendQueue
public NetClientHandler getSendQueue()
-
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)
-
pathFind
public PathEntity pathFind(Entity to)
-
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()
-
-