Uses of Interface
net.minecraft.text.Text
Packages that use Text
Package
Description
Contains the screen narrator for building
narration messages.
The Named Binary Tag (NBT) data format.
Provides resources to Minecraft, including resource access, provision, and reloading.
Contains utility method classes, various enums, serialization helpers, and
miscellaneous classes.
-
Uses of Text in net.minecraft.advancement
Fields in net.minecraft.advancement declared as TextModifier and TypeFieldDescriptionprivate final TextAdvancementDisplay.descriptionprivate final TextAdvancementDisplay.titleprivate final TextAdvancementFrame.toastTextFields in net.minecraft.advancement with type parameters of type TextMethods in net.minecraft.advancement that return TextModifier and TypeMethodDescriptionprivate static TextAdvancement.createNameFromDisplay(AdvancementDisplay display) AdvancementDisplay.getDescription()static TextAdvancement.getNameFromIdentity(AdvancementEntry identifiedAdvancement) AdvancementProgress.getProgressBarFraction()AdvancementDisplay.getTitle()AdvancementFrame.getToastText()Methods in net.minecraft.advancement that return types with arguments of type TextModifier and TypeMethodDescriptionAdvancement.name()Returns the value of thenamerecord component.Methods in net.minecraft.advancement with parameters of type TextModifier and TypeMethodDescriptionAdvancement.Builder.display(ItemConvertible icon, Text title, Text description, @Nullable Identifier background, AdvancementFrame frame, boolean showToast, boolean announceToChat, boolean hidden) Advancement.Builder.display(ItemStack icon, Text title, Text description, @Nullable Identifier background, AdvancementFrame frame, boolean showToast, boolean announceToChat, boolean hidden) Constructors in net.minecraft.advancement with parameters of type TextModifierConstructorDescriptionAdvancementDisplay(ItemStack icon, Text title, Text description, Optional<Identifier> background, AdvancementFrame frame, boolean showToast, boolean announceToChat, boolean hidden) -
Uses of Text in net.minecraft.block
Fields in net.minecraft.block declared as TextModifier and TypeFieldDescriptionprivate static final TextEnderChestBlock.CONTAINER_NAMEprivate static final TextSmithingTableBlock.SCREEN_TITLEprivate static final TextAnvilBlock.TITLEprivate static final TextCartographyTableBlock.TITLEprivate static final TextCraftingTableBlock.TITLEprivate static final TextGrindstoneBlock.TITLEprivate static final TextLoomBlock.TITLEprivate static final TextStonecutterBlock.TITLEprivate static final TextShulkerBoxBlock.UNKNOWN_CONTENTS_TEXTMethod parameters in net.minecraft.block with type arguments of type TextModifier and TypeMethodDescriptionvoidBlock.appendTooltip(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType options) Appends tooltips to a stack of this block's corresponding block item.voidDecoratedPotBlock.appendTooltip(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType options) Appends tooltips to a stack of this block's corresponding block item.voidShulkerBoxBlock.appendTooltip(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType options) Appends tooltips to a stack of this block's corresponding block item.voidSpawnerBlock.appendTooltip(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType options) Appends tooltips to a stack of this block's corresponding block item.voidTrialSpawnerBlock.appendTooltip(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType options) Appends tooltips to a stack of this block's corresponding block item. -
Uses of Text in net.minecraft.block.entity
Fields in net.minecraft.block.entity declared as TextModifier and TypeFieldDescriptionprivate static final TextBeaconBlockEntity.CONTAINER_NAME_TEXTBannerBlockEntity.customNameBeaconBlockEntity.customNameEnchantingTableBlockEntity.customNameLockableContainerBlockEntity.customNameSkullBlockEntity.customNameprivate final Text[]SignText.filteredMessagesprivate final Text[]SignText.messagesMethods in net.minecraft.block.entity that return TextModifier and TypeMethodDescriptionJigsawBlockEntity.Joint.asText()protected TextBarrelBlockEntity.getContainerName()protected TextBlastFurnaceBlockEntity.getContainerName()protected TextBrewingStandBlockEntity.getContainerName()protected TextChestBlockEntity.getContainerName()protected TextCrafterBlockEntity.getContainerName()protected TextDispenserBlockEntity.getContainerName()protected TextDropperBlockEntity.getContainerName()protected TextFurnaceBlockEntity.getContainerName()protected TextHopperBlockEntity.getContainerName()protected abstract TextLockableContainerBlockEntity.getContainerName()protected TextShulkerBoxBlockEntity.getContainerName()protected TextSmokerBlockEntity.getContainerName()BannerBlockEntity.getCustomName()Returns the custom name of this object, ornullif there is none.BeaconBlockEntity.getCustomName()Returns the custom name of this object, ornullif there is none.EnchantingTableBlockEntity.getCustomName()Returns the custom name of this object, ornullif there is none.LockableContainerBlockEntity.getCustomName()Returns the custom name of this object, ornullif there is none.private static Text[]SignText.getDefaultText()BeaconBlockEntity.getDisplayName()Returns the title of this screen handler; will be a part of the open screen packet sent to the client.LecternBlockEntity.getDisplayName()Returns the title of this screen handler; will be a part of the open screen packet sent to the client.LockableContainerBlockEntity.getDisplayName()Returns the title of this screen handler; will be a part of the open screen packet sent to the client.SignText.getMessage(int line, boolean filtered) Text[]SignText.getMessages(boolean filtered) BannerBlockEntity.getName()Returns the name of this object.BeaconBlockEntity.getName()Returns the name of this object.EnchantingTableBlockEntity.getName()Returns the name of this object.LockableContainerBlockEntity.getName()Returns the name of this object.Spawner.getSpawnedEntityText(ItemStack stack, String spawnDataKey) private TextBlockEntity.tryParseCustomName(String json, RegistryWrapper.WrapperLookup registryLookup) Methods in net.minecraft.block.entity with parameters of type TextModifier and TypeMethodDescriptionstatic booleanLockableContainerBlockEntity.checkUnlocked(PlayerEntity player, ContainerLock lock, Text containerName) private static SignTextSignText.create(Text[] messages, Optional<Text[]> filteredMessages, DyeColor color, boolean glowing) private TextvoidBeaconBlockEntity.setCustomName(@Nullable Text customName) voidEnchantingTableBlockEntity.setCustomName(@Nullable Text customName) SignText.withMessage(int line, Text message) SignText.withMessage(int line, Text message, Text filteredMessage) Method parameters in net.minecraft.block.entity with type arguments of type TextModifier and TypeMethodDescriptionstatic voidSpawner.appendSpawnDataToTooltip(ItemStack stack, List<Text> tooltip, String spawnDataKey) SignText.getOrderedMessages(boolean filtered, Function<Text, OrderedText> messageOrderer) Constructors in net.minecraft.block.entity with parameters of type Text -
Uses of Text in net.minecraft.block.enums
Fields in net.minecraft.block.enums declared as TextMethods in net.minecraft.block.enums that return Text -
Uses of Text in net.minecraft.block.jukebox
Fields in net.minecraft.block.jukebox declared as TextModifier and TypeFieldDescriptionprivate final TextJukeboxSong.descriptionThe field for thedescriptionrecord component.Methods in net.minecraft.block.jukebox that return TextModifier and TypeMethodDescriptionJukeboxSong.description()Returns the value of thedescriptionrecord component.Constructors in net.minecraft.block.jukebox with parameters of type TextModifierConstructorDescriptionJukeboxSong(RegistryEntry<SoundEvent> registryEntry, Text text, float float2, int int2) -
Uses of Text in net.minecraft.client
Fields in net.minecraft.client declared as TextModifier and TypeFieldDescriptionprivate final TextMinecraftClient.ChatRestriction.descriptionprivate static final TextQuickPlay.ERROR_INVALID_IDENTIFIERprivate static final TextQuickPlay.ERROR_REALM_CONNECTprivate static final TextQuickPlay.ERROR_REALM_PERMISSIONstatic final TextQuickPlay.ERROR_TITLE(package private) static final TextMinecraftClient.ChatRestriction.MORE_INFO_TEXTprivate static final TextMinecraftClient.SOCIAL_INTERACTIONS_NOT_AVAILABLEprivate static final TextQuickPlay.TO_REALMSprivate static final TextQuickPlay.TO_TITLEprivate static final TextQuickPlay.TO_WORLDMethods in net.minecraft.client that return TextModifier and TypeMethodDescriptionMinecraftClient.ChatRestriction.getDescription()private TextMinecraftClient.takeHugeScreenshot(File gameDirectory, int unitWidth, int unitHeight, int width, int height) Takes a huge screenshot in the tga file format.MinecraftClient.takePanorama(File directory, int width, int height) Takes a panorama.Methods in net.minecraft.client with parameters of type TextModifier and TypeMethodDescriptionprivate voidKeyboard.addDebugMessage(Formatting formatting, Text text) private voidvoidMinecraftClient.onResourceReloadFailure(Throwable exception, @Nullable Text resourceName, @Nullable MinecraftClient.LoadingContext loadingContext) private voidMinecraftClient.showResourceReloadFailureToast(@Nullable Text description) Method parameters in net.minecraft.client with type arguments of type TextModifier and TypeMethodDescriptionbooleanMinecraftClient.toggleDebugProfiler(Consumer<Text> chatMessageSender) Constructors in net.minecraft.client with parameters of type Text -
Uses of Text in net.minecraft.client.font
Methods in net.minecraft.client.font with parameters of type TextModifier and TypeMethodDescriptionstatic MultilineTextMultilineText.create(TextRenderer renderer, int maxWidth, int maxLines, Text[] texts) static MultilineTextMultilineText.create(TextRenderer renderer, int maxWidth, Text[] texts) static MultilineTextMultilineText.create(TextRenderer renderer, Text[] texts) static MultilineTextMultilineText.create(TextRenderer renderer, Text text, int maxWidth) intTextRenderer.draw(Text text, float x, float y, int color, boolean shadow, Matrix4f matrix, VertexConsumerProvider vertexConsumers, TextRenderer.TextLayerType layerType, int backgroundColor, int light) -
Uses of Text in net.minecraft.client.gui
Methods in net.minecraft.client.gui with parameters of type TextModifier and TypeMethodDescriptionvoidDrawContext.drawCenteredTextWithShadow(TextRenderer textRenderer, Text text, int centerX, int y, int color) intDrawContext.drawText(TextRenderer textRenderer, Text text, int x, int y, int color, boolean shadow) intDrawContext.drawTextWithBackground(TextRenderer textRenderer, Text text, int x, int y, int width, int color) intDrawContext.drawTextWithShadow(TextRenderer textRenderer, Text text, int x, int y, int color) voidDrawContext.drawTooltip(TextRenderer textRenderer, Text text, int x, int y) Method parameters in net.minecraft.client.gui with type arguments of type TextModifier and TypeMethodDescriptionvoidDrawContext.drawTooltip(TextRenderer textRenderer, List<Text> text, int x, int y) voidDrawContext.drawTooltip(TextRenderer textRenderer, List<Text> text, Optional<TooltipData> data, int x, int y) -
Uses of Text in net.minecraft.client.gui.hud
Fields in net.minecraft.client.gui.hud declared as TextModifier and TypeFieldDescriptionprivate final TextChatHudLine.contentThe field for thecontentrecord component.private static final TextChatHud.DELETED_MARKER_TEXTprivate static final TextInGameHud.DEMO_EXPIRED_MESSAGEprivate static final TextMessageIndicator.ERROR_TEXTPlayerListHud.footerPlayerListHud.ScoreDisplayEntry.formattedScoreThe field for theformattedScorerecord component.PlayerListHud.headerprivate static final TextMessageIndicator.MODIFIED_TEXTprivate final TextPlayerListHud.ScoreDisplayEntry.nameThe field for thenamerecord component.private static final TextMessageIndicator.NOT_SECURE_TEXTInGameHud.overlayMessageprivate static final TextInGameHud.SAVING_LEVEL_TEXTprivate static final TextMessageIndicator.SINGLE_PLAYER_TEXTInGameHud.subtitleprivate static final TextMessageIndicator.SYSTEM_TEXTMessageIndicator.textThe field for thetextrecord component.private final TextSubtitlesHud.SubtitleEntry.textInGameHud.titleMethods in net.minecraft.client.gui.hud that return TextModifier and TypeMethodDescriptionprivate TextPlayerListHud.applyGameModeFormatting(PlayerListEntry entry, MutableText name) Italicizes the given text if the given player is in spectator mode.ChatHudLine.content()Returns the value of thecontentrecord component.PlayerListHud.ScoreDisplayEntry.formattedScore()Returns the value of theformattedScorerecord component.PlayerListHud.getPlayerName(PlayerListEntry entry) Returns the player name rendered by this HUD.SubtitlesHud.SubtitleEntry.getText()PlayerListHud.ScoreDisplayEntry.name()Returns the value of thenamerecord component.MessageIndicator.text()Returns the value of thetextrecord component.Methods in net.minecraft.client.gui.hud with parameters of type TextModifier and TypeMethodDescriptionvoidChatHud.addMessage(Text message) voidChatHud.addMessage(Text message, @Nullable MessageSignatureData signatureData, @Nullable MessageIndicator indicator) voidvoidvoidInGameHud.setOverlayMessage(Text message, boolean tinted) voidInGameHud.setRecordPlayingOverlay(Text description) voidInGameHud.setSubtitle(Text subtitle) voidConstructors in net.minecraft.client.gui.hud with parameters of type TextModifierConstructorDescriptionChatHudLine(int creationTick, Text text, @Nullable MessageSignatureData messageSignatureData, @Nullable MessageIndicator messageIndicator) ClientBossBar(UUID uuid, Text name, float percent, BossBar.Color color, BossBar.Style style, boolean darkenSky, boolean dragonMusic, boolean thickenFog) MessageIndicator(int int2, @Nullable MessageIndicator.Icon icon, @Nullable Text text, @Nullable String string) (package private)ScoreDisplayEntry(Text text, int int2, @Nullable Text text2, int int3) SubtitleEntry(Text text, float range, Vec3d pos) -
Uses of Text in net.minecraft.client.gui.hud.spectator
Fields in net.minecraft.client.gui.hud.spectator declared as TextModifier and TypeFieldDescription(package private) static final TextSpectatorMenu.CLOSE_TEXTprivate final TextTeleportToSpecificPlayerSpectatorCommand.name(package private) static final TextSpectatorMenu.NEXT_PAGE_TEXT(package private) static final TextSpectatorMenu.PREVIOUS_PAGE_TEXTprivate static final TextRootSpectatorCommandGroup.PROMPT_TEXTprivate static final TextTeamTeleportSpectatorMenu.PROMPT_TEXTprivate static final TextTeleportSpectatorMenu.PROMPT_TEXTprivate static final TextTeamTeleportSpectatorMenu.TEAM_TELEPORT_TEXTprivate static final TextTeleportSpectatorMenu.TELEPORT_TEXTMethods in net.minecraft.client.gui.hud.spectator that return TextModifier and TypeMethodDescriptionSpectatorMenu.ChangePageSpectatorMenuCommand.getName()SpectatorMenu.CloseSpectatorMenuCommand.getName()SpectatorMenuCommand.getName()TeamTeleportSpectatorMenu.getName()TeamTeleportSpectatorMenu.TeleportToSpecificTeamCommand.getName()TeleportSpectatorMenu.getName()TeleportToSpecificPlayerSpectatorCommand.getName()RootSpectatorCommandGroup.getPrompt()SpectatorMenuCommandGroup.getPrompt()TeamTeleportSpectatorMenu.getPrompt()TeleportSpectatorMenu.getPrompt() -
Uses of Text in net.minecraft.client.gui.screen
Fields in net.minecraft.client.gui.screen declared as TextModifier and TypeFieldDescriptionprivate static final TextGameMenuScreen.ADVANCEMENTS_TEXTprivate static final TextOpenToLanScreen.ALLOW_COMMANDS_TEXTprivate final TextDisconnectedScreen.buttonLabelprivate final TextNoticeScreen.buttonTextWarningScreen.checkMessageprivate final TextTaskScreen.closeButtonTextprivate static final TextConfirmLinkScreen.COPYprivate static final TextTitleScreen.COPYRIGHTTaskScreen.descriptionTextprivate final TextStatsScreen.GeneralStatsListWidget.Entry.displayNameprivate static final TextStatsScreen.DOWNLOADING_STATS_TEXTprivate final TextStatsScreen.EntityStatsListWidget.Entry.entityTypeNameprivate static final TextGameMenuScreen.FEEDBACK_TEXTprivate static final TextOpenToLanScreen.GAME_MODE_TEXTprivate static final TextGameMenuScreen.GAME_TEXTprivate static final TextStatsScreen.GENERAL_BUTTON_TEXTprivate static final TextOpenToLanScreen.INVALID_PORT_TEXTprivate static final TextStatsScreen.ITEM_BUTTON_TEXTprivate final TextStatsScreen.EntityStatsListWidget.Entry.killedByTextprivate final TextStatsScreen.EntityStatsListWidget.Entry.killedTextprivate final TextConfirmScreen.messageprivate final TextDeathScreen.message(package private) final TextDialogScreen.ChoiceButton.messageprivate final TextFatalErrorScreen.messageprivate TextPopupScreen.Builder.messageprivate final TextPopupScreen.Button.messageThe field for themessagerecord component.private final TextPopupScreen.messageprivate static final TextOutOfMemoryScreen.MESSAGEprivate final TextWarningScreen.messageTextprivate static final TextStatsScreen.MOBS_BUTTON_TEXTprivate final TextWarningScreen.narratedTextprivate final TextDialogScreen.narrationMessageprivate static final TextAccessibilityOnboardingScreen.NARRATOR_PROMPTprivate static final TextTitleScreen.NARRATOR_SCREEN_TITLE(package private) static final TextStatsScreen.NONE_TEXTprotected TextConfirmScreen.noTextprivate final TextNoticeScreen.noticeprivate static final TextDisconnectedScreen.OPEN_REPORT_DIR_TEXTprivate static final TextGameMenuScreen.OPTIONS_TEXTprivate static final TextOpenToLanScreen.OTHER_PLAYERS_TEXTprivate static final TextGameMenuScreen.PAUSED_TEXTprivate static final TextGameMenuScreen.PLAYER_REPORTING_TEXTprivate static final TextOpenToLanScreen.PORT_TEXTprivate static final TextGameMenuScreen.REPORT_BUGS_TEXTprivate static final TextDisconnectedScreen.REPORT_TO_SERVER_TEXTprivate static final TextGameMenuScreen.RETURN_TO_GAME_TEXTprivate static final TextGameMenuScreen.RETURN_TO_MENU_TEXTprivate static final TextGameMenuScreen.SAVING_LEVEL_TEXTprivate TextDeathScreen.scoreTextprivate static final TextScreen.SCREEN_USAGE_TEXTprivate static final TextGameModeSelectionScreen.SELECT_NEXT_TEXTprivate static final TextGameMenuScreen.SEND_FEEDBACK_TEXTprivate static final TextCreditsScreen.SEPARATOR_LINEprivate static final TextGameMenuScreen.SERVER_LINKS_TEXTprivate static final TextGameMenuScreen.SHARE_TO_LAN_TEXTprivate static final TextGameMenuScreen.STATS_TEXTProgressScreen.task(package private) final TextGameModeSelectionScreen.GameModeSelection.textprivate static final TextDownloadingTerrainScreen.TEXTprivate final TextPopupScreen.Builder.titleProgressScreen.titleprotected final TextScreen.titleprivate static final TextGameMenuScreen.FeedbackScreen.TITLEprivate static final TextOutOfMemoryScreen.TITLEprivate static final TextServerLinksScreen.TITLEprivate static final TextAccessibilityOnboardingScreen.TITLE_TEXTprivate static final TextStatsScreen.TITLE_TEXTprivate static final TextDisconnectedScreen.TO_MENU_TEXTprivate static final TextDisconnectedScreen.TO_TITLE_TEXTprivate static final TextOpenToLanScreen.UNAVAILABLE_PORT_TEXTprivate static final TextChatScreen.USAGE_TEXTprivate static final TextConfirmLinkScreen.WARNINGprotected TextConfirmScreen.yesTextFields in net.minecraft.client.gui.screen with type parameters of type TextMethods in net.minecraft.client.gui.screen that return TextModifier and TypeMethodDescriptionTitleScreen.getMultiplayerDisabledText()ConfirmScreen.getNarratedTitle()DialogScreen.getNarratedTitle()DisconnectedScreen.getNarratedTitle()NoticeScreen.getNarratedTitle()PopupScreen.getNarratedTitle()Screen.getNarratedTitle()TaskScreen.getNarratedTitle()WarningScreen.getNarratedTitle()ChatInputSuggestor.getNarration()(package private) TextChatInputSuggestor.SuggestionWindow.getNarration()StatsScreen.EntityStatsListWidget.Entry.getNarration()StatsScreen.GeneralStatsListWidget.Entry.getNarration()StatsScreen.ItemStatsListWidget.Entry.getNarration()ChatInputSuggestor.getSuggestionUsageNarrationText()(package private) TextGameModeSelectionScreen.GameModeSelection.getText()Screen.getTitle()protected TextScreen.getUsageNarrationText()PopupScreen.Button.message()Returns the value of themessagerecord component.OpenToLanScreen.updatePort(String portText) Methods in net.minecraft.client.gui.screen that return types with arguments of type TextModifier and TypeMethodDescriptionScreen.getTooltipFromItem(MinecraftClient client, ItemStack stack) Methods in net.minecraft.client.gui.screen with parameters of type TextModifier and TypeMethodDescriptionprivate voidPopupScreen.Builder.button(Text message, Consumer<PopupScreen> action) private ButtonWidgetGameMenuScreen.createButton(Text text, Supplier<Screen> screenSupplier) static TaskScreenTaskScreen.createResultScreen(Text title, Text descriptionText, Text closeButtonText, Runnable closeCallback) Returns a new screen to indicate a task has finished running.static TaskScreenTaskScreen.createRunningScreen(Text title, Text closeButtonText, Runnable closeCallback) Returns a new screen to indicate a task is running.private static ButtonWidgetGameMenuScreen.createUrlButton(Screen parent, Text text, URI uri) voidvoidvoidProgressScreen.setTitleAndTask(Text title) voidScreen.setTooltip(Text tooltip) Constructors in net.minecraft.client.gui.screen with parameters of type TextModifierConstructorDescription(package private)Button(Text text, Consumer<PopupScreen> consumer) ChoiceButton(Text message, ButtonWidget.PressAction pressAction) ConfirmLinkScreen(BooleanConsumer callback, Text title, String link, boolean linkTrusted) ConfirmLinkScreen(BooleanConsumer callback, Text title, URI link, boolean linkTrusted) ConfirmLinkScreen(BooleanConsumer callback, Text title, Text message, String link, Text noText, boolean linkTrusted) ConfirmLinkScreen(BooleanConsumer callback, Text title, Text message, URI link, Text noText, boolean linkTrusted) ConfirmScreen(BooleanConsumer callback, Text title, Text message) ConfirmScreen(BooleanConsumer callback, Text title, Text message, Text yesText, Text noText) DeathScreen(@Nullable Text message, boolean isHardcore) protectedDialogScreen(Text title, List<Text> messages, ImmutableList<DialogScreen.ChoiceButton> choiceButtons) DisconnectedScreen(Screen parent, Text title, DisconnectionInfo info) DisconnectedScreen(Screen parent, Text title, DisconnectionInfo info, Text buttonLabel) DisconnectedScreen(Screen parent, Text title, Text reason) DisconnectedScreen(Screen parent, Text title, Text reason, Text buttonLabel) FatalErrorScreen(Text title, Text message) privateGameModeSelection(Text text, String command, ItemStack icon) MessageScreen(Text title) NoticeScreen(Runnable actionHandler, Text title, Text notice) NoticeScreen(Runnable actionHandler, Text title, Text notice, Text buttonText, boolean shouldCloseOnEsc) (package private)PopupScreen(Screen backgroundScreen, int width, @Nullable Identifier image, Text title, Text message, List<PopupScreen.Button> buttons, @Nullable Runnable onClosed) ReconfiguringScreen(Text title, ClientConnection connection) protectedprotectedTaskScreen(Text title, @Nullable Text descriptionText, Text closeButtonText, Runnable closeCallback, int buttonCooldown) TitleScreenConfirmScreen(BooleanConsumer callback, Text title, Text message, Text yesText, Text noText) protectedprotectedWarningScreen(Text header, Text message, Text narratedText) Constructor parameters in net.minecraft.client.gui.screen with type arguments of type TextModifierConstructorDescriptionprotectedDialogScreen(Text title, List<Text> messages, ImmutableList<DialogScreen.ChoiceButton> choiceButtons) -
Uses of Text in net.minecraft.client.gui.screen.advancement
Fields in net.minecraft.client.gui.screen.advancement declared as TextModifier and TypeFieldDescriptionprivate static final TextAdvancementsScreen.ADVANCEMENTS_TEXTprivate static final TextAdvancementsScreen.EMPTY_TEXTprivate static final TextAdvancementsScreen.SAD_LABEL_TEXTprivate final TextAdvancementTab.titleMethods in net.minecraft.client.gui.screen.advancement that return TextMethods in net.minecraft.client.gui.screen.advancement with parameters of type TextModifier and TypeMethodDescriptionprivate List<StringVisitable> AdvancementWidget.wrapDescription(Text text, int width) -
Uses of Text in net.minecraft.client.gui.screen.ingame
Fields in net.minecraft.client.gui.screen.ingame declared as TextModifier and TypeFieldDescriptionprivate static final TextAbstractCommandBlockScreen.COMMAND_TEXTprivate static final TextStructureBlockScreen.CUSTOM_DATA_TEXTprivate static final TextCreativeInventoryScreen.DELETE_ITEM_SLOT_TEXTprivate static final TextMerchantScreen.DEPRECATED_TEXTprivate static final TextStructureBlockScreen.DETECT_SIZE_TEXTprivate static final TextBookEditScreen.EDIT_TITLE_TEXTprivate static final TextSmithingScreen.ERROR_TOOLTIPprivate static final TextJigsawBlockScreen.FINAL_STATE_TEXTprivate static final TextBookEditScreen.FINALIZE_WARNING_TEXTprivate static final TextStructureBlockScreen.INCLUDE_ENTITIES_TEXTprivate static final TextStructureBlockScreen.INTEGRITY_TEXTprivate static final TextJigsawBlockScreen.JOINT_LABEL_TEXTprivate static final TextSmithingScreen.MISSING_TEMPLATE_TOOLTIPprivate static final TextJigsawBlockScreen.NAME_TEXTprivate TextBookScreen.pageIndexTextprivate TextBookEditScreen.pageIndicatorTextprivate static final TextJigsawBlockScreen.PLACEMENT_PRIORITY_TEXTprivate static final TextJigsawBlockScreen.PLACEMENT_PRIORITY_TOOLTIPprotected final TextHandledScreen.playerInventoryTitleprivate static final TextJigsawBlockScreen.POOL_TEXTprivate static final TextStructureBlockScreen.POSITION_TEXTprivate static final TextAbstractCommandBlockScreen.PREVIOUS_OUTPUT_TEXTprivate static final TextBeaconScreen.PRIMARY_POWER_TEXTprivate static final TextBeaconScreen.SECONDARY_POWER_TEXTprivate static final TextJigsawBlockScreen.SELECTION_PRIORITY_TEXTprivate static final TextJigsawBlockScreen.SELECTION_PRIORITY_TOOLTIPprivate static final TextAbstractCommandBlockScreen.SET_COMMAND_TEXTprivate static final TextStructureBlockScreen.SHOW_AIR_TEXTprivate static final TextStructureBlockScreen.SHOW_BOUNDING_BOX_TEXTprivate final TextBookEditScreen.signedByTextprivate static final TextStructureBlockScreen.SIZE_TEXTprivate static final TextStructureBlockScreen.STRUCTURE_NAME_TEXTprivate static final TextJigsawBlockScreen.TARGET_TEXT(package private) final TextBookEditScreen.Line.textprivate static final TextCrafterScreen.TOGGLEABLE_SLOT_TEXTprivate static final TextAnvilScreen.TOO_EXPENSIVE_TEXTprivate static final TextMerchantScreen.TRADES_TEXTFields in net.minecraft.client.gui.screen.ingame with type parameters of type TextModifier and TypeFieldDescriptionBookScreen.Contents.pagesThe field for thepagesrecord component.Methods in net.minecraft.client.gui.screen.ingame that return TextModifier and TypeMethodDescriptionprivate TextAbstractInventoryScreen.getStatusEffectDescription(StatusEffectInstance statusEffect) protected TextAbstractCommandBlockScreen.getUsageNarrationText()Methods in net.minecraft.client.gui.screen.ingame that return types with arguments of type TextModifier and TypeMethodDescriptionCreativeInventoryScreen.getTooltipFromItem(ItemStack stack) HandledScreen.getTooltipFromItem(ItemStack stack) BookScreen.Contents.pages()Returns the value of thepagesrecord component.Methods in net.minecraft.client.gui.screen.ingame with parameters of type TextModifier and TypeMethodDescriptionHandledScreens.Provider.create(T handler, PlayerInventory playerInventory, Text title) static <T extends ScreenHandler>
voidHandledScreens.open(ScreenHandlerType<T> type, MinecraftClient client, int id, Text title) default voidHandledScreens.Provider.open(Text name, ScreenHandlerType<T> type, MinecraftClient client, int id) Constructors in net.minecraft.client.gui.screen.ingame with parameters of type TextModifierConstructorDescriptionAbstractFurnaceScreen(T handler, AbstractFurnaceRecipeBookScreen recipeBook, PlayerInventory inventory, Text title, Identifier background, Identifier litProgressTexture, Identifier burnProgressTexture) AbstractInventoryScreen(T handler, PlayerInventory inventory, Text title) AbstractSignEditScreen(SignBlockEntity blockEntity, boolean front, boolean filtered, Text title) AnvilScreen(AnvilScreenHandler handler, PlayerInventory inventory, Text title) protectedBaseButtonWidget(int x, int y, Text message) BeaconScreen(BeaconScreenHandler handler, PlayerInventory inventory, Text title) BlastFurnaceScreen(BlastFurnaceScreenHandler container, PlayerInventory inventory, Text title) BrewingStandScreen(BrewingStandScreenHandler handler, PlayerInventory inventory, Text title) CartographyTableScreen(CartographyTableScreenHandler handler, PlayerInventory inventory, Text title) CrafterScreen(CrafterScreenHandler handler, PlayerInventory playerInventory, Text title) CraftingScreen(CraftingScreenHandler handler, PlayerInventory inventory, Text title) EnchantmentScreen(EnchantmentScreenHandler handler, PlayerInventory inventory, Text title) ForgingScreen(T handler, PlayerInventory playerInventory, Text title, Identifier texture) FurnaceScreen(FurnaceScreenHandler handler, PlayerInventory inventory, Text title) Generic3x3ContainerScreen(Generic3x3ContainerScreenHandler handler, PlayerInventory inventory, Text title) GenericContainerScreen(GenericContainerScreenHandler handler, PlayerInventory inventory, Text title) GrindstoneScreen(GrindstoneScreenHandler handler, PlayerInventory inventory, Text title) HandledScreen(T handler, PlayerInventory inventory, Text title) HopperScreen(HopperScreenHandler handler, PlayerInventory inventory, Text title) protectedIconButtonWidget(int x, int y, Identifier texture, Text message) LecternScreen(LecternScreenHandler handler, PlayerInventory inventory, Text title) LoomScreen(LoomScreenHandler screenHandler, PlayerInventory inventory, Text title) MerchantScreen(MerchantScreenHandler handler, PlayerInventory inventory, Text title) ShulkerBoxScreen(ShulkerBoxScreenHandler handler, PlayerInventory inventory, Text title) SmithingScreen(SmithingScreenHandler handler, PlayerInventory playerInventory, Text title) SmokerScreen(SmokerScreenHandler handler, PlayerInventory inventory, Text title) StonecutterScreen(StonecutterScreenHandler handler, PlayerInventory inventory, Text title) Constructor parameters in net.minecraft.client.gui.screen.ingame with type arguments of type Text -
Uses of Text in net.minecraft.client.gui.screen.multiplayer
Fields in net.minecraft.client.gui.screen.multiplayer declared as TextModifier and TypeFieldDescriptionstatic final TextConnectScreen.ABORTED_TEXTprivate static final TextSocialInteractionsScreen.ALL_TAB_TITLEprivate static final TextSocialInteractionsPlayerListEntry.BLOCKED_OFFLINE_TEXTprivate static final TextSocialInteractionsScreen.BLOCKED_TAB_TITLEprivate static final TextSocialInteractionsPlayerListEntry.BLOCKED_TEXTprivate static final TextSocialInteractionsScreen.BLOCKING_TEXT(package private) static final TextMultiplayerServerListWidget.CANNOT_CONNECT_TEXT(package private) static final TextMultiplayerServerListWidget.CANNOT_RESOLVE_TEXTprivate static final TextMultiplayerWarningScreen.CHECK_MESSAGEprivate static final TextSocialInteractionsScreen.EMPTY_BLOCKED_TEXTprivate static final TextSocialInteractionsScreen.EMPTY_HIDDEN_TEXT(package private) static final TextSocialInteractionsScreen.EMPTY_SEARCH_TEXTprivate static final TextAddServerScreen.ENTER_IP_TEXTprivate static final TextDirectConnectScreen.ENTER_IP_TEXTprivate static final TextAddServerScreen.ENTER_NAME_TEXT(package private) final TextConnectScreen.failureErrorMessageprivate static final TextMultiplayerWarningScreen.HEADERprivate static final TextMultiplayerServerListWidget.LanServerEntry.HIDDEN_ADDRESS_TEXTprivate static final TextSocialInteractionsPlayerListEntry.HIDDEN_OFFLINE_TEXTprivate static final TextSocialInteractionsScreen.HIDDEN_TAB_TITLEprivate static final TextSocialInteractionsPlayerListEntry.HIDDEN_TEXTprivate static final TextSocialInteractionsPlayerListEntry.hideText(package private) static final TextMultiplayerServerListWidget.INCOMPATIBLE_TEXT(package private) static final TextMultiplayerServerListWidget.LAN_SCANNING_TEXTprivate static final TextMultiplayerWarningScreen.MESSAGEprivate static final TextMultiplayerWarningScreen.NARRATED_TEXT(package private) static final TextMultiplayerServerListWidget.NO_CONNECTION_TEXTprivate static final TextSocialInteractionsPlayerListEntry.OFFLINE_TEXT(package private) static final TextMultiplayerServerListWidget.ONLINE_TEXT(package private) static final TextMultiplayerServerListWidget.PINGING_TEXTprivate static final TextSocialInteractionsPlayerListEntry.REPORT_DISABLED_TEXTprivate static final TextSocialInteractionsPlayerListEntry.reportTextprivate static final TextSocialInteractionsScreen.SEARCH_TEXTprivate static final TextSocialInteractionsScreen.SELECTED_ALL_TAB_TITLEprivate static final TextSocialInteractionsScreen.SELECTED_BLOCKED_TAB_TITLEprivate static final TextSocialInteractionsScreen.SELECTED_HIDDEN_TAB_TITLESocialInteractionsScreen.serverLabelprivate static final TextSocialInteractionsPlayerListEntry.showTextprivate TextConnectScreen.statusMultiplayerServerListWidget.ServerEntry.statusTooltipTextprivate static final TextSocialInteractionsScreen.TITLEprivate static final TextMultiplayerServerListWidget.LanServerEntry.TITLE_TEXTstatic final TextConnectScreen.UNKNOWN_HOST_TEXTFields in net.minecraft.client.gui.screen.multiplayer with type parameters of type TextMethods in net.minecraft.client.gui.screen.multiplayer that return TextModifier and TypeMethodDescriptionMultiplayerServerListWidget.LanServerEntry.getMotdNarration()SocialInteractionsScreen.getNarratedTitle()MultiplayerServerListWidget.LanServerEntry.getNarration()MultiplayerServerListWidget.ScanningEntry.getNarration()MultiplayerServerListWidget.ServerEntry.getNarration()private TextSocialInteractionsPlayerListEntry.getStatusText()Methods in net.minecraft.client.gui.screen.multiplayer with parameters of type TextModifier and TypeMethodDescriptionprivate voidSocialInteractionsPlayerListEntry.onButtonClick(boolean showButtonVisible, Text chatMessage) private voidConstructors in net.minecraft.client.gui.screen.multiplayer with parameters of type Text -
Uses of Text in net.minecraft.client.gui.screen.narration
Methods in net.minecraft.client.gui.screen.narration with parameters of type TextModifier and TypeMethodDescriptiondefault voidNarrationMessageBuilder.put(NarrationPart part, Text text) Adds aTextnarration to this message builder.default voidNarrationMessageBuilder.put(NarrationPart part, Text[] texts) Adds an array ofTextnarrations to this message builder.static Narration<?> Creates a narration from a singleTextsentence.Method parameters in net.minecraft.client.gui.screen.narration with type arguments of type Text -
Uses of Text in net.minecraft.client.gui.screen.option
Fields in net.minecraft.client.gui.screen.option declared as TextModifier and TypeFieldDescriptionprivate static final TextOptionsScreen.ACCESSIBILITY_TEXTprivate static final TextCreditsAndAttributionScreen.ATTRIBUTION_TEXTprivate final TextControlsListWidget.KeyBindingEntry.bindingNameprivate static final TextOptionsScreen.CHAT_TEXTprivate static final TextOptionsScreen.CONTROL_TEXTprivate static final TextOptionsScreen.CREDITS_AND_ATTRIBUTION_TEXTprivate static final TextCreditsAndAttributionScreen.CREDITS_TEXTprivate static final TextTelemetryInfoScreen.DESCRIPTION_TEXTprivate static final TextTelemetryInfoScreen.GIVE_FEEDBACK_TEXTprivate static final TextVideoOptionsScreen.GRAPHICS_FABULOUS_TEXTprivate static final TextVideoOptionsScreen.GRAPHICS_WARNING_ACCEPT_TEXTprivate static final TextVideoOptionsScreen.GRAPHICS_WARNING_CANCEL_TEXTprivate static final TextVideoOptionsScreen.GRAPHICS_WARNING_MESSAGE_TEXTprivate static final TextVideoOptionsScreen.GRAPHICS_WARNING_TITLE_TEXTprivate static final TextOptionsScreen.LANGUAGE_TEXTprivate static final TextLanguageOptionsScreen.LANGUAGE_WARNING_TEXTprivate final TextLanguageOptionsScreen.LanguageSelectionListWidget.LanguageEntry.languageDefinitionprivate static final TextCreditsAndAttributionScreen.LICENSE_TEXTprivate final TextTelemetryEventWidget.Contents.narrationThe field for thenarrationrecord component.private static final TextTelemetryInfoScreen.OPT_IN_DESCRIPTION_TEXTprivate static final TextTelemetryInfoScreen.PRIVACY_STATEMENT_TEXTprivate static final TextTelemetryEventWidget.PROPERTY_TITLE_TEXTprivate static final TextControlsListWidget.KeyBindingEntry.RESET_TEXTprivate static final TextOptionsScreen.RESOURCE_PACK_TEXTprivate static final TextTelemetryInfoScreen.SHOW_DATA_TEXTprivate static final TextOptionsScreen.SKIN_CUSTOMIZATION_TEXTprivate static final TextOptionsScreen.SOUNDS_TEXTprivate static final TextOptionsScreen.TELEMETRY_TEXT(package private) final TextControlsListWidget.CategoryEntry.textprivate static final TextCreditsAndAttributionScreen.TITLEprivate static final TextMouseOptionsScreen.TITLEstatic final TextAccessibilityOptionsScreen.TITLE_TEXTprivate static final TextChatOptionsScreen.TITLE_TEXTprivate static final TextControlsOptionsScreen.TITLE_TEXTprivate static final TextKeybindsScreen.TITLE_TEXTprivate static final TextOnlineOptionsScreen.TITLE_TEXTprivate static final TextOptionsScreen.TITLE_TEXTprivate static final TextSkinOptionsScreen.TITLE_TEXTprivate static final TextSoundOptionsScreen.TITLE_TEXTprivate static final TextTelemetryInfoScreen.TITLE_TEXTprivate static final TextVideoOptionsScreen.TITLE_TEXTprivate static final TextOptionsScreen.VIDEO_TEXTMethods in net.minecraft.client.gui.screen.option that return TextModifier and TypeMethodDescriptionprivate TextTelemetryEventWidget.formatTitleText(Text title, boolean disabled) TelemetryInfoScreen.getNarratedTitle()LanguageOptionsScreen.LanguageSelectionListWidget.LanguageEntry.getNarration()TelemetryEventWidget.Contents.narration()Returns the value of thenarrationrecord component.Methods in net.minecraft.client.gui.screen.option with parameters of type TextModifier and TypeMethodDescriptionvoidTelemetryEventWidget.ContentsBuilder.appendText(TextRenderer textRenderer, Text text) voidTelemetryEventWidget.ContentsBuilder.appendTitle(TextRenderer textRenderer, Text title) voidTelemetryEventWidget.ContentsBuilder.appendTitle(TextRenderer textRenderer, Text title, int marginBottom) private ButtonWidgetOptionsScreen.createButton(Text message, Supplier<Screen> screenSupplier) private TextTelemetryEventWidget.formatTitleText(Text title, boolean disabled) Constructors in net.minecraft.client.gui.screen.option with parameters of type TextModifierConstructorDescriptionCategoryEntry(Text text) (package private)Contents(LayoutWidget layoutWidget, Text text) GameOptionsScreen(Screen parent, GameOptions gameOptions, Text title) (package private)KeyBindingEntry(KeyBinding binding, Text bindingName) -
Uses of Text in net.minecraft.client.gui.screen.pack
Fields in net.minecraft.client.gui.screen.pack declared as TextModifier and TypeFieldDescriptionprivate static final TextPackScreen.AVAILABLE_TITLEprivate final TextExperimentalWarningScreen.DetailsScreen.PackListWidgetEntry.detailsprivate static final TextExperimentalWarningScreen.DETAILSprivate final TextExperimentalWarningScreen.DetailsScreen.PackListWidgetEntry.displayNameprivate static final TextPackScreen.DROP_INFOprivate static final TextPackScreen.FOLDER_INFO(package private) static final TextPackListWidget.INCOMPATIBLE(package private) static final TextPackListWidget.INCOMPATIBLE_CONFIRMprivate static final TextExperimentalWarningScreen.MESSAGEprivate static final TextPackScreen.OPEN_FOLDERprivate static final TextPackScreen.SELECTED_TITLEprivate final TextPackListWidget.titleprivate static final TextExperimentalWarningScreen.DetailsScreen.TITLEprivate static final TextExperimentalWarningScreen.TITLEMethods in net.minecraft.client.gui.screen.pack that return TextModifier and TypeMethodDescriptiondefault TextResourcePackOrganizer.Pack.getDecoratedDescription()ResourcePackOrganizer.AbstractPack.getDescription()ResourcePackOrganizer.Pack.getDescription()ResourcePackOrganizer.AbstractPack.getDisplayName()ResourcePackOrganizer.Pack.getDisplayName()ExperimentalWarningScreen.getNarratedTitle()ExperimentalWarningScreen.DetailsScreen.PackListWidgetEntry.getNarration()PackListWidget.ResourcePackEntry.getNarration()Methods in net.minecraft.client.gui.screen.pack with parameters of type TextModifier and TypeMethodDescriptionprivate static MultilineTextPackListWidget.ResourcePackEntry.createMultilineText(MinecraftClient client, Text text) private static OrderedTextPackListWidget.ResourcePackEntry.trimTextToWidth(MinecraftClient client, Text text) Constructors in net.minecraft.client.gui.screen.pack with parameters of type TextModifierConstructorDescriptionPackListWidget(MinecraftClient client, PackScreen screen, int width, int height, Text title) (package private)PackListWidgetEntry(Text displayName, Text details, MultilineText multilineDetails) PackScreen(ResourcePackManager resourcePackManager, Consumer<ResourcePackManager> applier, Path file, Text title) -
Uses of Text in net.minecraft.client.gui.screen.recipebook
Fields in net.minecraft.client.gui.screen.recipebook declared as TextModifier and TypeFieldDescriptionprivate static final TextAnimatedResultButton.MORE_RECIPES_TEXTprivate static final TextRecipeBookWidget.SEARCH_HINT_TEXTprivate static final TextRecipeBookWidget.TOGGLE_ALL_RECIPES_TEXTprivate static final TextBlastFurnaceRecipeBookScreen.TOGGLE_BLASTABLE_RECIPES_TEXTprivate static final TextRecipeBookWidget.TOGGLE_CRAFTABLE_RECIPES_TEXTprivate static final TextFurnaceRecipeBookScreen.TOGGLE_SMELTABLE_RECIPES_TEXTprivate static final TextSmokerRecipeBookScreen.TOGGLE_SMOKABLE_RECIPES_TEXTMethods in net.minecraft.client.gui.screen.recipebook that return TextModifier and TypeMethodDescriptionprotected TextBlastFurnaceRecipeBookScreen.getToggleCraftableButtonText()protected TextFurnaceRecipeBookScreen.getToggleCraftableButtonText()protected TextRecipeBookWidget.getToggleCraftableButtonText()protected TextSmokerRecipeBookScreen.getToggleCraftableButtonText()Methods in net.minecraft.client.gui.screen.recipebook that return types with arguments of type Text -
Uses of Text in net.minecraft.client.gui.screen.report
Fields in net.minecraft.client.gui.screen.report declared as TextModifier and TypeFieldDescriptionprivate static final TextReportScreen.ATTESTATION_TEXTprivate static final TextAbuseReportTypeScreen.CHAT_TYPE_TEXTprivate static final TextReportScreen.COMMENTS_TEXTprivate static final TextChatSelectionScreen.CONTEXT_TEXTprivate static final TextReportScreen.DESCRIBE_TEXTprivate static final TextAbuseReportReasonScreen.DESCRIPTION_TEXTprivate static final TextReportScreen.DiscardWarningScreen.DISCARD_BUTTON_TEXTprivate static final TextReportScreen.DiscardWarningScreen.DRAFT_BUTTON_TEXTprivate static final TextReportScreen.ERROR_TITLE_TEXTprivate static final TextReportScreen.GENERIC_ERROR_TEXTprivate final TextChatSelectionScreen.SelectionListWidget.SenderEntry.headingTextprivate static final TextReportScreen.DiscardWarningScreen.MESSAGEprivate static final TextAbuseReportTypeScreen.MESSAGE_TEXTprotected static final TextReportScreen.MORE_COMMENTS_TEXTprivate static final TextAbuseReportTypeScreen.NAME_TYPE_TEXTprivate final TextChatSelectionScreen.SelectionListWidget.MessageEntry.narrationprotected static final TextReportScreen.OBSERVED_WHAT_TEXTprivate static final TextAbuseReportReasonScreen.READ_INFO_TEXTprivate static final TextReportScreen.REPORT_SENT_MESSAGE_TEXTprivate static final TextReportScreen.DiscardWarningScreen.RETURN_BUTTON_TEXTprivate static final TextChatReportScreen.SELECT_CHAT_TEXTprotected static final TextReportScreen.SELECT_REASON_TEXTprotected static final TextReportScreen.SEND_TEXTprivate static final TextReportScreen.SENDING_TITLE_TEXTprivate static final TextReportScreen.SENT_TITLE_TEXTprivate static final TextAbuseReportTypeScreen.SKIN_TYPE_TEXTprivate final TextChatSelectionScreen.SelectionListWidget.TextEntry.textprivate static final TextReportScreen.DiscardWarningScreen.TITLEprivate static final TextAbuseReportReasonScreen.TITLE_TEXTprivate static final TextAbuseReportTypeScreen.TITLE_TEXTprivate static final TextChatReportScreen.TITLE_TEXTprivate static final TextChatSelectionScreen.TITLE_TEXTprivate static final TextSkinReportScreen.TITLE_TEXTprivate static final TextUsernameReportScreen.TITLE_TEXTMethods in net.minecraft.client.gui.screen.report that return TextModifier and TypeMethodDescriptionAbuseReportTypeScreen.getNarratedTitle()ChatSelectionScreen.getNarratedTitle()AbuseReportReasonScreen.ReasonListWidget.ReasonEntry.getNarration()ChatSelectionScreen.SelectionListWidget.Entry.getNarration()ChatSelectionScreen.SelectionListWidget.MessageEntry.getNarration()ChatSelectionScreen.SelectionListWidget.TextEntry.getNarration()Methods in net.minecraft.client.gui.screen.report with parameters of type TextModifier and TypeMethodDescriptionvoidprivate voidConstructors in net.minecraft.client.gui.screen.report with parameters of type TextModifierConstructorDescriptionMessageEntry(int index, Text message, Text narration, @Nullable MessageIndicator indicator, boolean fromReportedPlayer, boolean isChatMessage) protectedReportScreen(Text title, Screen parent, AbuseReportContext context, B reportBuilder) SenderEntry(com.mojang.authlib.GameProfile gameProfile, Text headingText, boolean fromReportedPlayer) -
Uses of Text in net.minecraft.client.gui.screen.world
Fields in net.minecraft.client.gui.screen.world declared as TextModifier and TypeFieldDescription(package private) static final TextCreateWorldScreen.ALLOW_COMMANDS_INFO_TEXTprivate static final TextCreateWorldScreen.GameTab.ALLOW_COMMANDS_TEXTprivate static final TextCreateWorldScreen.WorldTab.AMPLIFIED_GENERATOR_INFO_TEXTprivate static final TextEditWorldScreen.BACKUP_FOLDER_TEXTprivate static final TextEditWorldScreen.BACKUP_TEXTprivate static final TextCreateWorldScreen.WorldTab.BONUS_ITEMS_TEXTprivate static final TextCustomizeBuffetLevelScreen.BUFFET_BIOME_TEXTprivate static final TextRecoverWorldScreen.BUG_TRACKER_TEXTprivate static final TextEditWorldScreen.CONFIRM_DESCRIPTION_TEXTprivate static final TextEditWorldScreen.CONFIRM_TITLE_TEXT(package private) static final TextWorldListWidget.CONVERSION_TOOLTIPprivate static final TextWorldCreator.WorldType.CUSTOM_GENERATOR_TEXTprivate static final TextCreateWorldScreen.MoreTab.DATA_PACKS_TEXTprivate static final TextRecoverWorldScreen.DONE_FAILED_TEXTprivate static final TextRecoverWorldScreen.DONE_SUCCESS_TEXTprivate static final TextRecoverWorldScreen.DONE_TITLE_TEXT(package private) static final TextCreateWorldScreen.ENTER_NAME_TEXTprivate static final TextEditWorldScreen.ENTER_NAME_TEXTprivate static final TextCreateWorldScreen.WorldTab.ENTER_SEED_TEXT(package private) static final TextWorldListWidget.EXPERIMENTAL_TEXT(package private) static final TextCreateWorldScreen.EXPERIMENTS_TEXT(package private) static final TextWorldListWidget.FROM_NEWER_VERSION_FIRST_LINE(package private) static final TextWorldListWidget.FROM_NEWER_VERSION_SECOND_LINE(package private) static final TextCreateWorldScreen.GAME_MODE_TEXTprivate static final TextCreateWorldScreen.MoreTab.GAME_RULES_TEXTprivate static final TextCreateWorldScreen.GameTab.GAME_TAB_TITLE_TEXTprivate TextCustomizeFlatLevelScreen.heightText(package private) static final TextWorldListWidget.INCOMPATIBLE_TOOLTIPprivate final TextWorldCreator.Mode.infoprivate static final TextExperimentsScreen.INFO_TEXTprivate static final TextRecoverWorldScreen.ISSUE_NONE_TEXTprivate TextPresetsScreen.listTextprivate static final TextWorldListWidget.LoadingEntry.LOADING_LIST_TEXT(package private) static final TextWorldListWidget.LOCKED_TEXTprivate static final TextCreateWorldScreen.WorldTab.MAP_FEATURES_INFO_TEXTprivate static final TextCreateWorldScreen.WorldTab.MAP_FEATURES_TEXTprivate final TextRecoverWorldScreen.messageprivate final TextSymlinkWarningScreen.messageprivate static final TextRecoverWorldScreen.MISSING_FILE_TEXTprivate static final TextCreateWorldScreen.MoreTab.MORE_TAB_TITLE_TEXT(package private) final TextEditGameRulesScreen.RuleCategoryWidget.namefinal TextWorldCreator.Mode.nameprivate static final TextWorldCreator.NEW_WORLD_NAMEprivate static final TextRecoverWorldScreen.NO_FALLBACK_TEXTprivate static final TextEditWorldScreen.OPEN_FOLDER_TEXTprivate static final TextEditWorldScreen.OPTIMIZE_TEXTprivate static final TextSymlinkWarningScreen.PACK_MESSAGEprivate static final TextSymlinkWarningScreen.PACK_TITLEprivate static final TextCreateWorldScreen.PREPARING_TEXTprivate static final TextEditWorldScreen.RESET_ICON_TEXTprivate static final TextRecoverWorldScreen.RESTORE_TEXTprivate static final TextEditWorldScreen.SAVE_TEXT(package private) static final TextCreateWorldScreen.WorldTab.SEED_INFO_TEXTprivate TextPresetsScreen.shareText(package private) static final TextWorldListWidget.SNAPSHOT_FIRST_LINE(package private) static final TextWorldListWidget.SNAPSHOT_SECOND_LINEprivate final TextBackupPromptScreen.subtitle(package private) final TextCustomizeBuffetLevelScreen.BuffetBiomesListWidget.BuffetBiomeItem.textprivate final TextPresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry.textprivate final TextWorldScreenOptionGrid.OptionBuilder.textprivate TextCustomizeFlatLevelScreen.tileTextprivate static final TextEditGameRulesScreen.TITLEprivate static final TextExperimentsScreen.TITLEprivate static final TextRecoverWorldScreen.TITLE_TEXTWorldScreenOptionGrid.OptionBuilder.tooltipstatic final TextPresetsScreen.UNKNOWN_PRESET_TEXTprivate static final TextSymlinkWarningScreen.WORLD_MESSAGEprivate static final TextCreateWorldScreen.WorldTab.WORLD_TAB_TITLE_TEXTprivate static final TextSymlinkWarningScreen.WORLD_TITLEMethods in net.minecraft.client.gui.screen.world that return TextModifier and TypeMethodDescriptionprivate static TextExperimentsScreen.getDataPackName(ResourcePackProfile packProfile) WorldCreator.Mode.getInfo()WorldCreator.WorldType.getName()ExperimentsScreen.getNarratedTitle()RecoverWorldScreen.getNarratedTitle()SymlinkWarningScreen.getNarratedTitle()CustomizeBuffetLevelScreen.BuffetBiomesListWidget.BuffetBiomeItem.getNarration()CustomizeFlatLevelScreen.SuperflatLayersListWidget.SuperflatLayerEntry.getNarration()PresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry.getNarration()WorldListWidget.LoadingEntry.getNarration()WorldListWidget.WorldEntry.getNarration()private TextLevelLoadingScreen.getPercentage()private TextRecoverWorldScreen.toText(LevelStorage.Session session, boolean old, @Nullable Exception exception) Methods in net.minecraft.client.gui.screen.world with parameters of type TextModifier and TypeMethodDescriptionWorldScreenOptionGrid.Builder.add(Text text, BooleanSupplier getter, Consumer<Boolean> setter) EditGameRulesScreen.RuleWidgetFactory.create(Text name, List<OrderedText> description, String ruleName, T rule) private static voidCreateWorldScreen.showMessage(MinecraftClient client, Text text) private voidWorldListWidget.showUnableToLoadScreen(Text message) Constructors in net.minecraft.client.gui.screen.world with parameters of type TextModifierConstructorDescriptionBackupPromptScreen(Runnable onCancel, BackupPromptScreen.Callback callback, Text title, Text subtitle, boolean showEraseCacheCheckBox) BooleanRuleWidget(Text name, List<OrderedText> description, String ruleName, GameRules.BooleanRule rule) IntRuleWidget(Text name, List<OrderedText> description, String ruleName, GameRules.IntRule rule) NamedRuleWidget(@Nullable List<OrderedText> description, Text name) (package private)OptionBuilder(Text text, BooleanSupplier getter, Consumer<Boolean> setter, int buttonWidth) RuleCategoryWidget(Text text) SymlinkWarningScreen(Text title, Text message, URI link, Runnable onClose) -
Uses of Text in net.minecraft.client.gui.tab
Fields in net.minecraft.client.gui.tab declared as TextMethods in net.minecraft.client.gui.tab that return TextConstructors in net.minecraft.client.gui.tab with parameters of type Text -
Uses of Text in net.minecraft.client.gui.tooltip
Fields in net.minecraft.client.gui.tooltip declared as TextMethods in net.minecraft.client.gui.tooltip with parameters of type TextModifier and TypeMethodDescriptionstatic Tooltipstatic Tooltipstatic List<OrderedText> Tooltip.wrapLines(MinecraftClient client, Text text) Constructors in net.minecraft.client.gui.tooltip with parameters of type Text -
Uses of Text in net.minecraft.client.gui.widget
Fields in net.minecraft.client.gui.widget declared as TextModifier and TypeFieldDescriptionprivate final TextPressableTextWidget.hoverTextprivate final TextButtonWidget.Builder.messageprivate final TextCheckboxWidget.Builder.messageprivate TextClickableWidget.messageprivate final TextMultilineTextWidget.CacheKey.messageThe field for themessagerecord component.private final TextCyclingButtonWidget.optionTextprivate final TextEditBoxWidget.placeholderThe placeholder text that gets rendered when the edit box is empty.TextFieldWidget.placeholderprivate static final TextAlwaysSelectedEntryListWidget.SELECTION_USAGE_TEXTprivate final TextPressableTextWidget.textprivate final TextTextIconButtonWidget.Builder.textprivate static final TextTabNavigationWidget.USAGE_NARRATION_TEXTFields in net.minecraft.client.gui.widget with type parameters of type TextModifier and TypeFieldDescriptionCyclingButtonWidget.Builder.valueToTextCyclingButtonWidget.valueToTextMethods in net.minecraft.client.gui.widget that return TextModifier and TypeMethodDescriptionprivate TextCyclingButtonWidget.composeText(T value) ClickableWidget.getMessage()abstract TextAlwaysSelectedEntryListWidget.Entry.getNarration()MultilineTextWidget.CacheKey.message()Returns the value of themessagerecord component.Methods in net.minecraft.client.gui.widget with parameters of type TextModifier and TypeMethodDescriptionvoidThreePartsLayoutWidget.addHeader(Text text, TextRenderer textRenderer) CyclingButtonWidget.Builder.build(int x, int y, int width, int height, Text optionText, CyclingButtonWidget.UpdateCallback<T> callback) Builds a cycling button widget.CyclingButtonWidget.Builder.build(Text optionText, CyclingButtonWidget.UpdateCallback<T> callback) static ButtonWidget.BuilderButtonWidget.builder(Text message, ButtonWidget.PressAction onPress) static CheckboxWidget.BuilderCheckboxWidget.builder(Text text, TextRenderer textRenderer) static TextIconButtonWidget.BuilderTextIconButtonWidget.builder(Text text, ButtonWidget.PressAction onPress, boolean hideLabel) private intCheckboxWidget.calculateWidth(int max, Text text, TextRenderer textRenderer) (package private) static intCheckboxWidget.calculateWidth(Text text, TextRenderer textRenderer) static LayoutWidgetLayoutWidgets.createLabeledWidget(TextRenderer textRenderer, Widget widget, Text label) static LayoutWidgetLayoutWidgets.createLabeledWidget(TextRenderer textRenderer, Widget widget, Text label, Consumer<Positioner> callback) protected static voidClickableWidget.drawScrollableText(DrawContext context, TextRenderer textRenderer, Text text, int startX, int startY, int endX, int endY, int color) protected static voidClickableWidget.drawScrollableText(DrawContext context, TextRenderer textRenderer, Text text, int centerX, int startX, int startY, int endX, int endY, int color) static MutableTextClickableWidget.getNarrationMessage(Text message) static CyclingButtonWidget.Builder<Boolean> CyclingButtonWidget.onOffBuilder(Text on, Text off) Creates a builder for a cycling button widget that only has Boolean.TRUE and Boolean.FALSE values.voidClickableWidget.setMessage(Text message) voidTextFieldWidget.setPlaceholder(Text placeholder) private OrderedTextMethod parameters in net.minecraft.client.gui.widget with type arguments of type TextModifier and TypeMethodDescriptionstatic <T> CyclingButtonWidget.Builder<T> Creates a new builder for a cycling button widget.Constructors in net.minecraft.client.gui.widget with parameters of type TextModifierConstructorDescriptionAbstractTextWidget(int x, int y, int width, int height, Text message, TextRenderer textRenderer) Builder(Text message, ButtonWidget.PressAction onPress) (package private)Builder(Text message, TextRenderer textRenderer) Builder(Text text, ButtonWidget.PressAction onPress, boolean hideText) protectedButtonWidget(int x, int y, int width, int height, Text message, ButtonWidget.PressAction onPress, ButtonWidget.NarrationSupplier narrationSupplier) (package private)CacheKey(Text text, int int2, OptionalInt optionalInt) (package private)CheckboxWidget(int x, int y, int maxWidth, Text message, TextRenderer textRenderer, boolean checked, CheckboxWidget.Callback callback) ClickableWidget(int x, int y, int width, int height, Text message) ContainerWidget(int x, int y, int width, int height, Text message) (package private)CyclingButtonWidget(int x, int y, int width, int height, Text message, Text optionText, int index, T value, CyclingButtonWidget.Values<T> values, Function<T, Text> valueToText, Function<CyclingButtonWidget<T>, MutableText> narrationMessageFactory, CyclingButtonWidget.UpdateCallback<T> callback, SimpleOption.TooltipFactory<T> tooltipFactory, boolean optionTextOmitted) EditBoxWidget(TextRenderer textRenderer, int x, int y, int width, int height, Text placeholder, Text message) protectedIconOnly(int width, int height, Text message, int textureWidth, int textureHeight, Identifier texture, ButtonWidget.PressAction onPress, ButtonWidget.NarrationSupplier narrationSupplier) MultilineTextWidget(int x, int y, Text message, TextRenderer textRenderer) MultilineTextWidget(Text message, TextRenderer textRenderer) NarratedMultilineTextWidget(int maxWidth, Text message, TextRenderer textRenderer) NarratedMultilineTextWidget(int maxWidth, Text message, TextRenderer textRenderer, boolean alwaysShowBorders, int margin) NarratedMultilineTextWidget(int maxWidth, Text message, TextRenderer textRenderer, int margin) PressableTextWidget(int x, int y, int width, int height, Text text, ButtonWidget.PressAction onPress, TextRenderer textRenderer) PressableWidget(int x, int y, int width, int height, Text message) ScrollableTextWidget(int x, int y, int width, int height, Text message, TextRenderer textRenderer) ScrollableWidget(int x, int y, int width, int height, Text message) SliderWidget(int x, int y, int width, int height, Text text, double value) TextFieldWidget(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) TextFieldWidget(TextRenderer textRenderer, int width, int height, Text text) (package private)TextIconButtonWidget(int width, int height, Text message, int textureWidth, int textureHeight, Identifier texture, ButtonWidget.PressAction onPress, ButtonWidget.NarrationSupplier narrationSupplier) TexturedButtonWidget(int x, int y, int width, int height, ButtonTextures textures, ButtonWidget.PressAction pressAction, Text text) TexturedButtonWidget(int width, int height, ButtonTextures textures, ButtonWidget.PressAction pressAction, Text text) TextWidget(int x, int y, int width, int height, Text message, TextRenderer textRenderer) TextWidget(int width, int height, Text message, TextRenderer textRenderer) TextWidget(Text message, TextRenderer textRenderer) protectedWithText(int width, int height, Text message, int textureWidth, int textureHeight, Identifier texture, ButtonWidget.PressAction onPress, ButtonWidget.NarrationSupplier narrationSupplier) Constructor parameters in net.minecraft.client.gui.widget with type arguments of type TextModifierConstructorDescriptionCreates a builder.(package private)CyclingButtonWidget(int x, int y, int width, int height, Text message, Text optionText, int index, T value, CyclingButtonWidget.Values<T> values, Function<T, Text> valueToText, Function<CyclingButtonWidget<T>, MutableText> narrationMessageFactory, CyclingButtonWidget.UpdateCallback<T> callback, SimpleOption.TooltipFactory<T> tooltipFactory, boolean optionTextOmitted) -
Uses of Text in net.minecraft.client.network
Fields in net.minecraft.client.network declared as TextModifier and TypeFieldDescriptionprivate static final TextMultiplayerServerListPinger.CANNOT_CONNECT_TEXTprivate static final TextClientPlayNetworkHandler.CHAT_VALIDATION_FAILED_TEXTPlayerListEntry.displayNameprivate static final TextClientPlayNetworkHandler.INVALID_PACKET_TEXTServerInfo.labelprivate static final TextClientCommonNetworkHandler.LOST_CONNECTION_TEXT(package private) final TextClientLoginNetworkHandler.State.nameprivate final TextServerInfo.ResourcePackPolicy.nameServerInfo.playerCountLabelprivate static final TextClientPlayNetworkHandler.RECONFIGURING_TEXTprivate static final TextClientPlayNetworkHandler.UNSECURE_SERVER_TOAST_TEXTprivate static final TextClientPlayNetworkHandler.UNSECURE_SERVER_TOAST_TITLEServerInfo.versionFields in net.minecraft.client.network with type parameters of type TextModifier and TypeFieldDescriptionServerInfo.playerListSummaryClientLoginNetworkHandler.statusConsumerMethods in net.minecraft.client.network that return TextModifier and TypeMethodDescriptionstatic TextMultiplayerServerListPinger.createPlayerCountText(int current, int max) PlayerListEntry.getDisplayName()ServerInfo.ResourcePackPolicy.getName()(package private) static TextClientLoginNetworkHandler.joinServerSession(String serverId) Methods in net.minecraft.client.network with parameters of type TextModifier and TypeMethodDescriptionClientCommonNetworkHandler.ConfirmServerResourcePackScreen.add(MinecraftClient client, UUID id, URL url, String hash, boolean required, @Nullable Text prompt) private ScreenClientCommonNetworkHandler.createConfirmServerResourcePackScreen(UUID id, URL url, String hash, boolean required, @Nullable Text prompt) ClientCommonNetworkHandler.createDisconnectionInfo(Text reason, Throwable exception) (package private) static TextvoidClientPlayerEntity.sendMessage(Text message) Sends a system message.voidClientPlayerEntity.sendMessage(Text message, boolean overlay) Adds a message to this player's HUD.voidOtherClientPlayerEntity.sendMessage(Text message) Sends a system message.voidPlayerListEntry.setDisplayName(@Nullable Text displayName) (package private) voidMultiplayerServerListPinger.showError(Text error, ServerInfo info) Constructors in net.minecraft.client.network with parameters of type TextModifierConstructorDescription(package private)ConfirmServerResourcePackScreen(MinecraftClient client, @Nullable Screen parent, List<ClientCommonNetworkHandler.ConfirmServerResourcePackScreen.Pack> pack, boolean required, @Nullable Text prompt) privateState(Text name, Set<ClientLoginNetworkHandler.State> prevStates) Constructor parameters in net.minecraft.client.network with type arguments of type TextModifierConstructorDescriptionClientLoginNetworkHandler(ClientConnection connection, MinecraftClient client, @Nullable ServerInfo serverInfo, @Nullable Screen parentScreen, boolean newWorld, @Nullable Duration worldLoadTime, Consumer<Text> statusConsumer, @Nullable CookieStorage cookieStorage) -
Uses of Text in net.minecraft.client.network.message
Fields in net.minecraft.client.network.message declared as TextMethods in net.minecraft.client.network.message with parameters of type TextModifier and TypeMethodDescriptionprivate voidMessageHandler.addToChatLog(Text message, Instant timestamp) private UUIDMessageHandler.extractSender(Text text) private MessageTrustStatusMessageHandler.getStatus(SignedMessage message, Text decorated, Instant receptionTimestamp) Returns the trust status ofmessage.static MessageTrustStatusMessageTrustStatus.getStatus(SignedMessage message, Text decorated, Instant receptionTimestamp) private static booleanMessageTrustStatus.isModified(SignedMessage message, Text decorated) private static booleanMessageTrustStatus.isNotInDefaultFont(Text content) private voidMessageHandler.narrate(MessageType.Parameters params, Text message) Narratesmessage.voidMessageHandler.onGameMessage(Text message, boolean overlay) Called when a game message is received.voidMessageHandler.onProfilelessMessage(Text content, MessageType.Parameters params) private booleanMessageHandler.processChatMessageInternal(MessageType.Parameters params, SignedMessage message, Text decorated, com.mojang.authlib.GameProfile sender, boolean onlyShowSecureChat, Instant receptionTimestamp) Processes a chat message. -
Uses of Text in net.minecraft.client.option
Fields in net.minecraft.client.option declared as TextModifier and TypeFieldDescriptionprivate static final TextGameOptions.ALLOW_SERVER_LISTING_TOOLTIPprivate static final TextGameOptions.BY_PLAYER_CHUNK_BUILDER_MODE_TOOLTIPprivate static final TextGameOptions.DAMAGE_TILT_STRENGTH_TOOLTIPprivate static final TextGameOptions.DARK_MOJANG_STUDIOS_BACKGROUND_COLOR_TOOLTIPprivate static final TextGameOptions.DARKNESS_EFFECT_SCALE_TOOLTIPprivate static final TextGameOptions.DIRECTIONAL_AUDIO_OFF_TOOLTIPprivate static final TextGameOptions.DIRECTIONAL_AUDIO_ON_TOOLTIPprivate static final TextGameOptions.FABULOUS_GRAPHICS_TOOLTIPprivate static final TextGameOptions.FANCY_GRAPHICS_TOOLTIPprivate static final TextGameOptions.FAST_GRAPHICS_TOOLTIPprivate static final TextGameOptions.FOV_EFFECT_SCALE_TOOLTIPprivate static final TextGameOptions.GLINT_SPEED_TOOLTIPprivate static final TextGameOptions.GLINT_STRENGTH_TOOLTIPprivate static final TextGameOptions.HIDE_LIGHTNING_FLASHES_TOOLTIPprivate static final TextGameOptions.HIDE_MATCHED_NAMES_TOOLTIPprivate static final TextGameOptions.HIDE_SPLASH_TEXTS_TOOLTIPprivate static final TextGameOptions.HIGH_CONTRAST_TOOLTIPprivate static final TextGameOptions.HOLD_KEY_TEXTprivate static final TextGameOptions.MENU_BACKGROUND_BLURRINESS_TOOLTIPprivate final TextNarratorMode.nameprivate static final TextGameOptions.NEARBY_CHUNK_BUILDER_MODE_TOOLTIPprivate static final TextGameOptions.NONE_CHUNK_BUILDER_MODE_TOOLTIPprivate static final TextGameOptions.NOTIFICATION_DISPLAY_TIME_TOOLTIPprivate static final TextGameOptions.ONLY_SHOW_SECURE_CHAT_TOOLTIPprivate static final TextGameOptions.REALMS_NOTIFICATIONS_TOOLTIPprivate static final TextGameOptions.SCREEN_EFFECT_SCALE_TOOLTIPprivate static final TextGameOptions.TELEMETRY_TOOLTIP(package private) final TextSimpleOption.textprivate static final TextGameOptions.TOGGLE_KEY_TEXTFields in net.minecraft.client.option with type parameters of type TextMethods in net.minecraft.client.option that return TextModifier and TypeMethodDescriptionKeyBinding.getBoundKeyLocalizedText()static TextGameOptions.getGenericValueOrOffText(Text prefix, int value) static TextGameOptions.getGenericValueText(Text prefix, int value) static TextGameOptions.getGenericValueText(Text prefix, Text value) NarratorMode.getName()Returns the human-readable name of this mode.private static TextGameOptions.getPercentValueOrOffText(Text prefix, double value) private static TextGameOptions.getPercentValueText(Text prefix, double value) private static TextGameOptions.getPixelValueText(Text prefix, int value) Methods in net.minecraft.client.option that return types with arguments of type TextMethods in net.minecraft.client.option with parameters of type TextModifier and TypeMethodDescriptionstatic <T> SimpleOption.TooltipFactory<T> SimpleOption.constantTooltip(Text text) Returns the getter for thetooltipFactoryGetterparameter of the constructor to indicate constant tooltips.static TextGameOptions.getGenericValueOrOffText(Text prefix, int value) static TextGameOptions.getGenericValueText(Text prefix, int value) static TextGameOptions.getGenericValueText(Text prefix, Text value) private static TextGameOptions.getPercentValueOrOffText(Text prefix, double value) private static TextGameOptions.getPercentValueText(Text prefix, double value) private static TextGameOptions.getPixelValueText(Text prefix, int value) -
Uses of Text in net.minecraft.client.realms
Fields in net.minecraft.client.realms declared as TextModifier and TypeFieldDescription(package private) final TextRepeatedNarrator.Parameters.messagestatic final TextRealmsError.NO_DETAILS_TEXTRealmsError.SimpleHttpError.payloadThe field for thepayloadrecord component.static final TextRealmsError.SimpleHttpError.RETRY_TEXTprivate final TextRealmsLabel.textMethods in net.minecraft.client.realms that return TextModifier and TypeMethodDescriptionRealmsError.AuthenticationError.getText()RealmsError.DetailedHttpError.getText()RealmsError.getText()RealmsError.RawHttpPayloadError.getText()RealmsError.SimpleHttpError.getText()RealmsLabel.getText()RealmsError.SimpleHttpError.payload()Returns the value of thepayloadrecord component.Methods in net.minecraft.client.realms with parameters of type TextModifier and TypeMethodDescriptionvoidRepeatedNarrator.narrate(NarratorManager narratorManager, Text text) Constructors in net.minecraft.client.realms with parameters of type TextModifierConstructorDescription(package private)Parameters(Text text, RateLimiter rateLimiter) RealmsLabel(Text text, int x, int y, int color) SimpleHttpError(int int2, @Nullable Text text) -
Uses of Text in net.minecraft.client.realms.dto
Fields in net.minecraft.client.realms.dto declared as TextModifier and TypeFieldDescription(package private) static final TextRealmsNotification.OPEN_LINK_TEXTMethods in net.minecraft.client.realms.dto that return TextModifier and TypeMethodDescriptionRealmsNotification.VisitUrl.getDefaultMessage()RealmsText.toText()Methods in net.minecraft.client.realms.dto with parameters of type Text -
Uses of Text in net.minecraft.client.realms.gui
Fields in net.minecraft.client.realms.gui declared as TextModifier and TypeFieldDescriptionprivate static final TextRealmsWorldSlotButton.ACTIVE_TOOLTIPprivate static final TextRealmsPopups.INFO_TEXT(package private) static final TextRealmsWorldSlotButton.MINIGAME_SLOT_NAMEprivate static final TextRealmsWorldSlotButton.MINIGAME_TOOLTIPprivate static final TextRealmsWorldSlotButton.TOOLTIPprivate static final TextRealmsPopups.WARNING_TEXTMethods in net.minecraft.client.realms.gui with parameters of type TextModifier and TypeMethodDescriptionstatic PopupScreenRealmsPopups.createContinuableWarningPopup(Screen parent, Text message, Consumer<PopupScreen> onContinuePressed) static PopupScreenRealmsPopups.createInfoPopup(Screen parent, Text message, Consumer<PopupScreen> onContinuePressed) static PopupScreenRealmsPopups.createNonContinuableWarningPopup(Screen parent, Text message, Consumer<PopupScreen> onOkPressed) Constructors in net.minecraft.client.realms.gui with parameters of type Text -
Uses of Text in net.minecraft.client.realms.gui.screen
Fields in net.minecraft.client.realms.gui.screen declared as TextModifier and TypeFieldDescription(package private) static final TextRealmsPendingInvitesScreen.ACCEPT_TEXTprivate static final TextRealmsCreateWorldScreen.ADVENTURE_TEXTprivate static final TextRealmsBackupScreen.BACKUPS_TEXT(package private) static final TextRealmsBackupScreen.CHANGES_TOOLTIPprivate static final TextBuyRealmsScreen.CLOSE_TEXTprivate static final TextRealmsConfigureWorldScreen.CLOSED_TEXT(package private) static final TextRealmsMainScreen.CLOSED_TEXTprivate static final TextRealmsSelectFileToUploadScreen.COMMANDS_TEXTprivate static final TextRealmsConfigureWorldScreen.CONFIGURE_REALM_TITLEprivate static final TextRealmsMainScreen.CONFIGURE_TEXTprivate static final TextRealmsCreateWorldScreen.CREATE_REALM_SUBTITLEprivate static final TextRealmsCreateWorldScreen.CREATE_REALM_TITLEprivate static final TextRealmsCreateWorldScreen.CREATE_WORLD_SUBTITLEprivate static final TextRealmsCreateWorldScreen.CREATE_WORLD_TITLEstatic final TextRealmsCreateWorldScreen.CREATING_TEXTprivate static final TextRealmsSubscriptionInfoScreen.DAYS_LEFT_LABEL_TEXTprivate TextRealmsSubscriptionInfoScreen.daysLeftprivate static final TextRealmsBackupInfoScreen.BackupInfoListEntry.DESCRIPTION_TEXTprivate final TextRealmsGenericErrorScreen.ErrorMessages.detailThe field for thedetailrecord component.private final TextRealmsSelectFileToUploadScreen.WorldListEntry.detailsprivate static final TextRealmsBackupScreen.DOWNLOAD_TEXTRealmsDownloadLatestWorldScreen.downloadErrorprivate final TextRealmsDownloadLatestWorldScreen.downloadTitleprivate static final TextRealmsSlotOptionsScreen.EDIT_SLOT_NAMEprivate static final TextRealmsBackupInfoScreen.BackupInfoListEntry.ENABLED_PACK_TEXTRealmsInviteScreen.errorMessageprivate static final TextRealmsCreateWorldScreen.EXPERIENCE_TEXT(package private) static final TextRealmsMainScreen.EXPIRED_LIST_TEXTprivate static final TextRealmsMainScreen.EXPIRED_RENEW_TEXTprivate static final TextRealmsConfigureWorldScreen.EXPIRED_TEXT(package private) static final TextRealmsMainScreen.EXPIRED_TEXTprivate static final TextRealmsSubscriptionInfoScreen.EXPIRED_TEXT(package private) static final TextRealmsMainScreen.EXPIRED_TRIAL_TEXTprivate static final TextRealmsConfigureWorldScreen.EXPIRES_IN_A_DAY_TEXT(package private) static final TextRealmsMainScreen.EXPIRES_IN_A_DAY_TEXTprivate static final TextRealmsSubscriptionInfoScreen.EXPIRES_IN_LESS_THAN_A_DAY_TEXTprivate static final TextRealmsConfigureWorldScreen.EXPIRES_SOON_TEXT(package private) static final TextRealmsMainScreen.EXPIRES_SOON_TEXTprivate static final TextRealmsBackupInfoScreen.BackupInfoListEntry.GAME_DIFFICULTY_TEXTprivate static final TextRealmsBackupInfoScreen.BackupInfoListEntry.GAME_MODE_TEXTprivate static final TextRealmsBackupInfoScreen.BackupInfoListEntry.GAME_SERVER_VERSION_TEXTprivate static final TextRealmsClientIncompatibleScreen.GAME_VERSIONprivate static final TextRealmsSelectFileToUploadScreen.HARDCORE_TEXTprivate static final TextRealmsMainScreen.INCOMPATIBLE_POPUP_TITLEprivate static final TextRealmsMainScreen.INCOMPATIBLE_RELEASE_TYPE_MESSAGEprivate static final TextRealmsClientIncompatibleScreen.INCOMPATIBLE_TITLEprivate static final TextRealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionListEntry.INFO_TOOLTIP_TEXTprivate static final TextRealmsCreateWorldScreen.INSPIRATION_TEXTprivate static final TextRealmsInviteScreen.INVITE_PROFILE_NAME_TEXTprivate static final TextRealmsInviteScreen.INVITE_TEXTprivate static final TextRealmsInviteScreen.INVITING_TEXTprivate static final TextRealmsMainScreen.LEAVE_TEXTprivate static final TextRealmsSelectFileToUploadScreen.LOADING_ERROR_TEXTprivate static final TextRealmsMainScreen.LOADING_TEXTprivate static final TextRealmsMainScreen.MENU_TEXTprivate final Text[]RealmsBrokenWorldScreen.messageprivate final TextRealmsMainScreen.VisitUrlNotification.messageprivate static final TextRealmsBackupInfoScreen.BackupInfoListEntry.NAME_TEXTprivate final TextRealmsSelectFileToUploadScreen.WorldListEntry.nameAndLastPlayedprivate static final TextRealmsBackupScreen.NO_BACKUPS_TEXTprivate static final TextRealmsPendingInvitesScreen.NO_PENDING_TEXTprivate static final TextRealmsMainScreen.NO_PENDING_TOOLTIPprivate static final TextRealmsMainScreen.NO_REALMS_TEXTprivate static final TextRealmsPlayerScreen.InvitedObjectSelectionListEntry.NORMAL_TOOLTIP_TEXTprivate static final TextRealmsMainScreen.RealmSelectionListEntry.ONLINE_PLAYERS_TEXTprivate static final TextRealmsConfigureWorldScreen.OPEN_TEXT(package private) static final TextRealmsMainScreen.OPEN_TEXTprivate static final TextRealmsPlayerScreen.InvitedObjectSelectionListEntry.OPS_TOOLTIP_TEXTprivate static final TextRealmsClientIncompatibleScreen.OUTDATED_STABLE_VERSIONprivate final TextRealmsResetNormalWorldScreen.parentTitleprivate static final TextRealmsMainScreen.PENDING_TOOLTIPprivate static final TextRealmsMainScreen.PLAY_TEXTprivate static final TextRealmsInviteScreen.PLAYER_ERROR_TEXTprivate static final TextBuyRealmsScreen.POPUP_TEXTprivate static final TextRealmsParentalConsentScreen.PRIVACY_INFO_TEXTprivate static final TextRealmsSelectWorldTemplateScreen.PUBLISHER_TEXT(package private) static final TextRealmsPlayerScreen.QUESTION_TEXTprivate final TextDisconnectedRealmsScreen.reasonprivate static final TextRealmsSubscriptionInfoScreen.RECURRING_INFO_TEXT(package private) static final TextRealmsPendingInvitesScreen.REJECT_TEXTprivate static final TextRealmsPlayerScreen.InvitedObjectSelectionListEntry.REMOVE_TOOLTIP_TEXTprivate static final TextRealmsResetNormalWorldScreen.RESET_SEED_TEXTprivate static final TextRealmsCreateWorldScreen.RESET_WORLD_SUBTITLEprivate static final TextRealmsCreateWorldScreen.RESET_WORLD_TITLEprivate static final TextRealmsCreateWorldScreen.RESETTING_TEXT(package private) static final TextRealmsBackupScreen.RESTORE_TEXTprivate static final TextRealmsBackupInfoScreen.BackupInfoListEntry.SEED_TEXTprivate static final TextRealmsSelectWorldTemplateScreen.SELECT_TEXTprivate static final TextRealmsTermsScreen.SENTENCE_ONE_TEXTprivate static final TextRealmsTermsScreen.SENTENCE_TWO_TEXT(package private) static final TextRealmsSlotOptionsScreen.SPAWN_PROTECTIONprivate static final TextRealmsMainScreen.SnapshotEntry.START_TEXTprivate TextRealmsSubscriptionInfoScreen.startDateprivate TextRealmsDownloadLatestWorldScreen.statusprivate TextRealmsUploadScreen.statusRealmsUploadScreen.statusTextsprivate static final TextRealmsSubscriptionInfoScreen.SUBSCRIPTION_START_LABEL_TEXTprivate static final TextRealmsSubscriptionInfoScreen.SUBSCRIPTION_TITLEprivate final TextRealmsCreateWorldScreen.subtitleprivate final TextRealmsCreateWorldScreen.taskTitleprivate static final TextRealmsBackupInfoScreen.BackupInfoListEntry.TEMPLATE_NAME_TEXTprivate static final TextRealmsCreateWorldScreen.TEMPLATE_TEXTprivate final TextRealmsWorldGeneratorType.textprivate static final TextRealmsSubscriptionInfoScreen.TIME_LEFT_LABEL_TEXTprivate final TextRealmsGenericErrorScreen.ErrorMessages.titleThe field for thetitlerecord component.private TextRealmsLongRunningMcoTaskScreen.titleprivate static final TextRealmsBackupInfoScreen.TITLEprivate static final TextRealmsPlayerScreen.TITLEstatic final TextRealmsResetNormalWorldScreen.TITLEstatic final TextRealmsSelectFileToUploadScreen.TITLEprivate static final TextRealmsTermsScreen.TITLEprivate static final TextRealmsCreateRealmScreen.TITLE_TEXTprivate final TextRealmsConfirmScreen.title1private final TextRealmsConfirmScreen.title2RealmsConfigureWorldScreen.tooltipRealmsPendingInvitesScreen.tooltipprivate static final TextRealmsSelectWorldTemplateScreen.TRAILER_TEXTprivate static final TextRealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionListEntry.TRAILER_TOOLTIP_TEXTprivate static final TextRealmsBackupInfoScreen.BackupInfoListEntry.UNDEFINED_TEXT(package private) static final TextRealmsMainScreen.UNINITIALIZED_BUTTON_NARRATION(package private) static final TextRealmsMainScreen.UNINITIALIZED_TEXTprivate static final TextRealmsBackupInfoScreen.UNKNOWNprivate static final TextRealmsSubscriptionInfoScreen.UNKNOWN_TEXTprivate static final TextRealmsClientIncompatibleScreen.UNSUPPORTED_SNAPSHOT_VERSIONprivate static final TextRealmsBackupInfoScreen.BackupInfoListEntry.UPLOADED_TEXTprivate static final TextRealmsUploadScreen.VERIFYING_TEXTRealmsSelectWorldTemplateScreen.warningprivate static final TextRealmsCreateRealmScreen.WORLD_DESCRIPTION_TEXTprivate static final TextRealmsSettingsScreen.WORLD_DESCRIPTION_TEXT(package private) static final TextRealmsSelectFileToUploadScreen.WORLD_LANGprivate static final TextRealmsCreateRealmScreen.WORLD_NAME_TEXTprivate static final TextRealmsSettingsScreen.WORLD_NAME_TEXTprivate static final TextRealmsBackupInfoScreen.BackupInfoListEntry.WORLD_TYPE_TEXTprivate static final TextRealmsConfigureWorldScreen.WORLDS_TITLEMethods in net.minecraft.client.realms.gui.screen that return TextModifier and TypeMethodDescription(package private) TextRealmsBackupInfoScreen.checkForSpecificMetadata(String key, String value) private TextRealmsSubscriptionInfoScreen.daysLeftPresentation(int daysLeft) RealmsGenericErrorScreen.ErrorMessages.detail()Returns the value of thedetailrecord component.private TextRealmsBackupInfoScreen.gameDifficultyMetadata(String value) private TextRealmsBackupInfoScreen.gameModeMetadata(String value) private TextRealmsClientIncompatibleScreen.getErrorText()(package private) static TextRealmsSelectFileToUploadScreen.getGameModeName(LevelSummary summary) DisconnectedRealmsScreen.getNarratedTitle()RealmsBrokenWorldScreen.getNarratedTitle()RealmsCreateWorldScreen.getNarratedTitle()RealmsGenericErrorScreen.getNarratedTitle()RealmsMainScreen.getNarratedTitle()RealmsParentalConsentScreen.getNarratedTitle()RealmsSelectFileToUploadScreen.getNarratedTitle()RealmsSelectWorldTemplateScreen.getNarratedTitle()RealmsSlotOptionsScreen.getNarratedTitle()RealmsSubscriptionInfoScreen.getNarratedTitle()RealmsTermsScreen.getNarratedTitle()RealmsBackupInfoScreen.BackupInfoListEntry.getNarration()private TextRealmsDownloadLatestWorldScreen.getNarration()RealmsMainScreen.EmptyEntry.getNarration()RealmsMainScreen.ParentRealmSelectionListEntry.getNarration()RealmsMainScreen.RealmSelectionListEntry.getNarration()RealmsMainScreen.SnapshotEntry.getNarration()RealmsMainScreen.VisitButtonEntry.getNarration()RealmsMainScreen.VisitUrlNotification.getNarration()RealmsPendingInvitesScreen.PendingInvitationSelectionListEntry.getNarration()RealmsSelectFileToUploadScreen.WorldListEntry.getNarration()RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionListEntry.getNarration()private TextRealmsUploadScreen.getNarration()RealmsWorldGeneratorType.getText()private TextRealmsBackupInfoScreen.BackupInfoListEntry.getTextFromKey(String key) static TextRealmsMainScreen.getVersionText(String version, boolean compatible) static TextRealmsMainScreen.getVersionText(String version, int color) private static TextRealmsSubscriptionInfoScreen.localPresentation(long time) RealmsScreen.narrateLabels()RealmsGenericErrorScreen.ErrorMessages.title()Returns the value of thetitlerecord component.Methods in net.minecraft.client.realms.gui.screen with parameters of type TextModifier and TypeMethodDescriptionprivate static RealmsGenericErrorScreen.ErrorMessagesRealmsGenericErrorScreen.getErrorMessages(Text description) private static RealmsGenericErrorScreen.ErrorMessagesRealmsGenericErrorScreen.getErrorMessages(Text title, Text description) RealmsSlotOptionsScreen.getSpawnToggleButtonCallback(Text text, Consumer<Boolean> valueSetter) protected intRealmsMainScreen.Entry.getVersionRight(int x, int width, Text version) private voidRealmsUploadScreen.setStatusTexts(Text[] statusTexts) voidvoidRealmsSelectWorldTemplateScreen.setWarning(Text[] warning) private static voidRealmsMainScreen.showCompatibilityScreen(RealmsServer server, Screen parent, Text title, Text description, Text confirmText) private voidMethod parameters in net.minecraft.client.realms.gui.screen with type arguments of type TextModifier and TypeMethodDescriptionprivate voidRealmsConfigureWorldScreen.drawServerState(DrawContext context, int x, int y, int mouseX, int mouseY, Identifier texture, Supplier<Text> tooltipGetter) private voidRealmsMainScreen.Entry.drawTextureWithTooltip(DrawContext context, int x, int y, int mouseX, int mouseY, Identifier texture, Supplier<Text> tooltip) Constructors in net.minecraft.client.realms.gui.screen with parameters of type TextModifierConstructorDescriptionprotectedCrossButton(ButtonWidget.PressAction onPress, Text tooltip) DisconnectedRealmsScreen(Screen parent, Text title, Text reason) (package private)ErrorMessages(Text text, Text text2) (package private)FrameButton(TextRenderer textRenderer, Text message, Identifier image, ButtonWidget.PressAction onPress) NotificationButtonWidget(Text message, Identifier texture, ButtonWidget.PressAction onPress) RealmsConfirmScreen(BooleanConsumer callback, Text title1, Text title2) privateRealmsCreateWorldScreen(Screen parent, RealmsServer serverData, int slot, Text title, Text subtitle, int subtitleColor, Text taskTitle, Runnable callback) RealmsCreateWorldScreen(Screen parent, RealmsServer serverData, int slot, Text title, Text subtitle, int subtitleColor, Text taskTitle, @Nullable WorldCreationTask creationTask, Runnable callback) RealmsGenericErrorScreen(Text description, Screen parent) RealmsGenericErrorScreen(Text title, Text description, Screen parent) RealmsPendingInvitesScreen(Screen parent, Text title) RealmsResetNormalWorldScreen(Consumer<ResetWorldInfo> callback, Text parentTitle) RealmsScreen(Text title) RealmsSelectWorldTemplateScreen(Text title, Consumer<WorldTemplate> callback, RealmsServer.WorldType worldType) RealmsSelectWorldTemplateScreen(Text title, Consumer<WorldTemplate> callback, RealmsServer.WorldType worldType, @Nullable WorldTemplatePaginatedList templateList) VisitUrlNotification(Text message, int lines, RealmsNotification notification) -
Uses of Text in net.minecraft.client.realms.task
Fields in net.minecraft.client.realms.task declared as TextModifier and TypeFieldDescriptionprivate static final TextRealmsPrepareConnectionTask.APPLYING_PACK_TEXTprivate final TextResettingWorldTask.titleprivate static final TextCloseServerTask.TITLEprivate static final TextDownloadTask.TITLEprivate static final TextOpenServerTask.TITLEprivate static final TextRealmsConnectTask.TITLEprivate static final TextRealmsPrepareConnectionTask.TITLEprivate static final TextRestoreTask.TITLEprivate static final TextSwitchMinigameTask.TITLEprivate static final TextSwitchSlotTask.TITLEprivate static final TextWorldCreationTask.TITLEprivate static final TextCreatingSnapshotWorldTask.TITLE_TEXTMethods in net.minecraft.client.realms.task that return TextModifier and TypeMethodDescriptionCloseServerTask.getTitle()CreatingSnapshotWorldTask.getTitle()DownloadTask.getTitle()abstract TextLongRunningTask.getTitle()OpenServerTask.getTitle()RealmsConnectTask.getTitle()RealmsPrepareConnectionTask.getTitle()ResettingWorldTask.getTitle()RestoreTask.getTitle()SwitchMinigameTask.getTitle()SwitchSlotTask.getTitle()WorldCreationTask.getTitle()Methods in net.minecraft.client.realms.task with parameters of type TextConstructors in net.minecraft.client.realms.task with parameters of type TextModifierConstructorDescriptionResettingNormalWorldTask(ResetWorldInfo info, long serverId, Text title, Runnable callback) ResettingWorldTask(long serverId, Text title, Runnable callback) ResettingWorldTemplateTask(WorldTemplate template, long serverId, Text title, Runnable callback) -
Uses of Text in net.minecraft.client.realms.util
Fields in net.minecraft.client.realms.util declared as TextMethods in net.minecraft.client.realms.util that return TextModifier and TypeMethodDescriptionstatic TextRealmsUtil.convertToAgePresentation(long milliseconds) static TextRealmsUtil.convertToAgePresentation(Date date) -
Uses of Text in net.minecraft.client.render.entity
Methods in net.minecraft.client.render.entity with parameters of type TextModifier and TypeMethodDescriptionprotected voidEntityRenderer.renderLabelIfPresent(T entity, Text text, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, float tickDelta) protected voidItemFrameEntityRenderer.renderLabelIfPresent(T t, Text text, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, float float2) protected voidPlayerEntityRenderer.renderLabelIfPresent(AbstractClientPlayerEntity abstractClientPlayerEntity, Text text, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, float float2) -
Uses of Text in net.minecraft.client.resource
Fields in net.minecraft.client.resource with type parameters of type TextMethods in net.minecraft.client.resource that return TextModifier and TypeMethodDescriptionprotected TextDefaultClientResourcePackProvider.getDisplayName(String id) Methods in net.minecraft.client.resource with parameters of type TextModifier and TypeMethodDescriptionprotected @Nullable ResourcePackProfileDefaultClientResourcePackProvider.create(String fileName, ResourcePackProfile.PackFactory packFactory, Text displayName) private static ResourcePackInfoDefaultClientResourcePackProvider.createInfo(String id, Text title) -
Uses of Text in net.minecraft.client.resource.language
Methods in net.minecraft.client.resource.language that return Text -
Uses of Text in net.minecraft.client.resource.server
Fields in net.minecraft.client.resource.server declared as TextModifier and TypeFieldDescriptionprivate static final TextServerResourcePackLoader.SERVER_NAME_TEXT -
Uses of Text in net.minecraft.client.session
Fields in net.minecraft.client.session declared as TextModifier and TypeFieldDescriptionprivate final TextBanReason.descriptionstatic final TextBans.NAME_TITLEprivate static final TextBans.PERMANENT_TITLEprivate static final TextBans.SKIN_DESCRIPTIONprivate static final TextBans.SKIN_TITLEprivate static final TextBans.TEMPORARY_TITLEMethods in net.minecraft.client.session that return TextModifier and TypeMethodDescriptionBanReason.getDescription()private static TextBans.getDescriptionText(com.mojang.authlib.minecraft.BanDetails banDetails) private static TextBans.getDurationText(com.mojang.authlib.minecraft.BanDetails banDetails) private static TextBans.getReasonText(com.mojang.authlib.minecraft.BanDetails banDetails) private static TextBans.getTemporaryBanDurationText(com.mojang.authlib.minecraft.BanDetails banDetails) private static TextBans.getTitle(com.mojang.authlib.minecraft.BanDetails banDetails) -
Uses of Text in net.minecraft.client.session.report
Fields in net.minecraft.client.session.report declared as TextModifier and TypeFieldDescriptionprivate final TextAbuseReportReason.descriptionprivate static final TextAbuseReportSender.Impl.HTTP_ERROR_TEXTprivate static final TextAbuseReportSender.Impl.JSON_ERROR_TEXTprivate final TextAbuseReport.ValidationError.messageThe field for themessagerecord component.private static final TextAbuseReportSender.Impl.SERVICE_UNAVAILABLE_ERROR_TEXTprivate final TextAbuseReportReason.textMethods in net.minecraft.client.session.report that return TextModifier and TypeMethodDescriptionAbuseReportReason.getDescription()private TextAbuseReportSender.Impl.getErrorText(com.mojang.authlib.exceptions.MinecraftClientException exception) private TextAbuseReportSender.Impl.getErrorText(com.mojang.authlib.exceptions.MinecraftClientHttpException exception) AbuseReportReason.getText()AbuseReport.ValidationError.message()Returns the value of themessagerecord component.Methods in net.minecraft.client.session.report with parameters of type TextConstructors in net.minecraft.client.session.report with parameters of type TextModifierConstructorDescriptionAbuseReportException(Text messageText, Throwable cause) ValidationError(Text text) -
Uses of Text in net.minecraft.client.session.report.log
Fields in net.minecraft.client.session.report.log declared as TextModifier and TypeFieldDescriptionprivate final TextReceivedMessage.GameMessage.messageThe field for themessagerecord component.Methods in net.minecraft.client.session.report.log that return TextModifier and TypeMethodDescriptionReceivedMessage.ChatMessage.getContent()Returns the content of the message.ReceivedMessage.GameMessage.getContent()Returns the content of the message.ReceivedMessage.getContent()Returns the content of the message.private TextReceivedMessage.ChatMessage.getFormattedTimestamp()Returns the formatted timestamp text of this message.ReceivedMessage.ChatMessage.getHeadingText()Returns the heading text used by Chat Selection screen.ReceivedMessage.ChatMessage.getNarration()Returns the narration of the message (by default, the content).default TextReceivedMessage.getNarration()Returns the narration of the message (by default, the content).ReceivedMessage.GameMessage.message()Returns the value of themessagerecord component.Methods in net.minecraft.client.session.report.log with parameters of type TextModifier and TypeMethodDescriptionstatic ReceivedMessage.GameMessageReturns the received message constructed from a game message's elements.Constructors in net.minecraft.client.session.report.log with parameters of type Text -
Uses of Text in net.minecraft.client.sound
Fields in net.minecraft.client.sound declared as TextMethods in net.minecraft.client.sound that return Text -
Uses of Text in net.minecraft.client.toast
Fields in net.minecraft.client.toast declared as TextModifier and TypeFieldDescriptionTutorialToast.descriptionprivate static final TextRecipeToast.DESCRIPTIONprivate TextSystemToast.titleprivate final TextTutorialToast.titleprivate static final TextRecipeToast.TITLEMethods in net.minecraft.client.toast with parameters of type TextModifier and TypeMethodDescriptionstatic voidSystemToast.add(ToastManager manager, SystemToast.Type type, Text title, @Nullable Text description) static SystemToastSystemToast.create(MinecraftClient client, SystemToast.Type type, Text title, Text description) private static ImmutableList<OrderedText> SystemToast.getTextAsList(@Nullable Text text) voidSystemToast.setContent(Text title, @Nullable Text description) static voidSystemToast.show(ToastManager manager, SystemToast.Type type, Text title, @Nullable Text description) Constructors in net.minecraft.client.toast with parameters of type TextModifierConstructorDescriptionprivateSystemToast(SystemToast.Type type, Text title, List<OrderedText> lines, int width) SystemToast(SystemToast.Type type, Text title, @Nullable Text description) TutorialToast(TutorialToast.Type type, Text title, @Nullable Text description, boolean hasProgressBar) -
Uses of Text in net.minecraft.client.tutorial
Fields in net.minecraft.client.tutorial declared as TextModifier and TypeFieldDescriptionprivate static final TextCraftPlanksTutorialStepHandler.DESCRIPTIONprivate static final TextFindTreeTutorialStepHandler.DESCRIPTIONprivate static final TextOpenInventoryTutorialStepHandler.DESCRIPTIONprivate static final TextPunchTreeTutorialStepHandler.DESCRIPTIONprivate static final TextMovementTutorialStepHandler.LOOK_DESCRIPTIONprivate static final TextMovementTutorialStepHandler.LOOK_TITLEprivate static final TextMovementTutorialStepHandler.MOVE_DESCRIPTIONprivate static final TextMovementTutorialStepHandler.MOVE_TITLEprivate static final TextCraftPlanksTutorialStepHandler.TITLEprivate static final TextFindTreeTutorialStepHandler.TITLEprivate static final TextOpenInventoryTutorialStepHandler.TITLEprivate static final TextPunchTreeTutorialStepHandler.TITLEMethods in net.minecraft.client.tutorial that return Text -
Uses of Text in net.minecraft.client.util
Fields in net.minecraft.client.util declared as TextModifier and TypeFieldDescriptionstatic final TextNarratorManager.EMPTYAn empty text for narration.Fields in net.minecraft.client.util with type parameters of type TextModifier and TypeFieldDescriptionInputUtil.Key.localizedText(package private) final BiFunction<Integer, String, Text> InputUtil.Type.textTranslatorMethods in net.minecraft.client.util that return TextMethods in net.minecraft.client.util with parameters of type TextModifier and TypeMethodDescriptionvoidNarrates system text.voidNarratorManager.narrateChatMessage(Text text) Narrates a chat message.voidNarratorManager.narrateSystemMessage(Text text) Narrates a system message.Method parameters in net.minecraft.client.util with type arguments of type TextModifier and TypeMethodDescriptionstatic voidScreenshotRecorder.saveScreenshot(File gameDirectory, @Nullable String fileName, Framebuffer framebuffer, Consumer<Text> messageReceiver) static voidScreenshotRecorder.saveScreenshot(File gameDirectory, Framebuffer framebuffer, Consumer<Text> messageReceiver) private static voidScreenshotRecorder.saveScreenshotInner(File gameDirectory, @Nullable String fileName, Framebuffer framebuffer, Consumer<Text> messageReceiver) Constructor parameters in net.minecraft.client.util with type arguments of type Text -
Uses of Text in net.minecraft.command
Fields in net.minecraft.command declared as TextModifier and TypeFieldDescriptionprivate final TextEntitySelectorOptions.SelectorOption.descriptionThe field for thedescriptionrecord component.Methods in net.minecraft.command that return TextModifier and TypeMethodDescriptionEntitySelectorOptions.SelectorOption.description()Returns the value of thedescriptionrecord component.BlockDataObject.feedbackGet(NbtPathArgumentType.NbtPath path, double scale, int result) DataCommandObject.feedbackGet(NbtPathArgumentType.NbtPath path, double scale, int result) EntityDataObject.feedbackGet(NbtPathArgumentType.NbtPath path, double scale, int result) StorageDataObject.feedbackGet(NbtPathArgumentType.NbtPath path, double scale, int result) BlockDataObject.feedbackModify()DataCommandObject.feedbackModify()EntityDataObject.feedbackModify()StorageDataObject.feedbackModify()BlockDataObject.feedbackQuery(NbtElement element) DataCommandObject.feedbackQuery(NbtElement element) EntityDataObject.feedbackQuery(NbtElement element) StorageDataObject.feedbackQuery(NbtElement element) static TextMethods in net.minecraft.command with parameters of type TextModifier and TypeMethodDescriptionprivate static voidEntitySelectorOptions.putOption(String id, EntitySelectorOptions.SelectorHandler handler, Predicate<EntitySelectorReader> condition, Text description) Constructors in net.minecraft.command with parameters of type TextModifierConstructorDescription(package private)SelectorOption(EntitySelectorOptions.SelectorHandler handler, Predicate<EntitySelectorReader> condition, Text description) Creates an instance of aSelectorOptionrecord class. -
Uses of Text in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return TextModifier and TypeMethodDescription(package private) TextMessageArgumentType.MessageFormat.format(ServerCommandSource source) MessageArgumentType.MessageFormat.format(ServerCommandSource source, boolean canUseSelectors) MessageArgumentType.MessageSelector.format(ServerCommandSource source) static TextMessageArgumentType.getMessage(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static TextTextArgumentType.getTextArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) TextArgumentType.parse(com.mojang.brigadier.StringReader stringReader) -
Uses of Text in net.minecraft.component
Fields in net.minecraft.component with type parameters of type TextModifier and TypeFieldDescriptionstatic final ComponentType<Text> DataComponentTypes.CUSTOM_NAMEstatic final ComponentType<Text> DataComponentTypes.ITEM_NAME -
Uses of Text in net.minecraft.component.type
Fields in net.minecraft.component.type declared as TextModifier and TypeFieldDescriptionprivate static final TextFireworkExplosionComponent.CUSTOM_COLOR_TEXTprivate static final TextPotionContentsComponent.NONE_TEXTprivate static final TextUnbreakableComponent.TOOLTIP_TEXTFields in net.minecraft.component.type with type parameters of type TextModifier and TypeFieldDescriptionLoreComponent.linesThe field for thelinesrecord component.static final com.mojang.serialization.Codec<Text> WrittenBookContentComponent.PAGE_CODECprivate final List<RawFilteredPair<Text>> WrittenBookContentComponent.pagesThe field for thepagesrecord component.static final com.mojang.serialization.Codec<List<RawFilteredPair<Text>>> WrittenBookContentComponent.PAGES_CODECLoreComponent.styledLinesThe field for thestyledLinesrecord component.Methods in net.minecraft.component.type that return TextModifier and TypeMethodDescriptionprivate static TextFireworkExplosionComponent.appendColorsTooltipText(MutableText text, IntList colors) private static TextFireworkExplosionComponent.getColorText(int color) Methods in net.minecraft.component.type that return types with arguments of type TextModifier and TypeMethodDescriptionprivate static com.mojang.serialization.Codec<RawFilteredPair<Text>> WrittenBookContentComponent.createPageCodec(com.mojang.serialization.Codec<Text> textCodec) static com.mojang.serialization.Codec<List<RawFilteredPair<Text>>> WrittenBookContentComponent.createPagesCodec(com.mojang.serialization.Codec<Text> textCodec) WrittenBookContentComponent.getPages(boolean shouldFilter) LoreComponent.lines()Returns the value of thelinesrecord component.WrittenBookContentComponent.pages()Returns the value of thepagesrecord component.private static Optional<RawFilteredPair<Text>> WrittenBookContentComponent.resolve(ServerCommandSource source, @Nullable PlayerEntity player, RawFilteredPair<Text> page) LoreComponent.styledLines()Returns the value of thestyledLinesrecord component.Methods in net.minecraft.component.type with parameters of type TextModifier and TypeMethodDescriptionprivate static booleanWrittenBookContentComponent.exceedsSerializedLengthLimit(Text text, RegistryWrapper.WrapperLookup lookup) Method parameters in net.minecraft.component.type with type arguments of type TextModifier and TypeMethodDescriptionvoidFireworkExplosionComponent.appendOptionalTooltip(Consumer<Text> textConsumer) voidFireworkExplosionComponent.appendShapeTooltip(Consumer<Text> textConsumer) voidDyedColorComponent.appendTooltip(Item.TooltipContext context, Consumer<Text> tooltip, TooltipType type) voidFireworkExplosionComponent.appendTooltip(Item.TooltipContext context, Consumer<Text> tooltip, TooltipType type) voidFireworksComponent.appendTooltip(Item.TooltipContext context, Consumer<Text> tooltip, TooltipType type) voidItemEnchantmentsComponent.appendTooltip(Item.TooltipContext context, Consumer<Text> tooltip, TooltipType type) voidJukeboxPlayableComponent.appendTooltip(Item.TooltipContext context, Consumer<Text> tooltip, TooltipType type) voidLoreComponent.appendTooltip(Item.TooltipContext context, Consumer<Text> tooltip, TooltipType type) voidUnbreakableComponent.appendTooltip(Item.TooltipContext context, Consumer<Text> tooltip, TooltipType type) static voidPotionContentsComponent.buildTooltip(Iterable<StatusEffectInstance> effects, Consumer<Text> textConsumer, float durationMultiplier, float tickRate) voidPotionContentsComponent.buildTooltip(Consumer<Text> textConsumer, float durationMultiplier, float tickRate) private static com.mojang.serialization.Codec<RawFilteredPair<Text>> WrittenBookContentComponent.createPageCodec(com.mojang.serialization.Codec<Text> textCodec) static com.mojang.serialization.Codec<List<RawFilteredPair<Text>>> WrittenBookContentComponent.createPagesCodec(com.mojang.serialization.Codec<Text> textCodec) private static Optional<RawFilteredPair<Text>> WrittenBookContentComponent.resolve(ServerCommandSource source, @Nullable PlayerEntity player, RawFilteredPair<Text> page) WrittenBookContentComponent.withPages(List<RawFilteredPair<Text>> list) Constructor parameters in net.minecraft.component.type with type arguments of type TextModifierConstructorDescriptionLoreComponent(List<Text> lines) LoreComponent(List<Text> list, List<Text> list2) WrittenBookContentComponent(RawFilteredPair<String> rawFilteredPair, String string, int int2, List<RawFilteredPair<Text>> list, boolean bool) -
Uses of Text in net.minecraft.data
Methods in net.minecraft.data with parameters of type TextModifier and TypeMethodDescriptionstatic MetadataProviderMetadataProvider.create(DataOutput output, Text description) static MetadataProviderMetadataProvider.create(DataOutput output, Text description, FeatureSet requiredFeatures) -
Uses of Text in net.minecraft.enchantment
Fields in net.minecraft.enchantment declared as TextModifier and TypeFieldDescriptionprivate final TextEnchantment.descriptionThe field for thedescriptionrecord component.Methods in net.minecraft.enchantment that return TextModifier and TypeMethodDescriptionEnchantment.description()Returns the value of thedescriptionrecord component.static TextEnchantment.getName(RegistryEntry<Enchantment> enchantment, int level) Constructors in net.minecraft.enchantment with parameters of type TextModifierConstructorDescriptionEnchantment(Text text, Enchantment.Definition definition, RegistryEntryList<Enchantment> registryEntryList, ComponentMap componentMap) -
Uses of Text in net.minecraft.entity
Fields in net.minecraft.entity declared as TextFields in net.minecraft.entity with type parameters of type TextModifier and TypeFieldDescriptionprivate static final TrackedData<Optional<Text>> Entity.CUSTOM_NAMEMethods in net.minecraft.entity that return TextModifier and TypeMethodDescriptionEntity.getCustomName()Returns the custom name of this object, ornullif there is none.protected TextEntity.getDefaultName()Returns the default name of the entity.protected TextFallingBlockEntity.getDefaultName()Returns the default name of the entity.Entity.getDisplayName()Returns the display name of this object.Entity.getName()Returns the name of this object.EntityType.getName()ItemEntity.getName()Returns the name of this object.private static TextEntity.removeClickEvents(Text textComponent) Methods in net.minecraft.entity with parameters of type TextModifier and TypeMethodDescriptionprivate static TextEntity.removeClickEvents(Text textComponent) voidEntity.sendMessage(Text message) Sends a system message.voidEntity.setCustomName(@Nullable Text name) Sets the custom name of the entity toname(ornullto remove the custom name). -
Uses of Text in net.minecraft.entity.boss
Fields in net.minecraft.entity.boss declared as TextMethods in net.minecraft.entity.boss that return TextMethods in net.minecraft.entity.boss with parameters of type TextModifier and TypeMethodDescriptionBossBarManager.add(Identifier id, Text displayName) voidWitherEntity.setCustomName(@Nullable Text name) Sets the custom name of the entity toname(ornullto remove the custom name).voidvoidConstructors in net.minecraft.entity.boss with parameters of type TextModifierConstructorDescriptionBossBar(UUID uuid, Text name, BossBar.Color color, BossBar.Style style) CommandBossBar(Identifier id, Text displayName) ServerBossBar(Text displayName, BossBar.Color color, BossBar.Style style) -
Uses of Text in net.minecraft.entity.damage
Methods in net.minecraft.entity.damage that return TextModifier and TypeMethodDescriptionprivate TextDamageTracker.getAttackedFallDeathMessage(Entity attacker, Text attackerDisplayName, String itemDeathTranslationKey, String deathTranslationKey) DamageSource.getDeathMessage(LivingEntity killed) DamageTracker.getDeathMessage()DamageTracker.getDisplayName(@Nullable Entity entity) private TextDamageTracker.getFallDeathMessage(DamageRecord damageRecord, @Nullable Entity attacker) Methods in net.minecraft.entity.damage with parameters of type Text -
Uses of Text in net.minecraft.entity.data
Fields in net.minecraft.entity.data with type parameters of type TextModifier and TypeFieldDescriptionstatic final TrackedDataHandler<Optional<Text>> TrackedDataHandlerRegistry.OPTIONAL_TEXT_COMPONENTstatic final TrackedDataHandler<Text> TrackedDataHandlerRegistry.TEXT_COMPONENT -
Uses of Text in net.minecraft.entity.decoration
Fields in net.minecraft.entity.decoration declared as TextModifier and TypeFieldDescriptionprivate final TextDisplayEntity.TextDisplayEntity.Data.textThe field for thetextrecord component.Fields in net.minecraft.entity.decoration with type parameters of type TextModifier and TypeFieldDescriptionprivate static final TrackedData<Text> DisplayEntity.TextDisplayEntity.TEXTMethods in net.minecraft.entity.decoration that return TextModifier and TypeMethodDescriptionprivate TextDisplayEntity.TextDisplayEntity.getText()DisplayEntity.TextDisplayEntity.Data.text()Returns the value of thetextrecord component.Methods in net.minecraft.entity.decoration with parameters of type TextModifier and TypeMethodDescriptionprivate voidConstructors in net.minecraft.entity.decoration with parameters of type TextModifierConstructorDescriptionData(Text text, int int2, DisplayEntity.IntLerper intLerper, DisplayEntity.IntLerper intLerper2, byte byte2) -
Uses of Text in net.minecraft.entity.effect
Methods in net.minecraft.entity.effect that return TextModifier and TypeMethodDescriptionstatic TextStatusEffectUtil.getDurationText(StatusEffectInstance effect, float multiplier, float tickRate) StatusEffect.getName() -
Uses of Text in net.minecraft.entity.mob
Methods in net.minecraft.entity.mob with parameters of type TextModifier and TypeMethodDescriptionvoidVindicatorEntity.setCustomName(@Nullable Text name) Sets the custom name of the entity toname(ornullto remove the custom name). -
Uses of Text in net.minecraft.entity.passive
Fields in net.minecraft.entity.passive declared as TextMethods in net.minecraft.entity.passive that return TextModifier and TypeMethodDescriptionprotected TextVillagerEntity.getDefaultName()Returns the default name of the entity.TropicalFishEntity.Variety.getText() -
Uses of Text in net.minecraft.entity.player
Fields in net.minecraft.entity.player declared as TextModifier and TypeFieldDescriptionPlayerEntity.SleepFailureReason.messageprivate final TextPlayerModelPart.optionNameMethods in net.minecraft.entity.player that return TextModifier and TypeMethodDescriptionPlayerEntity.getDisplayName()Returns the display name of this object.PlayerEntity.SleepFailureReason.getMessage()Returns the action bar message that is sent to the player when sleeping fails with this reason.PlayerEntity.getName()Returns the name of this object.PlayerInventory.getName()Returns the name of this object.PlayerModelPart.getOptionName()Methods in net.minecraft.entity.player with parameters of type TextModifier and TypeMethodDescriptionvoidPlayerEntity.sendMessage(Text message, boolean overlay) Adds a message to this player's HUD.Constructors in net.minecraft.entity.player with parameters of type Text -
Uses of Text in net.minecraft.entity.vehicle
Fields in net.minecraft.entity.vehicle with type parameters of type TextModifier and TypeFieldDescription(package private) static final TrackedData<Text> CommandBlockMinecartEntity.LAST_OUTPUTMethods in net.minecraft.entity.vehicle that return TextModifier and TypeMethodDescriptionprotected TextBoatEntity.getDefaultName()Returns the default name of the entity. -
Uses of Text in net.minecraft.item
Fields in net.minecraft.item declared as TextModifier and TypeFieldDescriptionprivate final TextSmithingTemplateItem.additionsSlotDescriptionTextprivate static final TextSmithingTemplateItem.APPLIES_TO_TEXTprivate final TextSmithingTemplateItem.appliesToTextprivate static final TextSmithingTemplateItem.ARMOR_TRIM_ADDITIONS_SLOT_DESCRIPTION_TEXTprivate static final TextSmithingTemplateItem.ARMOR_TRIM_APPLIES_TO_TEXTprivate static final TextSmithingTemplateItem.ARMOR_TRIM_BASE_SLOT_DESCRIPTION_TEXTprivate static final TextSmithingTemplateItem.ARMOR_TRIM_INGREDIENTS_TEXTprivate final TextSmithingTemplateItem.baseSlotDescriptionTextstatic final TextBlockPredicatesChecker.CAN_BREAK_TEXTstatic final TextBlockPredicatesChecker.CAN_PLACE_TEXTprivate static final TextBlockPredicatesChecker.CAN_USE_UNKNOWN_TEXTprivate static final TextItemStack.DISABLED_TEXTprivate TextItemGroup.Builder.displayNameprivate final TextItemGroup.displayNameprivate static final TextSmithingTemplateItem.INGREDIENTS_TEXTprivate final TextSmithingTemplateItem.ingredientsTextprivate static final TextSmithingTemplateItem.NETHERITE_UPGRADE_ADDITIONS_SLOT_DESCRIPTION_TEXTprivate static final TextSmithingTemplateItem.NETHERITE_UPGRADE_APPLIES_TO_TEXTprivate static final TextSmithingTemplateItem.NETHERITE_UPGRADE_BASE_SLOT_DESCRIPTION_TEXTprivate static final TextSmithingTemplateItem.NETHERITE_UPGRADE_INGREDIENTS_TEXTprivate static final TextSmithingTemplateItem.NETHERITE_UPGRADE_TEXTprivate static final TextDecorationItem.RANDOM_TEXTprivate final TextSmithingTemplateItem.titleTextFields in net.minecraft.item with type parameters of type TextMethods in net.minecraft.item that return TextModifier and TypeMethodDescriptionSmithingTemplateItem.getAdditionsSlotDescription()SmithingTemplateItem.getBaseSlotDescription()ItemGroup.getDisplayName()static TextFilledMapItem.getIdText(MapIdComponent id) Item.getName()ItemStack.getName()Returns the custom name of the stack if it exists, or the item's name.ItemStack.toHoverableText()Returns a text consisting of the bracketed stack name that can be hovered to show the item stack's tooltip.Methods in net.minecraft.item that return types with arguments of type TextModifier and TypeMethodDescriptionItemStack.getTooltip(Item.TooltipContext context, @Nullable PlayerEntity player, TooltipType type) BlockPredicatesChecker.getTooltipText(List<BlockPredicate> blockPredicates) Methods in net.minecraft.item with parameters of type TextModifier and TypeMethodDescriptionItemGroup.Builder.displayName(Text displayName) private static voidDebugStickItem.sendMessage(PlayerEntity player, Text message) Method parameters in net.minecraft.item with type arguments of type TextModifier and TypeMethodDescriptionvoidBlockPredicatesChecker.addTooltips(Consumer<Text> adder) private voidItemStack.appendAttributeModifiersTooltip(Consumer<Text> textConsumer, @Nullable PlayerEntity player) private voidItemStack.appendAttributeModifierTooltip(Consumer<Text> textConsumer, @Nullable PlayerEntity player, RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier modifier) static voidBannerItem.appendBannerTooltip(ItemStack stack, List<Text> tooltip) voidAirBlockItem.appendTooltip(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.voidBannerItem.appendTooltip(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.voidBannerPatternItem.appendTooltip(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.voidBlockItem.appendTooltip(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.voidBundleItem.appendTooltip(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.voidCrossbowItem.appendTooltip(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.voidDecorationItem.appendTooltip(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.voidDiscFragmentItem.appendTooltip(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.voidEntityBucketItem.appendTooltip(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.voidFilledMapItem.appendTooltip(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.voidFireworkRocketItem.appendTooltip(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.voidFireworkStarItem.appendTooltip(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.voidGoatHornItem.appendTooltip(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.voidItem.appendTooltip(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.private <T extends TooltipAppender>
voidItemStack.appendTooltip(ComponentType<T> componentType, Item.TooltipContext context, Consumer<Text> textConsumer, TooltipType type) voidLingeringPotionItem.appendTooltip(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.voidOminousBottleItem.appendTooltip(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.voidPotionItem.appendTooltip(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.voidShieldItem.appendTooltip(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.voidSmithingTemplateItem.appendTooltip(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.voidSuspiciousStewItem.appendTooltip(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.voidTippedArrowItem.appendTooltip(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.voidWrittenBookItem.appendTooltip(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.Constructors in net.minecraft.item with parameters of type TextModifierConstructorDescription(package private)ItemGroup(ItemGroup.Row row, int column, ItemGroup.Type type, Text displayName, Supplier<ItemStack> iconSupplier, ItemGroup.EntryCollector entryCollector) SmithingTemplateItem(Text appliesToText, Text ingredientsText, Text titleText, Text baseSlotDescriptionText, Text additionsSlotDescriptionText, List<Identifier> emptyBaseSlotTextures, List<Identifier> emptyAdditionsSlotTextures, FeatureFlag[] requiredFeatures) -
Uses of Text in net.minecraft.item.map
Fields in net.minecraft.item.map with type parameters of type TextModifier and TypeFieldDescriptionMapBannerMarker.nameThe field for thenamerecord component.MapDecoration.nameThe field for thenamerecord component.Methods in net.minecraft.item.map that return types with arguments of type TextModifier and TypeMethodDescriptionMapBannerMarker.name()Returns the value of thenamerecord component.MapDecoration.name()Returns the value of thenamerecord component.Methods in net.minecraft.item.map with parameters of type TextModifier and TypeMethodDescriptionprivate voidMapState.addDecoration(RegistryEntry<MapDecorationType> type, @Nullable WorldAccess world, String key, double x, double z, double rotation, @Nullable Text text) Constructor parameters in net.minecraft.item.map with type arguments of type TextModifierConstructorDescriptionMapBannerMarker(BlockPos pos, DyeColor dyeColor, Optional<Text> optional) MapDecoration(RegistryEntry<MapDecorationType> registryEntry, byte x, byte z, byte rotation, Optional<Text> optional) -
Uses of Text in net.minecraft.item.tooltip
Method parameters in net.minecraft.item.tooltip with type arguments of type TextModifier and TypeMethodDescriptionvoidTooltipAppender.appendTooltip(Item.TooltipContext context, Consumer<Text> tooltip, TooltipType type) -
Uses of Text in net.minecraft.item.trim
Fields in net.minecraft.item.trim declared as TextModifier and TypeFieldDescriptionprivate final TextArmorTrimMaterial.descriptionThe field for thedescriptionrecord component.private final TextArmorTrimPattern.descriptionThe field for thedescriptionrecord component.private static final TextArmorTrim.UPGRADE_TEXTMethods in net.minecraft.item.trim that return TextModifier and TypeMethodDescriptionArmorTrimMaterial.description()Returns the value of thedescriptionrecord component.ArmorTrimPattern.description()Returns the value of thedescriptionrecord component.ArmorTrimPattern.getDescription(RegistryEntry<ArmorTrimMaterial> material) Methods in net.minecraft.item.trim with parameters of type TextModifier and TypeMethodDescriptionstatic ArmorTrimMaterialArmorTrimMaterial.of(String assetName, Item ingredient, float itemModelIndex, Text description, Map<RegistryEntry<ArmorMaterial>, String> overrideArmorMaterials) Method parameters in net.minecraft.item.trim with type arguments of type TextModifier and TypeMethodDescriptionvoidArmorTrim.appendTooltip(Item.TooltipContext context, Consumer<Text> tooltip, TooltipType type) Constructors in net.minecraft.item.trim with parameters of type TextModifierConstructorDescriptionArmorTrimMaterial(String string, RegistryEntry<Item> registryEntry, float float2, Map<RegistryEntry<ArmorMaterial>, String> map, Text text) ArmorTrimPattern(Identifier identifier, RegistryEntry<Item> registryEntry, Text text, boolean bool) -
Uses of Text in net.minecraft.loot.function
Fields in net.minecraft.loot.function with type parameters of type TextModifier and TypeFieldDescriptionprivate final ImmutableList.Builder<Text> SetLoreLootFunction.Builder.loreSetLoreLootFunction.loreSetNameLootFunction.nameprivate final List<RawFilteredPair<Text>> SetWrittenBookPagesLootFunction.pagesstatic final com.mojang.serialization.Codec<Text> SetWrittenBookPagesLootFunction.TEXT_CODECMethods in net.minecraft.loot.function that return types with arguments of type TextModifier and TypeMethodDescriptionstatic UnaryOperator<Text> SetNameLootFunction.applySourceEntity(LootContext context, LootContext.EntityTarget sourceEntity) SetNameLootFunction.Target.getComponentType()SetLoreLootFunction.getNewLoreTexts(@Nullable LoreComponent current, LootContext context) Methods in net.minecraft.loot.function with parameters of type TextModifier and TypeMethodDescriptionstatic ConditionalLootFunction.Builder<?> SetNameLootFunction.builder(Text name, SetNameLootFunction.Target target) static ConditionalLootFunction.Builder<?> SetNameLootFunction.builder(Text name, SetNameLootFunction.Target target, LootContext.EntityTarget entity) Constructor parameters in net.minecraft.loot.function with type arguments of type TextModifierConstructorDescriptionprivateSetNameLootFunction(List<LootCondition> conditions, Optional<Text> name, Optional<LootContext.EntityTarget> entity, SetNameLootFunction.Target target) -
Uses of Text in net.minecraft.nbt
Methods in net.minecraft.nbt that return TextModifier and TypeMethodDescriptionstatic TextNbtHelper.toPrettyPrintedText(NbtElement element) Returns the pretty-printed text representation ofelement. -
Uses of Text in net.minecraft.nbt.visitor
Fields in net.minecraft.nbt.visitor declared as TextModifier and TypeFieldDescriptionprivate static final TextNbtTextFormatter.ARRAY_BYTE_TYPE_SUFFIXprivate static final TextNbtTextFormatter.BYTE_TYPE_SUFFIXprivate static final TextNbtTextFormatter.DOUBLE_TYPE_SUFFIXprivate static final TextNbtTextFormatter.ELLIPSISprivate static final TextNbtTextFormatter.FLOAT_TYPE_SUFFIXprivate static final TextNbtTextFormatter.INT_TYPE_SUFFIXprivate static final TextNbtTextFormatter.LONG_TYPE_SUFFIXprivate static final TextNbtTextFormatter.SHORT_TYPE_SUFFIXMethods in net.minecraft.nbt.visitor that return TextModifier and TypeMethodDescriptionNbtTextFormatter.apply(NbtElement element) Returns the textified NBTelement.protected static TextNbtTextFormatter.escapeName(String name) -
Uses of Text in net.minecraft.network
Fields in net.minecraft.network declared as TextModifier and TypeFieldDescriptionprivate static final TextRateLimitedConnection.RATE_LIMIT_EXCEEDED_MESSAGEprivate final TextDisconnectionInfo.reasonThe field for thereasonrecord component.Methods in net.minecraft.network that return TextModifier and TypeMethodDescriptionDisconnectionInfo.reason()Returns the value of thereasonrecord component.Methods in net.minecraft.network with parameters of type TextConstructors in net.minecraft.network with parameters of type Text -
Uses of Text in net.minecraft.network.encryption
Fields in net.minecraft.network.encryption declared as TextModifier and TypeFieldDescriptionstatic final TextPlayerPublicKey.EXPIRED_PUBLIC_KEY_TEXTprivate static final TextPlayerPublicKey.INVALID_PUBLIC_KEY_SIGNATURE_TEXTConstructors in net.minecraft.network.encryption with parameters of type Text -
Uses of Text in net.minecraft.network.listener
Methods in net.minecraft.network.listener with parameters of type TextModifier and TypeMethodDescriptiondefault DisconnectionInfoPacketListener.createDisconnectionInfo(Text reason, Throwable exception) -
Uses of Text in net.minecraft.network.message
Fields in net.minecraft.network.message declared as TextModifier and TypeFieldDescription(package private) static final TextMessageChain.MessageChainException.CHAIN_BROKEN_EXCEPTIONprivate final TextSentMessage.Profileless.contentThe field for thecontentrecord component.(package private) static final TextMessageChain.MessageChainException.EXPIRED_PROFILE_KEY_EXCEPTION(package private) static final TextMessageChain.MessageChainException.INVALID_SIGNATURE_EXCEPTION(package private) static final TextMessageChain.MessageChainException.MISSING_PROFILE_KEY_EXCEPTIONprivate final TextMessageType.Parameters.nameThe field for thenamerecord component.(package private) static final TextMessageChain.MessageChainException.OUT_OF_ORDER_CHAT_EXCEPTIONSignedMessage.unsignedContentThe field for theunsignedContentrecord component.Fields in net.minecraft.network.message with type parameters of type TextModifier and TypeFieldDescriptionMessageType.Parameters.targetNameThe field for thetargetNamerecord component.Methods in net.minecraft.network.message that return TextModifier and TypeMethodDescriptionMessageType.Parameters.applyChatDecoration(Text content) MessageType.Parameters.applyNarrationDecoration(Text content) SentMessage.Chat.content()SentMessage.content()SentMessage.Profileless.content()Returns the value of thecontentrecord component.MessageDecorator.decorate(@Nullable ServerPlayerEntity sender, Text message) SignedMessage.getContent()FilterMask.getFilteredText(String message) MessageType.Parameters.name()Returns the value of thenamerecord component.SignedMessage.unsignedContent()Returns the value of theunsignedContentrecord component.Methods in net.minecraft.network.message that return types with arguments of type TextModifier and TypeMethodDescriptionMessageType.Parameters.targetName()Returns the value of thetargetNamerecord component.Methods in net.minecraft.network.message with parameters of type TextModifier and TypeMethodDescriptionMessageType.Parameters.applyChatDecoration(Text content) MessageType.Parameters.applyNarrationDecoration(Text content) MessageDecorator.decorate(@Nullable ServerPlayerEntity sender, Text message) static MessageType.ParametersMessageType.params(RegistryKey<MessageType> typeKey, DynamicRegistryManager registryManager, Text name) MessageType.Parameters.withTargetName(Text targetName) Returns a new instance with the given target name.SignedMessage.withUnsignedContent(Text unsignedContent) Constructors in net.minecraft.network.message with parameters of type TextModifierConstructorDescriptionMessageChainException(Text message) (package private)Parameters(RegistryEntry<MessageType> type, Text name) Parameters(RegistryEntry<MessageType> registryEntry, Text text, Optional<Text> optional) Profileless(Text text) SignedMessage(MessageLink messageLink, @Nullable MessageSignatureData messageSignatureData, MessageBody messageBody, @Nullable Text text, FilterMask filterMask) Constructor parameters in net.minecraft.network.message with type arguments of type TextModifierConstructorDescriptionParameters(RegistryEntry<MessageType> registryEntry, Text text, Optional<Text> optional) -
Uses of Text in net.minecraft.network.packet.s2c.common
Fields in net.minecraft.network.packet.s2c.common declared as TextModifier and TypeFieldDescriptionprivate final TextDisconnectS2CPacket.reasonThe field for thereasonrecord component.Fields in net.minecraft.network.packet.s2c.common with type parameters of type TextModifier and TypeFieldDescriptionResourcePackSendS2CPacket.promptThe field for thepromptrecord component.Methods in net.minecraft.network.packet.s2c.common that return TextModifier and TypeMethodDescriptionDisconnectS2CPacket.reason()Returns the value of thereasonrecord component.Methods in net.minecraft.network.packet.s2c.common that return types with arguments of type TextModifier and TypeMethodDescriptionResourcePackSendS2CPacket.prompt()Returns the value of thepromptrecord component.Constructors in net.minecraft.network.packet.s2c.common with parameters of type TextConstructor parameters in net.minecraft.network.packet.s2c.common with type arguments of type Text -
Uses of Text in net.minecraft.network.packet.s2c.login
Fields in net.minecraft.network.packet.s2c.login declared as TextMethods in net.minecraft.network.packet.s2c.login that return TextConstructors in net.minecraft.network.packet.s2c.login with parameters of type Text -
Uses of Text in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as TextModifier and TypeFieldDescriptionprivate final TextGameMessageS2CPacket.contentThe field for thecontentrecord component.private final TextServerMetadataS2CPacket.descriptionThe field for thedescriptionrecord component.PlayerListS2CPacket.Entry.displayNameThe field for thedisplayNamerecord component.PlayerListS2CPacket.Serialized.displayNameprivate final TextScoreboardObjectiveUpdateS2CPacket.displayNameprivate final TextTeamS2CPacket.SerializableTeam.displayNameprivate final TextPlayerListHeaderS2CPacket.footerThe field for thefooterrecord component.private final TextPlayerListHeaderS2CPacket.headerThe field for theheaderrecord component.private final TextDeathMessageS2CPacket.messageThe field for themessagerecord component.private final TextProfilelessChatMessageS2CPacket.messageThe field for themessagerecord component.private final TextBossBarS2CPacket.AddAction.nameprivate final TextBossBarS2CPacket.UpdateNameAction.nameThe field for thenamerecord component.private final TextOpenScreenS2CPacket.nameprivate final TextTeamS2CPacket.SerializableTeam.prefixprivate final TextTeamS2CPacket.SerializableTeam.suffixprivate final TextOverlayMessageS2CPacket.textThe field for thetextrecord component.private final TextSubtitleS2CPacket.textThe field for thetextrecord component.private final TextTitleS2CPacket.textThe field for thetextrecord component.ChatMessageS2CPacket.unsignedContentThe field for theunsignedContentrecord component.Fields in net.minecraft.network.packet.s2c.play with type parameters of type TextModifier and TypeFieldDescriptionScoreboardScoreUpdateS2CPacket.displayThe field for thedisplayrecord component.CommandSuggestionsS2CPacket.Suggestion.tooltipThe field for thetooltiprecord component.Methods in net.minecraft.network.packet.s2c.play that return TextModifier and TypeMethodDescriptionGameMessageS2CPacket.content()Returns the value of thecontentrecord component.ServerMetadataS2CPacket.description()Returns the value of thedescriptionrecord component.PlayerListS2CPacket.Entry.displayName()Returns the value of thedisplayNamerecord component.PlayerListHeaderS2CPacket.footer()Returns the value of thefooterrecord component.ScoreboardObjectiveUpdateS2CPacket.getDisplayName()TeamS2CPacket.SerializableTeam.getDisplayName()OpenScreenS2CPacket.getName()TeamS2CPacket.SerializableTeam.getPrefix()TeamS2CPacket.SerializableTeam.getSuffix()PlayerListHeaderS2CPacket.header()Returns the value of theheaderrecord component.DeathMessageS2CPacket.message()Returns the value of themessagerecord component.ProfilelessChatMessageS2CPacket.message()Returns the value of themessagerecord component.BossBarS2CPacket.UpdateNameAction.name()Returns the value of thenamerecord component.OverlayMessageS2CPacket.text()Returns the value of thetextrecord component.SubtitleS2CPacket.text()Returns the value of thetextrecord component.TitleS2CPacket.text()Returns the value of thetextrecord component.ChatMessageS2CPacket.unsignedContent()Returns the value of theunsignedContentrecord component.Methods in net.minecraft.network.packet.s2c.play that return types with arguments of type TextModifier and TypeMethodDescriptionScoreboardScoreUpdateS2CPacket.display()Returns the value of thedisplayrecord component.CommandSuggestionsS2CPacket.Suggestion.tooltip()Returns the value of thetooltiprecord component.Methods in net.minecraft.network.packet.s2c.play with parameters of type TextModifier and TypeMethodDescriptiondefault voidBossBarS2CPacket.Consumer.add(UUID uuid, Text name, float percent, BossBar.Color color, BossBar.Style style, boolean darkenSky, boolean dragonMusic, boolean thickenFog) default voidBossBarS2CPacket.Consumer.updateName(UUID uuid, Text name) Constructors in net.minecraft.network.packet.s2c.play with parameters of type TextModifierConstructorDescriptionChatMessageS2CPacket(UUID uUID, int int2, @Nullable MessageSignatureData messageSignatureData, MessageBody.Serialized serialized, @Nullable Text text, FilterMask filterMask, MessageType.Parameters parameters) DeathMessageS2CPacket(int int2, Text text) Entry(UUID uUID, @Nullable com.mojang.authlib.GameProfile gameProfile, boolean bool, int int2, GameMode gameMode, @Nullable Text text, PublicPlayerSession.Serialized serialized) GameMessageS2CPacket(Text text, boolean bool) OpenScreenS2CPacket(int syncId, ScreenHandlerType<?> screenHandlerId, Text name) OverlayMessageS2CPacket(Text text) Creates an instance of aOverlayMessageS2CPacketrecord class.PlayerListHeaderS2CPacket(Text text, Text text2) ProfilelessChatMessageS2CPacket(Text text, MessageType.Parameters parameters) ServerMetadataS2CPacket(Text text, Optional<byte[]> optional) SubtitleS2CPacket(Text text) Creates an instance of aSubtitleS2CPacketrecord class.TitleS2CPacket(Text text) Creates an instance of aTitleS2CPacketrecord class.(package private)UpdateNameAction(Text name) Creates an instance of aUpdateNameActionrecord class.Constructor parameters in net.minecraft.network.packet.s2c.play with type arguments of type TextModifierConstructorDescriptionScoreboardScoreUpdateS2CPacket(String string, String string2, int int2, Optional<Text> optional, Optional<NumberFormat> optional2) Suggestion(String string, Optional<Text> optional) -
Uses of Text in net.minecraft.predicate.item
Fields in net.minecraft.predicate.item declared as TextModifier and TypeFieldDescriptionprivate final TextWrittenBookContentPredicate.RawTextPredicate.contentsThe field for thecontentsrecord component.Fields in net.minecraft.predicate.item with type parameters of type TextModifier and TypeFieldDescriptionprivate final Optional<CollectionPredicate<RawFilteredPair<Text>, WrittenBookContentPredicate.RawTextPredicate>> WrittenBookContentPredicate.pagesThe field for thepagesrecord component.Methods in net.minecraft.predicate.item that return TextModifier and TypeMethodDescriptionWrittenBookContentPredicate.RawTextPredicate.contents()Returns the value of thecontentsrecord component.Methods in net.minecraft.predicate.item that return types with arguments of type TextModifier and TypeMethodDescriptionWrittenBookContentPredicate.pages()Returns the value of thepagesrecord component.Method parameters in net.minecraft.predicate.item with type arguments of type TextModifier and TypeMethodDescriptionbooleanWrittenBookContentPredicate.RawTextPredicate.test(RawFilteredPair<Text> rawFilteredPair) Constructors in net.minecraft.predicate.item with parameters of type TextConstructor parameters in net.minecraft.predicate.item with type arguments of type TextModifierConstructorDescriptionWrittenBookContentPredicate(Optional<CollectionPredicate<RawFilteredPair<Text>, WrittenBookContentPredicate.RawTextPredicate>> optional, Optional<String> optional2, Optional<String> optional3, NumberRange.IntRange intRange, Optional<Boolean> optional4) -
Uses of Text in net.minecraft.resource
Fields in net.minecraft.resource declared as TextModifier and TypeFieldDescriptionprivate final TextResourcePackCompatibility.confirmMessageprivate final TextResourcePackProfile.Metadata.descriptionThe field for thedescriptionrecord component.private final TextResourcePackCompatibility.notificationprivate final TextResourcePackInfo.titleThe field for thetitlerecord component.Fields in net.minecraft.resource with type parameters of type TextModifier and TypeFieldDescriptionstatic final UnaryOperator<Text> ResourcePackSource.NONE_SOURCE_TEXT_SUPPLIERMethods in net.minecraft.resource that return TextModifier and TypeMethodDescriptionResourcePackProfile.Metadata.description()Returns the value of thedescriptionrecord component.ResourcePackCompatibility.getConfirmMessage()ResourcePackProfile.getDescription()ResourcePackProfile.getDisplayName()protected TextVanillaDataPackProvider.getDisplayName(String id) protected abstract TextVanillaResourcePackProvider.getDisplayName(String id) ResourcePackInfo.getInformationText(boolean enabled, Text description) ResourcePackProfile.getInformationText(boolean enabled) ResourcePackCompatibility.getNotification()ResourcePackInfo.title()Returns the value of thetitlerecord component.Methods in net.minecraft.resource that return types with arguments of type TextModifier and TypeMethodDescriptionprivate static UnaryOperator<Text> ResourcePackSource.getSourceTextSupplier(String translationKey) Methods in net.minecraft.resource with parameters of type TextModifier and TypeMethodDescriptionprotected @Nullable ResourcePackProfileVanillaDataPackProvider.create(String fileName, ResourcePackProfile.PackFactory packFactory, Text displayName) protected abstract @Nullable ResourcePackProfileVanillaResourcePackProvider.create(String fileName, ResourcePackProfile.PackFactory packFactory, Text displayName) private static ResourcePackInfoVanillaDataPackProvider.createInfo(String id, Text title) ResourcePackInfo.getInformationText(boolean enabled, Text description) Method parameters in net.minecraft.resource with type arguments of type TextModifier and TypeMethodDescriptionstatic ResourcePackSourceResourcePackSource.create(UnaryOperator<Text> sourceTextSupplier, boolean canBeEnabledLater) Constructors in net.minecraft.resource with parameters of type TextModifierConstructorDescriptionMetadata(Text text, ResourcePackCompatibility resourcePackCompatibility, FeatureSet featureSet, List<String> list) ResourcePackInfo(String string, Text text, ResourcePackSource resourcePackSource, Optional<VersionedIdentifier> optional) -
Uses of Text in net.minecraft.resource.metadata
Fields in net.minecraft.resource.metadata declared as TextModifier and TypeFieldDescriptionprivate final TextPackResourceMetadata.descriptionThe field for thedescriptionrecord component.Methods in net.minecraft.resource.metadata that return TextModifier and TypeMethodDescriptionPackResourceMetadata.description()Returns the value of thedescriptionrecord component.Constructors in net.minecraft.resource.metadata with parameters of type TextModifierConstructorDescriptionPackResourceMetadata(Text description, int format, Optional<Range<Integer>> optional) -
Uses of Text in net.minecraft.scoreboard
Fields in net.minecraft.scoreboard declared as TextModifier and TypeFieldDescriptionprivate TextScoreboardObjective.bracketedDisplayNameScoreboardEntry.displayThe field for thedisplayrecord component.private TextScoreboardObjective.displayNameprivate TextTeam.displayNameScoreboardScore.displayTextprivate TextTeam.prefixprivate TextTeam.suffixMethods in net.minecraft.scoreboard that return TextModifier and TypeMethodDescriptionScoreboardEntry.display()Returns the value of thedisplayrecord component.private TextScoreboardObjective.generateBracketedDisplayName()AbstractTeam.CollisionRule.getDisplayName()AbstractTeam.VisibilityRule.getDisplayName()ScoreboardObjective.getDisplayName()ScoreHolder.getDisplayName()Team.getDisplayName()ScoreAccess.getDisplayText()ScoreboardScore.getDisplayText()Team.getPrefix()default TextScoreHolder.getStyledDisplayName()Team.getSuffix()ScoreboardEntry.name()ScoreboardObjective.toHoverableText()Methods in net.minecraft.scoreboard with parameters of type TextModifier and TypeMethodDescriptionScoreboard.addObjective(String name, ScoreboardCriterion criterion, Text displayName, ScoreboardCriterion.RenderType renderType, boolean displayAutoUpdate, @Nullable NumberFormat numberFormat) abstract MutableTextAbstractTeam.decorateName(Text name) Decorates the name of an entity with the prefix, suffix and color of this team.static MutableTextTeam.decorateName(@Nullable AbstractTeam team, Text name) Decorates the name of an entity with the prefix, suffix and color of the team.Team.decorateName(Text name) Decorates the name of an entity with the prefix, suffix and color of this team.voidScoreboardObjective.setDisplayName(Text name) voidTeam.setDisplayName(Text displayName) voidScoreAccess.setDisplayText(@Nullable Text text) voidScoreboardScore.setDisplayText(@Nullable Text text) voidvoidConstructors in net.minecraft.scoreboard with parameters of type TextModifierConstructorDescriptionScoreboardEntry(String string, int int2, @Nullable Text text, @Nullable NumberFormat numberFormat) ScoreboardObjective(Scoreboard scoreboard, String name, ScoreboardCriterion criterion, Text displayName, ScoreboardCriterion.RenderType renderType, boolean displayAutoUpdate, @Nullable NumberFormat numberFormat) -
Uses of Text in net.minecraft.scoreboard.number
Fields in net.minecraft.scoreboard.number declared as TextConstructors in net.minecraft.scoreboard.number with parameters of type Text -
Uses of Text in net.minecraft.screen
Fields in net.minecraft.screen declared as TextModifier and TypeFieldDescriptionstatic final TextScreenTexts.ACKNOWLEDGEstatic final TextScreenTexts.BACKstatic final TextScreenTexts.CANCELstatic final TextScreenTexts.CONNECT_FAILEDstatic final TextScreenTexts.CONNECT_FAILED_TRANSFERstatic final TextScreenTexts.CONTINUEstatic final TextScreenTexts.COPY_LINK_TO_CLIPBOARDstatic final TextScreenTexts.DISCONNECTstatic final TextScreenTexts.DONEstatic final TextScreenTexts.ELLIPSISstatic final TextScreenTexts.EMPTYstatic final TextScreenTexts.LINE_BREAKprivate final TextSimpleNamedScreenHandlerFactory.namestatic final TextScreenTexts.NOstatic final TextScreenTexts.OFFstatic final TextScreenTexts.OKstatic final TextScreenTexts.ONstatic final TextScreenTexts.OPEN_LINKstatic final TextScreenTexts.PROCEEDstatic final TextScreenTexts.SENTENCE_SEPARATORstatic final TextScreenTexts.SPACEstatic final TextScreenTexts.TO_TITLEstatic final TextScreenTexts.YESMethods in net.minecraft.screen that return TextModifier and TypeMethodDescriptionNamedScreenHandlerFactory.getDisplayName()Returns the title of this screen handler; will be a part of the open screen packet sent to the client.SimpleNamedScreenHandlerFactory.getDisplayName()Returns the title of this screen handler; will be a part of the open screen packet sent to the client.static TextScreenTexts.joinLines(Collection<? extends Text> texts) static Textstatic TextScreenTexts.onOrOff(boolean on) Methods in net.minecraft.screen with parameters of type TextModifier and TypeMethodDescriptionstatic MutableTextScreenTexts.composeGenericOptionText(Text text, Text value) static MutableTextScreenTexts.composeToggleText(Text text, boolean value) static Textstatic MutableTextScreenTexts.joinSentences(Text[] sentences) Method parameters in net.minecraft.screen with type arguments of type TextModifier and TypeMethodDescriptionstatic TextScreenTexts.joinLines(Collection<? extends Text> texts) Constructors in net.minecraft.screen with parameters of type TextModifierConstructorDescriptionSimpleNamedScreenHandlerFactory(ScreenHandlerFactory baseFactory, Text name) -
Uses of Text in net.minecraft.server
Fields in net.minecraft.server declared as TextModifier and TypeFieldDescriptionprivate final TextServerMetadata.descriptionThe field for thedescriptionrecord component.static final TextPlayerManager.DUPLICATE_LOGIN_TEXTstatic final TextPlayerManager.FILTERED_FULL_TEXTMinecraftServer.ServerResourcePackProperties.promptThe field for thepromptrecord component.Fields in net.minecraft.server with type parameters of type TextModifier and TypeFieldDescriptionprivate final com.mojang.datafixers.util.Either<ServerLinks.Known, Text> ServerLinks.Entry.typeThe field for thetyperecord component.private final com.mojang.datafixers.util.Either<ServerLinks.Known, Text> ServerLinks.StringifiedEntry.typeThe field for thetyperecord component.static final PacketCodec<ByteBuf, com.mojang.datafixers.util.Either<ServerLinks.Known, Text>> ServerLinks.TYPE_CODECMethods in net.minecraft.server that return TextModifier and TypeMethodDescriptionPlayerManager.checkCanJoin(SocketAddress address, com.mojang.authlib.GameProfile profile) ServerMetadata.description()Returns the value of thedescriptionrecord component.ServerLinks.Entry.getText()private TextServerLinks.Known.getText()MinecraftServer.ServerResourcePackProperties.prompt()Returns the value of thepromptrecord component.abstract TextBanEntry.toText()BannedIpEntry.toText()BannedPlayerEntry.toText()Methods in net.minecraft.server that return types with arguments of type TextModifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either<ServerLinks.Known, Text> ServerLinks.Entry.type()Returns the value of thetyperecord component.com.mojang.datafixers.util.Either<ServerLinks.Known, Text> ServerLinks.StringifiedEntry.type()Returns the value of thetyperecord component.Methods in net.minecraft.server with parameters of type TextModifier and TypeMethodDescriptionvoidBroadcasts a message to all players and the server console.voidPlayerManager.broadcast(Text message, Function<ServerPlayerEntity, Text> playerMessageFactory, boolean overlay) Broadcasts a message to all players and the server console.static ServerLinks.EntryvoidMinecraftServer.logChatMessage(Text message, MessageType.Parameters params, @Nullable String prefix) voidMinecraftServer.sendMessage(Text message) Sends a system message.voidPlayerManager.sendToOtherTeams(PlayerEntity source, Text message) voidPlayerManager.sendToTeam(PlayerEntity source, Text message) Method parameters in net.minecraft.server with type arguments of type TextModifier and TypeMethodDescriptionvoidPlayerManager.broadcast(Text message, Function<ServerPlayerEntity, Text> playerMessageFactory, boolean overlay) Broadcasts a message to all players and the server console.Constructors in net.minecraft.server with parameters of type TextModifierConstructorDescriptionServerMetadata(Text text, Optional<ServerMetadata.Players> optional, Optional<ServerMetadata.Version> optional2, Optional<ServerMetadata.Favicon> optional3, boolean bool) ServerResourcePackProperties(UUID uUID, String string, String string2, boolean bool, @Nullable Text text) Constructor parameters in net.minecraft.server with type arguments of type TextModifierConstructorDescriptionEntry(com.mojang.datafixers.util.Either<ServerLinks.Known, Text> either, URI uRI) StringifiedEntry(com.mojang.datafixers.util.Either<ServerLinks.Known, Text> either, String string) -
Uses of Text in net.minecraft.server.command
Fields in net.minecraft.server.command declared as TextMethods in net.minecraft.server.command that return TextModifier and TypeMethodDescriptionServerCommandSource.getDisplayName()private static TextTeamCommand.getMemberName(Collection<ScoreHolder> members) private static TextAttributeCommand.getName(RegistryEntry<EntityAttribute> attribute) private static TextScoreboardCommand.getNextDisplayName(Collection<ScoreHolder> targets) Methods in net.minecraft.server.command with parameters of type TextModifier and TypeMethodDescriptionprivate static intBossBarCommand.addBossBar(ServerCommandSource source, Identifier name, Text displayName) private static intKickCommand.execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Text reason) private static intTeamCommand.executeAdd(ServerCommandSource source, String team, Text displayName) private static intScoreboardCommand.executeAddObjective(ServerCommandSource source, String objective, ScoreboardCriterion criteria, Text displayName) private static intTeamCommand.executeModifyDisplayName(ServerCommandSource source, Team team, Text displayName) private static intScoreboardCommand.executeModifyObjective(ServerCommandSource source, ScoreboardObjective objective, Text displayName) private static intTeamCommand.executeModifyPrefix(ServerCommandSource source, Team team, Text prefix) private static intTeamCommand.executeModifySuffix(ServerCommandSource source, Team team, Text suffix) private static intScoreboardCommand.executeSetDisplayName(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective, @Nullable Text displayName) private static intRaidCommand.executeSound(ServerCommandSource source, @Nullable Text type) private static intTitleCommand.executeTitle(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Text title, String titleType, Function<Text, Packet<?>> constructor) voidvoidCommandOutput.sendMessage(Text message) Sends a system message.voidDebugCommand.Tracer.sendMessage(Text message) Sends a system message.voidServerCommandSource.sendMessage(Text message) Sendsmessageas the feedback to the command's executor, or to the server's log if the command is not executed by a player.private voidprivate static intBossBarCommand.setName(ServerCommandSource source, CommandBossBar bossBar, Text name) Method parameters in net.minecraft.server.command with type arguments of type TextModifier and TypeMethodDescriptionprivate static intListCommand.execute(ServerCommandSource source, Function<ServerPlayerEntity, Text> nameProvider) private static intTitleCommand.executeTitle(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Text title, String titleType, Function<Text, Packet<?>> constructor) static com.mojang.datafixers.util.Either<Integer, com.mojang.brigadier.exceptions.CommandSyntaxException> FillBiomeCommand.fillBiome(ServerWorld world, BlockPos from, BlockPos to, RegistryEntry<Biome> biome, Predicate<RegistryEntry<Biome>> filter, Consumer<Supplier<Text>> feedbackConsumer) voidServerCommandSource.sendFeedback(Supplier<Text> feedbackSupplier, boolean broadcastToOps) Constructors in net.minecraft.server.command with parameters of type TextModifierConstructorDescriptionServerCommandSource(CommandOutput output, Vec3d pos, Vec2f rot, ServerWorld world, int level, String name, Text displayName, MinecraftServer server, @Nullable Entity entity) protectedServerCommandSource(CommandOutput output, Vec3d pos, Vec2f rot, ServerWorld world, int level, String name, Text displayName, MinecraftServer server, @Nullable Entity entity, boolean silent, ReturnValueConsumer resultStorer, EntityAnchorArgumentType.EntityAnchor entityAnchor, SignedCommandArguments signedArguments, FutureQueue messageChainTaskQueue) -
Uses of Text in net.minecraft.server.dedicated
Methods in net.minecraft.server.dedicated that return Text -
Uses of Text in net.minecraft.server.dedicated.command
Methods in net.minecraft.server.dedicated.command with parameters of type TextModifier and TypeMethodDescriptionprivate static intBanCommand.ban(ServerCommandSource source, Collection<com.mojang.authlib.GameProfile> targets, @Nullable Text reason) private static intBanIpCommand.banIp(ServerCommandSource source, String targetIp, @Nullable Text reason) private static intBanIpCommand.checkIp(ServerCommandSource source, String target, @Nullable Text reason) -
Uses of Text in net.minecraft.server.function
Fields in net.minecraft.server.function declared as TextMethods in net.minecraft.server.function that return TextConstructors in net.minecraft.server.function with parameters of type Text -
Uses of Text in net.minecraft.server.integrated
Methods in net.minecraft.server.integrated that return TextModifier and TypeMethodDescriptionIntegratedPlayerManager.checkCanJoin(SocketAddress address, com.mojang.authlib.GameProfile profile) -
Uses of Text in net.minecraft.server.network
Fields in net.minecraft.server.network declared as TextModifier and TypeFieldDescriptionprivate static final TextServerPlayNetworkHandler.CHAT_VALIDATION_FAILED_TEXTprivate static final TextServerHandshakeNetworkHandler.IGNORING_STATUS_REQUEST_MESSAGEprivate static final TextServerPlayNetworkHandler.INVALID_COMMAND_SIGNATURE_TEXTprivate static final TextServerConfigurationNetworkHandler.INVALID_PLAYER_DATA_TEXTprivate static final TextServerQueryNetworkHandler.REQUEST_HANDLEDprivate static final TextServerCommonNetworkHandler.TIMEOUT_TEXT(package private) static final TextServerCommonNetworkHandler.UNEXPECTED_QUERY_RESPONSE_TEXTMethods in net.minecraft.server.network that return TextMethods in net.minecraft.server.network with parameters of type TextModifier and TypeMethodDescriptionvoidServerCommonNetworkHandler.disconnect(Text reason) voidServerLoginNetworkHandler.disconnect(Text reason) voidServerPlayerEntity.sendMessage(Text message) Sends a system message.voidServerPlayerEntity.sendMessage(Text message, boolean overlay) Adds a message to this player's HUD.voidServerPlayerEntity.sendMessageToClient(Text message, boolean overlay) voidServerPlayNetworkHandler.sendProfilelessChatMessage(Text message, MessageType.Parameters params) -
Uses of Text in net.minecraft.server.rcon
Fields in net.minecraft.server.rcon declared as TextMethods in net.minecraft.server.rcon with parameters of type TextModifier and TypeMethodDescriptionvoidRconCommandOutput.sendMessage(Text message) Sends a system message. -
Uses of Text in net.minecraft.stat
Fields in net.minecraft.stat declared as TextMethods in net.minecraft.stat that return TextConstructors in net.minecraft.stat with parameters of type Text -
Uses of Text in net.minecraft.text
Classes in net.minecraft.text that implement TextModifier and TypeClassDescriptionclassThe text implementation, with mutation operations.Fields in net.minecraft.text declared as TextModifier and TypeFieldDescriptionstatic final TextTexts.DEFAULT_SEPARATOR_TEXTstatic final TextFields in net.minecraft.text with type parameters of type TextModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Text> TextCodecs.CODECKeybindTranslations.factoryHoverEvent.EntityContent.namestatic final PacketCodec<RegistryByteBuf, Optional<Text>> TextCodecs.OPTIONAL_PACKET_CODECstatic final PacketCodec<RegistryByteBuf, Optional<Text>> TextCodecs.OPTIONAL_UNLIMITED_REGISTRY_PACKET_CODECstatic final PacketCodec<ByteBuf, Text> TextCodecs.PACKET_CODECstatic final PacketCodec<RegistryByteBuf, Text> TextCodecs.REGISTRY_PACKET_CODECNbtTextContent.separatorSelectorTextContent.separatorstatic final HoverEvent.Action<Text> HoverEvent.Action.SHOW_TEXTMutableText.siblingsstatic final com.mojang.serialization.Codec<Text> TextCodecs.STRINGIFIED_CODECHoverEvent.EntityContent.tooltipKeybindTextContent.translatedstatic final PacketCodec<RegistryByteBuf, Text> TextCodecs.UNLIMITED_REGISTRY_PACKET_CODECMethods in net.minecraft.text that return TextModifier and TypeMethodDescriptionDecoration.apply(Text content, MessageType.Parameters params) Returns the text obtained by applying the passed values to the decoration.Decoration.Parameter.apply(Text content, MessageType.Parameters params) Returns the text obtained by applying the passed values to the parameter.private Text[]Decoration.collectArguments(Text content, MessageType.Parameters params) Returns the arguments passed totranslatable(String, Object[]).private TextKeybindTextContent.getTranslated()static TextTexts.join(Collection<? extends Text> texts, Text separator) static <T> TextTexts.join(Collection<? extends T> elements, Function<T, Text> transformer) static TextTexts.joinOrdered(Collection<String> strings) static <T extends Comparable<T>>
TextTexts.joinOrdered(Collection<T> elements, Function<T, Text> transformer) static TextText.of(com.mojang.brigadier.Message message) Returns a text withmessage.static TextCreates a literal text with the given string as content.static Textstatic TextReturns a literal text representingdate.static TextReturns a text representinguuid.static TextText.of(Identifier id) Returns a text representingid.static TextReturns a text representing chunkpos.Decoration.Parameter.Selector.select(Text content, MessageType.Parameters params) static TextTexts.toText(com.mojang.brigadier.Message message) Methods in net.minecraft.text that return types with arguments of type TextModifier and TypeMethodDescriptionHoverEvent.EntityContent.asTooltip()static com.mojang.serialization.Codec<Text> TextCodecs.codec(int maxSerializedLength) private static com.mojang.serialization.Codec<Text> TextCodecs.createCodec(com.mojang.serialization.Codec<Text> selfCodec) NbtTextContent.getSeparator()SelectorTextContent.getSeparator()MutableText.getSiblings()Returns the siblings of this text.Text.getSiblings()Returns the siblings of this text.Text.getWithStyle(Style style) Text.withoutStyle()Methods in net.minecraft.text with parameters of type TextModifier and TypeMethodDescriptionAppends a text to this text's siblings.Decoration.apply(Text content, MessageType.Parameters params) Returns the text obtained by applying the passed values to the decoration.Decoration.Parameter.apply(Text content, MessageType.Parameters params) Returns the text obtained by applying the passed values to the parameter.static MutableTextprivate Text[]Decoration.collectArguments(Text content, MessageType.Parameters params) Returns the arguments passed totranslatable(String, Object[]).default booleanReturns whether the text containstext, without considering styles.static booleanTexts.hasTranslation(@Nullable Text text) static TextTexts.join(Collection<? extends Text> texts, Text separator) static <T> MutableTextTexts.join(Collection<? extends T> elements, Text separator, Function<T, Text> transformer) static com.mojang.serialization.DataResult<HoverEvent.EntityContent> HoverEvent.EntityContent.legacySerializer(Text text, @Nullable RegistryOps<?> ops) private static com.mojang.serialization.DataResult<HoverEvent.ItemStackContent> HoverEvent.ItemStackContent.legacySerializer(Text text, @Nullable RegistryOps<?> ops) com.mojang.serialization.DataResult<T> HoverEvent.LegacySerializer.parse(Text text, @Nullable RegistryOps<?> os) static MutableTextDecoration.Parameter.Selector.select(Text content, MessageType.Parameters params) Text.Serializer.serialize(Text text, Type type, JsonSerializationContext jsonSerializationContext) (package private) static JsonElementText.Serialization.toJson(Text text, RegistryWrapper.WrapperLookup registries) static StringText.Serialization.toJsonString(Text text, RegistryWrapper.WrapperLookup registries) Method parameters in net.minecraft.text with type arguments of type TextModifier and TypeMethodDescriptionprivate static MutableTextprivate static com.mojang.serialization.Codec<Text> TextCodecs.createCodec(com.mojang.serialization.Codec<Text> selfCodec) static TextTexts.join(Collection<? extends Text> texts, Text separator) static <T> TextTexts.join(Collection<? extends T> elements, Function<T, Text> transformer) static <T> MutableTextTexts.join(Collection<? extends T> elements, Optional<? extends Text> separator, Function<T, Text> transformer) static <T> MutableTextTexts.join(Collection<? extends T> elements, Optional<? extends Text> separator, Function<T, Text> transformer) static <T> MutableTextTexts.join(Collection<? extends T> elements, Text separator, Function<T, Text> transformer) static <T extends Comparable<T>>
TextTexts.joinOrdered(Collection<T> elements, Function<T, Text> transformer) static MutableTextText.nbt(String rawPath, boolean interpret, Optional<Text> separator, NbtDataSource dataSource) static Optional<MutableText> Texts.parse(@Nullable ServerCommandSource source, Optional<Text> text, @Nullable Entity sender, int depth) static MutableTextstatic voidKeybindTranslations.setFactory(Function<String, Supplier<Text>> factory) Constructors in net.minecraft.text with parameters of type TextModifierConstructorDescriptionEntityContent(EntityType<?> entityType, UUID uuid, @Nullable Text name) Constructor parameters in net.minecraft.text with type arguments of type TextModifierConstructorDescriptionEntityContent(EntityType<?> entityType, UUID uuid, Optional<Text> name) (package private)MutableText(TextContent content, List<Text> siblings, Style style) NbtTextContent(String rawPath, boolean interpret, Optional<Text> separator, NbtDataSource dataSource) privateNbtTextContent(String rawPath, NbtPathArgumentType.NbtPath path, boolean interpret, Optional<Text> separator, NbtDataSource dataSource) SelectorTextContent(String pattern, Optional<Text> separator) -
Uses of Text in net.minecraft.util
Fields in net.minecraft.util declared as TextModifier and TypeFieldDescriptionprivate final TextTextifiedException.messageTextprivate final TextBlockMirror.nameMethods in net.minecraft.util that return TextModifier and TypeMethodDescriptionNameable.getCustomName()Returns the custom name of this object, ornullif there is none.default TextNameable.getDisplayName()Returns the display name of this object.TextifiedException.getMessageText()Returns the exception's message text.BlockMirror.getName()Nameable.getName()Returns the name of this object.default TextTranslatableOption.getText()Methods in net.minecraft.util with parameters of type TextConstructors in net.minecraft.util with parameters of type TextModifierConstructorDescriptionTextifiedException(Text messageText) TextifiedException(Text messageText, Throwable cause) -
Uses of Text in net.minecraft.village
Methods in net.minecraft.village with parameters of type TextModifier and TypeMethodDescriptiondefault voidMerchant.sendOffers(PlayerEntity player, Text name, int levelProgress) -
Uses of Text in net.minecraft.village.raid
Fields in net.minecraft.village.raid declared as TextModifier and TypeFieldDescriptionprivate static final TextRaid.DEFEAT_TITLEprivate static final TextRaid.EVENT_TEXTprivate static final Textprivate static final TextRaid.VICTORY_TITLE -
Uses of Text in net.minecraft.world
Fields in net.minecraft.world declared as TextModifier and TypeFieldDescriptionCommandBlockExecutor.customNameprivate static final TextCommandBlockExecutor.DEFAULT_NAMECommandBlockExecutor.lastOutputprivate final TextGameMode.simpleTranslatableNameprivate final TextGameMode.translatableNameMethods in net.minecraft.world that return TextModifier and TypeMethodDescriptionCommandBlockExecutor.getCustomName()CommandBlockExecutor.getCustomNameNullable()Difficulty.getInfo()CommandBlockExecutor.getLastOutput()GameMode.getSimpleTranslatableName()Difficulty.getTranslatableName()GameMode.getTranslatableName()Methods in net.minecraft.world with parameters of type TextModifier and TypeMethodDescriptionvoidCommandBlockExecutor.sendMessage(Text message) Sends a system message.voidCommandBlockExecutor.setCustomName(@Nullable Text customName) voidCommandBlockExecutor.setLastOutput(@Nullable Text lastOutput) -
Uses of Text in net.minecraft.world.level.storage
Fields in net.minecraft.world.level.storage declared as TextModifier and TypeFieldDescriptionprivate static final TextLevelSummary.RecoveryWarning.BUTTON_TEXTLevelSummary.detailsprivate final TextLevelStorageException.messageTextprivate static final TextLevelSummary.SymlinkLevelSummary.MORE_INFO_TEXTstatic final TextLevelSummary.SELECT_WORLD_TEXTprivate static final TextLevelSummary.SymlinkLevelSummary.TITLE_TEXTprivate static final TextLevelSummary.RecoveryWarning.WARNING_TEXTMethods in net.minecraft.world.level.storage that return TextModifier and TypeMethodDescriptionprivate TextLevelSummary.createDetails()LevelSummary.getDetails()LevelSummary.RecoveryWarning.getDetails()LevelSummary.SymlinkLevelSummary.getDetails()LevelStorageException.getMessageText()LevelSummary.getSelectWorldText()LevelSummary.RecoveryWarning.getSelectWorldText()LevelSummary.SymlinkLevelSummary.getSelectWorldText()Constructors in net.minecraft.world.level.storage with parameters of type Text -
Uses of Text in net.minecraft.world.updater
Fields in net.minecraft.world.updater declared as TextMethods in net.minecraft.world.updater that return Text