Uses of Class
net.minecraft.client.gui.Font
Package
Description
-
Uses of Font in net.minecraft.client
-
Uses of Font in net.minecraft.client.gui
Modifier and TypeMethodDescriptionprotected void
Gui.drawBackdrop
(PoseStack p_93040_, Font p_93041_, int p_93042_, int p_93043_, int p_93044_) static void
GuiComponent.drawCenteredString
(PoseStack p_93209_, Font p_93210_, String p_93211_, int p_93212_, int p_93213_, int p_93214_) static void
GuiComponent.drawCenteredString
(PoseStack p_93216_, Font p_93217_, Component p_93218_, int p_93219_, int p_93220_, int p_93221_) static void
GuiComponent.drawCenteredString
(PoseStack p_168750_, Font p_168751_, FormattedCharSequence p_168752_, int p_168753_, int p_168754_, int p_168755_) static void
GuiComponent.drawString
(PoseStack p_93237_, Font p_93238_, String p_93239_, int p_93240_, int p_93241_, int p_93242_) static void
GuiComponent.drawString
(PoseStack p_93244_, Font p_93245_, Component p_93246_, int p_93247_, int p_93248_, int p_93249_) static void
GuiComponent.drawString
(PoseStack p_168757_, Font p_168758_, FormattedCharSequence p_168759_, int p_168760_, int p_168761_, int p_168762_) -
Uses of Font in net.minecraft.client.gui.components
Modifier and TypeFieldDescription(package private) final Font
CommandSuggestions.font
private final Font
DebugScreenOverlay.font
private final Font
EditBox.font
private final Font
PlainTextButton.font
Modifier and TypeMethodDescriptionstatic MultiLineLabel
static MultiLineLabel
static MultiLineLabel
MultiLineLabel.create
(Font p_94342_, FormattedText p_94343_, int p_94344_) static MultiLineLabel
MultiLineLabel.create
(Font p_94346_, FormattedText p_94347_, int p_94348_, int p_94349_) static MultiLineLabel
MultiLineLabel.createFixed
(Font p_94362_, List<MultiLineLabel.TextWithWidth> p_94363_) static List<FormattedCharSequence>
ComponentRenderUtils.wrapComponents
(FormattedText p_94006_, int p_94007_, Font p_94008_) ModifierConstructorDescriptionCommandSuggestions
(Minecraft p_93871_, Screen p_93872_, EditBox p_93873_, Font p_93874_, boolean p_93875_, boolean p_93876_, int p_93877_, int p_93878_, boolean p_93879_, int p_93880_) EditBox
(Font p_94106_, int p_94107_, int p_94108_, int p_94109_, int p_94110_, EditBox p_94111_, Component p_94112_) PlainTextButton
(int p_211755_, int p_211756_, int p_211757_, int p_211758_, Component p_211759_, Button.OnPress p_211760_, Font p_211761_) -
Uses of Font in net.minecraft.client.gui.font
-
Uses of Font in net.minecraft.client.gui.screens
Modifier and TypeMethodDescriptionvoid
Screen.renderComponentTooltip
(PoseStack poseStack, List<? extends FormattedText> tooltips, int mouseX, int mouseY, Font font) void
Screen.renderComponentTooltip
(PoseStack poseStack, List<? extends FormattedText> tooltips, int mouseX, int mouseY, Font font, ItemStack stack) void
Screen.renderTooltip
(PoseStack poseStack, List<? extends FormattedCharSequence> lines, int x, int y, Font font) void
Screen.renderTooltip
(PoseStack poseStack, List<Component> textComponents, Optional<TooltipComponent> tooltipComponent, int x, int y, Font font) void
Screen.renderTooltip
(PoseStack poseStack, List<Component> textComponents, Optional<TooltipComponent> tooltipComponent, int x, int y, Font font, ItemStack stack) -
Uses of Font in net.minecraft.client.gui.screens.inventory
Modifier and TypeMethodDescriptionint
BookEditScreen.DisplayCache.getIndexAtPosition
(Font p_98214_, BookEditScreen.Pos2i p_98215_) EnchantmentNames.getRandomName
(Font p_98738_, int p_98739_) -
Uses of Font in net.minecraft.client.gui.screens.inventory.tooltip
Modifier and TypeMethodDescriptionint
int
int
void
ClientBundleTooltip.renderImage
(Font p_194042_, int p_194043_, int p_194044_, PoseStack p_194045_, ItemRenderer p_194046_, int p_194047_) default void
ClientTooltipComponent.renderImage
(Font p_194048_, int p_194049_, int p_194050_, PoseStack p_194051_, ItemRenderer p_194052_, int p_194053_) private void
ClientBundleTooltip.renderSlot
(int p_194027_, int p_194028_, int p_194029_, boolean p_194030_, Font p_194031_, PoseStack p_194032_, ItemRenderer p_194033_, int p_194034_) void
ClientTextTooltip.renderText
(Font p_169943_, int p_169944_, int p_169945_, Matrix4f p_169946_, MultiBufferSource.BufferSource p_169947_) default void
ClientTooltipComponent.renderText
(Font p_169953_, int p_169954_, int p_169955_, Matrix4f p_169956_, MultiBufferSource.BufferSource p_169957_) -
Uses of Font in net.minecraft.client.gui.screens.worldselection
Modifier and TypeMethodDescriptionvoid
WorldGenSettingsComponent.init
(CreateWorldScreen p_101430_, Minecraft p_101431_, Font p_101432_) -
Uses of Font in net.minecraft.client.renderer.blockentity
Modifier and TypeFieldDescriptionfinal Font
BlockEntityRenderDispatcher.font
private final Font
BlockEntityRendererProvider.Context.font
private final Font
SignRenderer.font
ModifierConstructorDescriptionBlockEntityRenderDispatcher
(Font p_173559_, EntityModelSet p_173560_, Supplier<BlockRenderDispatcher> p_173561_) Context
(BlockEntityRenderDispatcher p_173577_, BlockRenderDispatcher p_173578_, EntityModelSet p_173579_, Font p_173580_) -
Uses of Font in net.minecraft.client.renderer.entity
Modifier and TypeFieldDescriptionprivate final Font
EntityRenderDispatcher.font
private final Font
EntityRenderer.font
private final Font
EntityRendererProvider.Context.font
Modifier and TypeMethodDescriptionEntityRenderer.getFont()
EntityRendererProvider.Context.getFont()
Modifier and TypeMethodDescriptionvoid
ItemRenderer.renderGuiItemDecorations
(Font p_115170_, ItemStack p_115171_, int p_115172_, int p_115173_) void
ItemRenderer.renderGuiItemDecorations
(Font p_115175_, ItemStack p_115176_, int p_115177_, int p_115178_, String p_115179_) ModifierConstructorDescriptionContext
(EntityRenderDispatcher p_174017_, ItemRenderer p_174018_, ResourceManager p_174019_, EntityModelSet p_174020_, Font p_174021_) EntityRenderDispatcher
(TextureManager p_173998_, ItemRenderer p_173999_, Font p_174000_, Options p_174001_, EntityModelSet p_174002_) -
Uses of Font in net.minecraftforge.client
Modifier and TypeMethodDescriptiondefault Font
Returns the font renderer used to render tooltips and overlays for this item.static Font
ForgeHooksClient.getTooltipFont
(Font forcedFont, ItemStack stack, Font fallbackFont) Modifier and TypeMethodDescriptionstatic List<ClientTooltipComponent>
ForgeHooksClient.gatherTooltipComponents
(ItemStack stack, List<? extends FormattedText> textElements, int mouseX, int screenWidth, int screenHeight, Font forcedFont, Font fallbackFont) static List<ClientTooltipComponent>
ForgeHooksClient.gatherTooltipComponents
(ItemStack stack, List<? extends FormattedText> textElements, Optional<TooltipComponent> itemComponent, int mouseX, int screenWidth, int screenHeight, Font forcedFont, Font fallbackFont) static Font
ForgeHooksClient.getTooltipFont
(Font forcedFont, ItemStack stack, Font fallbackFont) static RenderTooltipEvent.Color
ForgeHooksClient.onRenderTooltipColor
(ItemStack stack, PoseStack poseStack, int x, int y, Font font, List<ClientTooltipComponent> components) static RenderTooltipEvent.Pre
ForgeHooksClient.onRenderTooltipPre
(ItemStack stack, PoseStack poseStack, int x, int y, int screenWidth, int screenHeight, List<ClientTooltipComponent> components, Font forcedFont, Font fallbackFont) static void
ForgeHooksClient.renderMainMenu
(TitleScreen gui, PoseStack poseStack, Font font, int width, int height, int alpha) -
Uses of Font in net.minecraftforge.client.event
ModifierConstructorDescriptionColor
(ItemStack stack, PoseStack poseStack, int x, int y, Font fr, int background, int borderStart, int borderEnd, List<ClientTooltipComponent> components) Pre
(ItemStack stack, PoseStack poseStack, int x, int y, int screenWidth, int screenHeight, Font font, List<ClientTooltipComponent> components) RenderTooltipEvent
(ItemStack itemStack, PoseStack poseStack, int x, int y, Font font, List<ClientTooltipComponent> components) -
Uses of Font in net.minecraftforge.client.gui
Modifier and TypeMethodDescriptionprivate void
LoadingErrorScreen.drawMultiLineCenteredString
(PoseStack poseStack, Font fr, Component str, int x, int y) -
Uses of Font in net.minecraftforge.debug.client
Modifier and TypeFieldDescription(package private) static Font
CustomTooltipTest.ClientModBusEventHandler.customFont
private Font
CustomTooltipTest.TooltipTestScreen.testFont
Modifier and TypeMethodDescriptionint
void
CustomTooltipTest.CustomClientTooltip.renderImage
(Font font, int x, int y, PoseStack poseStack, ItemRenderer itemRenderer_, int zIndex)