Uses of Class
net.minecraft.client.gui.DrawContext
Package
Description
The base package for all Minecraft classes.
-
Uses of DrawContext in net.minecraft
Modifier and TypeMethodDescriptionvoid
class_8586.render
(DrawContext context, int mouseX, int mouseY, float delta) -
Uses of DrawContext in net.minecraft.client
Modifier and TypeMethodDescriptionprivate void
MinecraftClient.drawProfilerResults
(DrawContext context, ProfileResult profileResult) -
Uses of DrawContext in net.minecraft.client.font
Modifier and TypeMethodDescriptionint
MultilineText.draw
(DrawContext context, int x, int y, int lineHeight, int color) int
MultilineText.drawCenterWithShadow
(DrawContext context, int x, int y) int
MultilineText.drawCenterWithShadow
(DrawContext context, int x, int y, int lineHeight, int color) int
MultilineText.drawWithShadow
(DrawContext context, int x, int y, int lineHeight, int color) void
MultilineText.fillBackground
(DrawContext context, int centerX, int centerY, int lineHeight, int padding, int color) -
Uses of DrawContext in net.minecraft.client.gui
Modifier and TypeMethodDescriptionvoid
LogoDrawer.draw
(DrawContext context, int screenWidth, float alpha) void
LogoDrawer.draw
(DrawContext context, int screenWidth, float alpha, int y) static void
PlayerSkinDrawer.draw
(DrawContext context, Identifier texture, int x, int y, int size) Draws the player's head (including the hat) on GUI.static void
PlayerSkinDrawer.draw
(DrawContext context, Identifier texture, int x, int y, int size, boolean hatVisible, boolean upsideDown) Draws the player's head on GUI.private static void
PlayerSkinDrawer.drawHat
(DrawContext context, Identifier texture, int x, int y, int size, boolean upsideDown) void
Drawable.render
(DrawContext context, int mouseX, int mouseY, float delta) -
Uses of DrawContext in net.minecraft.client.gui.hud
Modifier and TypeMethodDescriptionvoid
MessageIndicator.Icon.draw
(DrawContext context, int x, int y) private void
InGameHud.drawHeart
(DrawContext context, InGameHud.HeartType type, int x, int y, int v, boolean blinking, boolean halfHeart) private void
ChatHud.drawIndicatorIcon
(DrawContext context, int x, int y, MessageIndicator.Icon icon) protected void
DebugHud.drawLeftText
(DrawContext context) private void
DebugHud.drawMetricsData
(DrawContext context, MetricsData metricsData, int x, int width, boolean showFps) protected void
DebugHud.drawRightText
(DrawContext context) private void
DebugHud.drawText
(DrawContext context, List<String> text, boolean left) private void
InGameHud.drawTextBackground
(DrawContext context, TextRenderer textRenderer, int yOffset, int width, int color) void
BossBarHud.render
(DrawContext context) void
ChatHud.render
(DrawContext context, int currentTick, int mouseX, int mouseY) void
DebugHud.render
(DrawContext context) void
InGameHud.render
(DrawContext context, float tickDelta) void
PlayerListHud.render
(DrawContext context, int scaledWindowWidth, Scoreboard scoreboard, @Nullable ScoreboardObjective objective) void
SpectatorHud.render
(DrawContext context) void
SubtitlesHud.render
(DrawContext context) private void
InGameHud.renderAutosaveIndicator
(DrawContext context) private void
BossBarHud.renderBossBar
(DrawContext context, int x, int y, BossBar bossBar) private void
BossBarHud.renderBossBar
(DrawContext context, int x, int y, BossBar bossBar, int width, int height) private void
InGameHud.renderCrosshair
(DrawContext context) void
InGameHud.renderDemoTimer
(DrawContext context) void
InGameHud.renderExperienceBar
(DrawContext context, int x) private void
InGameHud.renderHealthBar
(DrawContext context, PlayerEntity player, int x, int y, int lines, int regeneratingHeartIndex, float maxHealth, int lastHealth, int health, int absorption, boolean blinking) private void
PlayerListHud.renderHearts
(int y, int left, int right, UUID uuid, DrawContext context, int score) void
InGameHud.renderHeldItemTooltip
(DrawContext context) private void
InGameHud.renderHotbar
(float tickDelta, DrawContext context) private void
InGameHud.renderHotbarItem
(DrawContext context, int x, int y, float float2, PlayerEntity player, ItemStack stack, int seed) protected void
PlayerListHud.renderLatencyIcon
(DrawContext context, int width, int x, int y, PlayerListEntry entry) private void
InGameHud.renderMountHealth
(DrawContext context) void
InGameHud.renderMountJumpBar
(JumpingMount mount, DrawContext context, int x) private void
InGameHud.renderOverlay
(DrawContext context, Identifier texture, float opacity) private void
InGameHud.renderPortalOverlay
(DrawContext context, float nauseaStrength) private void
PlayerListHud.renderScoreboardObjective
(ScoreboardObjective objective, int y, String player, int left, int right, UUID uuid, DrawContext context) private void
InGameHud.renderScoreboardSidebar
(DrawContext context, ScoreboardObjective objective) private void
SpectatorHud.renderSpectatorCommand
(DrawContext context, int slot, int x, float y, float height, SpectatorMenuCommand command) void
SpectatorHud.renderSpectatorMenu
(DrawContext context) protected void
SpectatorHud.renderSpectatorMenu
(DrawContext context, float height, int x, int y, SpectatorMenuState state) private void
InGameHud.renderSpyglassOverlay
(DrawContext context, float scale) private void
InGameHud.renderStatusBars
(DrawContext context) Renders the armor, health, air, and hunger bars.protected void
InGameHud.renderStatusEffectOverlay
(DrawContext context) private void
InGameHud.renderVignetteOverlay
(DrawContext context, Entity entity) -
Uses of DrawContext in net.minecraft.client.gui.hud.spectator
Modifier and TypeMethodDescriptionvoid
SpectatorMenu.ChangePageSpectatorMenuCommand.renderIcon
(DrawContext context, float brightness, int alpha) void
SpectatorMenu.CloseSpectatorMenuCommand.renderIcon
(DrawContext context, float brightness, int alpha) void
SpectatorMenuCommand.renderIcon
(DrawContext context, float brightness, int alpha) void
TeamTeleportSpectatorMenu.renderIcon
(DrawContext context, float brightness, int alpha) void
TeamTeleportSpectatorMenu.TeleportToSpecificTeamCommand.renderIcon
(DrawContext context, float brightness, int alpha) void
TeleportSpectatorMenu.renderIcon
(DrawContext context, float brightness, int alpha) void
TeleportToSpecificPlayerSpectatorCommand.renderIcon
(DrawContext context, float brightness, int alpha) -
Uses of DrawContext in net.minecraft.client.gui.screen
Modifier and TypeMethodDescriptionprivate void
GameModeSelectionScreen.ButtonWidget.drawBackground
(DrawContext context) static void
LevelLoadingScreen.drawChunkMap
(DrawContext context, WorldGenerationProgressTracker progressProvider, int centerX, int centerY, int pixelSize, int pixelMargin) private void
PresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry.drawIconBackground
(DrawContext context, int x, int y) private void
GameModeSelectionScreen.ButtonWidget.drawSelectionBox
(DrawContext context) protected void
WarningScreen.drawTitle
(DrawContext context) void
AccessibilityOnboardingScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
AddServerScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
BackupPromptScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
ChatInputSuggestor.render
(DrawContext context, int mouseX, int mouseY) void
ChatInputSuggestor.SuggestionWindow.render
(DrawContext context, int mouseX, int mouseY) void
ChatScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
ConfirmLinkScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
ConfirmScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
ConnectScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
CreditsScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
CustomizeBuffetLevelScreen.BuffetBiomesListWidget.BuffetBiomeItem.render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.void
CustomizeBuffetLevelScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
CustomizeFlatLevelScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
CustomizeFlatLevelScreen.SuperflatLayersListWidget.SuperflatLayerEntry.render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.void
DatapackFailureScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
DeathScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
DemoScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
DialogScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
DirectConnectScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
DisconnectedScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
DownloadingTerrainScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
FatalErrorScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
GameMenuScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
GameModeSelectionScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
LevelLoadingScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
MessageScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
NoticeScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
OpenToLanScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
OutOfMemoryScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
PresetsScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
PresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry.render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.void
ProgressScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
Screen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
SleepingChatScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
SplashOverlay.render
(DrawContext context, int mouseX, int mouseY, float delta) void
SplashTextRenderer.render
(DrawContext drawContext, int int2, TextRenderer textRenderer, int int3) void
StatsScreen.EntityStatsListWidget.Entry.render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.void
StatsScreen.GeneralStatsListWidget.Entry.render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.void
StatsScreen.ItemStatsListWidget.Entry.render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.protected void
StatsScreen.ItemStatsListWidget.Entry.render
(DrawContext drawContext, @Nullable Stat<?> stat, int x, int y, boolean white) protected void
StatsScreen.ItemStatsListWidget.render
(DrawContext drawContext, @Nullable Text text, int mouseX, int mouseY) void
StatsScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
TaskScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
TitleScreen.DeprecationNotice.render
(DrawContext context, int color) void
TitleScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
WarningScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) private void
CreditsScreen.renderBackground
(DrawContext context) void
DemoScreen.renderBackground
(DrawContext context) Renders the background of this screen.void
Screen.renderBackground
(DrawContext context) Renders the background of this screen.protected void
StatsScreen.EntityStatsListWidget.renderBackground
(DrawContext context) protected void
StatsScreen.GeneralStatsListWidget.renderBackground
(DrawContext context) protected void
StatsScreen.ItemStatsListWidget.renderBackground
(DrawContext context) void
Screen.renderBackgroundTexture
(DrawContext context) Renders the fullscreen background texture of this screen.void
GameModeSelectionScreen.ButtonWidget.renderButton
(DrawContext context, int mouseX, int mouseY, float delta) protected void
StatsScreen.ItemStatsListWidget.renderDecorations
(DrawContext context, int mouseX, int mouseY) protected void
StatsScreen.ItemStatsListWidget.renderHeader
(DrawContext context, int x, int y) private void
CustomizeFlatLevelScreen.SuperflatLayersListWidget.SuperflatLayerEntry.renderIcon
(DrawContext context, int x, int y, ItemStack iconItem) (package private) void
GameModeSelectionScreen.GameModeSelection.renderIcon
(DrawContext context, int x, int y) private void
PresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry.renderIcon
(DrawContext context, int x, int y, Item iconItem) (package private) void
StatsScreen.renderIcon
(DrawContext context, int x, int y, int u, int v) private void
CustomizeFlatLevelScreen.SuperflatLayersListWidget.SuperflatLayerEntry.renderIconBackgroundTexture
(DrawContext context, int x, int y) void
ChatInputSuggestor.renderMessages
(DrawContext context) private void
SplashOverlay.renderProgressBar
(DrawContext drawContext, int minX, int minY, int maxX, int maxY, float opacity) (package private) void
StatsScreen.renderStatItem
(DrawContext context, int x, int y, Item item) final void
Screen.renderWithTooltip
(DrawContext context, int mouseX, int mouseY, float delta) boolean
ChatInputSuggestor.tryRenderWindow
(DrawContext context, int mouseX, int mouseY) -
Uses of DrawContext in net.minecraft.client.gui.screen.advancement
Modifier and TypeMethodDescriptionprivate void
AdvancementsScreen.drawAdvancementTree
(DrawContext context, int mouseX, int mouseY, int x, int y) void
AdvancementTab.drawBackground
(DrawContext context, int x, int y, boolean selected) void
AdvancementTabType.drawBackground
(DrawContext context, int x, int y, boolean selected, int index) void
AdvancementTab.drawIcon
(DrawContext context, int x, int y) void
AdvancementTabType.drawIcon
(DrawContext context, int x, int y, int index, ItemStack stack) void
AdvancementWidget.drawTooltip
(DrawContext context, int originX, int originY, float alpha, int x, int y) private void
AdvancementsScreen.drawWidgetTooltip
(DrawContext context, int mouseX, int mouseY, int x, int y) void
AdvancementTab.drawWidgetTooltip
(DrawContext context, int mouseX, int mouseY, int x, int y) void
AdvancementsScreen.drawWindow
(DrawContext context, int x, int y) void
AdvancementsScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
AdvancementTab.render
(DrawContext context, int x, int y) void
AdvancementWidget.renderLines
(DrawContext context, int x, int y, boolean border) void
AdvancementWidget.renderWidgets
(DrawContext context, int x, int y) -
Uses of DrawContext in net.minecraft.client.gui.screen.ingame
Modifier and TypeMethodDescriptionprotected void
AbstractFurnaceScreen.drawBackground
(DrawContext context, float delta, int mouseX, int mouseY) protected void
AnvilScreen.drawBackground
(DrawContext context, float delta, int mouseX, int mouseY) protected void
BeaconScreen.drawBackground
(DrawContext context, float delta, int mouseX, int mouseY) protected void
BrewingStandScreen.drawBackground
(DrawContext context, float delta, int mouseX, int mouseY) protected void
CartographyTableScreen.drawBackground
(DrawContext context, float delta, int mouseX, int mouseY) protected void
CraftingScreen.drawBackground
(DrawContext context, float delta, int mouseX, int mouseY) protected void
CreativeInventoryScreen.drawBackground
(DrawContext context, float delta, int mouseX, int mouseY) protected void
EnchantmentScreen.drawBackground
(DrawContext context, float delta, int mouseX, int mouseY) protected void
ForgingScreen.drawBackground
(DrawContext context, float delta, int mouseX, int mouseY) protected void
Generic3x3ContainerScreen.drawBackground
(DrawContext context, float delta, int mouseX, int mouseY) protected void
GenericContainerScreen.drawBackground
(DrawContext context, float delta, int mouseX, int mouseY) protected void
GrindstoneScreen.drawBackground
(DrawContext context, float delta, int mouseX, int mouseY) protected abstract void
HandledScreen.drawBackground
(DrawContext context, float delta, int mouseX, int mouseY) protected void
HopperScreen.drawBackground
(DrawContext context, float delta, int mouseX, int mouseY) protected void
HorseScreen.drawBackground
(DrawContext context, float delta, int mouseX, int mouseY) protected void
InventoryScreen.drawBackground
(DrawContext context, float delta, int mouseX, int mouseY) protected void
LoomScreen.drawBackground
(DrawContext context, float delta, int mouseX, int mouseY) protected void
MerchantScreen.drawBackground
(DrawContext context, float delta, int mouseX, int mouseY) protected void
ShulkerBoxScreen.drawBackground
(DrawContext context, float delta, int mouseX, int mouseY) protected void
SmithingScreen.drawBackground
(DrawContext context, float delta, int mouseX, int mouseY) protected void
StonecutterScreen.drawBackground
(DrawContext context, float delta, int mouseX, int mouseY) private void
LoomScreen.drawBanner
(DrawContext context, RegistryEntry<BannerPattern> pattern, int x, int y) private void
EnchantmentScreen.drawBook
(DrawContext context, int x, int y, float delta) private void
BookEditScreen.drawCursor
(DrawContext context, BookEditScreen.Position position, boolean atEnd) static void
InventoryScreen.drawEntity
(DrawContext context, int x, int y, int size, float mouseX, float mouseY, LivingEntity entity) static void
InventoryScreen.drawEntity
(DrawContext context, int x, int y, int size, Quaternionf quaternionf, @Nullable Quaternionf quaternionf2, LivingEntity entity) protected void
AnvilScreen.drawForeground
(DrawContext context, int mouseX, int mouseY) protected void
BeaconScreen.drawForeground
(DrawContext context, int mouseX, int mouseY) protected void
CreativeInventoryScreen.drawForeground
(DrawContext context, int mouseX, int mouseY) protected void
HandledScreen.drawForeground
(DrawContext context, int mouseX, int mouseY) protected void
InventoryScreen.drawForeground
(DrawContext context, int mouseX, int mouseY) protected void
MerchantScreen.drawForeground
(DrawContext context, int mouseX, int mouseY) private void
CyclingSlotIcon.drawIcon
(Slot slot, Identifier texture, float alpha, DrawContext context, int x, int y) protected void
AnvilScreen.drawInvalidRecipeArrow
(DrawContext context, int x, int y) protected abstract void
ForgingScreen.drawInvalidRecipeArrow
(DrawContext context, int x, int y) protected void
SmithingScreen.drawInvalidRecipeArrow
(DrawContext context, int x, int y) private void
HandledScreen.drawItem
(DrawContext context, ItemStack stack, int x, int y, String amountText) private void
MerchantScreen.drawLevelInfo
(DrawContext context, int x, int y, TradeOffer tradeOffer) private void
CartographyTableScreen.drawMap
(DrawContext context, @Nullable Integer mapId, @Nullable MapState mapState, boolean cloneMode, boolean expandMode, boolean lockMode, boolean cannotExpand) private void
CartographyTableScreen.drawMap
(DrawContext context, @Nullable Integer mapId, @Nullable MapState mapState, int x, int y, float scale) protected void
HandledScreen.drawMouseoverTooltip
(DrawContext context, int x, int y) protected void
StonecutterScreen.drawMouseoverTooltip
(DrawContext context, int x, int y) private void
BookEditScreen.drawSelection
(DrawContext context, Rect2i[] selectionRectangles) private void
HandledScreen.drawSlot
(DrawContext context, Slot slot) static void
HandledScreen.drawSlotHighlight
(DrawContext context, int x, int y, int z) private void
AbstractInventoryScreen.drawStatusEffectBackgrounds
(DrawContext context, int x, int height, Iterable<StatusEffectInstance> statusEffects, boolean wide) private void
AbstractInventoryScreen.drawStatusEffectDescriptions
(DrawContext context, int x, int height, Iterable<StatusEffectInstance> statusEffects) private void
AbstractInventoryScreen.drawStatusEffects
(DrawContext context, int mouseX, int mouseY) private void
AbstractInventoryScreen.drawStatusEffectSprites
(DrawContext context, int x, int height, Iterable<StatusEffectInstance> statusEffects, boolean wide) void
AbstractCommandBlockScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
AbstractFurnaceScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
AbstractInventoryScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
AbstractSignEditScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
BeaconScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
BookEditScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
BookScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
BrewingStandScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
CartographyTableScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
CraftingScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
CreativeInventoryScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
CyclingSlotIcon.render
(ScreenHandler screenHandler, DrawContext context, float delta, int x, int y) void
EnchantmentScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
ForgingScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
Generic3x3ContainerScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
GenericContainerScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
GrindstoneScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
HandledScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
HopperScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
HorseScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
InventoryScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
JigsawBlockScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
LoomScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
MerchantScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
ShulkerBoxScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
SmithingScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
StonecutterScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
StructureBlockScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) private void
MerchantScreen.renderArrow
(DrawContext context, TradeOffer tradeOffer, int x, int y) void
BeaconScreen.BaseButtonWidget.renderButton
(DrawContext context, int mouseX, int mouseY, float delta) protected abstract void
BeaconScreen.BaseButtonWidget.renderExtra
(DrawContext context) protected void
BeaconScreen.EffectButtonWidget.renderExtra
(DrawContext context) protected void
BeaconScreen.IconButtonWidget.renderExtra
(DrawContext context) private void
MerchantScreen.renderFirstBuyItem
(DrawContext context, ItemStack adjustedFirstBuyItem, ItemStack originalFirstBuyItem, int x, int y) void
AnvilScreen.renderForeground
(DrawContext context, int mouseX, int mouseY, float delta) protected void
ForgingScreen.renderForeground
(DrawContext context, int mouseX, int mouseY, float delta) private void
StonecutterScreen.renderRecipeBackground
(DrawContext context, int mouseX, int mouseY, int x, int y, int scrollOffset) private void
StonecutterScreen.renderRecipeIcons
(DrawContext context, int x, int y, int scrollOffset) private void
MerchantScreen.renderScrollbar
(DrawContext context, int x, int y, TradeOfferList tradeOffers) private void
AbstractSignEditScreen.renderSign
(DrawContext context) protected abstract void
AbstractSignEditScreen.renderSignBackground
(DrawContext context, BlockState state) protected void
HangingSignEditScreen.renderSignBackground
(DrawContext context, BlockState state) protected void
SignEditScreen.renderSignBackground
(DrawContext context, BlockState state) private void
AbstractSignEditScreen.renderSignText
(DrawContext context) private void
SmithingScreen.renderSlotTooltip
(DrawContext context, int mouseX, int mouseY) protected void
CreativeInventoryScreen.renderTabIcon
(DrawContext context, ItemGroup group) protected boolean
CreativeInventoryScreen.renderTabTooltipIfHovered
(DrawContext context, ItemGroup group, int mouseX, int mouseY) void
MerchantScreen.WidgetButtonPage.renderTooltip
(DrawContext context, int x, int y) protected void
AbstractSignEditScreen.translateForRender
(DrawContext context, BlockState state) protected void
HangingSignEditScreen.translateForRender
(DrawContext context, BlockState state) protected void
SignEditScreen.translateForRender
(DrawContext context, BlockState state) -
Uses of DrawContext in net.minecraft.client.gui.screen.multiplayer
Modifier and TypeMethodDescriptionprotected void
MultiplayerServerListWidget.ServerEntry.draw
(DrawContext context, int x, int y, Identifier textureId) protected void
SocialInteractionsPlayerListWidget.enableScissor
(DrawContext context) void
MultiplayerScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
MultiplayerServerListWidget.LanServerEntry.render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.void
MultiplayerServerListWidget.ScanningEntry.render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.void
MultiplayerServerListWidget.ServerEntry.render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.void
SocialInteractionsPlayerListEntry.render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.void
SocialInteractionsScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
SocialInteractionsScreen.renderBackground
(DrawContext context) Renders the background of this screen. -
Uses of DrawContext in net.minecraft.client.gui.screen.option
Modifier and TypeMethodDescriptionvoid
ControlsListWidget.CategoryEntry.render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.void
ControlsListWidget.KeyBindingEntry.render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.void
ControlsOptionsScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
CreditsAndAttributionScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) protected void
GameOptionsScreen.render
(DrawContext context, OptionListWidget optionButtons, int mouseX, int mouseY, float tickDelta) void
KeybindsScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
LanguageOptionsScreen.LanguageSelectionListWidget.LanguageEntry.render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.void
LanguageOptionsScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
MouseOptionsScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
OptionsScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
SimpleOptionsScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
SkinOptionsScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
SoundOptionsScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
TelemetryInfoScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
VideoOptionsScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) protected void
LanguageOptionsScreen.LanguageSelectionListWidget.renderBackground
(DrawContext context) protected void
TelemetryEventWidget.renderContents
(DrawContext context, int mouseX, int mouseY, float delta) Renders the scrolled contents. -
Uses of DrawContext in net.minecraft.client.gui.screen.pack
Modifier and TypeMethodDescriptionvoid
ExperimentalWarningScreen.DetailsScreen.PackListWidgetEntry.render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.void
ExperimentalWarningScreen.DetailsScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
ExperimentalWarningScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
PackListWidget.ResourcePackEntry.render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.void
PackScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) protected void
PackListWidget.renderHeader
(DrawContext context, int x, int y) -
Uses of DrawContext in net.minecraft.client.gui.screen.recipebook
Modifier and TypeMethodDescriptionvoid
RecipeBookGhostSlots.draw
(DrawContext context, MinecraftClient client, int x, int y, boolean notInventory, float tickDelta) void
RecipeBookResults.draw
(DrawContext context, int x, int y, int mouseX, int mouseY, float delta) void
RecipeBookWidget.drawGhostSlots
(DrawContext context, int x, int y, boolean notInventory, float delta) private void
RecipeBookWidget.drawGhostSlotTooltip
(DrawContext context, int x, int y, int mouseX, int mouseY) void
RecipeBookResults.drawTooltip
(DrawContext context, int x, int y) void
RecipeBookWidget.drawTooltip
(DrawContext context, int x, int y, int mouseX, int mouseY) void
RecipeAlternativesWidget.render
(DrawContext context, int mouseX, int mouseY, float delta) void
RecipeBookWidget.render
(DrawContext context, int mouseX, int mouseY, float delta) void
AnimatedResultButton.renderButton
(DrawContext context, int mouseX, int mouseY, float delta) void
RecipeAlternativesWidget.AlternativeButtonWidget.renderButton
(DrawContext context, int mouseX, int mouseY, float delta) void
RecipeGroupButtonWidget.renderButton
(DrawContext context, int mouseX, int mouseY, float delta) private void
RecipeGroupButtonWidget.renderIcons
(DrawContext context, ItemRenderer itemRenderer) -
Uses of DrawContext in net.minecraft.client.gui.screen.report
Modifier and TypeMethodDescriptionprivate void
ChatSelectionScreen.SelectionListWidget.MessageEntry.drawCheckmark
(DrawContext context, int y, int x, int entryHeight) protected void
ChatReportScreen.DiscardWarningScreen.drawTitle
(DrawContext context) void
AbuseReportReasonScreen.ReasonListWidget.ReasonEntry.render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.void
AbuseReportReasonScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
ChatReportScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
ChatSelectionScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
ChatSelectionScreen.SelectionListWidget.MessageEntry.render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.void
ChatSelectionScreen.SelectionListWidget.SenderEntry.render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.void
ChatSelectionScreen.SelectionListWidget.SeparatorEntry.render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.void
ChatSelectionScreen.SelectionListWidget.TextEntry.render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.protected void
ChatSelectionScreen.SelectionListWidget.renderEntry
(DrawContext context, int mouseX, int mouseY, float delta, int index, int x, int y, int entryWidth, int entryHeight) private void
ChatSelectionScreen.SelectionListWidget.MessageEntry.renderIndicator
(DrawContext context, int x, int y, int entryHeight, int mouseX, int mouseY) -
Uses of DrawContext in net.minecraft.client.gui.screen.world
Modifier and TypeMethodDescriptionprotected void
EditGameRulesScreen.NamedRuleWidget.drawName
(DrawContext context, int x, int y) void
CreateWorldScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
EditGameRulesScreen.BooleanRuleWidget.render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.void
EditGameRulesScreen.IntRuleWidget.render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.void
EditGameRulesScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
EditGameRulesScreen.RuleCategoryWidget.render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.void
EditGameRulesScreen.RuleListWidget.render
(DrawContext context, int mouseX, int mouseY, float delta) void
EditWorldScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
ExperimentsScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
OptimizeWorldScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
SelectWorldScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
WorldListWidget.LoadingEntry.render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.void
WorldListWidget.render
(DrawContext context, int mouseX, int mouseY, float delta) void
WorldListWidget.WorldEntry.render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.void
CreateWorldScreen.renderBackgroundTexture
(DrawContext context) Renders the fullscreen background texture of this screen. -
Uses of DrawContext in net.minecraft.client.gui.tooltip
Modifier and TypeMethodDescriptionprivate void
BundleTooltipComponent.draw
(DrawContext context, int x, int y, BundleTooltipComponent.Sprite sprite) void
BundleTooltipComponent.drawItems
(TextRenderer textRenderer, int x, int y, DrawContext context) default void
TooltipComponent.drawItems
(TextRenderer textRenderer, int x, int y, DrawContext context) private void
BundleTooltipComponent.drawOutline
(int x, int y, int columns, int rows, DrawContext context) private void
BundleTooltipComponent.drawSlot
(int x, int y, int index, boolean shouldBlock, DrawContext context, TextRenderer textRenderer) static void
TooltipBackgroundRenderer.render
(DrawContext context, int x, int y, int width, int height, int z) private static void
TooltipBackgroundRenderer.renderBorder
(DrawContext context, int x, int y, int width, int height, int z, int startColor, int endColor) private static void
TooltipBackgroundRenderer.renderHorizontalLine
(DrawContext context, int x, int y, int width, int z, int color) private static void
TooltipBackgroundRenderer.renderRectangle
(DrawContext context, int x, int y, int width, int height, int z, int color) private static void
TooltipBackgroundRenderer.renderVerticalLine
(DrawContext context, int x, int y, int height, int z, int color) private static void
TooltipBackgroundRenderer.renderVerticalLine
(DrawContext context, int x, int y, int height, int z, int startColor, int endColor) -
Uses of DrawContext in net.minecraft.client.gui.widget
Modifier and TypeMethodDescriptionvoid
EntryListWidget.Entry.drawBorder
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) protected void
ScrollableTextWidget.drawBox
(DrawContext context) Draws the box that the contents are rendered over, including its borders.protected void
ScrollableWidget.drawBox
(DrawContext context) Draws the box that the contents are rendered over, including its borders.protected void
ScrollableWidget.drawBox
(DrawContext context, int x, int y, int width, int height) private void
TabButtonWidget.drawCurrentTabLine
(DrawContext context, TextRenderer textRenderer, int color) void
IconButtonWidget.drawMessage
(DrawContext context, TextRenderer textRenderer, int color) void
PressableWidget.drawMessage
(DrawContext context, TextRenderer textRenderer, int color) void
TabButtonWidget.drawMessage
(DrawContext context, TextRenderer textRenderer, int color) protected void
ClickableWidget.drawScrollableText
(DrawContext context, TextRenderer textRenderer, int xMargin, int color) protected static void
ClickableWidget.drawScrollableText
(DrawContext context, TextRenderer textRenderer, Text text, int left, int top, int right, int bottom, int color) private void
ScrollableWidget.drawScrollbar
(DrawContext context) private void
EditBoxWidget.drawSelection
(DrawContext context, int left, int top, int right, int bottom) protected void
EntryListWidget.drawSelectionHighlight
(DrawContext context, int y, int entryWidth, int entryHeight, int borderColor, int fillColor) private void
TextFieldWidget.drawSelectionHighlight
(DrawContext context, int x1, int y1, int x2, int y2) void
ClickableWidget.drawTexture
(DrawContext context, Identifier texture, int x, int y, int u, int v, int hoveredVOffset, int width, int height, int textureWidth, int textureHeight) protected void
EntryListWidget.enableScissor
(DrawContext context) void
ClickableWidget.render
(DrawContext context, int mouseX, int mouseY, float delta) abstract void
EntryListWidget.Entry.render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.void
EntryListWidget.render
(DrawContext context, int mouseX, int mouseY, float delta) void
OptionListWidget.WidgetEntry.render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.void
TabNavigationWidget.render
(DrawContext context, int mouseX, int mouseY, float delta) protected void
EntryListWidget.renderBackground
(DrawContext context) void
CheckboxWidget.renderButton
(DrawContext context, int mouseX, int mouseY, float delta) abstract void
ClickableWidget.renderButton
(DrawContext context, int mouseX, int mouseY, float delta) void
IconButtonWidget.renderButton
(DrawContext context, int mouseX, int mouseY, float delta) void
IconWidget.renderButton
(DrawContext context, int mouseX, int mouseY, float delta) void
LockButtonWidget.renderButton
(DrawContext context, int mouseX, int mouseY, float delta) void
MultilineTextWidget.renderButton
(DrawContext context, int mouseX, int mouseY, float delta) void
NarratedMultilineTextWidget.renderButton
(DrawContext context, int mouseX, int mouseY, float delta) void
PageTurnWidget.renderButton
(DrawContext context, int mouseX, int mouseY, float delta) void
PressableTextWidget.renderButton
(DrawContext context, int mouseX, int mouseY, float delta) void
PressableWidget.renderButton
(DrawContext context, int mouseX, int mouseY, float delta) void
ScrollableTextWidget.renderButton
(DrawContext context, int mouseX, int mouseY, float delta) void
ScrollableWidget.renderButton
(DrawContext context, int mouseX, int mouseY, float delta) void
SliderWidget.renderButton
(DrawContext context, int mouseX, int mouseY, float delta) void
TabButtonWidget.renderButton
(DrawContext context, int mouseX, int mouseY, float delta) void
TextFieldWidget.renderButton
(DrawContext context, int mouseX, int mouseY, float delta) void
TexturedButtonWidget.renderButton
(DrawContext context, int mouseX, int mouseY, float delta) void
TextWidget.renderButton
(DrawContext context, int mouseX, int mouseY, float delta) void
ToggleButtonWidget.renderButton
(DrawContext context, int mouseX, int mouseY, float delta) protected void
EditBoxWidget.renderContents
(DrawContext context, int mouseX, int mouseY, float delta) Renders the scrolled contents.protected void
ScrollableTextWidget.renderContents
(DrawContext context, int mouseX, int mouseY, float delta) Renders the scrolled contents.protected abstract void
ScrollableWidget.renderContents
(DrawContext context, int mouseX, int mouseY, float delta) Renders the scrolled contents.protected void
EntryListWidget.renderDecorations
(DrawContext context, int mouseX, int mouseY) protected void
EntryListWidget.renderEntry
(DrawContext context, int mouseX, int mouseY, float delta, int index, int x, int y, int entryWidth, int entryHeight) protected void
EntryListWidget.renderHeader
(DrawContext context, int x, int y) protected void
EntryListWidget.renderList
(DrawContext context, int mouseX, int mouseY, float delta) protected void
EditBoxWidget.renderOverlay
(DrawContext context) Renders overlays that are not scrolled but part of the widget.protected void
ScrollableWidget.renderOverlay
(DrawContext context) Renders overlays that are not scrolled but part of the widget. -
Uses of DrawContext in net.minecraft.client.realms
Modifier and TypeMethodDescriptionvoid
RealmsLabel.render
(DrawContext context, int mouseX, int mouseY, float delta) -
Uses of DrawContext in net.minecraft.client.realms.gui
Modifier and TypeMethodDescriptionprivate void
RealmsWorldSlotButton.drawCheckmark
(DrawContext context, int x, int y) private void
RealmsWorldSlotButton.drawSlotFrame
(DrawContext context, int x, int y, int mouseX, int mouseY, boolean active, String slotName, int slotIndex, long imageId, @Nullable String image, boolean empty, boolean minigame, RealmsWorldSlotButton.Action action, @Nullable Text actionPrompt) void
RealmsWorldSlotButton.renderButton
(DrawContext context, int mouseX, int mouseY, float delta) -
Uses of DrawContext in net.minecraft.client.realms.gui.screen
Modifier and TypeMethodDescriptionvoid
RealmsMainScreen.VisitUrlNotification.drawBorder
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) (package private) void
RealmsMainScreen.drawClose
(DrawContext context, int x, int y, int mouseX, int mouseY) private void
RealmsConfigureWorldScreen.drawClosed
(DrawContext context, int x, int y, int mouseX, int mouseY) private void
RealmsDownloadLatestWorldScreen.drawDots
(DrawContext context) private void
RealmsUploadScreen.drawDots
(DrawContext context) private void
RealmsDownloadLatestWorldScreen.drawDownloadSpeed
(DrawContext context) private void
RealmsDownloadLatestWorldScreen.drawDownloadSpeed0
(DrawContext context, long bytesPerSecond) private void
RealmsConfigureWorldScreen.drawExpired
(DrawContext context, int x, int y, int mouseX, int mouseY) (package private) void
RealmsMainScreen.drawExpired
(DrawContext context, int x, int y, int mouseX, int mouseY) private void
RealmsConfigureWorldScreen.drawExpiring
(DrawContext context, int x, int y, int mouseX, int mouseY, int remainingDays) (package private) void
RealmsMainScreen.drawExpiring
(DrawContext context, int x, int y, int mouseX, int mouseY, int remainingDays) (package private) void
RealmsResetWorldScreen.drawFrame
(DrawContext context, int x, int y, Text text, Identifier texture, boolean hovered, boolean mouseOver) private void
RealmsNotificationsScreen.drawIcons
(DrawContext context, int mouseX, int mouseY) private void
RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionListEntry.drawIcons
(DrawContext context, int x, int y, int mouseX, int mouseY, String link, String trailer, String recommendedPlayers) private void
RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionListEntry.drawImage
(DrawContext context, int x, int y, int mouseX, int mouseY, WorldTemplate template) private void
RealmsConfigureWorldScreen.drawOpen
(DrawContext context, int x, int y, int mouseX, int mouseY) (package private) void
RealmsMainScreen.drawOpen
(DrawContext context, int x, int y, int mouseX, int mouseY) private void
RealmsMainScreen.drawPopup
(DrawContext context) private void
RealmsDownloadLatestWorldScreen.drawProgressBar
(DrawContext context) private void
RealmsUploadScreen.drawProgressBar
(DrawContext context) private void
RealmsMainScreen.RealmSelectionListEntry.drawServerState
(RealmsServer server, DrawContext context, int x, int y, int mouseX, int mouseY, int xOffset, int yOffset) private void
RealmsConfigureWorldScreen.drawServerStatus
(DrawContext context, int x, int y, int mouseX, int mouseY) private void
RealmsBrokenWorldScreen.drawSlotFrame
(DrawContext context, int x, int y, int mouseX, int mouseY, boolean activeSlot, String slotName, int slotId, long templateId, @Nullable String templateImage, boolean empty) private void
RealmsUploadScreen.drawUploadSpeed
(DrawContext context) private void
RealmsUploadScreen.drawUploadSpeed0
(DrawContext context, long bytesPerSecond) void
DisconnectedRealmsScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) protected abstract void
RealmsAcceptRejectButton.render
(DrawContext context, int x, int y, boolean showTooltip) void
RealmsAcceptRejectButton.render
(DrawContext context, int x, int y, int mouseX, int mouseY) static void
RealmsAcceptRejectButton.render
(DrawContext context, List<RealmsAcceptRejectButton> buttons, RealmsObjectSelectionList<?> selectionList, int x, int y, int mouseX, int mouseY) void
RealmsBackupInfoScreen.BackupInfoListEntry.render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.void
RealmsBackupInfoScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
RealmsBackupScreen.BackupObjectSelectionListEntry.render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.void
RealmsBackupScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
RealmsBrokenWorldScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
RealmsClientOutdatedScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
RealmsConfigureWorldScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
RealmsConfirmScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
RealmsCreateRealmScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
RealmsDownloadLatestWorldScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
RealmsGenericErrorScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
RealmsInviteScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
RealmsLongConfirmationScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
RealmsLongRunningMcoTaskScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) private void
RealmsMainScreen.PendingInvitesButton.render
(DrawContext context) void
RealmsMainScreen.RealmSelectionListEntry.render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.private void
RealmsMainScreen.RealmSelectionListEntry.render
(RealmsServer server, DrawContext context, int x, int y, int mouseX, int mouseY) void
RealmsMainScreen.RealmSelectionListTrialEntry.render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.void
RealmsMainScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
RealmsMainScreen.VisitButtonEntry.render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.void
RealmsMainScreen.VisitUrlNotification.render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.void
RealmsNotificationsScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
RealmsParentalConsentScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) protected void
RealmsPendingInvitesScreen.PendingInvitationSelectionListEntry.AcceptButton.render
(DrawContext context, int x, int y, boolean showTooltip) protected void
RealmsPendingInvitesScreen.PendingInvitationSelectionListEntry.RejectButton.render
(DrawContext context, int x, int y, boolean showTooltip) void
RealmsPendingInvitesScreen.PendingInvitationSelectionListEntry.render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.void
RealmsPendingInvitesScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
RealmsPlayerScreen.InvitedObjectSelectionListEntry.render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.void
RealmsPlayerScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
RealmsResetNormalWorldScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
RealmsResetWorldScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
RealmsSelectFileToUploadScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
RealmsSelectFileToUploadScreen.WorldListEntry.render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.void
RealmsSelectWorldTemplateScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionListEntry.render
(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.void
RealmsSettingsScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
RealmsSlotOptionsScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
RealmsSubscriptionInfoScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
RealmsTermsScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
RealmsUploadScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
RealmsBackupScreen.BackupObjectSelectionList.renderBackground
(DrawContext context) void
RealmsPendingInvitesScreen.PendingInvitationSelectionList.renderBackground
(DrawContext context) void
RealmsPlayerScreen.InvitedObjectSelectionList.renderBackground
(DrawContext context) void
RealmsSelectFileToUploadScreen.WorldSelectionList.renderBackground
(DrawContext context) void
RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionList.renderBackground
(DrawContext context) void
RealmsMainScreen.CrossButton.renderButton
(DrawContext context, int mouseX, int mouseY, float delta) void
RealmsMainScreen.NewsButton.renderButton
(DrawContext context, int mouseX, int mouseY, float delta) void
RealmsMainScreen.PendingInvitesButton.renderButton
(DrawContext context, int mouseX, int mouseY, float delta) void
RealmsResetWorldScreen.FrameButton.renderButton
(DrawContext context, int mouseX, int mouseY, float delta) protected void
RealmsSelectFileToUploadScreen.WorldListEntry.renderItem
(DrawContext context, int index, int x, int y) private void
RealmsMainScreen.renderLocal
(DrawContext context) private void
RealmsSelectWorldTemplateScreen.renderMessages
(DrawContext context, int x, int y, List<TextRenderingUtils.Line> messages) protected void
RealmsConfigureWorldScreen.renderMousehoverTooltip
(DrawContext context, @Nullable Text text, int mouseX, int mouseY) protected void
RealmsPendingInvitesScreen.renderMousehoverTooltip
(DrawContext context, @Nullable Text tooltip, int mouseX, int mouseY) protected void
RealmsSelectWorldTemplateScreen.renderMousehoverTooltip
(DrawContext context, @Nullable Text tooltip, int mouseX, int mouseY) (package private) void
RealmsMainScreen.renderNews
(DrawContext context, int mouseX, int mouseY, boolean hasUnread, int x, int y, boolean hovered, boolean active) private void
RealmsPendingInvitesScreen.PendingInvitationSelectionListEntry.renderPendingInvitationItem
(DrawContext context, PendingInvite invite, int x, int y, int mouseX, int mouseY) private void
RealmsMainScreen.RealmSelectionListEntry.renderRealmsServerItem
(RealmsServer server, DrawContext context, int x, int y, int mouseX, int mouseY) private void
RealmsMainScreen.renderStage
(DrawContext context) private void
RealmsMainScreen.RealmSelectionListTrialEntry.renderTrialItem
(DrawContext context, int index, int x, int y, int mouseX, int mouseY) private void
RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionListEntry.renderWorldTemplateItem
(DrawContext context, WorldTemplate template, int x, int y, int mouseX, int mouseY) -
Uses of DrawContext in net.minecraft.client.realms.util
Modifier and TypeMethodDescriptionstatic void
RealmsUtil.drawPlayerHead
(DrawContext context, int x, int y, int size, String uuid) -
Uses of DrawContext in net.minecraft.client.render
Modifier and TypeMethodDescriptionprivate void
GameRenderer.renderNausea
(DrawContext context, float distortionStrength) -
Uses of DrawContext in net.minecraft.client.toast
Modifier and TypeMethodDescriptionAdvancementToast.draw
(DrawContext context, ToastManager manager, long startTime) RecipeToast.draw
(DrawContext context, ToastManager manager, long startTime) SystemToast.draw
(DrawContext context, ToastManager manager, long startTime) Toast.draw
(DrawContext context, ToastManager manager, long startTime) void
ToastManager.draw
(DrawContext context) boolean
ToastManager.Entry.draw
(int x, DrawContext context) TutorialToast.draw
(DrawContext context, ToastManager manager, long startTime) void
TutorialToast.Type.drawIcon
(DrawContext context, int x, int y) private void
SystemToast.drawPart
(DrawContext context, ToastManager manager, int width, int textureV, int y, int height)