Uses of Class
net.minecraft.client.gui.DrawContext
Package
Description
-
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, SkinTextures textures, int x, int y, int size) 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, boolean hardcore, boolean blinking, boolean half) private void
ChatHud.drawIndicatorIcon
(DrawContext context, int x, int y, MessageIndicator.Icon icon) protected void
DebugHud.drawLeftText
(DrawContext context) 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, Identifier[] textures, Identifier[] notchedTextures) 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 tickDelta, 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, PlayerListHud.ScoreDisplayEntry scoreDisplayEntry, 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, @Nullable Entity entity) -
Uses of DrawContext in net.minecraft.client.gui.hud.debug
Modifier and TypeMethodDescriptionprotected void
DebugChart.drawBorderedText
(DrawContext context, String string, int x, int y) private void
PacketSizeChart.drawSizeBar
(DrawContext context, int x, int width, int height, int bytes) private void
PacketSizeChart.drawSizeBar
(DrawContext context, int x, int width, int y, String label) void
DebugChart.render
(DrawContext context, int x, int width) protected void
DebugChart.renderThresholds
(DrawContext context, int x, int width, int height) protected void
PacketSizeChart.renderThresholds
(DrawContext context, int x, int width, int height) protected void
PingChart.renderThresholds
(DrawContext context, int x, int width, int height) protected void
RenderingChart.renderThresholds
(DrawContext context, int x, int width, int height) protected void
TickChart.renderThresholds
(DrawContext context, int x, int width, int height) -
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) 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
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
CreditsScreen.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
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
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
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 context, int screenWidth, TextRenderer textRenderer, int alpha) 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 context, @Nullable Stat<?> stat, int x, int y, boolean white) 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) void
AccessibilityOnboardingScreen.renderBackground
(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.void
ChatScreen.renderBackground
(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.void
CreditsScreen.renderBackground
(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.void
DeathScreen.renderBackground
(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.void
DemoScreen.renderBackground
(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.void
DialogScreen.renderBackground
(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.void
DownloadingTerrainScreen.renderBackground
(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.void
FatalErrorScreen.renderBackground
(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.void
GameMenuScreen.renderBackground
(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.void
GameModeSelectionScreen.renderBackground
(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.void
MessageScreen.renderBackground
(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.void
PopupScreen.renderBackground
(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.void
Screen.renderBackground
(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.void
SleepingChatScreen.renderBackground
(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.void
StatsScreen.renderBackground
(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.void
TitleScreen.renderBackground
(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.void
Screen.renderBackgroundTexture
(DrawContext context) Renders the fullscreen background texture of this screen.protected void
StatsScreen.ItemStatsListWidget.renderDecorations
(DrawContext context, int mouseX, int mouseY) protected void
StatsScreen.ItemStatsListWidget.renderHeader
(DrawContext context, int x, int y) (package private) void
GameModeSelectionScreen.GameModeSelection.renderIcon
(DrawContext context, int x, int y) (package private) void
StatsScreen.renderIcon
(DrawContext context, int x, int y, Identifier texture) void
Screen.renderInGameBackground
(DrawContext context) Renders the translucent background gradient used as the in-game screen background.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) void
GameModeSelectionScreen.ButtonWidget.renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) 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 TypeMethodDescriptionprivate void
CrafterScreen.drawArrowTexture
(DrawContext context) protected 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
CrafterScreen.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) private void
CrafterScreen.drawDisabledSlot
(DrawContext context, CrafterInputSlot slot) static void
InventoryScreen.drawEntity
(DrawContext context, float x, float y, int size, Vector3f vector3f, Quaternionf quaternionf, @Nullable Quaternionf quaternionf2, LivingEntity entity) static void
InventoryScreen.drawEntity
(DrawContext context, int x1, int y1, int x2, int y2, int size, float float2, float mouseX, float mouseY, 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) void
CrafterScreen.drawSlot
(DrawContext context, Slot slot) protected 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
CrafterScreen.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
BookEditScreen.renderBackground
(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.void
BookScreen.renderBackground
(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.void
HandledScreen.renderBackground
(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.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) void
BeaconScreen.BaseButtonWidget.renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) 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
AddServerScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
ConnectScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
DirectConnectScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) 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, int mouseX, int mouseY, float delta) 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
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
VideoOptionsScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
KeybindsScreen.renderBackground
(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.void
LanguageOptionsScreen.renderBackground
(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.void
MouseOptionsScreen.renderBackground
(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.void
SimpleOptionsScreen.renderBackground
(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.void
SoundOptionsScreen.renderBackground
(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.void
TelemetryInfoScreen.renderBackground
(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.void
VideoOptionsScreen.renderBackground
(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.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
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) void
PackScreen.renderBackground
(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.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) private void
RecipeGroupButtonWidget.renderIcons
(DrawContext context, ItemRenderer itemRenderer) void
AnimatedResultButton.renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) void
RecipeAlternativesWidget.AlternativeButtonWidget.renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) void
RecipeGroupButtonWidget.renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) -
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
ReportScreen.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
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.void
AbuseReportReasonScreen.renderBackground
(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.void
ChatSelectionScreen.renderBackground
(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.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 TypeMethodDescriptionstatic 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) protected void
EditGameRulesScreen.NamedRuleWidget.drawName
(DrawContext context, int x, int y) void
BackupPromptScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
CreateWorldScreen.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
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
EditWorldScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
LevelLoadingScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
OptimizeWorldScreen.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
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.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
CustomizeBuffetLevelScreen.renderBackground
(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.void
ExperimentsScreen.renderBackground
(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.void
CreateWorldScreen.renderBackgroundTexture
(DrawContext context) Renders the fullscreen background texture of this screen.private void
CustomizeFlatLevelScreen.SuperflatLayersListWidget.SuperflatLayerEntry.renderIcon
(DrawContext context, int x, int y, ItemStack iconItem) private void
PresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry.renderIcon
(DrawContext context, int x, int y, Item iconItem) private void
CustomizeFlatLevelScreen.SuperflatLayersListWidget.SuperflatLayerEntry.renderIconBackgroundTexture
(DrawContext context, int x, int y) void
EditGameRulesScreen.RuleListWidget.renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) void
WorldListWidget.renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) -
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.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
PlayerSkinWidget.Models.draw
(DrawContext context, SkinTextures skinTextures) void
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
PressableWidget.drawMessage
(DrawContext context, TextRenderer textRenderer, int color) void
TabButtonWidget.drawMessage
(DrawContext context, TextRenderer textRenderer, int color) void
TextIconButtonWidget.IconOnly.drawMessage
(DrawContext context, TextRenderer textRenderer, int color) void
TextIconButtonWidget.WithText.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 startX, int startY, int endX, int endY, int color) protected static void
ClickableWidget.drawScrollableText
(DrawContext context, TextRenderer textRenderer, Text text, int centerX, int startX, int startY, int endX, int endY, 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) protected void
EntryListWidget.enableScissor
(DrawContext context) final 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
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
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.void
CheckboxWidget.renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) protected abstract void
ClickableWidget.renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) void
EntryListWidget.renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) void
IconWidget.Simple.renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) protected void
IconWidget.Texture.renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) void
LockButtonWidget.renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) void
MultilineTextWidget.renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) void
NarratedMultilineTextWidget.renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) void
PageTurnWidget.renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) protected void
PlayerSkinWidget.renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) void
PressableTextWidget.renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) protected void
PressableWidget.renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) void
ScrollableTextWidget.renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) void
ScrollableWidget.renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) void
SliderWidget.renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) void
TabButtonWidget.renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) void
TextFieldWidget.renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) void
TextIconButtonWidget.IconOnly.renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) void
TextIconButtonWidget.WithText.renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) void
TexturedButtonWidget.renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) void
TextWidget.renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) void
ToggleButtonWidget.renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) -
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 TypeMethodDescriptionprotected void
RealmsLoadingWidget.renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) void
RealmsWorldSlotButton.renderWidget
(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) private void
RealmsMainScreen.RealmSelectionListEntry.drawDescription
(DrawContext context, int y, int x) 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
RealmsMainScreen.drawEnvironmentText
(DrawContext context, String text, int color) private void
RealmsNotificationsScreen.drawIcons
(DrawContext context) protected void
RealmsMainScreen.Entry.drawOwnerOrExpiredText
(DrawContext context, int y, int x, RealmsServer server) private void
RealmsDownloadLatestWorldScreen.drawProgressBar
(DrawContext context) private void
RealmsUploadScreen.drawProgressBar
(DrawContext context) private void
RealmsMainScreen.RealmSelectionListEntry.drawServerNameAndVersion
(DrawContext context, int y, int x, int width) private void
RealmsConfigureWorldScreen.drawServerState
(DrawContext context, int x, int y, int mouseX, int mouseY) private void
RealmsConfigureWorldScreen.drawServerState
(DrawContext context, int x, int y, int mouseX, int mouseY, Identifier texture, Supplier<Text> tooltipGetter) 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
RealmsMainScreen.Entry.drawTextureWithTooltip
(DrawContext context, int x, int y, int mouseX, int mouseY, Identifier texture, Supplier<Text> tooltip) static void
BuyRealmsScreen.drawTrialAvailableTexture
(DrawContext context, ButtonWidget button) protected void
RealmsMainScreen.Entry.drawTrimmedText
(DrawContext context, String string, int left, int y, int right, int color) private void
RealmsUploadScreen.drawUploadSpeed
(DrawContext context) private void
RealmsUploadScreen.drawUploadSpeed0
(DrawContext context, long bytesPerSecond) void
BuyRealmsScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) 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
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
RealmsClientIncompatibleScreen.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
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
RealmsMainScreen.EmptyEntry.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.NotificationButtonWidget.render
(DrawContext context) void
RealmsMainScreen.ParentRealmSelectionListEntry.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.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.void
RealmsMainScreen.render
(DrawContext context, int mouseX, int mouseY, float delta) void
RealmsMainScreen.SnapshotEntry.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.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) 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
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
BuyRealmsScreen.renderBackground
(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.void
RealmsNotificationsScreen.renderBackground
(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.protected void
RealmsSelectFileToUploadScreen.WorldListEntry.renderItem
(DrawContext context, int index, int x, int y) private void
RealmsSelectWorldTemplateScreen.renderMessages
(DrawContext context, int x, int y, List<TextRenderingUtils.Line> messages) private void
RealmsPendingInvitesScreen.PendingInvitationSelectionListEntry.renderPendingInvitationItem
(DrawContext context, PendingInvite invite, int x, int y, int mouseX, int mouseY) protected void
RealmsMainScreen.Entry.renderStatusIcon
(RealmsServer server, DrawContext context, int x, int y, int mouseX, int mouseY) void
RealmsCreateWorldScreen.FrameButton.renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) void
RealmsMainScreen.NotificationButtonWidget.renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) -
Uses of DrawContext in net.minecraft.client.realms.util
Modifier and TypeMethodDescriptionstatic void
RealmsUtil.drawPlayerHead
(DrawContext context, int x, int y, int size, UUID playerUuid) -
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, int int2, int int3, int int4, int int5)