CLASS net/minecraft/class_310 net/minecraft/client/MinecraftClient COMMENT Represents a logical Minecraft client. COMMENT The logical Minecraft client is responsible for rendering, sound playback and control input. COMMENT The Minecraft client also manages connections to a logical server which may be the client's {@link net.minecraft.server.integrated.IntegratedServer} or a remote server. COMMENT The Minecraft client instance may be obtained using {@link MinecraftClient#getInstance()}. COMMENT COMMENT
Rendering on a Minecraft client is split into several facilities. COMMENT The primary entrypoint for rendering is {@link net.minecraft.client.render.GameRenderer#render(float, long, boolean)}. COMMENT
Thing to render | Rendering facility | COMMENT
---|---|
World | {@link net.minecraft.client.render.WorldRenderer} | COMMENT
Blocks and Fluids | {@link net.minecraft.client.render.block.BlockRenderManager} | COMMENT
Entities | {@link net.minecraft.client.render.entity.EntityRenderDispatcher} | COMMENT
Block entities | {@link net.minecraft.client.render.block.entity.BlockEntityRenderDispatcher} | COMMENT
Items | {@link net.minecraft.client.render.item.ItemRenderer} | COMMENT
Items held in hand | {@link net.minecraft.client.render.item.HeldItemRenderer} | COMMENT
Text | {@link net.minecraft.client.font.TextRenderer} | COMMENT
Game hud (health bar, hunger bar) | {@link net.minecraft.client.gui.hud.InGameHud} | COMMENT
If the screen being opened is {@code null}: COMMENT
If there is an open screen when the current screen is changed, {@link Screen#removed()} COMMENT will be called on it to notify it of the closing. ARG 1 screen COMMENT the new screen, or {@code null} to just close the previous screen METHOD method_1508 handleInputEvents ()V METHOD method_1511 doItemPick ()V METHOD method_1513 reloadResourcesConcurrently ()Ljava/util/concurrent/CompletableFuture; METHOD method_1514 run ()V METHOD method_1515 getGameVersion ()Ljava/lang/String; METHOD method_1516 getResourcePackProvider ()Lnet/minecraft/class_1066; METHOD method_1517 isFancyGraphicsOrBetter ()Z METHOD method_1518 (Lnet/minecraft/class_516;)Ljava/util/stream/Stream; ARG 0 resultCollection METHOD method_1519 cleanUpAfterCrash ()V METHOD method_1520 getResourcePackManager ()Lnet/minecraft/class_3283; METHOD method_1521 reloadResources ()Ljava/util/concurrent/CompletableFuture; METHOD method_1522 getFramebuffer ()Lnet/minecraft/class_276; METHOD method_1523 render (Z)V ARG 1 tick METHOD method_1524 handleProfilerKeyPress (I)V ARG 1 digit METHOD method_1525 (Lnet/minecraft/class_1799;)Ljava/util/stream/Stream; ARG 0 stack METHOD method_1526 getLanguageManager ()Lnet/minecraft/class_1076; METHOD method_1529 (Lnet/minecraft/class_516;)Ljava/util/stream/Stream; ARG 0 resultCollection METHOD method_1530 isDemo ()Z METHOD method_1531 getTextureManager ()Lnet/minecraft/class_1060; METHOD method_1534 getLastFrameDuration ()F METHOD method_1535 (Lnet/minecraft/class_1126;Lnet/minecraft/class_1121;Lnet/minecraft/class_1799;)V ARG 2 stack METHOD method_1536 doAttack ()V METHOD method_1537 setConnectedToRealms (Z)V ARG 1 connectedToRealms METHOD method_1538 getMusicTracker ()Lnet/minecraft/class_1142; METHOD method_1539 getSessionProperties ()Lcom/mojang/authlib/properties/PropertyMap; METHOD method_1540 is64Bit ()Z METHOD method_1541 getBlockRenderManager ()Lnet/minecraft/class_776; METHOD method_1542 isInSingleplayer ()Z METHOD method_1543 getDataFixer ()Lcom/mojang/datafixers/DataFixer; METHOD method_1544 getMusicType ()Lnet/minecraft/class_5195; METHOD method_1546 initializeSearchableContainers ()V METHOD method_1547 getVersionType ()Ljava/lang/String; METHOD method_1548 getSession ()Lnet/minecraft/class_320; METHOD method_1549 getSpriteAtlas (Lnet/minecraft/class_2960;)Ljava/util/function/Function; ARG 1 id METHOD method_1551 getInstance ()Lnet/minecraft/class_310; METHOD method_1552 getSnooper ()Lnet/minecraft/class_1276; METHOD method_1554 getBakedModelManager ()Lnet/minecraft/class_1092; METHOD method_1555 hasReducedDebugInfo ()Z METHOD method_1556 (Lnet/minecraft/class_1860;)Lnet/minecraft/class_2960; ARG 0 recipe METHOD method_1557 (Lnet/minecraft/class_2561;)Ljava/lang/String; ARG 0 tooltip METHOD method_1558 getCurrentServerEntry ()Lnet/minecraft/class_642; METHOD method_1560 getCameraEntity ()Lnet/minecraft/class_1297; METHOD method_1561 getEntityRenderDispatcher ()Lnet/minecraft/class_898; METHOD method_1562 getNetworkHandler ()Lnet/minecraft/class_634; METHOD method_1563 getCurrentAction ()Ljava/lang/String; METHOD method_1565 printCrashReport (Lnet/minecraft/class_128;)V ARG 0 report METHOD method_1566 getToastManager ()Lnet/minecraft/class_374; METHOD method_1569 isWindowFocused ()Z METHOD method_1570 getMetricsData ()Lnet/minecraft/class_3517; METHOD method_1571 getCreativeHotbarStorage ()Lnet/minecraft/class_302; METHOD method_1573 forcesUnicodeFont ()Z METHOD method_1574 tick ()V METHOD method_1576 getServer ()Lnet/minecraft/class_1132; COMMENT Gets this client's own integrated server. COMMENT COMMENT
The integrated server is only present when a local single player world is open. METHOD method_1577 getTutorialManager ()Lnet/minecraft/class_1156; METHOD method_1579 (Ljava/lang/String;)Z ARG 0 string METHOD method_1581 (Lnet/minecraft/class_2561;)Ljava/lang/String; ARG 0 tooltip METHOD method_1582 getSkinProvider ()Lnet/minecraft/class_1071; METHOD method_1583 doItemUse ()V METHOD method_1584 setCurrentServerEntry (Lnet/minecraft/class_642;)V ARG 1 serverEntry METHOD method_1586 getLevelStorage ()Lnet/minecraft/class_32; METHOD method_1587 addDetailsToCrashReport (Lnet/minecraft/class_128;)Lnet/minecraft/class_128; ARG 1 report METHOD method_1588 isAmbientOcclusionEnabled ()Z METHOD method_1589 isConnectedToRealms ()Z METHOD method_1590 handleBlockBreaking (Z)V METHOD method_1591 (Lnet/minecraft/class_1860;)Ljava/util/stream/Stream; ARG 0 recipe METHOD method_1592 scheduleStop ()V METHOD method_16009 getFramerateLimit ()I METHOD method_16011 getProfiler ()Lnet/minecraft/class_3695; METHOD method_16689 getGame ()Lnet/minecraft/class_3799; METHOD method_17044 checkGameData ()V METHOD method_17533 (I)Lnet/minecraft/class_3949; ARG 1 spawnChunkRadius METHOD method_18095 getSplashTextLoader ()Lnet/minecraft/class_4008; METHOD method_18096 disconnect (Lnet/minecraft/class_437;)V ARG 1 screen METHOD method_18097 setWorld (Lnet/minecraft/class_638;)V ARG 1 world METHOD method_18098 reset (Lnet/minecraft/class_437;)V ARG 1 screen METHOD method_18099 disconnect ()V METHOD method_18321 getPaintingManager ()Lnet/minecraft/class_4044; METHOD method_18502 setOverlay (Lnet/minecraft/class_4071;)V ARG 1 overlay METHOD method_18505 getStatusEffectSpriteManager ()Lnet/minecraft/class_4074; METHOD method_18506 getOverlay ()Lnet/minecraft/class_4071; METHOD method_20539 openPauseMenu (Z)V ARG 1 pause METHOD method_22107 shouldRenderAsync ()Z METHOD method_22108 isRunning ()Z METHOD method_22681 addSystemDetailsToCrashReport (Lnet/minecraft/class_310;Lnet/minecraft/class_1076;Ljava/lang/String;Lnet/minecraft/class_315;Lnet/minecraft/class_128;)V ARG 0 client ARG 1 languageManager ARG 2 version ARG 3 options ARG 4 report METHOD method_22683 getWindow ()Lnet/minecraft/class_1041; METHOD method_22940 getBufferBuilders ()Lnet/minecraft/class_4599; METHOD method_24038 createResourcePackProfile (Ljava/lang/String;Lnet/minecraft/class_2561;ZLjava/util/function/Supplier;Lnet/minecraft/class_3272;Lnet/minecraft/class_3288$class_3289;Lnet/minecraft/class_5352;)Lnet/minecraft/class_3288; ARG 0 name ARG 1 displayName ARG 2 alwaysEnabled ARG 3 packFactory ARG 4 metadata ARG 5 insertionPosition ARG 6 source METHOD method_24040 (Ljava/util/Optional;)V ARG 1 throwable METHOD method_24041 setMipmapLevels (I)V ARG 1 mipmapLevels METHOD method_24042 createV3ResourcePackFactory (Ljava/util/function/Supplier;)Ljava/util/function/Supplier; ARG 0 packFactory METHOD method_24043 createV4ResourcePackFactory (Ljava/util/function/Supplier;)Ljava/util/function/Supplier; ARG 0 packFactory METHOD method_24226 handleResourceReloadException (Ljava/lang/Throwable;)V ARG 1 exception METHOD method_24228 (Ljava/util/concurrent/CompletableFuture;Ljava/util/Optional;)V ARG 2 throwable METHOD method_24287 getWindowTitle ()Ljava/lang/String; METHOD method_24288 updateWindowTitle ()V METHOD method_24289 isModded ()Z COMMENT Checks if this client is modded. COMMENT COMMENT
This checks the client's brand and if the MinecraftClient's class is still signed. METHOD method_24458 startMonitor (ZLnet/minecraft/class_4758;)Lnet/minecraft/class_3695; ARG 1 active ARG 2 monitor METHOD method_24459 shouldMonitorTickDuration ()Z METHOD method_24460 endMonitor (ZLnet/minecraft/class_4758;)V ARG 1 active ARG 2 monitor METHOD method_27022 hasOutline (Lnet/minecraft/class_1297;)Z COMMENT Checks if the provided {@code entity} should display an outline around its model. ARG 1 entity METHOD method_27466 initFont (Z)V ARG 1 forcesUnicode METHOD method_29041 openChatScreen (Ljava/lang/String;)V ARG 1 text METHOD method_29042 shouldBlockMessages (Ljava/util/UUID;)Z COMMENT Checks if the client should block messages from the {@code sender}. COMMENT COMMENT
If true, messages will not be displayed in chat and narrator will not process COMMENT them. ARG 1 sender METHOD method_29043 isMultiplayerEnabled ()Z METHOD method_29597 (Lnet/minecraft/class_1940;Lnet/minecraft/class_32$class_5143;)Lnet/minecraft/class_5359; ARG 1 session METHOD method_29598 loadDataPackSettings (Lnet/minecraft/class_32$class_5143;)Lnet/minecraft/class_5359; ARG 0 storageSession METHOD method_29599 createSaveProperties (Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_5455$class_5457;Lnet/minecraft/class_3300;Lnet/minecraft/class_5359;)Lnet/minecraft/class_5219; ARG 0 session ARG 1 registryTracker ARG 2 resourceManager ARG 3 dataPackSettings METHOD method_29600 (Ljava/lang/String;Ljava/lang/Runnable;ZZ)V ARG 3 shouldBackup ARG 4 eraseCache METHOD method_29601 showExperimentalWarning (Lnet/minecraft/class_310$class_5366;Ljava/lang/String;ZLjava/lang/Runnable;)V ARG 1 worldLoadAction ARG 2 levelName ARG 3 legacyCustomized ARG 4 onConfirm METHOD method_29603 (Lnet/minecraft/class_5455$class_5457;Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_310$class_5367;Lnet/minecraft/class_5219;Lcom/mojang/authlib/minecraft/MinecraftSessionService;Lcom/mojang/authlib/GameProfileRepository;Lnet/minecraft/class_3312;Ljava/lang/Thread;)Lnet/minecraft/class_1132; ARG 1 registryTracker ARG 2 session ARG 3 resourceManager ARG 4 saveProperties ARG 5 sessionService ARG 6 profileRepository ARG 7 userCache ARG 8 serverThread METHOD method_29604 createIntegratedResourceManager (Lnet/minecraft/class_5455$class_5457;Ljava/util/function/Function;Lcom/mojang/datafixers/util/Function4;ZLnet/minecraft/class_32$class_5143;)Lnet/minecraft/class_310$class_5367; ARG 1 registryManager ARG 2 dataPackSettingsGetter ARG 3 savePropertiesGetter ARG 4 safeMode ARG 5 storageSession METHOD method_29605 (Ljava/lang/Runnable;Ljava/lang/String;Z)V ARG 3 confirmed METHOD method_29606 startIntegratedServer (Ljava/lang/String;)V ARG 1 worldName METHOD method_29607 createWorld (Ljava/lang/String;Lnet/minecraft/class_1940;Lnet/minecraft/class_5455$class_5457;Lnet/minecraft/class_5285;)V ARG 1 worldName ARG 2 levelInfo ARG 3 registryTracker ARG 4 generatorOptions METHOD method_29610 startIntegratedServer (Ljava/lang/String;Lnet/minecraft/class_5455$class_5457;Ljava/util/function/Function;Lcom/mojang/datafixers/util/Function4;ZLnet/minecraft/class_310$class_5366;)V ARG 1 worldName ARG 2 registryTracker ARG 3 dataPackSettingsGetter ARG 4 savePropertiesGetter ARG 5 safeMode ARG 6 worldLoadAction METHOD method_29611 isFabulousGraphicsOrBetter ()Z METHOD method_29970 setScreenAndRender (Lnet/minecraft/class_437;)V ARG 1 screen METHOD method_30049 getVideoWarningManager ()Lnet/minecraft/class_5407; METHOD method_31125 (Lnet/minecraft/class_5455$class_5457;Lnet/minecraft/class_5285;Lnet/minecraft/class_1940;Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_5455$class_5457;Lnet/minecraft/class_3300;Lnet/minecraft/class_5359;)Lnet/minecraft/class_5219; ARG 3 session ARG 4 registryManager ARG 5 resourceManager ARG 6 dataPackSettings METHOD method_31126 (Lnet/minecraft/class_5382;Lcom/google/gson/JsonElement;)Lcom/mojang/serialization/DataResult; ARG 1 json METHOD method_31186 onResourceReloadFailure (Ljava/lang/Throwable;Lnet/minecraft/class_2561;)V ARG 1 exception ARG 2 resourceName METHOD method_31320 getSocialInteractionsManager ()Lnet/minecraft/class_5520; METHOD method_31321 isConnectedToServer ()Z METHOD method_31382 createUserApiService (Lcom/mojang/authlib/yggdrasil/YggdrasilAuthenticationService;Lnet/minecraft/class_542;)Lcom/mojang/authlib/minecraft/UserApiService; ARG 1 authService ARG 2 runArgs METHOD method_31974 getEntityModelLoader ()Lnet/minecraft/class_5599; METHOD method_31975 getBlockEntityRenderDispatcher ()Lnet/minecraft/class_824; METHOD method_33883 shouldFilterText ()Z METHOD method_33884 getChatRestriction ()Lnet/minecraft/class_310$class_5859; METHOD method_34745 toggleDebugProfiler (Ljava/util/function/Consumer;)Z ARG 1 chatMessageSender METHOD method_34746 (Ljava/util/function/Consumer;Lnet/minecraft/class_3696;)V ARG 2 result METHOD method_35698 takePanorama (Ljava/io/File;II)Lnet/minecraft/class_2561; COMMENT Takes a panorama. The panorama is stored in the given {@code directory}, in COMMENT where 6 screenshots of size {@code width} and {@code height} will be taken. COMMENT COMMENT @return a user-oriented piece of text for screenshot result ARG 1 directory ARG 2 width ARG 3 height METHOD method_35699 takeHugeScreenshot (Ljava/io/File;IIII)Lnet/minecraft/class_2561; COMMENT Takes a huge screenshot in the tga file format. COMMENT COMMENT
The {@code unitWidth} and {@code unitHeight} controls the size of the
COMMENT partial image rendered; it does not affect the screenshot outcome, but may
COMMENT affect the screenshot performance.
COMMENT
COMMENT @return a user-oriented piece of text for screenshot result
ARG 1 gameDirectory
ARG 2 unitWidth
ARG 3 unitHeight
ARG 4 width
ARG 5 height
METHOD method_35703 getWorldGenerationProgressTracker ()Lnet/minecraft/class_3953;
METHOD method_35705 addGlInfo (Lnet/minecraft/class_1276;)V
ARG 0 snooper
METHOD method_35706 isRealmsEnabled ()Z
METHOD method_36561 reloadResources (Z)Ljava/util/concurrent/CompletableFuture;
ARG 1 force
METHOD method_37274 addSystemDetailsToCrashReport (Lnet/minecraft/class_6396;Lnet/minecraft/class_310;Lnet/minecraft/class_1076;Ljava/lang/String;Lnet/minecraft/class_315;)Lnet/minecraft/class_6396;
ARG 0 systemDetails
ARG 1 client
ARG 2 languageManager
ARG 3 version
ARG 4 options
METHOD method_37275 saveProfilingResult (Lnet/minecraft/class_6396;Ljava/util/List;)Ljava/nio/file/Path;
ARG 1 details
ARG 2 files
METHOD method_37276 (Lnet/minecraft/class_6396;Ljava/util/function/Consumer;Ljava/util/List;)V
ARG 3 files
METHOD method_37277 (Lnet/minecraft/class_3696;)V
ARG 0 result
METHOD method_37281 (Ljava/nio/file/Path;Lnet/minecraft/class_2583;)Lnet/minecraft/class_2583;
ARG 1 style
METHOD method_37283 (Ljava/util/function/Consumer;Ljava/nio/file/Path;)V
ARG 1 path
METHOD method_37286 stopRecorder ()V
METHOD method_37290 (Ljava/util/function/Consumer;Lnet/minecraft/class_3696;)V
ARG 2 result
METHOD method_37291 (Ljava/util/function/Consumer;Ljava/nio/file/Path;)V
ARG 2 path
METHOD method_38736 createTelemetrySender ()Lnet/minecraft/class_6628;
METHOD method_38932 loadBlockList ()V
CLASS class_5366 WorldLoadAction
CLASS class_5367 IntegratedResourceManager
FIELD field_25439 resourcePackManager Lnet/minecraft/class_3283;
FIELD field_25440 serverResourceManager Lnet/minecraft/class_5350;
FIELD field_25441 saveProperties Lnet/minecraft/class_5219;
METHOD