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_1510 (Lnet/minecraft/class_2561;)V ARG 0 status 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 getServerResourcePackProvider ()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_1525 (Lnet/minecraft/class_1799;)Ljava/util/stream/Stream; ARG 0 stack 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 ()Z METHOD method_1538 getMusicTracker ()Lnet/minecraft/class_1142; 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 initializeSearchProviders ()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_1554 getBakedModelManager ()Lnet/minecraft/class_1092; METHOD method_1555 hasReducedDebugInfo ()Z METHOD method_1556 (Lnet/minecraft/class_516;Lnet/minecraft/class_1860;)Lnet/minecraft/class_2960; ARG 1 recipe 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_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_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_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_1590 handleBlockBreaking (Z)V ARG 1 breaking METHOD method_1591 (Lnet/minecraft/class_516;Lnet/minecraft/class_1860;)Ljava/util/stream/Stream; ARG 1 recipe METHOD method_1592 scheduleStop ()V METHOD method_16009 getFramerateLimit ()I METHOD method_16011 getProfiler ()Lnet/minecraft/class_3695; 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_18507 (Ljava/util/concurrent/CompletableFuture;)Ljava/util/concurrent/CompletionStage; ARG 0 future 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_24040 (Ljava/util/Optional;)V ARG 1 throwable METHOD method_24041 setMipmapLevels (I)V ARG 1 mipmapLevels METHOD method_24226 handleResourceReloadException (Ljava/lang/Throwable;)V ARG 1 throwable METHOD method_24228 (ZLjava/util/concurrent/CompletableFuture;Ljava/util/Optional;)V ARG 3 error METHOD method_24287 getWindowTitle ()Ljava/lang/String; METHOD method_24288 updateWindowTitle ()V METHOD method_24289 getModStatus ()Lnet/minecraft/class_6683; 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_29603 (Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_3283;Lnet/minecraft/class_6904;Lnet/minecraft/class_7497;Ljava/lang/Thread;)Lnet/minecraft/class_1132; ARG 5 thread METHOD method_29610 startIntegratedServer (Ljava/lang/String;Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_3283;Lnet/minecraft/class_6904;Z)V ARG 1 levelName ARG 2 session ARG 3 dataPackManager ARG 4 saveLoader ARG 5 newWorld 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_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_35700 (Ljava/io/File;Lnet/minecraft/class_2583;)Lnet/minecraft/class_2583;
ARG 1 style
METHOD method_35701 (Lnet/minecraft/class_2561;)V
ARG 0 message
METHOD method_35703 getWorldGenerationProgressTracker ()Lnet/minecraft/class_3953;
METHOD method_35704 (Ljava/io/File;Lnet/minecraft/class_2583;)Lnet/minecraft/class_2583;
ARG 1 style
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_38932 loadBlockList ()V
METHOD method_40189 isCountrySetTo (Ljava/lang/Object;)Z
ARG 0 country
METHOD method_41731 (Lnet/minecraft/class_7168;)V
ARG 1 glTimer
METHOD method_41733 forceStopRecorder ()V
METHOD method_41734 getGpuUtilizationPercentage ()D
METHOD method_41735 createIntegratedServerLoader ()Lnet/minecraft/class_7196;
METHOD method_43587 setCrashReportSupplier (Lnet/minecraft/class_128;)V
ARG 1 crashReport
METHOD method_43590 getProfileKeys ()Lnet/minecraft/class_7853;
METHOD method_43758 (Lnet/minecraft/class_516;)Ljava/util/stream/Stream;
ARG 0 resultCollection
METHOD method_43759 reloadSearchProvider (Lnet/minecraft/class_1124$class_1125;Ljava/util/List;)V
ARG 1 key
ARG 2 values
METHOD method_43760 (Ljava/util/List;)Lnet/minecraft/class_1123;
ARG 0 resultCollections
METHOD method_43761 (Lnet/minecraft/class_516;)Ljava/util/stream/Stream;
ARG 0 resultCollection
METHOD method_43762 (Ljava/util/List;)Lnet/minecraft/class_1123;
ARG 0 stacks
METHOD method_43763 (Ljava/lang/String;)Z
ARG 0 text
METHOD method_43764 (Ljava/util/List;)Lnet/minecraft/class_1123;
ARG 0 stacks
METHOD method_43765 (Lnet/minecraft/class_2561;)Ljava/lang/String;
ARG 0 text
METHOD method_44024 getRealms32BitWarningChecker ()Lnet/minecraft/class_7478;
METHOD method_44256 getServicesSignatureVerifier ()Lnet/minecraft/class_7500;
METHOD method_44352 (Z)V
ARG 1 confirmed
METHOD method_44376 ensureAbuseReportContext (Lnet/minecraft/class_7569;)V
COMMENT Recreates and resets {@link #abuseReportContext} if {@code environment} has
COMMENT changed.
ARG 1 environment
METHOD method_44377 getAbuseReportContext ()Lnet/minecraft/class_7574;
METHOD method_44646 getRealmsPeriodicCheckers ()Lnet/minecraft/class_7578;
METHOD method_44647 getMultiplayerBanDetails ()Lcom/mojang/authlib/minecraft/BanDetails;
METHOD method_44649 isMultiplayerBanned ()Z
METHOD method_44713 getNarratorManager ()Lnet/minecraft/class_333;
METHOD method_44714 getMessageHandler ()Lnet/minecraft/class_7594;
METHOD method_45573 getDefaultResourcePack ()Lnet/minecraft/class_3268;
METHOD method_46740 (Ljava/util/List;)V
ARG 1 stacks
METHOD method_47392 isConnectedToLocalServer ()Z
METHOD method_47595 isOptionalTelemetryEnabledByApi ()Z
METHOD method_47596 isTelemetryEnabledByApi ()Z
METHOD method_47599 getCurrentFps ()I
METHOD method_47600 getRenderTime ()J
METHOD method_47601 getTelemetryManager ()Lnet/minecraft/class_6628;
METHOD method_47602 isOptionalTelemetryEnabled ()Z
METHOD method_48185 setNavigationType (Lnet/minecraft/class_8015;)V
ARG 1 navigationType
METHOD method_48186 getNavigationType ()Lnet/minecraft/class_8015;
METHOD method_49292 showResourceReloadFailureToast (Lnet/minecraft/class_2561;)V
ARG 1 description
METHOD method_49293 (ZLjava/lang/Throwable;)V
ARG 2 throwable
METHOD method_49294 onForcedResourceReloadFailure ()V
METHOD method_51251 onInitFinished (Lnet/minecraft/class_4341;Lnet/minecraft/class_4011;Lnet/minecraft/class_542$class_8495;)V
ARG 1 realms
ARG 2 reload
ARG 3 quickPlay
METHOD method_51252 (Lnet/minecraft/class_4341;Lnet/minecraft/class_4011;Lnet/minecraft/class_542;Z)V
ARG 4 confirmed
METHOD method_51253 getQuickPlayLogger ()Lnet/minecraft/class_8497;
METHOD method_51736 collectLoadTimes ()V
METHOD method_52699 getGuiAtlasManager ()Lnet/minecraft/class_8658;
METHOD method_52700 getCommandHistoryManager ()Lnet/minecraft/class_8657;
METHOD method_52701 uuidEquals (Ljava/util/UUID;)Z
ARG 1 uuid
METHOD method_52702 getSymlinkFinder ()Lnet/minecraft/class_8580;
METHOD method_52703 enterReconfiguration (Lnet/minecraft/class_437;)V
ARG 1 screen
METHOD method_53462 getGameProfile ()Lcom/mojang/authlib/GameProfile;
METHOD method_53463 getFrameNanosLog ()Lnet/minecraft/class_8743;
METHOD method_53465 onFinishedLoading ()V
METHOD method_53466 isFinishedLoading ()Z
CLASS class_5859 ChatRestriction
COMMENT Represents the restrictions on chat on a Minecraft client.
COMMENT
COMMENT @see MinecraftClient#getChatRestriction()
FIELD field_28944 description Lnet/minecraft/class_2561;
FIELD field_39456 MORE_INFO_TEXT Lnet/minecraft/class_2561;
METHOD