Uses of Class
net.minecraft.client.font.TextRenderer
Packages that use TextRenderer
Package
Description
-
Uses of TextRenderer in net.minecraft.client
Fields in net.minecraft.client declared as TextRenderer -
Uses of TextRenderer in net.minecraft.client.font
Methods in net.minecraft.client.font that return TextRendererMethods in net.minecraft.client.font with parameters of type TextRendererModifier and TypeMethodDescriptionstatic MultilineText
MultilineText.create(TextRenderer renderer, List<MultilineText.Line> lines)
static MultilineText
MultilineText.create(TextRenderer renderer, StringVisitable text, int width)
static MultilineText
MultilineText.create(TextRenderer renderer, StringVisitable text, int width, int maxLines)
static MultilineText
MultilineText.create(TextRenderer renderer, Text[] texts)
static MultilineText
MultilineText.method_35726(TextRenderer textRenderer, List<Text> list)
-
Uses of TextRenderer in net.minecraft.client.gui
Methods in net.minecraft.client.gui with parameters of type TextRendererModifier and TypeMethodDescriptionstatic void
DrawableHelper.drawCenteredText(MatrixStack matrices, TextRenderer textRenderer, String text, int centerX, int y, int color)
static void
DrawableHelper.drawCenteredText(MatrixStack matrices, TextRenderer textRenderer, Text text, int centerX, int y, int color)
static void
DrawableHelper.drawCenteredTextWithShadow(MatrixStack matrices, TextRenderer textRenderer, OrderedText text, int centerX, int y, int color)
static void
DrawableHelper.drawStringWithShadow(MatrixStack matrices, TextRenderer textRenderer, String text, int x, int y, int color)
static void
DrawableHelper.drawTextWithShadow(MatrixStack matrices, TextRenderer textRenderer, Text text, int x, int y, int color)
static void
DrawableHelper.drawWithShadow(MatrixStack matrices, TextRenderer textHandler, OrderedText text, int x, int y, int color)
-
Uses of TextRenderer in net.minecraft.client.gui.hud
Fields in net.minecraft.client.gui.hud declared as TextRendererMethods in net.minecraft.client.gui.hud that return TextRendererMethods in net.minecraft.client.gui.hud with parameters of type TextRendererModifier and TypeMethodDescriptionprivate void
InGameHud.drawTextBackground(MatrixStack matrices, TextRenderer textRenderer, int yOffset, int width, int color)
-
Uses of TextRenderer in net.minecraft.client.gui.screen
Fields in net.minecraft.client.gui.screen declared as TextRendererModifier and TypeFieldDescription(package private) TextRenderer
CommandSuggestor.textRenderer
protected TextRenderer
Screen.textRenderer
Constructors in net.minecraft.client.gui.screen with parameters of type TextRendererModifierConstructorDescriptionCommandSuggestor(MinecraftClient client, Screen owner, TextFieldWidget textField, TextRenderer textRenderer, boolean slashOptional, boolean suggestingWhenEmpty, int inWindowIndexOffset, int maxSuggestionSize, boolean chatScreenSized, int color)
-
Uses of TextRenderer in net.minecraft.client.gui.screen.ingame
Methods in net.minecraft.client.gui.screen.ingame with parameters of type TextRendererModifier and TypeMethodDescriptionEnchantingPhrases.generatePhrase(TextRenderer fontRenderer, int width)
int
BookEditScreen.PageContent.getCursorPosition(TextRenderer renderer, BookEditScreen.Position position)
-
Uses of TextRenderer in net.minecraft.client.gui.screen.world
Fields in net.minecraft.client.gui.screen.world declared as TextRendererMethods in net.minecraft.client.gui.screen.world with parameters of type TextRendererModifier and TypeMethodDescriptionvoid
MoreOptionsDialog.init(CreateWorldScreen parent, MinecraftClient client, TextRenderer textRenderer)
-
Uses of TextRenderer in net.minecraft.client.gui.tooltip
Methods in net.minecraft.client.gui.tooltip with parameters of type TextRendererModifier and TypeMethodDescriptionvoid
BundleTooltipComponent.drawItems(TextRenderer textRenderer, int x, int y, MatrixStack matrices, ItemRenderer itemRenderer, int z, TextureManager textureManager)
default void
TooltipComponent.drawItems(TextRenderer textRenderer, int x, int y, MatrixStack matrices, ItemRenderer itemRenderer, int z, TextureManager textureManager)
private void
BundleTooltipComponent.drawSlot(int x, int y, int index, boolean shouldBlock, TextRenderer textRenderer, MatrixStack matrices, ItemRenderer itemRenderer, int z, TextureManager textureManager)
void
OrderedTextTooltipComponent.drawText(TextRenderer textRenderer, int x, int y, Matrix4f matrix4f, VertexConsumerProvider.Immediate immediate)
default void
TooltipComponent.drawText(TextRenderer textRenderer, int x, int y, Matrix4f matrix4f, VertexConsumerProvider.Immediate immediate)
int
BundleTooltipComponent.getWidth(TextRenderer textRenderer)
int
OrderedTextTooltipComponent.getWidth(TextRenderer textRenderer)
int
TooltipComponent.getWidth(TextRenderer textRenderer)
-
Uses of TextRenderer in net.minecraft.client.gui.widget
Fields in net.minecraft.client.gui.widget declared as TextRendererConstructors in net.minecraft.client.gui.widget with parameters of type TextRendererModifierConstructorDescriptionTextFieldWidget(TextRenderer textRenderer, int x, int y, int width, int height, @Nullable TextFieldWidget copyFrom, Text text)
TextFieldWidget(TextRenderer textRenderer, int x, int y, int width, int height, Text text)
-
Uses of TextRenderer in net.minecraft.client.render.block.entity
Fields in net.minecraft.client.render.block.entity declared as TextRendererModifier and TypeFieldDescriptionprivate TextRenderer
BlockEntityRenderDispatcher.textRenderer
private TextRenderer
BlockEntityRendererFactory.Context.textRenderer
private TextRenderer
SignBlockEntityRenderer.textRenderer
Methods in net.minecraft.client.render.block.entity that return TextRendererConstructors in net.minecraft.client.render.block.entity with parameters of type TextRendererModifierConstructorDescriptionBlockEntityRenderDispatcher(TextRenderer textRenderer, EntityModelLoader entityModelLoader, Supplier<BlockRenderManager> supplier)
Context(BlockEntityRenderDispatcher renderDispatcher, BlockRenderManager renderManager, EntityModelLoader layerRenderDispatcher, TextRenderer textRenderer)
-
Uses of TextRenderer in net.minecraft.client.render.entity
Fields in net.minecraft.client.render.entity declared as TextRendererModifier and TypeFieldDescriptionprivate TextRenderer
EntityRenderDispatcher.textRenderer
private TextRenderer
EntityRenderer.textRenderer
private TextRenderer
EntityRendererFactory.Context.textRenderer
Methods in net.minecraft.client.render.entity that return TextRendererModifier and TypeMethodDescriptionEntityRenderer.getFontRenderer()
EntityRendererFactory.Context.getTextRenderer()
Constructors in net.minecraft.client.render.entity with parameters of type TextRendererModifierConstructorDescriptionContext(EntityRenderDispatcher renderDispatcher, ItemRenderer itemRenderer, ResourceManager resourceManager, EntityModelLoader modelLoader, TextRenderer textRenderer)
EntityRenderDispatcher(TextureManager textureManager, ItemRenderer itemRenderer, TextRenderer textRenderer, GameOptions gameOptions, EntityModelLoader modelLoader)
-
Uses of TextRenderer in net.minecraft.client.render.item
Methods in net.minecraft.client.render.item with parameters of type TextRendererModifier and TypeMethodDescriptionvoid
ItemRenderer.renderGuiItemOverlay(TextRenderer renderer, ItemStack stack, int x, int y)
Renders the overlay for items in GUIs, including the damage bar and the item count.void
ItemRenderer.renderGuiItemOverlay(TextRenderer renderer, ItemStack stack, int x, int y, @Nullable String countLabel)
Renders the overlay for items in GUIs, including the damage bar and the item count. -
Uses of TextRenderer in net.minecraft.client.util
Methods in net.minecraft.client.util with parameters of type TextRendererModifier and TypeMethodDescriptionstatic List<OrderedText>
ChatMessages.breakRenderedChatMessageLines(StringVisitable message, int width, TextRenderer textRenderer)