net.minecraft.client

public class Minecraft

implements BlockableEventLoop, SnooperPopulator

bcd
net.minecraft.class_1600
net.minecraft.client.Minecraft
net.minecraft.client.Minecraft

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
L
field_7617
LOGGER
LOGGER
private static final Identifier
M
field_6265
MOJANG_LOGO_LOCATION
LOCATION_MOJANG_PNG
public static final boolean
a
field_6269
IS_MAC
IS_RUNNING_ON_MAC
public static byte[]
b
field_3785
MEMORY_RESERVED_FOR_CRASH
memoryReserve
private static final List<org.lwjgl.opengl.DisplayMode>
N
field_6266
DISPLAY_MODES
MAC_DISPLAY_MODES
private final File
O
field_6267
resourcePacksDir
fileResourcepacks
private final PropertyMap
P
field_10299
userProperties
twitchDetails
private final PropertyMap
Q
field_10300
profileProperties
profileProperties
private ServerListEntry
R
field_3773
currentServerEntry
currentServerData
private TextureManager
S
field_6268
textureManager
renderEngine
private static Minecraft
T
field_3774
INSTANCE
theMinecraft
private final DataFixerUpper
U
field_13277
dfu
dataFixer
public ClientPlayerInteractionManager
c
field_3800
interactionManager
playerController
private boolean
V
field_3775
fullscreen
fullscreen
private boolean
W
field_10301
logGlErrors
enableGLErrorChecking
private boolean
X
field_3776
crashed
hasCrashed
private CrashReport
Y
field_3777
crashReport
crashReporter
public int
d
field_3801
width
displayWidth
public int
e
field_3802
height
displayHeight
private boolean
Z
field_10302
connectedToRealms
connectedToRealms
private TickTimer
aa
field_3778
timer
timer
private Snooper
ab
field_3779
snooper
usageSnooper
public ClientWorld
f
field_3803
world
theWorld
public WorldRenderer
g
field_3804
worldRenderer
renderGlobal
private EntityRenderDispatcher
ac
field_10306
entityRenderDispatcher
renderManager
private ItemRenderer
ad
field_10307
itemRenderer
renderItem
private ItemInHandRenderer
ae
field_10308
itemInHandRenderer
itemRenderer
public LocalClientPlayerEntity
h
field_10310
player
thePlayer
private Entity
af
field_10309
camera
renderViewEntity
public Entity
i
field_7630
targetEntity
pointedEntity
public ParticleManager
j
field_3807
particleManager
effectRenderer
private final Session
ag
field_3808
session
session
private boolean
ah
field_3812
paused
isGamePaused
public TextRenderer
k
field_3814
textRenderer
fontRendererObj
public TextRenderer
l
field_3815
enchantingPhraseRenderer
standardGalacticFontRenderer
public Screen
m
field_3816
screen
currentScreen
public ProgressRenderer
n
field_3817
progressRenderer
loadingScreen
public GameRenderer
o
field_3818
gameRenderer
entityRenderer
public DebugRenderer
p
field_13282
debugRenderer
debugRenderer
private int
ai
field_3781
attackCooldown
leftClickCounter
private int
aj
field_3782
initWidth
tempDisplayWidth
private int
ak
field_3783
initHeight
tempDisplayHeight
private IntegratedServer
al
field_3784
server
theIntegratedServer
public ToastGui
q
field_3819
toast
guiAchievement
public GameGui
r
field_3820
gui
ingameGUI
public boolean
s
field_3821
skipGameRender
skipRenderWorld
public HitResult
t
field_3822
crosshairTarget
objectMouseOver
public GameOptions
u
field_3823
options
gameSettings
public Mouse
v
field_3760
mouse
mouseHelper
public final File
w
field_3762
gameDir
mcDataDir
private final File
am
field_6270
assetsDir
fileAssets
private final String
an
field_6271
gameVersion
launchedVersion
private final String
ao
field_13281
versionType
versionType
private final Proxy
ap
field_6272
proxy
proxy
private WorldStorageSource
aq
field_3786
worldStorageSource
saveLoader
private static int
ar
field_3787
currentFps
debugFPS
private int
as
field_3788
useKeyCooldown
rightClickDelayTimer
private String
at
field_3790
startupServerAddress
serverName
private int
au
field_3791
startupServerPort
serverPort
public boolean
x
field_3765
focused
inGameHasFocus
long
y
field_3766
lastTickTime
systemTime
private int
av
field_3794
joinPlayerCounter
joinPlayerCounter
public final FrameTimeLogger
z
field_10311
frameTimeLogger
frameTimer
long
A
field_10312
lastNanoTime
startNanoTime
private final boolean
aw
field_7622
is64Bit
jvm64bit
private final boolean
ax
field_3795
demo
isDemo
private Connection
ay
field_3796
connection
myNetworkManager
private boolean
az
field_3797
isIntegratedServerRunning
integratedServerIsRunning
public final Profiler
B
field_3767
profiler
mcProfiler
private long
aA
field_5356
f3CTime
debugCrashKeyPressTime
private ReloadableResourceManager
aB
field_6273
resourceManager
mcResourceManager
private final ResourceMetadataSerializers
aC
field_6274
resourceMetadataSerializers
metadataSerializer_
private final List<ResourcePack>
aD
field_6275
requiredResourcePacks
defaultResourcePacks
private final BuiltInResourcePack
aE
field_6276
defaultResourcePack
mcDefaultResourcePack
private ResourcePacks
aF
field_6277
resourcePacks
mcResourcePackRepository
private LanguageManager
aG
field_6278
languageManager
mcLanguageManager
private BlockColors
aH
field_13278
blockColors
blockColors
private ItemColors
aI
field_13279
itemColors
itemColors
private RenderTarget
aJ
field_7624
renderTarget
framebufferMc
private TextureAtlas
aK
field_7625
blocksAtlas
textureMapBlocks
private SoundManager
aL
field_7626
soundManager
mcSoundHandler
private MusicManager
aM
field_7627
musicManager
mcMusicTicker
private Identifier
aN
field_7628
logoLocation
mojangLogo
private final MinecraftSessionService
aO
field_7629
sessionService
sessionService
private SkinManager
aP
field_7619
skinManager
skinManager
private final Queue<FutureTask<?>>
aQ
field_7620
tasks
scheduledTasks
private long
aR
field_10303
f_10473752
lastFrameTime
private final Thread
aS
field_7621
thread
mcThread
private ModelManager
aT
field_10304
modelManager
modelManager
private BlockRenderDispatcher
aU
field_10305
blockRenderer
blockRenderDispatcher
volatile boolean
C
field_3768
running
running
public String
D
field_3769
fpsDebugInfo
debug
public boolean
E
field_10295
f_68391016
wireframe
public boolean
F
field_10296
f_63838485
chunkPath
public boolean
G
field_10297
f_89931322
chunkVisibility
public boolean
H
field_10298
smartCull
renderChunksMany
long
I
field_3770
timeAtLastSecond
debugUpdateTime
int
J
field_3771
fpsCounter
fpsCounter
private boolean
aV
field_13280
pendingDebugCrash
actionKeyF3
long
K
field_3772
timeAfterLastTick
prevFrameTime
private String
aW
field_3799
openProfilerSection
debugProfilerName

Constructor summary

ModifierConstructor
public (RunArgs session)

Method summary

Modifier and TypeMethod
public void
a()
method_5580()
run()
run()
private void
an()
method_2921()
init()
startGame()
private void
ao()
method_9397()
initResourceMetadataSerializers()
registerMetadataSerializers()
private void
ap()
method_9399()
initDisplay()
createDisplay()
private void
aq()
method_9400()
initDisplayMode()
setInitialDisplayMode()
private void
ar()
method_9401()
initIcon()
setWindowIcon()
private static boolean
as()
method_6643()
checkIs64Bit()
isJvm64bit()
public RenderTarget
b()
method_6633()
getRenderTarget()
getFramebuffer()
public String
c()
method_9402()
getGameVersion()
getVersion()
public String
d()
method_12147()
getVersionType()
getVersionType()
private void
at()
method_2914()
initTimerHackThread()
startTimerHackThread()
public void
a(b arg0)
method_2927(class_1 arg0)
integratedServerCrashed(CrashReport crashReport)
crashed(CrashReport crash)
public void
c(b arg0)
method_2939(class_1 arg0)
gameCrashed(CrashReport report)
displayCrashReport(CrashReport crashReportIn)
public boolean
e()
method_6647()
isUnicode()
isUnicode()
public void
f()
method_5576()
reloadResources()
refreshResources()
private ByteBuffer
a(InputStream arg0)
method_6634(InputStream arg0)
readImageBuffer(InputStream file)
readImageToBuffer(InputStream imageStream)
private void
au()
method_5575()
updateDisplayMode()
updateDisplayMode()
private void
a(bvf arg0)
method_9383(class_1532 arg0)
renderLoadingScreen(TextureManager textureManager)
drawSplashScreen(TextureManager textureManagerInstance)
public void
a(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9)
method_9382(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9)
draw(int x, int y, int u, int v, int width, int height, int r, int g, int b, int a)
draw(int posX, int posY, int texU, int texV, int width, int height, int red, int green, int blue, int arg9)
public WorldStorageSource
g()
method_2944()
getWorldStorageSource()
getSaveLoader()
public void
a(bez arg0)
method_2928(class_388 arg0)
openScreen(Screen screen)
displayGuiScreen(GuiScreen guiScreenIn)
private void
a(String arg0)
method_2946(String arg0)
logGlError(String message)
checkGLError(String message)
public void
h()
method_2947()
shutdown()
shutdownMinecraftApplet()
private void
av()
method_2916()
runGame()
runGameLoop()
public void
i()
method_9403()
updateDisplay()
updateDisplay()
protected void
j()
method_9404()
updateWindow()
checkWindowResize()
public int
k()
method_4498()
getMaxFramerate()
getLimitFramerate()
public boolean
l()
method_6649()
isFramerateValid()
isFramerateLimitBelowMax()
public void
m()
method_2948()
cleanHeap()
freeMemory()
private void
b(int arg0)
method_2938(int arg0)
selectProfilerChartSection(int section)
updateDebugProfilerName(int keyCount)
private void
a(long arg0)
method_2926(long arg0)
renderProfilerChart(long tickTime)
displayDebugInfo(long elapsedTicksTime)
public void
n()
method_2949()
stop()
shutdown()
public void
o()
method_2950()
lockMouse()
setIngameFocus()
public void
p()
method_2951()
unlockMouse()
setIngameNotInFocus()
public void
q()
method_2952()
pauseGame()
displayInGameMenu()
private void
b(boolean arg0)
method_6638(boolean arg0)
handleMouseDown(boolean holdingAttack)
sendClickBlockToController(boolean leftClick)
private void
aw()
method_6644()
doAttack()
clickMouse()
private void
ax()
method_6645()
doUse()
rightClickMouse()
public void
r()
method_2953()
toggleFullscreen()
toggleFullscreen()
private void
a(int arg0, int arg1)
method_2923(int arg0, int arg1)
resize(int width, int height)
resize(int width, int height)
private void
ay()
method_6646()
onResolutionChanged()
updateFramebufferSize()
public MusicManager
s()
method_9405()
getMusicManager()
getMusicTicker()
public void
t()
method_2954()
tick()
runTick()
private void
az()
method_12145()
handleKeyboardEvents()
runTickKeyboard()
private boolean
c(int arg0)
method_12146(int arg0)
handleDebugKey(int key)
processKeyF3(int arg0)
private void
aA()
method_12140()
handleKeyBindings()
processKeyBinds()
private void
aB()
method_12141()
handleMouseEvents()
runTickMouse()
private void
a(String arg0, Object... arg1)
method_12139(String arg0, Object... arg1)
addDebugChatMessage(String arg0, Object... arg1)
debugChatMessage(String arg0, Object... arg1)
public void
a(String arg0, String arg1, ahw arg2)
method_6636(String arg0, String arg1, class_1156 arg2)
startGame(String saveName, String name, WorldSettings settings)
launchIntegratedServer(String folderName, String worldName, WorldSettings worldSettingsIn)
public void
a(bks arg0)
method_2929(class_478 arg0)
setWorld(ClientWorld world)
loadWorld(WorldClient worldClientIn)
public void
a(bks arg0, String arg1)
method_2930(class_478 arg0, String arg1)
setWorld(ClientWorld world, String message)
loadWorld(WorldClient worldClientIn, String loadingMessage)
public void
a(int arg0)
method_2922(int arg0)
respawnPlayer(int dimension)
setDimensionAndSpawnPlayer(int dimension)
public final boolean
u()
method_2959()
isDemo()
isDemo()
public ClientPlayNetworkHandler
v()
method_2960()
getNetworkHandler()
getConnection()
public static boolean
w()
method_2961()
isDisplayGui()
isGuiEnabled()
public static boolean
x()
method_2962()
isFancyGraphicsEnabled()
isFancyGraphicsEnabled()
public static boolean
y()
method_2963()
isAmbientOcclusionEnabled()
isAmbientOcclusionEnabled()
private void
aC()
method_2919()
doPick()
middleClickMouse()
private ItemStack
a(adq arg0, apv arg1)
method_12138(class_1071 arg0, class_226 arg1)
pickBlockEntity(ItemStack stack, BlockEntity blockEntity)
storeTEInStack(ItemStack stack, TileEntity te)
public CrashReport
b(b arg0)
method_2945(class_1 arg0)
populateCrashReport(CrashReport report)
addGraphicsAndWorldToCrashReport(CrashReport theCrash)
public static Minecraft
z()
method_2965()
getInstance()
getMinecraft()
public com.google.common.util.concurrent.ListenableFuture<Object>
A()
method_9379()
submitResourceReload()
scheduleResourcesRefresh()
public void
a(qw arg0)
method_2410(class_853 arg0)
populateSnooper(Snooper arg0)
addServerStatsToSnooper(Snooper arg0)
private String
aD()
method_9387()
getCurrentAction()
getCurrentAction()
public void
b(qw arg0)
method_2411(class_853 arg0)
initSnooper(Snooper arg0)
addServerTypeToSnooper(Snooper arg0)
public static int
B()
method_2920()
getMaxTextureSize()
getGLMaximumTextureSize()
public boolean
Z()
method_2409()
isSnooperEnabled()
isSnooperEnabled()
public void
a(bkv arg0)
method_2931(class_485 arg0)
setCurrentServerEntry(ServerListEntry serverEntry)
setServerData(ServerData serverDataIn)
public ServerListEntry
C()
method_6625()
getCurrentServerEntry()
getCurrentServerData()
public boolean
D()
method_2907()
isIntegratedServerRunning()
isIntegratedServerRunning()
public boolean
E()
method_2908()
isSingleplayer()
isSingleplayer()
public IntegratedServer
F()
method_2909()
getServer()
getIntegratedServer()
public static void
G()
method_2910()
stopServer()
stopIntegratedServer()
public Snooper
H()
method_2911()
getSnooper()
getPlayerUsageSnooper()
public static long
I()
method_2912()
getTime()
getSystemTime()
public boolean
J()
method_2913()
isFullscreen()
isFullScreen()
public Session
K()
method_5568()
getSession()
getSession()
public PropertyMap
L()
method_9381()
getProfileProperties()
getProfileProperties()
public Proxy
M()
method_5569()
getNetworkProxy()
getProxy()
public TextureManager
N()
method_5570()
getTextureManager()
getTextureManager()
public ResourceManager
O()
method_5571()
getResourceManager()
getResourceManager()
public ResourcePacks
P()
method_5572()
getResourcePacks()
getResourcePackRepository()
public LanguageManager
Q()
method_5573()
getLanguageManager()
getLanguageManager()
public TextureAtlas
R()
method_6627()
getBlocksAtlas()
getTextureMapBlocks()
public boolean
S()
method_6628()
is64Bit()
isJava64bit()
public boolean
T()
method_6629()
isPaused()
isGamePaused()
public SoundManager
U()
method_6630()
getSoundManager()
getSoundHandler()
public MusicManager$Music
V()
method_6631()
getMusicEnvironment()
getAmbientMusicType()
public void
W()
method_6639()
handleGuiKeyBindings()
dispatchKeypresses()
public MinecraftSessionService
X()
method_6641()
getSessionService()
getSessionService()
public SkinManager
Y()
method_6642()
getSkinManager()
getSkinManager()
public Entity
aa()
method_9388()
getCamera()
getRenderViewEntity()
public void
a(rr arg0)
method_9384(class_864 arg0)
setCamera(Entity camera)
setRenderViewEntity(Entity viewingEntity)
public <V> com.google.common.util.concurrent.ListenableFuture<V>
a(Callable<V> arg0)
method_6637(Callable<V> arg0)
executeTask(Callable<V> task)
addScheduledTask(Callable<V> callableToSchedule)
public com.google.common.util.concurrent.ListenableFuture<Object>
a(Runnable arg0)
method_6635(Runnable arg0)
executeTask(Runnable arg0)
addScheduledTask(Runnable arg0)
public boolean
aE()
method_6640()
isOnSameThread()
isCallingFromMinecraftThread()
public BlockRenderDispatcher
ab()
method_9389()
getBlockRenderDispatcher()
getBlockRendererDispatcher()
public EntityRenderDispatcher
ac()
method_9390()
getEntityRenderDispatcher()
getRenderManager()
public ItemRenderer
ad()
method_9391()
getItemRenderer()
getRenderItem()
public ItemInHandRenderer
ae()
method_9392()
getItemInHandRenderer()
getItemRenderer()
public static int
af()
method_9393()
getCurrentFps()
getDebugFPS()
public FrameTimeLogger
ag()
method_9394()
getFrameTimeLogger()
getFrameTimer()
public static Map<String, String>
ah()
method_9395()
getHttpRequestProperties()
getSessionInfo()
public boolean
ai()
method_9396()
isConnectedToRealms()
isConnectedToRealms()
public void
a(boolean arg0)
method_9386(boolean arg0)
setConnectedToRealms(boolean connectedToRealms)
setConnectedToRealms(boolean isConnected)
public DataFixerUpper
aj()
method_12142()
getDataFixerUpper()
getDataFixer()
public float
ak()
method_12143()
getPartialTick()
getRenderPartialTicks()
public BlockColors
al()
method_12144()
getBlockColors()
getBlockColors()