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} and the client is not in game, the title screen will be opened. COMMENT If the currently opened screen is {@code null} and player is dead then the death screen will be opened. COMMENT Otherwise the currently open screen will be closed. ARG 1 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 getResourcePackDownloader ()Lnet/minecraft/class_1066; METHOD method_1517 isFancyGraphicsOrBetter ()Z 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_1526 getLanguageManager ()Lnet/minecraft/class_1076; METHOD method_1530 isDemo ()Z METHOD method_1531 getTextureManager ()Lnet/minecraft/class_1060; METHOD method_1534 getLastFrameDuration ()F 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_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_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_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_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_1076;Ljava/lang/String;Lnet/minecraft/class_315;Lnet/minecraft/class_128;)V ARG 0 languageManager ARG 1 version ARG 2 options ARG 3 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 4 metadata ARG 5 insertionPosition ARG 6 source 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_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;)V 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_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 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_29606 startIntegratedServer (Ljava/lang/String;)V
ARG 1 worldName
METHOD method_29607 (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 (Lnet/minecraft/class_437;)V
ARG 1 screen
METHOD method_30049 getVideoWarningManager ()Lnet/minecraft/class_5407;
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 createSocialInteractionsService (Lcom/mojang/authlib/yggdrasil/YggdrasilAuthenticationService;Lnet/minecraft/class_542;)Lcom/mojang/authlib/minecraft/SocialInteractionsService;
ARG 2 runArgs
METHOD method_31974 getEntityModelLoader ()Lnet/minecraft/class_5599;
METHOD method_31975 getBlockEntityRenderDispatcher ()Lnet/minecraft/class_824;
METHOD method_33884 getChatRestriction ()Lnet/minecraft/class_310$class_5859;
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