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) Font
CommandSuggestions.font
private Font
DebugScreenOverlay.font
private Font
EditBox.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_)
-
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.renderComponentToolTip(PoseStack poseStack, List<? extends FormattedText> tooltips, int mouseX, int mouseY, Font font)
Deprecated, for removal: This API element is subject to removal in a future version.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)
void
Screen.renderToolTip(PoseStack p_96618_, List<? extends FormattedCharSequence> p_96619_, int p_96620_, int p_96621_, Font font)
Deprecated, for removal: This API element is subject to removal in a future version. -
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_169903_, int p_169904_, int p_169905_, PoseStack p_169906_, ItemRenderer p_169907_, int p_169908_, TextureManager p_169909_)
default void
ClientTooltipComponent.renderImage(Font p_169958_, int p_169959_, int p_169960_, PoseStack p_169961_, ItemRenderer p_169962_, int p_169963_, TextureManager p_169964_)
private void
ClientBundleTooltip.renderSlot(int p_169884_, int p_169885_, int p_169886_, boolean p_169887_, Font p_169888_, PoseStack p_169889_, ItemRenderer p_169890_, int p_169891_, TextureManager p_169892_)
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 TypeFieldDescriptionBlockEntityRenderDispatcher.font
private Font
BlockEntityRendererProvider.Context.font
private 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 Font
EntityRenderDispatcher.font
private Font
EntityRenderer.font
private 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 RenderTooltipEvent.Color
ForgeHooksClient.colorTooltipEvent(ItemStack stack, PoseStack matrixStack, int x, int y, Font font, List<ClientTooltipComponent> components)
static 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.Pre
ForgeHooksClient.preTooltipEvent(ItemStack stack, PoseStack matrixStack, int x, int y, int screenWidth, int screenHeight, List<ClientTooltipComponent> components, Font forcedFont, Font fallbackFont)
static void
ForgeHooksClient.renderMainMenu(TitleScreen gui, PoseStack mStack, Font font, int width, int height, int alpha)
-
Uses of Font in net.minecraftforge.client.event
Modifier and TypeMethodDescriptionvoid
RenderTooltipEvent.Pre.setFontRenderer(Font fr)
Sets theFont
to be used to render text.ModifierConstructorDescriptionColor(ItemStack stack, PoseStack matrixStack, int x, int y, Font fr, int background, int borderStart, int borderEnd, List<ClientTooltipComponent> components)
Color(ItemStack stack, List<? extends FormattedText> textLines, PoseStack matrixStack, int x, int y, Font fr, int background, int borderStart, int borderEnd)
Deprecated, for removal: This API element is subject to removal in a future version.Post(ItemStack stack, List<? extends FormattedText> textLines, PoseStack matrixStack, int x, int y, Font fr, int width, int height)
Deprecated, for removal: This API element is subject to removal in a future version.PostBackground(ItemStack stack, List<? extends FormattedText> textLines, PoseStack matrixStack, int x, int y, Font fr, int width, int height)
Deprecated, for removal: This API element is subject to removal in a future version.PostText(ItemStack stack, List<? extends FormattedText> textLines, PoseStack matrixStack, int x, int y, Font fr, int width, int height)
Deprecated, for removal: This API element is subject to removal in a future version.Pre(ItemStack stack, PoseStack matrixStack, int x, int y, int screenWidth, int screenHeight, Font font, List<ClientTooltipComponent> components)
Pre(ItemStack stack, List<? extends FormattedText> lines, PoseStack matrixStack, int x, int y, int screenWidth, int screenHeight, int maxWidth, Font fr)
Deprecated, for removal: This API element is subject to removal in a future version.RenderTooltipEvent(ItemStack stack, PoseStack poseStack, int x, int y, Font font, List<ClientTooltipComponent> components)
RenderTooltipEvent(ItemStack stack, List<? extends FormattedText> lines, PoseStack matrixStack, int x, int y, Font fr)
Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Font in net.minecraftforge.client.gui
-
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, TextureManager textureManager)
-
Uses of Font in net.minecraftforge.fmlclient.gui
Modifier and TypeMethodDescriptionstatic void
GuiUtils.drawHoveringText(PoseStack mStack, List<? extends FormattedText> textLines, int mouseX, int mouseY, int screenWidth, int screenHeight, int maxTextWidth, int backgroundColor, int borderColorStart, int borderColorEnd, Font font)
Deprecated, for removal: This API element is subject to removal in a future version.static void
GuiUtils.drawHoveringText(PoseStack mStack, List<? extends FormattedText> textLines, int mouseX, int mouseY, int screenWidth, int screenHeight, int maxTextWidth, Font font)
Deprecated, for removal: This API element is subject to removal in a future version.static void
GuiUtils.drawHoveringText(ItemStack stack, PoseStack pStack, List<? extends FormattedText> textLines, int mouseX, int mouseY, int screenWidth, int screenHeight, int maxTextWidth, int backgroundColor, int borderColorStart, int borderColorEnd, Font font)
Deprecated, for removal: This API element is subject to removal in a future version.static void
GuiUtils.drawHoveringText(ItemStack stack, PoseStack mStack, List<? extends FormattedText> textLines, int mouseX, int mouseY, int screenWidth, int screenHeight, int maxTextWidth, Font font)
Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Font in net.minecraftforge.fmlclient.gui.screen
Modifier and TypeMethodDescriptionprivate void
LoadingErrorScreen.drawMultiLineCenteredString(PoseStack mStack, Font fr, Component str, int x, int y)