Uses of Class
net.minecraft.client.MinecraftClient
Package
Description
-
Uses of MinecraftClient in net.minecraft.client
Modifier and TypeFieldDescriptionprivate final MinecraftClient
Keyboard.client
private final MinecraftClient
Mouse.client
(package private) static MinecraftClient
MinecraftClient.instance
Modifier and TypeMethodDescriptionstatic void
MinecraftClient.addSystemDetailsToCrashReport
(@Nullable MinecraftClient client, @Nullable LanguageManager languageManager, String version, @Nullable GameOptions options, CrashReport report) private static SystemDetails
MinecraftClient.addSystemDetailsToCrashReport
(SystemDetails systemDetails, @Nullable MinecraftClient client, @Nullable LanguageManager languageManager, String version, @Nullable GameOptions options) static void
MinecraftClient.printCrashReport
(@Nullable MinecraftClient client, File runDirectory, CrashReport crashReport) void
QuickPlayLogger.save
(MinecraftClient client) private static void
QuickPlay.startMultiplayer
(MinecraftClient client, String serverAddress) static void
QuickPlay.startQuickPlay
(MinecraftClient client, RunArgs.QuickPlay quickPlay, RealmsClient realmsClient) private static void
QuickPlay.startRealms
(MinecraftClient client, RealmsClient realmsClient, String realmId) private static void
QuickPlay.startSingleplayer
(MinecraftClient client, String levelName) -
Uses of MinecraftClient in net.minecraft.client.gui
Modifier and TypeFieldDescriptionprivate final MinecraftClient
DrawContext.client
private final MinecraftClient
RotatingCubeMapRenderer.client
Modifier and TypeMethodDescriptionvoid
CubeMapRenderer.draw
(MinecraftClient client, float x, float y, float alpha) ModifierConstructorDescriptionDrawContext
(MinecraftClient client, VertexConsumerProvider.Immediate vertexConsumers) private
DrawContext
(MinecraftClient client, MatrixStack matrices, VertexConsumerProvider.Immediate vertexConsumers) -
Uses of MinecraftClient in net.minecraft.client.gui.hud
Modifier and TypeFieldDescriptionprivate final MinecraftClient
BossBarHud.client
private final MinecraftClient
ChatHud.client
private final MinecraftClient
DebugHud.client
private final MinecraftClient
InGameHud.client
private final MinecraftClient
PlayerListHud.client
private final MinecraftClient
SpectatorHud.client
private final MinecraftClient
SubtitlesHud.client
Modifier and TypeMethodDescriptionprivate static void
InGameOverlayRenderer.renderFireOverlay
(MinecraftClient client, MatrixStack matrices) static void
InGameOverlayRenderer.renderOverlays
(MinecraftClient client, MatrixStack matrices) private static void
InGameOverlayRenderer.renderUnderwaterOverlay
(MinecraftClient client, MatrixStack matrices) ModifierConstructorDescriptionBossBarHud
(MinecraftClient client) ChatHud
(MinecraftClient client) DebugHud
(MinecraftClient client) InGameHud
(MinecraftClient client) PlayerListHud
(MinecraftClient client, InGameHud inGameHud) SpectatorHud
(MinecraftClient client) SubtitlesHud
(MinecraftClient client) -
Uses of MinecraftClient in net.minecraft.client.gui.hud.spectator
Modifier and TypeMethodDescriptionstatic Optional
<SpectatorMenuCommand> TeamTeleportSpectatorMenu.TeleportToSpecificTeamCommand.create
(MinecraftClient client, Team team) private static List
<SpectatorMenuCommand> TeamTeleportSpectatorMenu.getCommands
(MinecraftClient client, Scoreboard scoreboard) -
Uses of MinecraftClient in net.minecraft.client.gui.screen
Modifier and TypeFieldDescription(package private) final MinecraftClient
ChatInputSuggestor.client
protected @Nullable MinecraftClient
Screen.client
private final MinecraftClient
SplashOverlay.client
Modifier and TypeMethodDescriptionprivate static void
GameModeSelectionScreen.apply
(MinecraftClient client, GameModeSelectionScreen.GameModeSelection gameModeSelection) Screen.getTooltipFromItem
(MinecraftClient client, ItemStack stack) final void
Screen.init
(MinecraftClient client, int width, int height) static void
SplashOverlay.init
(MinecraftClient client) void
ChatScreen.resize
(MinecraftClient client, int width, int height) void
Screen.resize
(MinecraftClient client, int width, int height) ModifierConstructorDescriptionChatInputSuggestor
(MinecraftClient client, Screen owner, TextFieldWidget textField, TextRenderer textRenderer, boolean slashOptional, boolean suggestingWhenEmpty, int inWindowIndexOffset, int maxSuggestionSize, boolean chatScreenSized, int color) EntityStatsListWidget
(MinecraftClient client) ItemStatsListWidget
(MinecraftClient client) LinksListWidget
(MinecraftClient client, int width, ServerLinksScreen screen) SplashOverlay
(MinecraftClient client, ResourceReload monitor, Consumer<Optional<Throwable>> exceptionHandler, boolean reloading) -
Uses of MinecraftClient in net.minecraft.client.gui.screen.advancement
Modifier and TypeFieldDescriptionprivate final MinecraftClient
AdvancementTab.client
private final MinecraftClient
AdvancementWidget.client
Modifier and TypeMethodDescriptionstatic @Nullable AdvancementTab
AdvancementTab.create
(MinecraftClient client, AdvancementsScreen screen, int index, PlacedAdvancement root) ModifierConstructorDescriptionAdvancementTab
(MinecraftClient client, AdvancementsScreen screen, AdvancementTabType type, int index, PlacedAdvancement root, AdvancementDisplay display) AdvancementWidget
(AdvancementTab tab, MinecraftClient client, PlacedAdvancement advancement, AdvancementDisplay display) -
Uses of MinecraftClient in net.minecraft.client.gui.screen.ingame
Modifier and TypeFieldDescriptionprivate final MinecraftClient
CreativeInventoryListener.client
private final MinecraftClient
StatusEffectsDisplay.client
Modifier and TypeMethodDescriptionstatic void
CreativeInventoryScreen.onHotbarKeyPress
(MinecraftClient client, int index, boolean restore, boolean save) static <T extends ScreenHandler>
voidHandledScreens.open
(ScreenHandlerType<T> type, MinecraftClient client, int id, Text title) default void
HandledScreens.Provider.open
(Text name, ScreenHandlerType<T> type, MinecraftClient client, int id) void
AbstractCommandBlockScreen.resize
(MinecraftClient client, int width, int height) void
AnvilScreen.resize
(MinecraftClient client, int width, int height) void
CommandBlockScreen.resize
(MinecraftClient client, int width, int height) void
CreativeInventoryScreen.resize
(MinecraftClient client, int width, int height) void
JigsawBlockScreen.resize
(MinecraftClient client, int width, int height) void
StructureBlockScreen.resize
(MinecraftClient client, int width, int height) -
Uses of MinecraftClient in net.minecraft.client.gui.screen.multiplayer
Modifier and TypeFieldDescriptionprotected final MinecraftClient
MultiplayerServerListWidget.LanServerEntry.client
private final MinecraftClient
MultiplayerServerListWidget.ScanningEntry.client
private final MinecraftClient
MultiplayerServerListWidget.ServerEntry.client
private final MinecraftClient
SocialInteractionsPlayerListEntry.client
Modifier and TypeMethodDescriptionstatic void
ConnectScreen.connect
(Screen screen, MinecraftClient client, ServerAddress address, ServerInfo info, boolean quickPlay, @Nullable CookieStorage cookieStorage) private void
ConnectScreen.connect
(MinecraftClient client, ServerAddress address, ServerInfo info, @Nullable CookieStorage cookieStorage) void
AddServerScreen.resize
(MinecraftClient client, int width, int height) void
DirectConnectScreen.resize
(MinecraftClient client, int width, int height) private void
SocialInteractionsScreen.updateServerLabel
(MinecraftClient client) ModifierConstructorDescriptionMultiplayerServerListWidget
(MultiplayerScreen screen, MinecraftClient client, int width, int height, int top, int bottom) SocialInteractionsPlayerListEntry
(MinecraftClient client, SocialInteractionsScreen parent, UUID uuid, String name, Supplier<SkinTextures> skinTexture, boolean reportable) SocialInteractionsPlayerListWidget
(SocialInteractionsScreen parent, MinecraftClient client, int width, int height, int y, int itemHeight) -
Uses of MinecraftClient in net.minecraft.client.gui.screen.option
Modifier and TypeMethodDescriptionprivate SimpleOption<?>[]
OnlineOptionsScreen.collectOptions
(GameOptions gameOptions, MinecraftClient client) static CyclingButtonWidget
<Difficulty> OptionsScreen.createDifficultyButtonWidget
(int x, int y, String translationKey, MinecraftClient client) ModifierConstructorDescriptionControlsListWidget
(KeybindsScreen parent, MinecraftClient client) VideoOptionsScreen
(Screen parent, MinecraftClient client, GameOptions gameOptions) -
Uses of MinecraftClient in net.minecraft.client.gui.screen.pack
Modifier and TypeFieldDescriptionprotected final MinecraftClient
PackListWidget.ResourcePackEntry.client
Modifier and TypeMethodDescriptionprotected static void
PackScreen.copyPacks
(MinecraftClient client, List<Path> srcPaths, Path destPath) private static MultilineText
PackListWidget.ResourcePackEntry.createMultilineText
(MinecraftClient client, Text text) private static OrderedText
PackListWidget.ResourcePackEntry.trimTextToWidth
(MinecraftClient client, Text text) ModifierConstructorDescriptionPackListWidget
(MinecraftClient client, Collection<ResourcePackProfile> enabledProfiles) PackListWidget
(MinecraftClient client, PackScreen screen, int width, int height, Text title) ResourcePackEntry
(MinecraftClient client, PackListWidget widget, ResourcePackOrganizer.Pack pack) -
Uses of MinecraftClient in net.minecraft.client.gui.screen.recipebook
Modifier and TypeFieldDescriptionprivate MinecraftClient
RecipeBookResults.client
protected MinecraftClient
RecipeBookWidget.client
Modifier and TypeMethodDescriptionvoid
GhostRecipe.draw
(DrawContext context, MinecraftClient client, boolean resultHasPadding) void
GhostRecipe.drawTooltip
(DrawContext context, MinecraftClient client, int x, int y, @Nullable Slot slot) void
RecipeBookResults.initialize
(MinecraftClient client, int parentLeft, int parentTop) void
RecipeBookWidget.initialize
(int parentWidth, int parentHeight, MinecraftClient client, boolean narrow) -
Uses of MinecraftClient in net.minecraft.client.gui.screen.report
ModifierConstructorDescriptionReasonListWidget
(MinecraftClient client) SelectionListWidget
(MinecraftClient client, int contextMessagesHeight) -
Uses of MinecraftClient in net.minecraft.client.gui.screen.world
Modifier and TypeFieldDescriptionprivate final MinecraftClient
WorldListWidget.LoadingEntry.client
private final MinecraftClient
WorldListWidget.WorldEntry.client
Modifier and TypeMethodDescriptionCreateWorldScreen.copyDataPack
(Path srcFolder, MinecraftClient client) static CreateWorldScreen
CreateWorldScreen.create
(MinecraftClient client, @Nullable Screen parent, LevelInfo levelInfo, GeneratorOptionsHolder generatorOptionsHolder, @Nullable Path dataPackTempDir) static EditWorldScreen
EditWorldScreen.create
(MinecraftClient client, LevelStorage.Session session, BooleanConsumer callback) static @Nullable OptimizeWorldScreen
OptimizeWorldScreen.create
(MinecraftClient client, BooleanConsumer callback, com.mojang.datafixers.DataFixer dataFixer, LevelStorage.Session storageSession, boolean eraseCache) private static Optional
<LevelStorage.Session> CreateWorldScreen.createSession
(MinecraftClient client, String worldDirectoryName, @Nullable Path dataPackTempDir) void
PresetsScreen.resize
(MinecraftClient client, int width, int height) static void
CreateWorldScreen.show
(MinecraftClient client, @Nullable Screen parent) private static void
CreateWorldScreen.show
(MinecraftClient client, @Nullable Screen parent, Function<SaveLoading.LoadContextSupplierContext, WorldGenSettings> settingsSupplier, GeneratorOptionsFactory generatorOptionsFactory, RegistryKey<WorldPreset> presetKey, CreateWorldCallback callback) static void
CreateWorldScreen.show
(MinecraftClient client, @Nullable Screen parent, CreateWorldCallback callback) private static void
CreateWorldScreen.showMessage
(MinecraftClient client, Text text) static void
CreateWorldScreen.showTestWorld
(MinecraftClient client, @Nullable Screen parent) private void
RecoverWorldScreen.tryRestore
(MinecraftClient client) ModifierConstructorDescriptionprivate
CreateWorldScreen
(MinecraftClient client, @Nullable Screen parent, GeneratorOptionsHolder generatorOptionsHolder, Optional<RegistryKey<WorldPreset>> defaultWorldType, OptionalLong seed, CreateWorldCallback callback) private
EditWorldScreen
(MinecraftClient client, LevelStorage.Session session, String levelName, BooleanConsumer callback) LoadingEntry
(MinecraftClient client) RecoverWorldScreen
(MinecraftClient client, BooleanConsumer callback, LevelStorage.Session session) WorldListWidget
(SelectWorldScreen parent, MinecraftClient client, int width, int height, int y, int itemHeight, String search, @Nullable WorldListWidget oldWidget) -
Uses of MinecraftClient in net.minecraft.client.gui.tooltip
Modifier and TypeFieldDescriptionprivate final MinecraftClient
BundleTooltipSubmenuHandler.client
Modifier and TypeMethodDescriptionTooltip.getLines
(MinecraftClient client) static List
<OrderedText> Tooltip.wrapLines
(MinecraftClient client, Text text) -
Uses of MinecraftClient in net.minecraft.client.gui.widget
ModifierConstructorDescriptionAlwaysSelectedEntryListWidget
(MinecraftClient client, int width, int height, int y, int itemHeight) ElementListWidget
(MinecraftClient client, int width, int height, int y, int itemHeight) EntryListWidget
(MinecraftClient client, int width, int height, int y, int itemHeight) OptionListWidget
(MinecraftClient client, int width, GameOptionsScreen optionsScreen) -
Uses of MinecraftClient in net.minecraft.client.network
Modifier and TypeFieldDescriptionprivate final MinecraftClient
ClientAdvancementManager.client
private final MinecraftClient
ClientCommandSource.client
protected final MinecraftClient
ClientCommonNetworkHandler.client
private final MinecraftClient
ClientLoginNetworkHandler.client
protected final MinecraftClient
ClientPlayerEntity.client
private final MinecraftClient
ClientPlayerInteractionManager.client
private final MinecraftClient
SocialInteractionsManager.client
Modifier and TypeMethodDescriptionClientCommonNetworkHandler.ConfirmServerResourcePackScreen.add
(MinecraftClient client, UUID id, URL url, String hash, boolean required, @Nullable Text prompt) ModifierConstructorDescriptionClientAdvancementManager
(MinecraftClient client, WorldSession worldSession) ClientCommandSource
(ClientPlayNetworkHandler networkHandler, MinecraftClient client) protected
ClientCommonNetworkHandler
(MinecraftClient client, ClientConnection connection, ClientConnectionState connectionState) ClientConfigurationNetworkHandler
(MinecraftClient client, ClientConnection connection, ClientConnectionState connectionState) ClientLoginNetworkHandler
(ClientConnection connection, MinecraftClient client, @Nullable ServerInfo serverInfo, @Nullable Screen parentScreen, boolean newWorld, @Nullable Duration worldLoadTime, Consumer<Text> statusConsumer, @Nullable CookieStorage cookieStorage) ClientPlayerEntity
(MinecraftClient client, ClientWorld world, ClientPlayNetworkHandler networkHandler, StatHandler stats, ClientRecipeBook recipeBook, boolean lastSneaking, boolean lastSprinting) ClientPlayerInteractionManager
(MinecraftClient client, ClientPlayNetworkHandler networkHandler) ClientPlayNetworkHandler
(MinecraftClient client, ClientConnection clientConnection, ClientConnectionState clientConnectionState) (package private)
ConfirmServerResourcePackScreen
(MinecraftClient client, @Nullable Screen parent, List<ClientCommonNetworkHandler.ConfirmServerResourcePackScreen.Pack> pack, boolean required, @Nullable Text prompt) SocialInteractionsManager
(MinecraftClient client, com.mojang.authlib.minecraft.UserApiService userApiService) -
Uses of MinecraftClient in net.minecraft.client.network.message
-
Uses of MinecraftClient in net.minecraft.client.option
Modifier and TypeFieldDescriptionprotected MinecraftClient
GameOptions.client
private final MinecraftClient
InactivityFpsLimiter.client
private final MinecraftClient
ServerList.client
ModifierConstructorDescriptionGameOptions
(MinecraftClient client, File optionsFile) InactivityFpsLimiter
(GameOptions options, MinecraftClient client) ServerList
(MinecraftClient client) -
Uses of MinecraftClient in net.minecraft.client.realms
Modifier and TypeMethodDescriptionstatic RealmsClient
RealmsClient.createRealmsClient
(MinecraftClient client) ModifierConstructorDescriptionRealmsClient
(String sessionId, String username, MinecraftClient client) -
Uses of MinecraftClient in net.minecraft.client.realms.gui.screen
Modifier and TypeMethodDescriptionstatic void
RealmsWorldCreating.showCreateWorldScreen
(MinecraftClient client, Screen parent, Screen realmsScreen, int slotId, RealmsServer server, @Nullable WorldCreationTask creationTask) -
Uses of MinecraftClient in net.minecraft.client.realms.task
ModifierConstructorDescriptionOpenServerTask
(RealmsServer realmsServer, Screen returnScreen, boolean join, MinecraftClient client) -
Uses of MinecraftClient in net.minecraft.client.realms.util
-
Uses of MinecraftClient in net.minecraft.client.render
Modifier and TypeFieldDescriptionprivate final MinecraftClient
GameRenderer.client
private final MinecraftClient
LightmapTextureManager.client
private final MinecraftClient
WorldRenderer.client
ModifierConstructorDescriptionGameRenderer
(MinecraftClient client, HeldItemRenderer heldItemRenderer, ResourceManager resourceManager, BufferBuilderStorage buffers) LightmapTextureManager
(GameRenderer renderer, MinecraftClient client) WorldRenderer
(MinecraftClient client, EntityRenderDispatcher entityRenderDispatcher, BlockEntityRenderDispatcher blockEntityRenderDispatcher, BufferBuilderStorage bufferBuilders) -
Uses of MinecraftClient in net.minecraft.client.render.debug
Modifier and TypeFieldDescriptionprivate final MinecraftClient
BeeDebugRenderer.client
private final MinecraftClient
BlockOutlineDebugRenderer.client
private final MinecraftClient
BreezeDebugRenderer.client
private final MinecraftClient
ChunkBorderDebugRenderer.client
private final MinecraftClient
ChunkDebugRenderer.client
(package private) final MinecraftClient
ChunkLoadingDebugRenderer.client
private final MinecraftClient
CollisionDebugRenderer.client
private final MinecraftClient
GameEventDebugRenderer.client
private final MinecraftClient
GoalSelectorDebugRenderer.client
private final MinecraftClient
HeightmapDebugRenderer.client
private final MinecraftClient
LightDebugRenderer.client
private final MinecraftClient
NeighborUpdateDebugRenderer.client
private final MinecraftClient
OctreeDebugRenderer.client
private final MinecraftClient
RaidCenterDebugRenderer.client
private final MinecraftClient
RedstoneUpdateOrderDebugRenderer.client
private final MinecraftClient
SkyLightDebugRenderer.client
private final MinecraftClient
StructureDebugRenderer.client
private final MinecraftClient
SupportingBlockDebugRenderer.client
private final MinecraftClient
VillageDebugRenderer.client
private final MinecraftClient
WaterDebugRenderer.client
ModifierConstructorDescriptionBeeDebugRenderer
(MinecraftClient client) BreezeDebugRenderer
(MinecraftClient client) ChunkDebugRenderer
(MinecraftClient client) DebugRenderer
(MinecraftClient client) LightDebugRenderer
(MinecraftClient client, LightType lightType) (package private)
OctreeDebugRenderer
(MinecraftClient client) (package private)
SkyLightDebugRenderer
(MinecraftClient client) VillageDebugRenderer
(MinecraftClient client) WaterDebugRenderer
(MinecraftClient client) -
Uses of MinecraftClient in net.minecraft.client.render.entity
ModifierConstructorDescriptionEntityRenderDispatcher
(MinecraftClient client, TextureManager textureManager, ItemRenderer itemRenderer, MapRenderer mapRenderer, BlockRenderManager blockRenderManager, TextRenderer textRenderer, GameOptions gameOptions, EntityModelLoader modelLoader, EquipmentModelLoader equipmentModelLoader) -
Uses of MinecraftClient in net.minecraft.client.render.item
ModifierConstructorDescriptionHeldItemRenderer
(MinecraftClient client, EntityRenderDispatcher entityRenderDispatcher, ItemRenderer itemRenderer) -
Uses of MinecraftClient in net.minecraft.client.resource
Modifier and TypeFieldDescriptionprivate final MinecraftClient
PeriodicNotificationManager.NotifyTask.client
-
Uses of MinecraftClient in net.minecraft.client.resource.server
Modifier and TypeFieldDescription(package private) final MinecraftClient
ServerResourcePackLoader.client
ModifierConstructorDescriptionServerResourcePackLoader
(MinecraftClient client, Path downloadsDirectory, RunArgs.Network runArgs) -
Uses of MinecraftClient in net.minecraft.client.session.report
Modifier and TypeMethodDescriptionvoid
AbuseReportContext.tryShowDraftScreen
(MinecraftClient client, Screen parent, Runnable callback, boolean quit) -
Uses of MinecraftClient in net.minecraft.client.session.telemetry
ModifierConstructorDescriptionTelemetryManager
(MinecraftClient client, com.mojang.authlib.minecraft.UserApiService userApiService, Session session) -
Uses of MinecraftClient in net.minecraft.client.sound
-
Uses of MinecraftClient in net.minecraft.client.toast
Modifier and TypeMethodDescriptionstatic void
SystemToast.addChunkLoadFailure
(MinecraftClient client, ChunkPos pos) static void
SystemToast.addChunkSaveFailure
(MinecraftClient client, ChunkPos pos) static void
SystemToast.addFileDropFailure
(MinecraftClient client, int count) static void
SystemToast.addLowDiskSpace
(MinecraftClient client) static void
SystemToast.addPackCopyFailure
(MinecraftClient client, String directory) static void
SystemToast.addWorldAccessFailureToast
(MinecraftClient client, String worldName) static void
SystemToast.addWorldDeleteFailureToast
(MinecraftClient client, String worldName) static SystemToast
SystemToast.create
(MinecraftClient client, SystemToast.Type type, Text title, Text description) -
Uses of MinecraftClient in net.minecraft.client.tutorial
-
Uses of MinecraftClient in net.minecraft.client.util
Modifier and TypeFieldDescriptionprivate final MinecraftClient
NarratorManager.client
private final MinecraftClient
WindowProvider.client
Modifier and TypeMethodDescriptionstatic String
SelectionManager.getClipboard
(MinecraftClient client) SelectionManager.makeClipboardGetter
(MinecraftClient client) SelectionManager.makeClipboardSetter
(MinecraftClient client) static void
SelectionManager.setClipboard
(MinecraftClient client, String clipboard) ModifierConstructorDescriptionNarratorManager
(MinecraftClient client) WindowProvider
(MinecraftClient client) -
Uses of MinecraftClient in net.minecraft.client.world
Modifier and TypeFieldDescriptionprivate final MinecraftClient
ClientWorld.client
private final MinecraftClient
WorldEventHandler.client
ModifierConstructorDescriptionWorldEventHandler
(MinecraftClient client, World world, WorldRenderer worldRenderer) -
Uses of MinecraftClient in net.minecraft.server.integrated
Modifier and TypeFieldDescriptionprivate final MinecraftClient
IntegratedServer.client
private final MinecraftClient
IntegratedServerLoader.client
Modifier and TypeMethodDescriptionstatic void
IntegratedServerLoader.tryLoad
(MinecraftClient client, CreateWorldScreen parent, com.mojang.serialization.Lifecycle lifecycle, Runnable loader, boolean bypassWarnings) ModifierConstructorDescriptionIntegratedServer
(Thread serverThread, MinecraftClient client, LevelStorage.Session session, ResourcePackManager dataPackManager, SaveLoader saveLoader, ApiServices apiServices, WorldGenerationProgressListenerFactory worldGenerationProgressListenerFactory) IntegratedServerLoader
(MinecraftClient client, LevelStorage storage)