net.minecraft.client

public class MinecraftClient

extends ReentrantThreadExecutor<Runnable> implements WindowEventHandler

All mapped superinterfaces:

TaskExecutor, SampleableExecutor, WindowEventHandler

net.minecraft.client.Minecraft
net.minecraft.client.Minecraft
net.minecraft.class_310
net.minecraft.client.MinecraftClient

Field summary

Modifier and TypeField
private static MinecraftClient
instance
instance
field_1700
instance
private static final org.slf4j.Logger
LOGGER
LOGGER
field_1762
LOGGER
private static final int
MAX_TICKS_PER_UPDATE
MAX_TICKS_PER_UPDATE
field_32145
field_32145
public static final Identifier
DEFAULT_FONT
DEFAULT_FONT
field_1740
DEFAULT_FONT_ID
private static final Identifier
REGIONAL_COMPLIANCIES
REGIONAL_COMPLIANCIES
field_36433
REGIONAL_COMPLIANCIES_ID
private static final CompletableFuture<Unit>
RESOURCE_RELOAD_INITIAL_TASK
RESOURCE_RELOAD_INITIAL_TASK
field_18009
COMPLETED_UNIT_FUTURE
public static final String
UPDATE_DRIVERS_ADVICE
UPDATE_DRIVERS_ADVICE
field_33735
GL_ERROR_DIALOGUE
private final long
canary
canary
field_46550
UNIVERSE
private final Path
resourcePackDirectory
resourcePackDirectory
field_1757
resourcePackDir
private final CompletableFuture<com.mojang.authlib.yggdrasil.ProfileResult>
profileFuture
profileFuture
field_45899
gameProfileFuture
private final TextureManager
textureManager
textureManager
field_1764
textureManager
private final ShaderLoader
shaderManager
shaderManager
field_53831
shaderLoader
private final com.mojang.datafixers.DataFixer
fixerUpper
fixerUpper
field_1768
dataFixer
private final MonitorTracker
monitorManager
monitorManager
field_1_7135
monitorTracker
private final Window
window
window
field_1704
window
private final GpuSurface
windowSurface
windowSurface
field_1_3292
gpuSurface
private final ImeStatusController
textInputManager
textInputManager
field_1_2571
imeStatusController
private final RenderTickCounter$Dynamic
deltaTracker
deltaTracker
field_52750
renderTickCounter
public final WorldExtractor
levelExtractor
levelExtractor
field_1_3869
worldExtractor
public final WorldRenderer
levelRenderer
levelRenderer
field_1769
worldRenderer
private final EntityRenderManager
entityRenderDispatcher
entityRenderDispatcher
field_1731
entityRenderManager
private final ItemModelManager
itemModelResolver
itemModelResolver
field_55226
itemModelManager
private final MapRenderer
mapRenderer
mapRenderer
field_52751
mapRenderer
public final ParticleManager
particleEngine
particleEngine
field_1713
particleManager
private final Session
user
user
field_1726
session
public final TextRenderer
font
font
field_1772
textRenderer
public final TextRenderer
fontFilterFishy
fontFilterFishy
field_39924
advanceValidatingTextRenderer
public final GameRenderer
gameRenderer
gameRenderer
field_1773
gameRenderer
public final GuiManager
gui
gui
field_1705
guiManager
public final GameOptions
options
options
field_1690
options
public final DebugHudProfile
debugEntries
debugEntries
field_61504
debugHudEntryList
private final HotbarStorage
hotbarManager
hotbarManager
field_1732
creativeHotbarStorage
public final Mouse
mouseHandler
mouseHandler
field_1729
mouse
public final Keyboard
keyboardHandler
keyboardHandler
field_1774
keyboard
private GuiNavigationType
lastInputType
lastInputType
field_41782
navigationType
public final File
gameDirectory
gameDirectory
field_1697
runDirectory
private final String
launchedVersion
launchedVersion
field_1711
gameVersion
private final Proxy
proxy
proxy
field_1739
networkProxy
private final boolean
offlineDeveloperMode
offlineDeveloperMode
field_61503
offlineDeveloperMode
private final LevelStorage
levelSource
levelSource
field_1748
levelStorage
private final boolean
demo
demo
field_1721
isDemo
private final boolean
allowsMultiplayer
allowsMultiplayer
field_25033
multiplayerEnabled
private final boolean
allowsChat
allowsChat
field_25034
onlineChatEnabled
private final ReloadableResourceManagerImpl
resourceManager
resourceManager
field_1745
resourceManager
private final DefaultResourcePack
vanillaPackResources
vanillaPackResources
field_40380
defaultResourcePack
private final ServerResourcePackLoader
downloadedPackSource
downloadedPackSource
field_40381
serverResourcePackLoader
private final ResourcePackManager
resourcePackRepository
resourcePackRepository
field_1715
resourcePackManager
private final LanguageManager
languageManager
languageManager
field_1717
languageManager
private final BlockColors
blockColors
blockColors
field_1751
blockColors
private final TracyFrameCapturer
tracyFrameCapture
tracyFrameCapture
field_54267
tracyFrameCapturer
private final SoundManager
soundManager
soundManager
field_1727
soundManager
private final MusicTracker
musicManager
musicManager
field_1714
musicTracker
private final FontManager
fontManager
fontManager
field_1708
fontManager
private final VideoWarningManager
gpuWarnlistManager
gpuWarnlistManager
field_25671
videoWarningManager
private final PeriodicNotificationManager
regionalCompliancies
regionalCompliancies
field_36434
regionalComplianciesManager
private final com.mojang.authlib.minecraft.UserApiService
userApiService
userApiService
field_26902
userApiService
private final CompletableFuture<com.mojang.authlib.minecraft.UserApiService$UserProperties>
userPropertiesFuture
userPropertiesFuture
field_47680
userPropertiesFuture
private final PlayerSkinProvider
skinManager
skinManager
field_1707
skinProvider
private final AtlasManager
atlasManager
atlasManager
field_61502
atlasManager
private final BakedModelManager
modelManager
modelManager
field_1763
bakedModelManager
private final MapTextureManager
mapTextureManager
mapTextureManager
field_52752
mapTextureManager
private final TutorialManager
tutorial
tutorial
field_1758
tutorialManager
private final SocialInteractionsManager
playerSocialManager
playerSocialManager
field_26842
socialInteractionsManager
private final FriendListManager
remoteFriendListUpdateHandler
remoteFriendListUpdateHandler
field_1_6364
friendListManager
private final BlockEntityRenderManager
blockEntityRenderDispatcher
blockEntityRenderDispatcher
field_27388
blockEntityRenderManager
private final TelemetryManager
telemetryManager
telemetryManager
field_41331
telemetryManager
private final ProfileKeys
profileKeyPairManager
profileKeyPairManager
field_39068
profileKeys
private final RealmsPeriodicCheckers
realmsDataFetcher
realmsDataFetcher
field_39718
realmsPeriodicCheckers
private final QuickPlayLogger
quickPlayLog
quickPlayLog
field_44539
quickPlayLogger
private final ApiServices
services
services
field_62106
apiServices
private final PlayerSkinCache
playerSkinRenderCache
playerSkinRenderCache
field_62107
playerSkinCache
private final GpuTimestampProfiler
timerQuery
timerQuery
field_1_3291
gpuTimestampProfiler
public ClientPlayerInteractionManager
gameMode
gameMode
field_1761
interactionManager
public ClientWorld
level
level
field_1687
world
public ClientPlayerEntity
player
player
field_1724
player
private IntegratedServer
singleplayerServer
singleplayerServer
field_1766
server
private ClientConnection
pendingConnection
pendingConnection
field_1746
integratedServerConnection
private boolean
isLocalServer
isLocalServer
field_1759
integratedServerRunning
public Entity
crosshairPickEntity
crosshairPickEntity
field_1692
targetedEntity
public HitResult
hitResult
hitResult
field_1765
crosshairTarget
private int
rightClickDelay
rightClickDelay
field_1752
itemUseCooldown
protected int
missTime
missTime
field_1771
attackCooldown
private volatile boolean
pause
pause
field_1734
paused
private long
lastNanoTime
lastNanoTime
field_1750
lastMetricsSampleTime
private long
lastTime
lastTime
field_1712
nextDebugInfoUpdateTime
private int
frames
frames
field_1735
fpsCounter
private Thread
gameThread
gameThread
field_1696
thread
private volatile boolean
running
running
field_1698
running
private static int
fps
fps
field_1738
currentFps
private long
frameTimeNs
frameTimeNs
field_41332
renderTime
private final InactivityFpsLimiter
framerateLimitTracker
framerateLimitTracker
field_52753
inactivityFpsLimiter
public boolean
wireframe
wireframe
field_32144
wireFrame
public boolean
smartCull
smartCull
field_1730
chunkCullingEnabled
private long
lastActiveTime
lastActiveTime
field_1_2249
lastWindowFocusTime
private CompletableFuture<Void>
pendingReload
pendingReload
field_18174
resourceReloadFuture
private int
fpsPieRenderTicks
fpsPieRenderTicks
field_22224
trackingTick
private final TickTimeTracker
fpsPieProfiler
fpsPieProfiler
field_22225
tickTimeTracker
private Recorder
metricsRecorder
metricsRecorder
field_29569
recorder
private final ResourceReloadLogger
reloadStateTracker
reloadStateTracker
field_33697
resourceReloadLogger
private long
savedCpuDuration
savedCpuDuration
field_37855
metricsSampleDuration
private double
gpuUtilization
gpuUtilization
field_37856
gpuUtilizationPercentage
private final NarratorManager
narrator
narrator
field_39769
narratorManager
private AbuseReportContext
reportingContext
reportingContext
field_39492
abuseReportContext
private final SymlinkFinder
directoryValidator
directoryValidator
field_45295
symlinkFinder
private boolean
gameLoadFinished
gameLoadFinished
field_45900
finishedLoading
private final long
clientStartTimeMs
clientStartTimeMs
field_46552
startTime
private long
clientTickCount
clientTickCount
field_46553
uptimeInTicks
private final PacketApplyBatcher
packetProcessor
packetProcessor
field_62566
packetApplyBatcher
private final GizmoCollectorImpl
perTickGizmos
perTickGizmos
field_63466
gizmoCollector
private List<GizmoCollectorImpl$Entry>
drainedLatestTickGizmos
drainedLatestTickGizmos
field_64524
gizmos
private boolean
windowSurfaceNeedsReconfiguring
windowSurfaceNeedsReconfiguring
field_1_3293
updateSurface
private boolean
surfaceIsInvalid
surfaceIsInvalid
field_1_3290
surfaceConfigureFailed
private WindowException
backendCreationException
backendCreationException
field_1_3288
backendFailure

Constructor summary

ModifierConstructor
public (RunArgs args)

Method summary

Modifier and TypeMethod
public boolean
hasShiftDown()
hasShiftDown()
method_74187()
isShiftPressed()
public boolean
hasControlDown()
hasControlDown()
method_74188()
isCtrlPressed()
public boolean
hasAltDown()
hasAltDown()
method_74189()
isAltPressed()
private void
onResourceLoadFinished(GameLoadCookie loadCookie)
onResourceLoadFinished(GameLoadCookie loadCookie)
method_53465(class_8764 arg0)
onFinishedLoading(LoadingContext loadingContext)
private void
onGameLoadFinished(GameLoadCookie cookie)
onGameLoadFinished(GameLoadCookie cookie)
method_51736(class_8764 arg0)
collectLoadTimes(LoadingContext loadingContext)
public boolean
isGameLoadFinished()
isGameLoadFinished()
method_53466()
isFinishedLoading()
private static boolean
countryEqualsISO3(Object iso3Locale)
countryEqualsISO3(Object iso3Locale)
method_40189(Object arg0)
isCountrySetTo(Object country)
public void
updateTitle()
updateTitle()
method_24288()
updateWindowTitle()
private String
createTitle()
createTitle()
method_24287()
getWindowTitle()
private static com.mojang.authlib.minecraft.UserApiService
createUserApiService(com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService authService, GameConfig config)
createUserApiService(com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService authService, GameConfig config)
method_31382(com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService arg0, class_542 arg1)
createUserApiService(com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService authService, RunArgs runArgs)
public boolean
isOfflineDeveloperMode()
isOfflineDeveloperMode()
method_72704()
isOfflineDeveloperMode()
public static ModStatus
checkModStatus()
checkModStatus()
method_24289()
getModStatus()
private void
loadCriticalShaders()
loadCriticalShaders()
method_1_5471()
preloadDefaultShaders()
private void
rollbackResourcePacks(Throwable t, GameLoadCookie loadCookie)
rollbackResourcePacks(Throwable t, GameLoadCookie loadCookie)
method_24226(Throwable arg0, class_8764 arg1)
handleResourceReloadException(Throwable throwable, LoadingContext loadingContext)
public void
clearResourcePacksOnError(Throwable t, Component message, GameLoadCookie loadCookie)
clearResourcePacksOnError(Throwable t, Component message, GameLoadCookie loadCookie)
method_31186(Throwable arg0, class_2561 arg1, class_8764 arg2)
onResourceReloadFailure(Throwable exception, Text resourceName, LoadingContext loadingContext)
private void
abortResourcePackRecovery()
abortResourcePackRecovery()
method_49294()
onForcedResourceReloadFailure()
private void
addResourcePackLoadFailToast(Component message)
addResourcePackLoadFailToast(Component message)
method_49292(class_2561 arg0)
showResourceReloadFailureToast(Text description)
public void
triggerResourcePackRecovery(Exception exception)
triggerResourcePackRecovery(Exception exception)
method_63507(Exception arg0)
onShaderResourceReloadFailure(Exception exception)
public void
run()
run()
method_1514()
run()
void
updateFontOptions()
updateFontOptions()
method_57017()
onFontOptionsChanged()
private void
onFullscreenError(int error, long description)
onFullscreenError(int error, long description)
method_1506(int arg0, long arg1)
handleGlErrorByDisableVsync(int error, long description)
public String
getLaunchedVersion()
getLaunchedVersion()
method_1515()
getGameVersion()
public void
delayCrash(CrashReport crash)
delayCrash(CrashReport crash)
method_1494(class_128 arg0)
setCrashReport(CrashReport arg0)
public void
emergencySaveAndCrash(CrashReport partialReport)
emergencySaveAndCrash(CrashReport partialReport)
method_54580(class_128 arg0)
printCrashReport(CrashReport crashReport)
public static void
saveReport(File gameDirectory, CrashReport crash)
saveReport(File gameDirectory, CrashReport crash)
method_1_3939(File arg0, class_128 arg1)
printCrashReport(File runDir, CrashReport crashReport)
public static int
saveReport(File gameDirectory, CrashReport crash, int reportExitCode)
saveReport(File gameDirectory, CrashReport crash, int reportExitCode)
method_61962(File arg0, class_128 arg1, int arg2)
printCrashReport(File runDir, CrashReport crashReport, int exitCode)
public static void
crash(Minecraft minecraft, File gameDirectory, CrashReport crash, int exitCode)
crash(Minecraft minecraft, File gameDirectory, CrashReport crash, int exitCode)
method_1565(class_310 arg0, File arg1, class_128 arg2, int arg3)
printCrashReportAndExit(MinecraftClient client, File runDirectory, CrashReport crashReport, int exitCode)
public static int
saveReportAndShutdownSoundManager(Minecraft minecraft, File gameDirectory, CrashReport crash, int exitCode)
saveReportAndShutdownSoundManager(Minecraft minecraft, File gameDirectory, CrashReport crash, int exitCode)
method_1_2118(class_310 arg0, File arg1, class_128 arg2, int arg3)
printCrashReport(MinecraftClient client, File runDirectory, CrashReport crashReport, int exitCode)
public boolean
isEnforceUnicode()
isEnforceUnicode()
method_1573()
forcesUnicodeFont()
public CompletableFuture<Void>
reloadResourcePacks()
reloadResourcePacks()
method_1521()
reloadResources()
private CompletableFuture<Void>
reloadResourcePacks(boolean isRecovery, GameLoadCookie loadCookie)
reloadResourcePacks(boolean isRecovery, GameLoadCookie loadCookie)
method_36561(boolean arg0, class_8764 arg1)
reloadResources(boolean force, LoadingContext loadingContext)
private void
selfTest()
selfTest()
method_17044()
checkGameData()
public LevelStorage
getLevelSource()
getLevelSource()
method_1586()
getLevelStorage()
public void
exitWorldAndClose()
exitWorldAndClose()
method_1490()
stop()
public void
close()
close()
private void
runTick(boolean advanceGameTime)
runTick(boolean advanceGameTime)
method_1523(boolean arg0)
frame(boolean tick)
public void
renderFrame(boolean advanceGameTime)
renderFrame(boolean advanceGameTime)
method_1_367(boolean arg0)
render(boolean tick)
private void
pauseIfInactive()
pauseIfInactive()
method_1_2659()
updateFocusState()
private Profiler
constructProfiler(boolean shouldCollectFrameProfile, SingleTickProfiler tickProfiler)
constructProfiler(boolean shouldCollectFrameProfile, SingleTickProfiler tickProfiler)
method_24458(boolean arg0, class_4758 arg1)
startMonitor(boolean active, TickDurationMonitor monitor)
private void
finishProfilers(boolean shouldCollectFrameProfile, SingleTickProfiler tickProfiler)
finishProfilers(boolean shouldCollectFrameProfile, SingleTickProfiler tickProfiler)
method_24460(boolean arg0, class_4758 arg1)
endMonitor(boolean active, TickDurationMonitor monitor)
public void
framebufferSizeChanged()
framebufferSizeChanged()
method_1_4256()
onWindowSizeChanged()
public void
resizeGui()
resizeGui()
method_15993()
onScaleFactorChanged()
public void
cursorEntered()
cursorEntered()
method_30133()
onCursorEnterChanged()
public int
getFps()
getFps()
method_47599()
getCurrentFps()
public long
getFrameTimeNs()
getFrameTimeNs()
method_47600()
getRenderTime()
public void
sendLowDiskSpaceWarning()
sendLowDiskSpaceWarning()
method_1_368()
addLowDiskSpaceWarning()
private void
emergencySave()
emergencySave()
method_1519()
cleanUpAfterCrash()
public boolean
debugClientMetricsStart(Consumer<Component> debugFeedback)
debugClientMetricsStart(Consumer<Component> debugFeedback)
method_34745(Consumer<class_2561> arg0)
toggleDebugProfiler(Consumer<Text> chatMessageSender)
private void
debugClientMetricsStop()
debugClientMetricsStop()
method_37286()
stopRecorder()
private void
debugClientMetricsCancel()
debugClientMetricsCancel()
method_41733()
forceStopRecorder()
private Path
archiveProfilingReport(SystemReport systemReport, List<Path> profilingResultPaths)
archiveProfilingReport(SystemReport systemReport, List<Path> profilingResultPaths)
method_37275(class_6396 arg0, List<Path> arg1)
saveProfilingResult(SystemDetails details, List<Path> files)
public void
stop()
stop()
method_1592()
scheduleStop()
public boolean
isRunning()
isRunning()
method_22108()
isRunning()
public void
pauseGame(boolean suppressPauseMenuIfWeReallyArePausing)
pauseGame(boolean suppressPauseMenuIfWeReallyArePausing)
method_20539(boolean arg0)
openGameMenu(boolean pauseOnly)
private void
continueAttack(boolean down)
continueAttack(boolean down)
method_1590(boolean arg0)
handleBlockBreaking(boolean breaking)
private boolean
startAttack()
startAttack()
method_1536()
doAttack()
private void
startUseItem()
startUseItem()
method_1583()
doItemUse()
public MusicTracker
getMusicManager()
getMusicManager()
method_1538()
getMusicTracker()
public void
tick()
tick()
method_1574()
tick()
private boolean
isLevelRunningNormally()
isLevelRunningNormally()
method_60647()
shouldTick()
public boolean
isMultiplayerServer()
isMultiplayerServer()
method_31321()
isConnectedToServer()
private void
handleKeybinds()
handleKeybinds()
method_1508()
handleInputEvents()
private Optional<RegistryEntry<Dialog>>
getQuickActionsDialog()
getQuickActionsDialog()
method_72098()
getQuickActionsDialog()
public TelemetryManager
getTelemetryManager()
getTelemetryManager()
method_47601()
getTelemetryManager()
public Recorder
getMetricsRecorder()
getMetricsRecorder()
method_1_4728()
getRecorder()
public double
getGpuUtilization()
getGpuUtilization()
method_41734()
getGpuUtilizationPercentage()
public ProfileKeys
getProfileKeyPairManager()
getProfileKeyPairManager()
method_43590()
getProfileKeys()
public IntegratedServerLoader
createWorldOpenFlows()
createWorldOpenFlows()
method_41735()
createIntegratedServerLoader()
public void
doWorldLoad(LevelStorageSource$LevelStorageAccess levelSourceAccess, PackRepository packRepository, WorldStem worldStem, Optional<GameRules> gameRules, boolean newWorld)
doWorldLoad(LevelStorageSource$LevelStorageAccess levelSourceAccess, PackRepository packRepository, WorldStem worldStem, Optional<GameRules> gameRules, boolean newWorld)
method_29610(class_32$class_5143 arg0, class_3283 arg1, class_6904 arg2, Optional<class_1928> arg3, boolean arg4)
startIntegratedServer(LevelStorage$Session session, ResourcePackManager dataPackManager, SaveLoader saveLoader, Optional<GameRules> gameRules, boolean newWorld)
public void
setLevel(ClientLevel level)
setLevel(ClientLevel level)
method_1481(class_638 arg0)
joinWorld(ClientWorld world)
public void
disconnectFromWorld(Component message)
disconnectFromWorld(Component message)
method_73360(class_2561 arg0)
disconnect(Text reasonText)
public void
disconnectWithSavingScreen()
disconnectWithSavingScreen()
method_72099()
disconnectWithSavingScreen()
public void
disconnectWithProgressScreen()
disconnectWithProgressScreen()
method_72100()
disconnectWithProgressScreen()
public void
disconnectWithProgressScreen(boolean stopSound)
disconnectWithProgressScreen(boolean stopSound)
method_76797(boolean arg0)
disconnectWithProgressScreen(boolean stopSounds)
public void
disconnect(Screen screen, boolean keepResourcePacks)
disconnect(Screen screen, boolean keepResourcePacks)
method_76795(class_437 arg0, boolean arg1)
disconnect(Screen disconnectionScreen, boolean transferring)
public void
disconnect(Screen screen, boolean keepResourcePacks, boolean stopSound)
disconnect(Screen screen, boolean keepResourcePacks, boolean stopSound)
method_18096(class_437 arg0, boolean arg1, boolean arg2)
disconnect(Screen disconnectionScreen, boolean transferring, boolean stopSounds)
public void
clearDownloadedResourcePacks()
clearDownloadedResourcePacks()
method_55505()
onDisconnected()
public void
clearClientLevel(Screen screen)
clearClientLevel(Screen screen)
method_52703(class_437 arg0)
enterReconfiguration(Screen reconfigurationScreen)
public void
setScreenAndShow(Screen screen)
setScreenAndShow(Screen screen)
method_29970(class_437 arg0)
setScreenAndRender(Screen screen)
private void
updateLevelInEngines(ClientLevel level)
updateLevelInEngines(ClientLevel level)
method_76796(class_638 arg0)
setWorld(ClientWorld world)
private void
updateLevelInEngines(ClientLevel level, boolean stopSound)
updateLevelInEngines(ClientLevel level, boolean stopSound)
method_18097(class_638 arg0, boolean arg1)
setWorld(ClientWorld world, boolean stopSounds)
private com.mojang.authlib.minecraft.UserApiService$UserProperties
userProperties()
userProperties()
method_55607()
getUserProperties()
public boolean
telemetryOptInExtra()
telemetryOptInExtra()
method_47602()
isOptionalTelemetryEnabled()
public boolean
extraTelemetryAvailable()
extraTelemetryAvailable()
method_47595()
isOptionalTelemetryEnabledByApi()
public boolean
allowsTelemetry()
allowsTelemetry()
method_47596()
isTelemetryEnabledByApi()
public boolean
allowsMultiplayer()
allowsMultiplayer()
method_29043()
isMultiplayerEnabled()
public boolean
allowsRealms()
allowsRealms()
method_35706()
isRealmsEnabled()
public boolean
friendsEnabled()
friendsEnabled()
method_1_5469()
areFriendsEnabled()
public boolean
handleGlobalKeyPress(InputConstants$Key key, boolean controlDown)
handleGlobalKeyPress(InputConstants$Key key, boolean controlDown)
method_1_6369(class_3675$class_306 arg0, boolean arg1)
handleGlobalKeys(InputUtil$Key key, boolean hasCtrlOrCmd)
private void
toggleFullscreen()
toggleFullscreen()
method_1_6371()
toggleFullscreen()
private boolean
toggleFriendsScreen()
toggleFriendsScreen()
method_1_6370()
toggleFriendsScreen()
public boolean
allowFriendRequests()
allowFriendRequests()
method_1_5468()
acceptsFriendInvites()
public boolean
allowChatOnlyWithFriend()
allowChatOnlyWithFriend()
method_1_5467()
isChatFriendsOnly()
public com.mojang.authlib.minecraft.BanDetails
multiplayerBan()
multiplayerBan()
method_44647()
getMultiplayerBanDetails()
public boolean
isNameBanned()
isNameBanned()
method_53518()
isUsernameBanned()
public boolean
isBlocked(UUID uuid)
isBlocked(UUID uuid)
method_29042(UUID arg0)
shouldBlockMessages(UUID sender)
public boolean
isFriendOnlyRestricted(UUID uuid)
isFriendOnlyRestricted(UUID uuid)
method_1_5470(UUID arg0)
isStranger(UUID sender)
private boolean
isLocalOrUnknownPlayer(UUID uuid)
isLocalOrUnknownPlayer(UUID uuid)
method_1_2117(UUID arg0)
isOtherPlayer(UUID sender)
public ChatRestrictions
computeChatAbilities()
computeChatAbilities()
method_33884()
getChatRestriction()
public final boolean
isDemo()
isDemo()
method_1530()
isDemo()
public final boolean
canSwitchGameMode()
canSwitchGameMode()
method_73196()
canSwitchGameMode()
public ClientPlayNetworkHandler
getConnection()
getConnection()
method_1562()
getNetworkHandler()
private void
pickBlockOrEntity()
pickBlockOrEntity()
method_1511()
doItemPick()
public CrashReport
fillReport(CrashReport report)
fillReport(CrashReport report)
method_1587(class_128 arg0)
addDetailsToCrashReport(CrashReport report)
public static void
fillReport(Minecraft minecraft, LanguageManager languageManager, String launchedVersion, Options options, CrashReport report)
fillReport(Minecraft minecraft, LanguageManager languageManager, String launchedVersion, Options options, CrashReport report)
method_22681(class_310 arg0, class_1076 arg1, String arg2, class_315 arg3, class_128 arg4)
addSystemDetailsToCrashReport(MinecraftClient client, LanguageManager languageManager, String version, GameOptions options, CrashReport report)
private static String
formatSeconds(double timeInSeconds)
formatSeconds(double timeInSeconds)
method_54116(double arg0)
formatSeconds(double seconds)
private void
fillUptime(CrashReportCategory category)
fillUptime(CrashReportCategory category)
method_54117(class_129 arg0)
addUptimesToCrashReport(CrashReportSection section)
private static SystemDetails
fillSystemReport(SystemReport systemReport, Minecraft minecraft, LanguageManager languageManager, String launchedVersion, Options options)
fillSystemReport(SystemReport systemReport, Minecraft minecraft, LanguageManager languageManager, String launchedVersion, Options options)
method_37274(class_6396 arg0, class_310 arg1, class_1076 arg2, String arg3, class_315 arg4)
addSystemDetailsToCrashReport(SystemDetails systemDetails, MinecraftClient client, LanguageManager languageManager, String version, GameOptions options)
public static MinecraftClient
getInstance()
getInstance()
method_1551()
getInstance()
public CompletableFuture<Void>
delayTextureReload()
delayTextureReload()
method_1513()
reloadResourcesConcurrently()
public void
updateReportEnvironment(ReportEnvironment environment)
updateReportEnvironment(ReportEnvironment environment)
method_44376(class_7569 arg0)
ensureAbuseReportContext(ReporterEnvironment environment)
public ServerInfo
getCurrentServer()
getCurrentServer()
method_1558()
getCurrentServerEntry()
public boolean
isLocalServer()
isLocalServer()
method_1542()
isInSingleplayer()
public boolean
hasSingleplayerServer()
hasSingleplayerServer()
method_1496()
isIntegratedServerRunning()
public IntegratedServer
getSingleplayerServer()
getSingleplayerServer()
method_1576()
getServer()
public boolean
isLocalPlayer(UUID profileId)
isLocalPlayer(UUID profileId)
method_52701(UUID arg0)
uuidEquals(UUID uuid)
public Session
getUser()
getUser()
method_1548()
getSession()
public com.mojang.authlib.yggdrasil.ProfileResult
getProfileResult()
getProfileResult()
method_1_3935()
getYggdrasilGameProfileResult()
public com.mojang.authlib.GameProfile
getGameProfile()
getGameProfile()
method_53462()
getGameProfile()
public Proxy
getProxy()
getProxy()
method_1487()
getNetworkProxy()
public TextureManager
getTextureManager()
getTextureManager()
method_1531()
getTextureManager()
public ShaderLoader
getShaderManager()
getShaderManager()
method_62887()
getShaderLoader()
public ResourceManager
getResourceManager()
getResourceManager()
method_1478()
getResourceManager()
public ResourcePackManager
getResourcePackRepository()
getResourcePackRepository()
method_1520()
getResourcePackManager()
public DefaultResourcePack
getVanillaPackResources()
getVanillaPackResources()
method_45573()
getDefaultResourcePack()
public ServerResourcePackLoader
getDownloadedPackSource()
getDownloadedPackSource()
method_1516()
getServerResourcePackProvider()
public Path
getResourcePackDirectory()
getResourcePackDirectory()
method_1479()
getResourcePackDir()
public LanguageManager
getLanguageManager()
getLanguageManager()
method_1526()
getLanguageManager()
public boolean
isPaused()
isPaused()
method_1493()
isPaused()
public VideoWarningManager
getGpuWarnlistManager()
getGpuWarnlistManager()
method_30049()
getVideoWarningManager()
public SoundManager
getSoundManager()
getSoundManager()
method_1483()
getSoundManager()
public MusicSound
getSituationalMusic()
getSituationalMusic()
method_1544()
getMusicInstance()
public float
getMusicVolume()
getMusicVolume()
method_75759()
getMusicVolume()
public ApiServices
services()
services()
method_73361()
getApiServices()
public PlayerSkinProvider
getSkinManager()
getSkinManager()
method_1582()
getSkinProvider()
public Entity
getCameraEntity()
getCameraEntity()
method_1560()
getCameraEntity()
public void
setCameraEntity(Entity cameraEntity)
setCameraEntity(Entity cameraEntity)
method_1504(class_1297 arg0)
setCameraEntity(Entity entity)
public boolean
shouldEntityAppearGlowing(Entity entity)
shouldEntityAppearGlowing(Entity entity)
method_27022(class_1297 arg0)
hasOutline(Entity entity)
public Thread
getRunningThread()
getRunningThread()
method_3777()
getThread()
public Runnable
wrapRunnable(Runnable runnable)
wrapRunnable(Runnable runnable)
method_16211(Runnable arg0)
createTask(Runnable arg0)
protected boolean
shouldRun(Runnable task)
shouldRun(Runnable task)
method_18856(Runnable arg0)
canExecute(Runnable arg0)
public EntityRenderManager
getEntityRenderDispatcher()
getEntityRenderDispatcher()
method_1561()
getEntityRenderDispatcher()
public BlockEntityRenderManager
getBlockEntityRenderDispatcher()
getBlockEntityRenderDispatcher()
method_31975()
getBlockEntityRenderDispatcher()
public MapRenderer
getMapRenderer()
getMapRenderer()
method_61965()
getMapRenderer()
public com.mojang.datafixers.DataFixer
getFixerUpper()
getFixerUpper()
method_1543()
getDataFixer()
public RenderTickCounter
getDeltaTracker()
getDeltaTracker()
method_61966()
getRenderTickCounter()
public BlockColors
getBlockColors()
getBlockColors()
method_1505()
getBlockColors()
public boolean
showOnlyReducedInfo()
showOnlyReducedInfo()
method_1555()
hasReducedDebugInfo()
public TutorialManager
getTutorial()
getTutorial()
method_1577()
getTutorialManager()
public boolean
isWindowActive()
isWindowActive()
method_1569()
isWindowFocused()
public HotbarStorage
getHotbarManager()
getHotbarManager()
method_1571()
getCreativeHotbarStorage()
public BakedModelManager
getModelManager()
getModelManager()
method_1554()
getBakedModelManager()
public AtlasManager
getAtlasManager()
getAtlasManager()
method_72703()
getAtlasManager()
public MapTextureManager
getMapTextureManager()
getMapTextureManager()
method_61963()
getMapTextureManager()
public Text
grabPanoramixScreenshot(File folder)
grabPanoramixScreenshot(File folder)
method_35698(File arg0)
takePanorama(File directory)
public SocialInteractionsManager
getPlayerSocialManager()
getPlayerSocialManager()
method_31320()
getSocialInteractionsManager()
public Window
getWindow()
getWindow()
method_22683()
getWindow()
public ImeStatusController
textInputManager()
textInputManager()
method_1_3097()
getImeStatusController()
public void
onTextInputFocusChange(GuiEventListener element, boolean isFocused)
onTextInputFocusChange(GuiEventListener element, boolean isFocused)
method_1_3096(class_364 arg0, boolean arg1)
startEditingTextWidget(Element element, boolean focused)
public GpuSurface
windowSurface()
windowSurface()
method_1_3940()
getGpuSurface()
public InactivityFpsLimiter
getFramerateLimitTracker()
getFramerateLimitTracker()
method_61964()
getInactivityFpsLimiter()
public DebugHud
getDebugOverlay()
getDebugOverlay()
method_53526()
getDebugHud()
public void
updateMaxMipLevel(int mipmapLevels)
updateMaxMipLevel(int mipmapLevels)
method_24041(int arg0)
setMipmapLevels(int mipmapLevels)
public LoadedEntityModels
getEntityModels()
getEntityModels()
method_31974()
getLoadedEntityModels()
public boolean
isTextFilteringEnabled()
isTextFilteringEnabled()
method_33883()
shouldFilterText()
public void
prepareForMultiplayer()
prepareForMultiplayer()
method_38932()
loadBlockList()
public GuiNavigationType
getLastInputType()
getLastInputType()
method_48186()
getNavigationType()
public void
setLastInputType(InputType lastInputType)
setLastInputType(InputType lastInputType)
method_48185(class_8015 arg0)
setNavigationType(GuiNavigationType navigationType)
public NarratorManager
getNarrator()
getNarrator()
method_44713()
getNarratorManager()
public AbuseReportContext
getReportingContext()
getReportingContext()
method_44377()
getAbuseReportContext()
public RealmsPeriodicCheckers
realmsDataFetcher()
realmsDataFetcher()
method_44646()
getRealmsPeriodicCheckers()
public QuickPlayLogger
quickPlayLog()
quickPlayLog()
method_51253()
getQuickPlayLogger()
public SymlinkFinder
directoryValidator()
directoryValidator()
method_52702()
getSymlinkFinder()
public PlayerSkinCache
playerSkinRenderCache()
playerSkinRenderCache()
method_73362()
getPlayerSkinCache()
private float
getTickTargetMillis(float defaultTickTargetMillis)
getTickTargetMillis(float defaultTickTargetMillis)
method_54785(float arg0)
getTargetMillisPerTick(float millis)
public ItemModelManager
getItemModelResolver()
getItemModelResolver()
method_65386()
getItemModelManager()
public boolean
canInterruptScreen()
canInterruptScreen()
method_73363()
canCurrentScreenBeInterrupted()
public void
invalidateSurfaceConfiguration()
invalidateSurfaceConfiguration()
method_1_3936()
markSurfaceForUpdate()
public static String
getLauncherBrand()
getLauncherBrand()
method_54578()
getLauncherBrand()
public PacketApplyBatcher
packetProcessor()
packetProcessor()
method_74186()
getPacketApplyBatcher()
public GizmoDrawing$CollectorScope
collectPerTickGizmos()
collectPerTickGizmos()
method_75308()
newGizmoScope()
public Collection<GizmoCollectorImpl$Entry>
getPerTickGizmos()
getPerTickGizmos()
method_75309()
getGizmos()
private void
pick(float partialTicks)
pick(float partialTicks)
method_1_2660(float arg0)
updateCrosshairTarget(float tickProgress)
public void
showDebugChat(Component message)
showDebugChat(Component message)
method_1_6137(class_2561 arg0)
addSystemMessage(Text message)