Uses of Interface
net.minecraft.text.Text
Packages that use Text
Package
Description
The Named Binary Tag (NBT) data format.
Provides resources to Minecraft, including resource access, provision, and reloading.
-
Uses of Text in net.minecraft.advancement
Fields in net.minecraft.advancement declared as TextModifier and TypeFieldDescriptionprivate final TextAdvancementDisplay.descriptionprivate final TextAdvancement.textprivate final TextAdvancementDisplay.titleprivate final TextAdvancementFrame.toastTextMethods in net.minecraft.advancement that return TextModifier and TypeMethodDescriptionAdvancementDisplay.getDescription()AdvancementDisplay.getTitle()AdvancementFrame.getToastText()Advancement.toHoverableText()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, @Nullable 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.TITLEMethod parameters in net.minecraft.block with type arguments of type TextModifier and TypeMethodDescriptionvoidBlock.appendTooltip(ItemStack stack, @Nullable BlockView world, List<Text> tooltip, TooltipContext options) voidShulkerBoxBlock.appendTooltip(ItemStack stack, @Nullable BlockView world, List<Text> tooltip, TooltipContext options) -
Uses of Text in net.minecraft.block.entity
Fields in net.minecraft.block.entity declared as TextModifier and TypeFieldDescriptionBannerBlockEntity.customNameBeaconBlockEntity.customNameprivate TextEnchantingTableBlockEntity.customNameprivate TextLockableContainerBlockEntity.customNameprivate final Text[]SignBlockEntity.filteredTextsprivate final Text[]SignBlockEntity.textsMethods 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 TextDispenserBlockEntity.getContainerName()protected TextDropperBlockEntity.getContainerName()protected TextFurnaceBlockEntity.getContainerName()protected TextHopperBlockEntity.getContainerName()protected abstract TextLockableContainerBlockEntity.getContainerName()protected TextShulkerBoxBlockEntity.getContainerName()protected TextSmokerBlockEntity.getContainerName()BannerBlockEntity.getCustomName()EnchantingTableBlockEntity.getCustomName()LockableContainerBlockEntity.getCustomName()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.BannerBlockEntity.getName()EnchantingTableBlockEntity.getName()LockableContainerBlockEntity.getName()SignBlockEntity.getTextOnRow(int row, boolean filtered) private Text[]SignBlockEntity.getTexts(boolean filtered) private TextSignBlockEntity.parseTextFromJson(String json) private TextSignBlockEntity.unparsedTextFromJson(String json) Methods in net.minecraft.block.entity with parameters of type TextModifier and TypeMethodDescriptionstatic booleanLockableContainerBlockEntity.checkUnlocked(PlayerEntity player, ContainerLock lock, Text containerName) voidBannerBlockEntity.setCustomName(Text customName) voidBeaconBlockEntity.setCustomName(@Nullable Text customName) voidEnchantingTableBlockEntity.setCustomName(@Nullable Text customName) voidLockableContainerBlockEntity.setCustomName(Text customName) voidSignBlockEntity.setTextOnRow(int row, Text text) voidSignBlockEntity.setTextOnRow(int row, Text text, Text filteredText) Method parameters in net.minecraft.block.entity with type arguments of type TextModifier and TypeMethodDescriptionSignBlockEntity.updateSign(boolean filterText, Function<Text, OrderedText> textOrderingFunction) -
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.client
Fields in net.minecraft.client declared as TextModifier and TypeFieldDescriptionprivate final TextMinecraftClient.ChatRestriction.description(package private) static final TextMinecraftClient.ChatRestriction.MORE_INFO_TEXTprivate static final TextMinecraftClient.SOCIAL_INTERACTIONS_NOT_AVAILABLEMethods 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 static ResourcePackProfileMinecraftClient.createResourcePackProfile(String name, Text displayName, boolean alwaysEnabled, Supplier<ResourcePack> packFactory, PackResourceMetadata metadata, ResourcePackProfile.InsertionPosition insertionPosition, ResourcePackSource source) private voidvoidMinecraftClient.onResourceReloadFailure(Throwable exception, @Nullable Text resourceName) 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, Text[] texts) intTextRenderer.draw(MatrixStack matrices, Text text, float x, float y, int color) intTextRenderer.draw(Text text, float x, float y, int color, boolean shadow, Matrix4f matrix, VertexConsumerProvider vertexConsumers, boolean seeThrough, int backgroundColor, int light) intTextRenderer.drawWithShadow(MatrixStack matrices, Text text, float x, float y, int color) Method parameters in net.minecraft.client.font with type arguments of type TextModifier and TypeMethodDescriptionstatic MultilineTextMultilineText.createFromTexts(TextRenderer renderer, List<Text> texts) -
Uses of Text in net.minecraft.client.gui
Methods in net.minecraft.client.gui with parameters of type TextModifier and TypeMethodDescriptionstatic voidDrawableHelper.drawCenteredText(MatrixStack matrices, TextRenderer textRenderer, Text text, int centerX, int y, int color) static voidDrawableHelper.drawTextWithShadow(MatrixStack matrices, TextRenderer textRenderer, Text text, int x, int y, int color) voidClientChatListener.onChatMessage(MessageType type, Text message, @Nullable MessageSender sender) Called when a message is received.voidGameInfoChatListener.onChatMessage(MessageType type, Text message, @Nullable MessageSender sender) Called when a message is received. -
Uses of Text in net.minecraft.client.gui.hud
Fields in net.minecraft.client.gui.hud declared as TextModifier and TypeFieldDescriptionprivate static final TextInGameHud.DEMO_EXPIRED_MESSAGEPlayerListHud.footerPlayerListHud.headerInGameHud.overlayMessageprivate static final TextInGameHud.SAVING_LEVEL_TEXTInGameHud.subtitleprivate final TextSubtitlesHud.SubtitleEntry.textInGameHud.titleFields in net.minecraft.client.gui.hud with type parameters of type TextModifier and TypeFieldDescriptionChatHud.messageQueueprivate final List<ChatHudLine<Text>>ChatHud.messagesMethods 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.PlayerListHud.getPlayerName(PlayerListEntry entry) Returns the player name rendered by this HUD.SubtitlesHud.SubtitleEntry.getText()Methods in net.minecraft.client.gui.hud with parameters of type TextModifier and TypeMethodDescriptionvoidChatHud.addMessage(Text message) private voidChatHud.addMessage(Text message, int messageId) private voidChatHud.addMessage(Text message, int messageId, int timestamp, boolean refresh) voidChatHudListener.onChatMessage(MessageType type, Text message, @Nullable MessageSender sender) Called when a message is received.voidInGameHud.onChatMessage(MessageType type, Text message, MessageSender sender) Handles a chat message.voidInGameHud.onGameMessage(MessageType type, Text message) Handles a game message.voidChatHud.queueMessage(Text message) 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 TextModifierConstructorDescriptionClientBossBar(UUID uuid, Text name, float percent, BossBar.Color color, BossBar.Style style, boolean darkenSky, boolean dragonMusic, boolean thickenFog) SubtitleEntry(Text text, 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 TextOpenToLanScreen.ALLOW_COMMANDS_TEXTstatic final TextConnectScreen.BLOCKED_HOST_TEXTprivate static final TextCustomizeBuffetLevelScreen.BUFFET_BIOME_TEXTprivate final TextNoticeScreen.buttonTextprivate final TextRunningTaskScreen.cancelButtonTextprivate static final TextChatScreen.CHAT_PREVIEW_PLACEHOLDER_TEXTprivate static final TextChatScreen.CHAT_PREVIEW_WARNING_TOAST_TEXTprivate static final TextChatScreen.CHAT_PREVIEW_WARNING_TOAST_TITLEprivate static final TextRealms32BitWarningScreen.CHECK_MESSAGEWarningScreen.checkMessageprivate static final TextConfirmLinkScreen.COPYstatic final TextTitleScreen.COPYRIGHTprivate final TextStatsScreen.GeneralStatsListWidget.Entry.displayNameprivate static final TextStatsScreen.DOWNLOADING_STATS_TEXTprivate static final TextAddServerScreen.ENTER_IP_TEXTprivate static final TextDirectConnectScreen.ENTER_IP_TEXTprivate static final TextAddServerScreen.ENTER_NAME_TEXTprivate final TextStatsScreen.EntityStatsListWidget.Entry.entityTypeNameRunningTaskScreen.field_39745private static final TextOpenToLanScreen.GAME_MODE_TEXTprivate static final TextRealms32BitWarningScreen.HEADERprivate TextCustomizeFlatLevelScreen.heightTextprivate final TextStatsScreen.EntityStatsListWidget.Entry.killedByTextprivate final TextStatsScreen.EntityStatsListWidget.Entry.killedTextprivate TextPresetsScreen.listTextprivate final TextConfirmScreen.messageprivate final TextDeathScreen.message(package private) final TextDialogScreen.ChoiceButton.messageprivate final TextFatalErrorScreen.messageprivate final TextWarningScreen.messageprivate static final TextRealms32BitWarningScreen.MESSAGEprivate static final TextRealms32BitWarningScreen.NARRATED_TEXTprivate final TextWarningScreen.narratedTextprivate final TextDialogScreen.narrationMessageprotected TextConfirmScreen.noTextprivate final TextNoticeScreen.noticeprivate static final TextOpenToLanScreen.OTHER_PLAYERS_TEXTprivate final TextDisconnectedScreen.reasonprivate TextDeathScreen.scoreTextprivate static final TextScreen.SCREEN_USAGE_TEXTprivate static final TextGameModeSelectionScreen.SELECT_NEXT_TEXTprivate static final TextCreditsScreen.SEPARATOR_LINEprivate TextPresetsScreen.shareTextprivate TextConnectScreen.statusprivate final TextBackupPromptScreen.subtitleProgressScreen.task(package private) final TextCustomizeBuffetLevelScreen.BuffetBiomesListWidget.BuffetBiomeItem.text(package private) final TextGameModeSelectionScreen.GameModeSelection.textprivate final TextPresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry.textprivate static final TextDownloadingTerrainScreen.TEXTprivate TextCustomizeFlatLevelScreen.tileTextProgressScreen.titleprotected final TextScreen.titlestatic final TextPresetsScreen.UNKNOWN_PRESET_TEXTprivate static final TextChatScreen.USAGE_TEXTprivate static final TextConfirmLinkScreen.WARNINGprotected TextConfirmScreen.yesTextMethods in net.minecraft.client.gui.screen that return TextModifier and TypeMethodDescriptionConfirmScreen.getNarratedTitle()DialogScreen.getNarratedTitle()NoticeScreen.getNarratedTitle()RunningTaskScreen.getNarratedTitle()Screen.getNarratedTitle()WarningScreen.getNarratedTitle()(package private) TextCommandSuggestor.SuggestionWindow.getNarration()CustomizeBuffetLevelScreen.BuffetBiomesListWidget.BuffetBiomeItem.getNarration()CustomizeFlatLevelScreen.SuperflatLayersListWidget.SuperflatLayerEntry.getNarration()PresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry.getNarration()StatsScreen.EntityStatsListWidget.Entry.getNarration()StatsScreen.GeneralStatsListWidget.Entry.getNarration()StatsScreen.ItemStatsListWidget.Entry.getNarration()(package private) TextGameModeSelectionScreen.GameModeSelection.getText()protected TextScreen.getTitle()TitleScreen.method_44692()Methods in net.minecraft.client.gui.screen that return types with arguments of type TextMethods in net.minecraft.client.gui.screen with parameters of type TextModifier and TypeMethodDescriptionprivate voidstatic RunningTaskScreenRunningTaskScreen.method_44690(Text text, Text text2, Runnable runnable) static RunningTaskScreenRunningTaskScreen.method_44691(Text text, Text text2, Text text3, Runnable runnable) protected voidStatsScreen.ItemStatsListWidget.render(MatrixStack matrices, @Nullable Text text, int mouseX, int mouseY) voidScreen.renderTooltip(MatrixStack matrices, Text text, int x, int y) private voidvoidvoidvoidProgressScreen.setTitleAndTask(Text title) Method parameters in net.minecraft.client.gui.screen with type arguments of type TextModifier and TypeMethodDescriptionvoidScreen.renderTooltip(MatrixStack matrices, List<Text> lines, int x, int y) voidScreen.renderTooltip(MatrixStack matrices, List<Text> lines, Optional<TooltipData> data, int x, int y) Constructors in net.minecraft.client.gui.screen with parameters of type TextModifierConstructorDescriptionBackupPromptScreen(Screen parent, BackupPromptScreen.Callback callback, Text title, Text subtitle, boolean showEraseCacheCheckBox) ChoiceButton(Text message, ButtonWidget.PressAction pressAction) ConfirmLinkScreen(BooleanConsumer callback, Text title, String link, boolean linkTrusted) ConfirmLinkScreen(BooleanConsumer callback, Text title, String link, Text noText, boolean linkTrusted) ConfirmLinkScreen(BooleanConsumer callback, Text title, Text message, String 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, Text reason) 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) protectedRunningTaskScreen(Text title, @Nullable Text cancelButtonText, Text text, Runnable runnable, int int2) protectedprotectedprotectedWarningScreen(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.abusereport
Fields in net.minecraft.client.gui.screen.abusereport declared as TextModifier and TypeFieldDescriptionprivate static final TextChatSelectionScreen.CONTEXT_MESSAGEprivate static final TextChatReportScreen.DESCRIBE_TEXTprivate static final TextAbuseReportReasonScreen.DESCRIPTION_TEXTprivate static final TextChatReportScreen.DiscardWarningScreen.DISCARD_BUTTON_TEXTprivate static final TextChatReportScreen.field_39748private static final TextChatReportScreen.field_39749private static final TextAbuseReportReasonScreen.field_39754private static final TextChatReportScreen.GENERIC_ERROR_TEXTprivate final TextChatSelectionScreen.SelectionListWidget.SenderEntry.headingTextprivate static final TextChatReportScreen.DiscardWarningScreen.MESSAGEprivate static final TextChatReportScreen.MORE_COMMENTS_TEXTprivate final TextChatSelectionScreen.SelectionListWidget.MessageEntry.narrationprivate static final TextChatReportScreen.OBSERVED_WHAT_TEXTprivate static final TextChatReportScreen.REPORT_SENT_MESSAGE_TEXTprivate static final TextChatReportScreen.DiscardWarningScreen.RETURN_BUTTON_TEXTprivate static final TextChatReportScreen.SELECT_CHAT_TEXTprivate static final TextChatReportScreen.SELECT_REASON_TEXTprivate static final TextChatReportScreen.SENDING_TEXTprivate final TextChatSelectionScreen.SelectionListWidget.TextEntry.textprivate static final TextChatReportScreen.DiscardWarningScreen.TITLEprivate static final TextChatSelectionScreen.TITLEprivate static final TextAbuseReportReasonScreen.TITLE_TEXTMethods in net.minecraft.client.gui.screen.abusereport that return TextModifier and TypeMethodDescriptionChatSelectionScreen.getNarratedTitle()AbuseReportReasonScreen.ReasonListWidget.ReasonEntry.getNarration()ChatSelectionScreen.SelectionListWidget.Entry.getNarration()ChatSelectionScreen.SelectionListWidget.MessageEntry.getNarration()ChatSelectionScreen.SelectionListWidget.TextEntry.getNarration()Methods in net.minecraft.client.gui.screen.abusereport with parameters of type TextModifier and TypeMethodDescriptionvoidConstructors in net.minecraft.client.gui.screen.abusereport with parameters of type TextModifierConstructorDescriptionMessageEntry(int index, Text content, Text narration, boolean fromReportedPlayer, boolean isChatMessage) SenderEntry(com.mojang.authlib.GameProfile gameProfile, Text headingText, boolean fromReportedPlayer) -
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 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 TextJigsawBlockScreen.NAME_TEXTprivate TextBookScreen.pageIndexTextprivate TextBookEditScreen.pageIndicatorTextprotected 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 TextMerchantScreen.SEPARATOR_TEXTprivate 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 TextAnvilScreen.TOO_EXPENSIVE_TEXTprivate TextBeaconScreen.EffectButtonWidget.tooltipprivate static final TextMerchantScreen.TRADES_TEXTMethods in net.minecraft.client.gui.screen.ingame that return TextModifier and TypeMethodDescriptionprivate TextAbstractInventoryScreen.getStatusEffectDescription(StatusEffectInstance statusEffect) 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(@Nullable 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) AbstractInventoryScreen(T handler, PlayerInventory inventory, 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) 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, int u, int v, 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) -
Uses of Text in net.minecraft.client.gui.screen.multiplayer
Fields in net.minecraft.client.gui.screen.multiplayer declared as TextModifier and TypeFieldDescriptionprivate 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 TextChatPreviewWarningScreen.CHECK_MESSAGEprivate static final TextMultiplayerWarningScreen.CHECK_MESSAGEprivate static final TextChatPreviewWarningScreen.CONTENTprivate static final TextSocialInteractionsScreen.EMPTY_BLOCKED_TEXTprivate static final TextSocialInteractionsScreen.EMPTY_HIDDEN_TEXT(package private) static final TextSocialInteractionsScreen.EMPTY_SEARCH_TEXTprivate 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_TEXT(package private) final TextSocialInteractionsPlayerListEntry.hideText(package private) static final TextMultiplayerServerListWidget.INCOMPATIBLE_TEXT(package private) static final TextMultiplayerServerListWidget.LAN_SCANNING_TEXTprivate static final TextMultiplayerWarningScreen.MESSAGEprivate static final TextChatPreviewWarningScreen.NARRATED_TEXTprivate static final TextMultiplayerWarningScreen.NARRATED_TEXT(package private) static final TextMultiplayerServerListWidget.NO_CONNECTION_TEXTprivate static final TextSocialInteractionsPlayerListEntry.OFFLINE_TEXT(package private) static final TextMultiplayerServerListWidget.PINGING_TEXTprivate static final TextSocialInteractionsPlayerListEntry.REPORT_DISABLED_TEXT(package private) 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.serverLabel(package private) final TextSocialInteractionsPlayerListEntry.showTextprivate static final TextChatPreviewWarningScreen.TITLEprivate static final TextMultiplayerServerListWidget.LanServerEntry.TITLE_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 TypeMethodDescriptionSocialInteractionsScreen.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) Method parameters in net.minecraft.client.gui.screen.multiplayer with type arguments 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) default voidNarrationMessageBuilder.put(NarrationPart part, Text[] texts) static Narration<?>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 final TextControlsListWidget.KeyBindingEntry.bindingNameprivate 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 TextLanguageOptionsScreen.LANGUAGE_WARNING_TEXT(package private) final TextControlsListWidget.CategoryEntry.textMethods in net.minecraft.client.gui.screen.option that return TextModifier and TypeMethodDescriptionLanguageOptionsScreen.LanguageSelectionListWidget.LanguageEntry.getNarration()Constructors in net.minecraft.client.gui.screen.option with parameters of type TextModifierConstructorDescriptionCategoryEntry(Text text) GameOptionsScreen(Screen parent, GameOptions gameOptions, Text title) (package private)KeyBindingEntry(KeyBinding binding, Text bindingName) SimpleOptionsScreen(Screen parent, GameOptions gameOptions, Text title, SimpleOption<?>[] options) -
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.DROP_INFO(package private) static final TextPackScreen.FOLDER_INFO(package private) static final TextPackListWidget.INCOMPATIBLE(package private) static final TextPackListWidget.INCOMPATIBLE_CONFIRMprivate final TextPackListWidget.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()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, int width, int height, Text title) PackScreen(Screen parent, ResourcePackManager packManager, Consumer<ResourcePackManager> applier, File 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 TypeMethodDescriptionprivate TextRecipeBookWidget.getCraftableButtonText()protected 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.world
Fields in net.minecraft.client.gui.screen.world declared as TextModifier and TypeFieldDescriptionprivate static final TextCreateWorldScreen.ALLOW_COMMANDS_INFO_TEXTprivate static final TextMoreOptionsDialog.AMPLIFIED_INFO_TEXT(package private) static final TextWorldListWidget.CONVERSION_TOOLTIPprivate static final TextMoreOptionsDialog.CUSTOM_TEXTprivate static final TextCreateWorldScreen.ENTER_NAME_TEXTprivate static final TextEditWorldScreen.ENTER_NAME_TEXTprivate static final TextCreateWorldScreen.ENTER_SEED_TEXTprivate TextCreateWorldScreen.firstGameModeDescriptionLine(package private) static final TextWorldListWidget.FROM_NEWER_VERSION_FIRST_LINE(package private) static final TextWorldListWidget.FROM_NEWER_VERSION_SECOND_LINEprivate static final TextCreateWorldScreen.GAME_MODE_TEXTprivate static final TextWorldListWidget.LoadingEntry.LOADING_LIST_TEXT(package private) static final TextWorldListWidget.LOCKED_TEXTprivate static final TextMoreOptionsDialog.MAP_FEATURES_INFO_TEXT(package private) final TextEditGameRulesScreen.RuleCategoryWidget.nameprivate static final TextCreateWorldScreen.PREPARING_TEXTprivate static final TextCreateWorldScreen.RESULT_FOLDER_TEXTprivate TextCreateWorldScreen.secondGameModeDescriptionLineprivate static final TextCreateWorldScreen.SEED_INFO_TEXTprivate static final TextMoreOptionsDialog.SELECT_SETTINGS_FILE_TEXT(package private) static final TextWorldListWidget.SNAPSHOT_FIRST_LINE(package private) static final TextWorldListWidget.SNAPSHOT_SECOND_LINEprivate final TextCreateWorldScreen.Mode.textMethods in net.minecraft.client.gui.screen.world that return TextModifier and TypeMethodDescriptionCreateWorldScreen.Mode.asText()WorldListWidget.LoadingEntry.getNarration()WorldListWidget.WorldEntry.getNarration()private static TextMoreOptionsDialog.getText(RegistryEntry<WorldPreset> presetEntry) Methods in net.minecraft.client.gui.screen.world with parameters of type TextModifier and TypeMethodDescriptionEditGameRulesScreen.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 TextModifierConstructorDescriptionBooleanRuleWidget(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) RuleCategoryWidget(Text 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 TextClickableWidget.messageprivate final TextCyclingButtonWidget.optionTextprivate final TextEditBoxWidget.placeholderThe placeholder text that gets rendered when the edit box is empty.private static final TextAlwaysSelectedEntryListWidget.SELECTION_USAGE_TEXTprivate final TextPressableTextWidget.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()Methods in net.minecraft.client.gui.widget with parameters of type TextModifier and TypeMethodDescriptionCyclingButtonWidget.Builder.build(int x, int y, int width, int height, Text optionText, CyclingButtonWidget.UpdateCallback<T> callback) Builds a cycling button widget.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) Method 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.default voidConstructors in net.minecraft.client.gui.widget with parameters of type TextModifierConstructorDescriptionButtonWidget(int x, int y, int width, int height, Text message, ButtonWidget.PressAction onPress) ButtonWidget(int x, int y, int width, int height, Text message, ButtonWidget.PressAction onPress, ButtonWidget.TooltipSupplier tooltipSupplier) CheckboxWidget(int x, int y, int width, int height, Text message, boolean checked) CheckboxWidget(int x, int y, int width, int height, Text message, boolean checked, boolean showMessage) ClickableWidget(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) 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) 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) TexturedButtonWidget(int x, int y, int width, int height, int u, int v, int hoveredVOffset, Identifier texture, int textureWidth, int textureHeight, ButtonWidget.PressAction pressAction, ButtonWidget.TooltipSupplier tooltipSupplier, Text text) TexturedButtonWidget(int x, int y, int width, int height, int u, int v, int hoveredVOffset, Identifier texture, int textureWidth, int textureHeight, ButtonWidget.PressAction pressAction, Text text) 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.DISCONNECT_LOST_TEXTPlayerListEntry.displayNameServerInfo.labelprivate final TextServerInfo.ResourcePackPolicy.nameprivate static final TextBans.PERMANENT_TITLEServerInfo.playerCountLabelChatPreviewer.Response.previewTextThe field for thepreviewTextrecord component.private static final TextBans.TEMPORARY_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 TypeMethodDescription(package private) static TextMultiplayerServerListPinger.createPlayerCountText(int current, int max) private static TextBans.getDescriptionText(com.mojang.authlib.minecraft.BanDetails banDetails) PlayerListEntry.getDisplayName()private static TextBans.getDurationText(com.mojang.authlib.minecraft.BanDetails banDetails) ServerInfo.ResourcePackPolicy.getName()ChatPreviewer.getPreviewText()Returns the preview text (also known as the last response text), ornullif the server responded as such.private static TextBans.getReasonText(com.mojang.authlib.minecraft.BanDetails banDetails) private static TextClientPlayNetworkHandler.getServerResourcePackPrompt(Text defaultPrompt, @Nullable Text customPrompt) private static TextBans.getTemporaryBanDurationText(com.mojang.authlib.minecraft.BanDetails banDetails) private static TextBans.getTitle(com.mojang.authlib.minecraft.BanDetails banDetails) ClientLoginNetworkHandler.joinServerSession(String serverId) ChatPreviewer.Response.previewText()Returns the value of thepreviewTextrecord component.ChatPreviewer.tryConsumeResponse(String message) Returns the consumed response text, ornullif the server responded as such, or if the response could not be consumed.Methods in net.minecraft.client.network with parameters of type TextModifier and TypeMethodDescriptionprivate UUIDClientPlayNetworkHandler.extractSender(Text content) private static TextClientPlayNetworkHandler.getServerResourcePackPrompt(Text defaultPrompt, @Nullable Text customPrompt) voidClientLoginNetworkHandler.onDisconnected(Text reason) Called when the connection this listener listens to has disconnected.voidClientPlayNetworkHandler.onDisconnected(Text reason) Called when the connection this listener listens to has disconnected.voidChatPreviewer.onResponse(int id, @Nullable Text response) Called when the preview response was received.voidClientPlayerEntity.sendChatMessage(String message, @Nullable Text preview) Sends a chat message with the preview to the server.private voidClientPlayerEntity.sendChatMessagePacket(ChatMessageSigner signer, String message, @Nullable Text preview) voidClientPlayerEntity.sendCommand(String command, @Nullable Text preview) Sends a command to the server.private voidClientPlayerEntity.sendCommand(ChatMessageSigner signer, String command, @Nullable Text preview) Signs and sendscommandto the server.voidClientPlayerEntity.sendMessage(Text message) Sends a system message.voidClientPlayerEntity.sendMessage(Text message, boolean actionBar) 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) private ArgumentSignatureDataMapClientPlayerEntity.signArguments(ChatMessageSigner signer, com.mojang.brigadier.ParseResults<CommandSource> parseResults, @Nullable Text preview) Signs the command arguments.private MessageSignatureClientPlayerEntity.signChatMessage(ChatMessageSigner signer, Text message) Signs the chat message.Constructors in net.minecraft.client.network with parameters of type TextConstructor parameters in net.minecraft.client.network with type arguments of type TextModifierConstructorDescriptionClientLoginNetworkHandler(ClientConnection connection, MinecraftClient client, @Nullable Screen parentGui, Consumer<Text> statusConsumer) -
Uses of Text in net.minecraft.client.network.abusereport
Fields in net.minecraft.client.network.abusereport declared as TextModifier and TypeFieldDescriptionprivate final TextAbuseReportReason.descriptionprivate static final TextAbuseReportSender.Impl.HTTP_ERROR_TEXTprivate static final TextAbuseReportSender.Impl.JSON_ERROR_TEXTprivate final TextChatAbuseReport.ValidationError.messageThe field for themessagerecord component.private static final TextAbuseReportSender.Impl.SERVICE_UNAVAILABLE_ERROR_TEXTprivate final TextAbuseReportReason.textMethods in net.minecraft.client.network.abusereport 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()AbuseReportReason.getText(int banReasonId) ChatAbuseReport.ValidationError.message()Returns the value of themessagerecord component.Methods in net.minecraft.client.network.abusereport with parameters of type TextModifier and TypeMethodDescriptionvoidprivate static StringChatAbuseReport.serializeContent(Text content) Constructors in net.minecraft.client.network.abusereport with parameters of type TextModifierConstructorDescriptionAbuseReportException(Text messageText, Throwable cause) ValidationError(Text text) -
Uses of Text in net.minecraft.client.network.chat
Fields in net.minecraft.client.network.chat declared as TextModifier and TypeFieldDescriptionprivate final TextReceivedMessage.ChatMessage.displayNameThe field for thedisplayNamerecord component.private final TextReceivedMessage.GameMessage.messageThe field for themessagerecord component.Methods in net.minecraft.client.network.chat that return TextModifier and TypeMethodDescriptionReceivedMessage.ChatMessage.displayName()Returns the value of thedisplayNamerecord component.ReceivedMessage.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.network.chat with parameters of type TextModifier and TypeMethodDescriptionstatic ReceivedMessageReceivedMessage.of(com.mojang.authlib.GameProfile gameProfile, Text displayName, SignedMessage message) Returns the received message constructed from a chat message's elements.static ReceivedMessageReturns the received message constructed from a game message's elements.Constructors in net.minecraft.client.network.chat with parameters of type TextModifierConstructorDescriptionChatMessage(com.mojang.authlib.GameProfile gameProfile, Text text, SignedMessage signedMessage) GameMessage(Text text, Instant instant) -
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.CHAT_PREVIEW_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.HIDE_LIGHTNING_FLASHES_TOOLTIPprivate static final TextGameOptions.HIDE_MATCHED_NAMES_TOOLTIPprivate static final TextGameOptions.HOLD_KEY_TEXTprivate final TextNarratorMode.nameprivate static final TextGameOptions.NEARBY_CHUNK_BUILDER_MODE_TOOLTIPprivate static final TextGameOptions.NONE_CHUNK_BUILDER_MODE_TOOLTIPprivate static final TextGameOptions.ONLY_SHOW_SECURE_CHAT_TOOLTIPprivate static final TextGameOptions.SCREEN_EFFECT_SCALE_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.getGenericValueText(Text prefix, int value) static TextGameOptions.getGenericValueText(Text prefix, Text value) NarratorMode.getName()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.TooltipFactoryGetter<T>SimpleOption.constantTooltip(Text text) Returns the getter for thetooltipFactoryGetterparameter of the constructor to indicate constant tooltips.static TextGameOptions.getGenericValueText(Text prefix, int value) static TextGameOptions.getGenericValueText(Text prefix, Text value) private static TextGameOptions.getPercentValueText(Text prefix, double value) private static TextGameOptions.getPixelValueText(Text prefix, int value) protected static List<OrderedText>SimpleOption.wrapLines(MinecraftClient client, Text text) -
Uses of Text in net.minecraft.client.realms
Fields in net.minecraft.client.realms declared as TextModifier and TypeFieldDescription(package private) final TextRepeatedNarrator.Parameters.messageprivate final TextRealmsLabel.textMethods in net.minecraft.client.realms that return TextMethods in net.minecraft.client.realms with parameters of type TextConstructors 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) -
Uses of Text in net.minecraft.client.realms.gui
Fields in net.minecraft.client.realms.gui declared as TextModifier and TypeFieldDescriptionRealmsWorldSlotButton.State.actionPromptprivate static final TextRealmsWorldSlotButton.ACTIVE_TOOLTIPprivate static final TextRealmsWorldSlotButton.MINIGAME_TOOLTIPprivate static final TextRealmsWorldSlotButton.TOOLTIPFields in net.minecraft.client.realms.gui with type parameters of type TextMethods in net.minecraft.client.realms.gui that return types with arguments of type TextModifier and TypeMethodDescriptionRealmsWorldSlotButton.getActionPromptAndMessage(RealmsServer server, String text, boolean empty, boolean minigame, RealmsWorldSlotButton.Action action) RealmsWorldSlotButton.getActionPromptAndMessage(RealmsServer server, String text, boolean empty, boolean minigame, RealmsWorldSlotButton.Action action) Methods in net.minecraft.client.realms.gui with parameters of type TextModifier and TypeMethodDescriptionprivate voidRealmsWorldSlotButton.drawSlotFrame(MatrixStack matrices, int x, int y, int mouseX, int mouseY, boolean active, String slotName, int slotIndex, long imageId, @Nullable String image, boolean empty, boolean minigame, RealmsWorldSlotButton.Action action, @Nullable Text actionPrompt) Constructors in net.minecraft.client.realms.gui with parameters of type TextModifierConstructorDescription(package private)State(boolean isCurrentlyActiveSlot, String slotName, long imageId, @Nullable String image, boolean empty, boolean minigame, RealmsWorldSlotButton.Action action, @Nullable Text actionPrompt) Constructor parameters in net.minecraft.client.realms.gui with type arguments of type TextModifierConstructorDescriptionRealmsWorldSlotButton(int x, int y, int width, int height, Supplier<RealmsServer> serverDataProvider, Consumer<Text> tooltipSetter, int id, ButtonWidget.PressAction action) -
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 TextRealmsBackupScreen.BACKUPS_TEXTprivate TextRealmsResetWorldScreen.buttonTitle(package private) static final TextRealmsBackupScreen.CHANGES_TOOLTIP(package private) static final TextRealmsSelectFileToUploadScreen.CHEATS_TEXTprivate static final TextRealmsConfigureWorldScreen.CLOSED_TEXTprivate static final TextRealmsMainScreen.CLOSED_TEXTprivate static final TextRealmsConfigureWorldScreen.CONFIGURE_REALM_TITLEprivate static final TextRealmsMainScreen.CONFIGURE_TEXTprivate static final TextRealmsConfigureWorldScreen.CURRENT_MINIGAME_TEXTprivate static final TextRealmsSubscriptionInfoScreen.DAY_TEXTprivate static final TextRealmsSubscriptionInfoScreen.DAYS_LEFT_LABEL_TEXTprivate static final TextRealmsSubscriptionInfoScreen.DAYS_TEXTprivate TextRealmsSubscriptionInfoScreen.daysLeftprivate final TextRealmsSelectFileToUploadScreen.WorldListEntry.detailsRealmsDownloadLatestWorldScreen.downloadErrorprivate final TextRealmsDownloadLatestWorldScreen.downloadTitleprivate static final TextRealmsSlotOptionsScreen.EDIT_SLOT_NAMERealmsInviteScreen.errorMessageRealmsLongRunningMcoTaskScreen.errorMessage(package private) static final TextRealmsMainScreen.EXPIRED_LIST_TEXT(package private) static final TextRealmsMainScreen.EXPIRED_RENEW_TEXT(package private) static final TextRealmsMainScreen.EXPIRED_SUBSCRIBE_TEXTprivate static final TextRealmsConfigureWorldScreen.EXPIRED_TEXTprivate 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_TEXTprivate static final TextRealmsMainScreen.EXPIRES_IN_A_DAY_TEXTprivate static final TextRealmsSubscriptionInfoScreen.EXPIRES_IN_LESS_THAN_A_DAY_TEXTprivate static final TextRealmsConfigureWorldScreen.EXPIRES_SOON_TEXTprivate static final TextRealmsMainScreen.EXPIRES_SOON_TEXT(package private) static final TextRealmsSelectFileToUploadScreen.HARDCORE_TEXTprivate static final Text[]RealmsClientOutdatedScreen.INCOMPATIBLE_LINESprivate static final Text[]RealmsClientOutdatedScreen.INCOMPATIBLE_LINES_UNSTABLEprivate static final TextRealmsClientOutdatedScreen.INCOMPATIBLE_TITLE(package private) static final TextRealmsSelectWorldTemplateScreen.INFO_TOOLTIPprivate static final TextRealmsInviteScreen.INVITE_PROFILE_NAME_TEXTprivate static final TextRealmsPlayerScreen.INVITED_TEXTprivate static final TextRealmsMainScreen.LEAVE_TEXTprivate final TextRealmsLongConfirmationScreen.line2private final TextRealmsLongConfirmationScreen.line3private final Text[]RealmsBrokenWorldScreen.message(package private) static final TextRealmsMainScreen.MINIGAME_TEXTprivate static final TextRealmsSubscriptionInfoScreen.MONTH_TEXTprivate static final TextRealmsSubscriptionInfoScreen.MONTHS_TEXTprivate static final TextRealmsMainScreen.NEWS_TEXTprivate static final TextRealmsBackupScreen.NO_BACKUPS_TEXT(package private) static final TextRealmsMainScreen.NO_PENDING_TEXTprivate static final TextRealmsPendingInvitesScreen.NO_PENDING_TEXTprivate static final TextRealmsPlayerScreen.NORMAL_TOOLTIPprivate static final TextRealmsConfigureWorldScreen.OPEN_TEXTprivate static final TextRealmsMainScreen.OPEN_TEXTprivate static final TextRealmsPlayerScreen.OPERATOR_TOOLTIPprivate final TextRealmsResetNormalWorldScreen.parentTitle(package private) static final TextRealmsMainScreen.PENDING_TEXTprivate static final TextRealmsInviteScreen.PLAYER_ERROR_TEXTprivate static final TextRealmsMainScreen.POPUP_TEXTprivate static final TextRealmsParentalConsentScreen.PRIVACY_INFO_TEXTprivate final TextDisconnectedRealmsScreen.reason(package private) static final TextRealmsPendingInvitesScreen.REJECT_TEXTprivate static final TextRealmsPlayerScreen.REMOVE_TOOLTIPprivate static final TextRealmsResetNormalWorldScreen.RESET_SEED_TEXTprivate TextRealmsResetWorldScreen.resetTitle(package private) static final TextRealmsBackupScreen.RESTORE_TEXTprivate static final TextRealmsTermsScreen.SENTENCE_ONE_TEXTprivate static final TextRealmsTermsScreen.SENTENCE_TWO_TEXT(package private) static final TextRealmsSlotOptionsScreen.SPAWN_PROTECTIONprivate static final TextRealmsSlotOptionsScreen.SPAWN_TOGGLE_TITLEprivate TextRealmsSubscriptionInfoScreen.startDateprivate TextRealmsDownloadLatestWorldScreen.statusprivate TextRealmsUploadScreen.statusRealmsUploadScreen.statusTextsprivate static final TextRealmsSubscriptionInfoScreen.SUBSCRIPTION_START_LABEL_TEXTprivate static final TextRealmsSubscriptionInfoScreen.SUBSCRIPTION_TITLEprivate TextRealmsResetWorldScreen.subtitlefinal TextRealmsLongConfirmationScreen.Type.textprivate final TextRealmsWorldGeneratorType.textprivate static final TextRealmsSubscriptionInfoScreen.TIME_LEFT_LABEL_TEXTprivate TextRealmsLongRunningMcoTaskScreen.titleprivate static final TextRealmsTermsScreen.TITLEprivate final TextRealmsConfirmScreen.title1private final TextRealmsConfirmScreen.title2RealmsBackupScreen.tooltipRealmsConfigureWorldScreen.tooltipRealmsPendingInvitesScreen.tooltipRealmsPlayerScreen.tooltipRealmsSelectWorldTemplateScreen.tooltip(package private) static final TextRealmsSelectWorldTemplateScreen.TRAILER_TOOLTIP(package private) static final TextRealmsMainScreen.TRIAL_NARRATION(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 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 TextRealmsConfigureWorldScreen.WORLDS_TITLEFields in net.minecraft.client.realms.gui.screen with type parameters of type TextModifier and TypeFieldDescriptionRealmsGenericErrorScreen.errorMessagesRealmsGenericErrorScreen.errorMessagesRealmsMainScreen.tooltipRealmsMainScreen.TRIAL_MESSAGE_LINESMethods 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) private TextRealmsBackupInfoScreen.gameDifficultyMetadata(String value) private TextRealmsBackupInfoScreen.gameModeMetadata(String value) (package private) static TextRealmsSelectFileToUploadScreen.getGameModeName(LevelSummary summary) private Text[]RealmsClientOutdatedScreen.getLines()DisconnectedRealmsScreen.getNarratedTitle()RealmsBrokenWorldScreen.getNarratedTitle()RealmsGenericErrorScreen.getNarratedTitle()RealmsLongConfirmationScreen.getNarratedTitle()RealmsParentalConsentScreen.getNarratedTitle()RealmsResetWorldScreen.getNarratedTitle()RealmsSelectFileToUploadScreen.getNarratedTitle()RealmsSelectWorldTemplateScreen.getNarratedTitle()RealmsSlotOptionsScreen.getNarratedTitle()RealmsSubscriptionInfoScreen.getNarratedTitle()RealmsTermsScreen.getNarratedTitle()RealmsBackupInfoScreen.BackupInfoListEntry.getNarration()RealmsBackupScreen.BackupObjectSelectionListEntry.getNarration()private TextRealmsDownloadLatestWorldScreen.getNarration()RealmsMainScreen.RealmSelectionListEntry.getNarration()RealmsMainScreen.RealmSelectionListTrialEntry.getNarration()RealmsPendingInvitesScreen.PendingInvitationSelectionListEntry.getNarration()RealmsPlayerScreen.InvitedObjectSelectionListEntry.getNarration()RealmsSelectFileToUploadScreen.WorldListEntry.getNarration()RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionListEntry.getNarration()private TextRealmsUploadScreen.getNarration()RealmsWorldGeneratorType.getText()private static TextRealmsSubscriptionInfoScreen.localPresentation(long time) RealmsScreen.narrateLabels()Methods in net.minecraft.client.realms.gui.screen that return types with arguments of type TextModifier and TypeMethodDescriptionRealmsGenericErrorScreen.getErrorMessages(RealmsServiceException exception) RealmsGenericErrorScreen.getErrorMessages(RealmsServiceException exception) RealmsGenericErrorScreen.getErrorMessages(Text description) RealmsGenericErrorScreen.getErrorMessages(Text description) RealmsGenericErrorScreen.getErrorMessages(Text title, Text description) RealmsGenericErrorScreen.getErrorMessages(Text title, Text description) Methods in net.minecraft.client.realms.gui.screen with parameters of type TextModifier and TypeMethodDescription(package private) voidRealmsResetWorldScreen.drawFrame(MatrixStack matrices, int x, int y, Text text, Identifier texture, boolean hovered, boolean mouseOver) voidRealmsGenericErrorScreen.getErrorMessages(Text description) RealmsGenericErrorScreen.getErrorMessages(Text title, Text description) RealmsSlotOptionsScreen.getSpawnToggleButtonCallback(Text text, Consumer<Boolean> valueSetter) protected voidRealmsBackupScreen.renderMousehoverTooltip(MatrixStack matrices, @Nullable Text text, int mouseX, int mouseY) protected voidRealmsConfigureWorldScreen.renderMousehoverTooltip(MatrixStack matrices, @Nullable Text text, int mouseX, int mouseY) protected voidRealmsPendingInvitesScreen.renderMousehoverTooltip(MatrixStack matrices, @Nullable Text tooltip, int mouseX, int mouseY) protected voidRealmsPlayerScreen.renderMousehoverTooltip(MatrixStack matrices, @Nullable Text tooltip, int mouseX, int mouseY) protected voidRealmsSelectWorldTemplateScreen.renderMousehoverTooltip(MatrixStack matrices, @Nullable Text tooltip, int mouseX, int mouseY) voidRealmsResetWorldScreen.setResetTitle(Text resetTitle) private voidRealmsUploadScreen.setStatusTexts(Text[] statusTexts) void(package private) voidRealmsMainScreen.setTooltips(Text[] tooltips) voidRealmsSelectWorldTemplateScreen.setWarning(Text[] warning) private voidMethod parameters in net.minecraft.client.realms.gui.screen with type arguments of type TextModifier and TypeMethodDescriptionprotected voidRealmsMainScreen.renderMousehoverTooltip(MatrixStack matrices, List<Text> tooltips, int x, int y) Constructors in net.minecraft.client.realms.gui.screen with parameters of type TextModifierConstructorDescriptionDisconnectedRealmsScreen(Screen parent, Text title, Text reason) FrameButton(int x, int y, Text message, Identifier image, ButtonWidget.PressAction onPress) RealmsConfirmScreen(BooleanConsumer callback, Text title1, Text title2) RealmsGenericErrorScreen(Text description, Screen parent) RealmsGenericErrorScreen(Text title, Text description, Screen parent) RealmsLongConfirmationScreen(BooleanConsumer callback, RealmsLongConfirmationScreen.Type type, Text line2, Text line3, boolean yesNoQuestion) RealmsResetNormalWorldScreen(Consumer<ResetWorldInfo> callback, Text parentTitle) RealmsResetWorldScreen(Screen parent, RealmsServer server, Text title, Runnable resetCallback, Runnable selectFileUploadCallback) RealmsResetWorldScreen(Screen parent, RealmsServer server, Text title, Text subtitle, int subtitleColor, Text buttonTitle, Runnable resetCallback, Runnable selectFileUploadCallback) RealmsScreen(Text title) RealmsSelectWorldTemplateScreen(Text title, Consumer<WorldTemplate> callback, RealmsServer.WorldType worldType) RealmsSelectWorldTemplateScreen(Text title, Consumer<WorldTemplate> callback, RealmsServer.WorldType worldType, @Nullable WorldTemplatePaginatedList templateList) -
Uses of Text in net.minecraft.client.realms.task
Fields in net.minecraft.client.realms.task declared as TextMethods in net.minecraft.client.realms.task with parameters of type TextModifier and TypeMethodDescriptionvoidvoidConstructors 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
Methods in net.minecraft.client.realms.util with parameters of type Text -
Uses of Text in net.minecraft.client.render.entity
Fields in net.minecraft.client.render.entity declared as TextMethods in net.minecraft.client.render.entity that return TextMethods 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) protected voidItemFrameEntityRenderer.renderLabelIfPresent(T t, Text text, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2) protected voidPlayerEntityRenderer.renderLabelIfPresent(AbstractClientPlayerEntity abstractClientPlayerEntity, Text text, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2) -
Uses of Text in net.minecraft.client.resource
Fields in net.minecraft.client.resource declared as TextModifier and TypeFieldDescriptionprivate static final TextClientBuiltinResourcePackProvider.APPLYING_PACK_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 TextModifierConstructorDescriptionSystemToast(SystemToast.Type type, Text title, @Nullable Text description) privateSystemToast(SystemToast.Type type, Text title, List<OrderedText> lines, int width) 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 TextFields 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 TypeMethodDescriptionvoidvoidNarratorManager.onChatMessage(MessageType type, Text message, @Nullable MessageSender sender) Called when a message is received.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 TypeFieldDescriptionfinal TextEntitySelectorOptions.SelectorOption.descriptionprivate final TextCommandException.messageMethods in net.minecraft.command that return TextModifier and TypeMethodDescriptionBlockDataObject.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 TextCommandException.getTextMessage()Methods 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 TextModifierConstructorDescriptionCommandException(Text message) (package private)SelectorOption(EntitySelectorOptions.SelectorHandler handler, Predicate<EntitySelectorReader> condition, Text description) -
Uses of Text in net.minecraft.command.argument
Fields in net.minecraft.command.argument declared as TextModifier and TypeFieldDescriptionprivate final TextMessageArgumentType.SignedMessage.formattedThe field for theformattedrecord component.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) MessageArgumentType.SignedMessage.formatted()Returns the value of theformattedrecord component.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) MessageArgumentType.toText(MessageArgumentType.MessageFormat messageFormat) Methods in net.minecraft.command.argument that return types with arguments of type TextModifier and TypeMethodDescriptiondefault @Nullable CompletableFuture<Text>DecoratableArgumentType.decorate(com.mojang.brigadier.context.CommandContextBuilder<ServerCommandSource> builder, String argumentName) static @Nullable CompletableFuture<Text>DecoratableArgumentType.decorate(com.mojang.brigadier.tree.ArgumentCommandNode<?, ?> node, com.mojang.brigadier.context.CommandContextBuilder<ServerCommandSource> builder) DecoratableArgumentType.decorate(ServerCommandSource source, T format) MessageArgumentType.decorate(ServerCommandSource serverCommandSource, MessageArgumentType.MessageFormat messageFormat) (package private) CompletableFuture<Text>MessageArgumentType.MessageFormat.decorate(ServerCommandSource source) private CompletableFuture<FilteredMessage<Text>>MessageArgumentType.SignedMessage.filter(ServerCommandSource source, Text message) Methods in net.minecraft.command.argument with parameters of type TextModifier and TypeMethodDescriptionprivate CompletableFuture<FilteredMessage<Text>>MessageArgumentType.SignedMessage.filter(ServerCommandSource source, Text message) Constructors in net.minecraft.command.argument with parameters of type TextModifierConstructorDescriptionSignedMessage(String string, Text text, MessageSignature messageSignature, boolean bool) -
Uses of Text in net.minecraft.enchantment
Methods in net.minecraft.enchantment that return Text -
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()protected TextEntity.getDefaultName()Entity.getDisplayName()Entity.getName()EntityType.getName()ItemEntity.getName()private static TextEntity.removeClickEvents(Text textComponent) Methods in net.minecraft.entity with parameters of type TextModifier and TypeMethodDescriptionEntityType.create(ServerWorld world, @Nullable NbtCompound itemNbt, @Nullable Text name, @Nullable PlayerEntity player, BlockPos pos, SpawnReason spawnReason, boolean alignPosition, boolean invertY) private static TextEntity.removeClickEvents(Text textComponent) voidEntity.sendMessage(Text message) Sends a system message.voidEntity.setCustomName(@Nullable Text name) EntityType.spawn(ServerWorld world, @Nullable NbtCompound itemNbt, @Nullable Text name, @Nullable PlayerEntity player, BlockPos pos, SpawnReason spawnReason, boolean alignPosition, boolean invertY) -
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) 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 TypeMethodDescriptionDamageRecord.getAttackerName()BadRespawnPointDamageSource.getDeathMessage(LivingEntity entity) DamageSource.getDeathMessage(LivingEntity entity) DamageTracker.getDeathMessage()EntityDamageSource.getDeathMessage(LivingEntity entity) ProjectileDamageSource.getDeathMessage(LivingEntity entity) -
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.effect
Methods in net.minecraft.entity.effect that return Text -
Uses of Text in net.minecraft.entity.mob
Methods in net.minecraft.entity.mob with parameters of type Text -
Uses of Text in net.minecraft.entity.passive
Methods in net.minecraft.entity.passive that return Text -
Uses of Text in net.minecraft.entity.player
Fields in net.minecraft.entity.player declared as TextMethods in net.minecraft.entity.player that return TextModifier and TypeMethodDescriptionPlayerEntity.getDisplayName()PlayerEntity.SleepFailureReason.getMessage()Returns the action bar message that is sent to the player when sleeping fails with this reason.PlayerEntity.getName()PlayerInventory.getName()Methods in net.minecraft.entity.player with parameters of type TextModifier and TypeMethodDescriptionvoidPlayerEntity.sendMessage(Text message, boolean actionBar) 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_OUTPUT -
Uses of Text in net.minecraft.item
Fields in net.minecraft.item declared as TextMethods in net.minecraft.item that return TextModifier and TypeMethodDescriptionprivate static TextFireworkStarItem.appendColors(MutableText line, int[] colors) private static TextFireworkStarItem.getColorText(int color) ItemGroup.getDisplayName()Item.getName()ItemStack.getName()ItemStack.toHoverableText()Methods in net.minecraft.item that return types with arguments of type TextModifier and TypeMethodDescriptionItemStack.getTooltip(@Nullable PlayerEntity player, TooltipContext context) private static Collection<Text>ItemStack.parseBlockTag(String tag) Methods in net.minecraft.item with parameters of type TextModifier and TypeMethodDescriptionprivate static voidDebugStickItem.sendMessage(PlayerEntity player, Text message) ItemStack.setCustomName(@Nullable Text name) Method parameters in net.minecraft.item with type arguments of type TextModifier and TypeMethodDescriptionstatic voidBannerItem.appendBannerTooltip(ItemStack stack, List<Text> tooltip) static voidItemStack.appendEnchantments(List<Text> tooltip, NbtList enchantments) static voidFireworkStarItem.appendFireworkTooltip(NbtCompound nbt, List<Text> tooltip) voidAirBlockItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) voidBannerItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) voidBannerPatternItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) voidBlockItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) voidBundleItem.appendTooltip(ItemStack stack, World world, List<Text> tooltip, TooltipContext context) voidCrossbowItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) voidDiscFragmentItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) voidEnchantedBookItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) voidEntityBucketItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) voidFilledMapItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) voidFireworkRocketItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) voidFireworkStarItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) voidGoatHornItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) voidItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) voidLingeringPotionItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) voidMusicDiscItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) voidPotionItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) voidShieldItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) voidTippedArrowItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) voidWrittenBookItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) -
Uses of Text in net.minecraft.item.map
Fields in net.minecraft.item.map declared as TextMethods in net.minecraft.item.map that return TextMethods in net.minecraft.item.map with parameters of type TextModifier and TypeMethodDescriptionprivate voidMapState.addIcon(MapIcon.Type type, @Nullable WorldAccess world, String key, double x, double z, double rotation, @Nullable Text text) Constructors in net.minecraft.item.map with parameters of type TextModifierConstructorDescriptionMapBannerMarker(BlockPos pos, DyeColor dyeColor, @Nullable Text name) MapIcon(MapIcon.Type type, byte x, byte z, byte rotation, @Nullable Text text) -
Uses of Text in net.minecraft.loot.function
Fields in net.minecraft.loot.function declared as TextFields in net.minecraft.loot.function with type parameters of type TextMethods in net.minecraft.loot.function that return types with arguments of type TextModifier and TypeMethodDescriptionstatic UnaryOperator<Text>SetNameLootFunction.applySourceEntity(LootContext context, LootContext.EntityTarget sourceEntity) Methods in net.minecraft.loot.function with parameters of type TextModifier and TypeMethodDescriptionstatic ConditionalLootFunction.Builder<?>static ConditionalLootFunction.Builder<?>SetNameLootFunction.builder(Text name, LootContext.EntityTarget target) Constructors in net.minecraft.loot.function with parameters of type TextModifierConstructorDescription(package private)SetNameLootFunction(LootCondition[] conditions, @Nullable Text name, LootContext.EntityTarget entity) Constructor parameters in net.minecraft.loot.function with type arguments of type TextModifierConstructorDescriptionSetLoreLootFunction(LootCondition[] conditions, boolean replace, List<Text> lore, LootContext.EntityTarget entity) -
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 TextMethods 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 TextClientConnection.disconnectReasonprivate static final TextRateLimitedConnection.RATE_LIMIT_EXCEEDED_MESSAGEMethods in net.minecraft.network that return TextModifier and TypeMethodDescriptionClientConnection.getDisconnectReason()PacketByteBuf.readText()Reads a text from this buf.Methods in net.minecraft.network with parameters of type TextModifier and TypeMethodDescriptionvoidClientConnection.disconnect(Text disconnectReason) Writes a text to this buf. -
Uses of Text in net.minecraft.network.listener
Methods in net.minecraft.network.listener with parameters of type TextModifier and TypeMethodDescriptionvoidPacketListener.onDisconnected(Text reason) Called when the connection this listener listens to has disconnected. -
Uses of Text in net.minecraft.network.message
Fields in net.minecraft.network.message declared as TextModifier and TypeFieldDescriptionprivate final TextMessageSender.nameThe field for thenamerecord component.private final TextSignedMessage.signedContentThe field for thesignedContentrecord component.MessageSender.teamNameThe field for theteamNamerecord component.Fields in net.minecraft.network.message with type parameters of type TextModifier and TypeFieldDescriptionSignedMessage.unsignedContentThe field for theunsignedContentrecord component.Methods in net.minecraft.network.message that return TextModifier and TypeMethodDescriptionMessageType.DisplayRule.apply(Text message, @Nullable MessageSender sender) Returns the message with the decoration applied, ormessageif there is no decoration.MessageType.NarrationRule.apply(Text message, @Nullable MessageSender sender) Returns the message with the decoration applied, ormessageif there is no decoration.SignedMessage.getContent()Returns the content of the message.MessageSender.name()Returns the value of thenamerecord component.private static <T> TextArgumentSignatureDataMap.resultToText(TextConvertibleArgumentType<T> type, com.mojang.brigadier.context.ParsedArgument<?, ?> argument) SignedMessage.signedContent()Returns the value of thesignedContentrecord component.MessageSender.teamName()Returns the value of theteamNamerecord component.Methods in net.minecraft.network.message that return types with arguments of type TextModifier and TypeMethodDescriptionArgumentSignatureDataMap.collectArguments(com.mojang.brigadier.context.CommandContextBuilder<?> builder) Returns the signable argument names and their values frombuilder.MessageDecorator.decorate(@Nullable ServerPlayerEntity sender, Text message) Returns the decoratedmessage.default CompletableFuture<FilteredMessage<Text>>MessageDecorator.decorateFiltered(@Nullable ServerPlayerEntity sender, FilteredMessage<Text> message) Returns the decorated filtered message from undecoratedmessage.SignedMessage.unsignedContent()Returns the value of theunsignedContentrecord component.Methods in net.minecraft.network.message with parameters of type TextModifier and TypeMethodDescriptionMessageType.DisplayRule.apply(Text message, @Nullable MessageSender sender) Returns the message with the decoration applied, ormessageif there is no decoration.MessageType.NarrationRule.apply(Text message, @Nullable MessageSender sender) Returns the message with the decoration applied, ormessageif there is no decoration.MessageDecorator.decorate(@Nullable ServerPlayerEntity sender, Text message) Returns the decoratedmessage.static MessageSenderstatic SignedMessageReturns a new signed chat message withsignedContentand "none" signature.static SignedMessageSignedMessage.of(Text signedContent, MessageSignature signature) Returns a new signed chat message withsignedContentandsignature.static SignedMessageSignedMessage.of(Text originalContent, Text decoratedContent, MessageSignature signature, boolean previewed) Returns a new signed chat message from the content supplied by the chat decorator.Returns the chat message signature obtained by signingmessagewithsignature.private static byte[]MessageSignature.toByteArray(Text message) static voidMessageSignature.updateSignature(SignatureUpdatable.SignatureUpdater updater, Text message, UUID sender, Instant time, long salt) Updatesupdaterwith the passed parameters.booleanMessageSignature.verify(SignatureVerifier verifier, Text message) Returns whethermessagecan be verified with this signature.MessageSender.withTeamName(Text teamName) SignedMessage.withUnsigned(Text unsignedContent) Returns the new signed chat message withunsignedContentadded.Method parameters in net.minecraft.network.message with type arguments of type TextModifier and TypeMethodDescriptiondefault CompletableFuture<FilteredMessage<SignedMessage>>MessageDecorator.decorateChat(@Nullable ServerPlayerEntity sender, FilteredMessage<Text> message, MessageSignature signature, boolean previewed) Returns the decorated signed chat message from undecoratedmessage.default CompletableFuture<FilteredMessage<Text>>MessageDecorator.decorateFiltered(@Nullable ServerPlayerEntity sender, FilteredMessage<Text> message) Returns the decorated filtered message from undecoratedmessage.static FilteredMessage<SignedMessage>SignedMessage.toSignedMessage(FilteredMessage<Text> original, FilteredMessage<Text> decorated, MessageSignature signature, boolean preview) Constructors in net.minecraft.network.message with parameters of type TextModifierConstructorDescriptionMessageSender(UUID uuid, Text name) MessageSender(UUID uUID, Text text, @Nullable Text text2) SignedMessage(Text text, MessageSignature messageSignature, Optional<Text> optional) Constructor parameters in net.minecraft.network.message with type arguments of type TextModifierConstructorDescriptionSignedMessage(Text text, MessageSignature messageSignature, Optional<Text> optional) -
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.PlayerListS2CPacket.Entry.displayNameprivate final TextScoreboardObjectiveUpdateS2CPacket.displayNameprivate final TextTeamS2CPacket.SerializableTeam.displayNameprivate final TextPlayerListHeaderS2CPacket.footerprivate final TextPlayerListHeaderS2CPacket.headerprivate final TextDeathMessageS2CPacket.messageprivate final TextOverlayMessageS2CPacket.messageprivate final TextBossBarS2CPacket.AddAction.nameprivate final TextBossBarS2CPacket.UpdateNameAction.nameprivate final TextOpenScreenS2CPacket.nameprivate final TextTeamS2CPacket.SerializableTeam.prefixChatPreviewS2CPacket.previewThe field for thepreviewrecord component.ResourcePackSendS2CPacket.promptprivate final TextDisconnectS2CPacket.reasonprivate final TextChatMessageS2CPacket.signedContentThe field for thesignedContentrecord component.private final TextSubtitleS2CPacket.subtitleprivate final TextTeamS2CPacket.SerializableTeam.suffixprivate final TextTitleS2CPacket.titleFields in net.minecraft.network.packet.s2c.play with type parameters of type TextModifier and TypeFieldDescriptionServerMetadataS2CPacket.descriptionChatMessageS2CPacket.unsignedContentThe field for theunsignedContentrecord component.Methods in net.minecraft.network.packet.s2c.play that return TextModifier and TypeMethodDescriptionGameMessageS2CPacket.content()Returns the value of thecontentrecord component.PlayerListS2CPacket.Entry.getDisplayName()ScoreboardObjectiveUpdateS2CPacket.getDisplayName()TeamS2CPacket.SerializableTeam.getDisplayName()PlayerListHeaderS2CPacket.getFooter()PlayerListHeaderS2CPacket.getHeader()DeathMessageS2CPacket.getMessage()OverlayMessageS2CPacket.getMessage()OpenScreenS2CPacket.getName()TeamS2CPacket.SerializableTeam.getPrefix()ResourcePackSendS2CPacket.getPrompt()DisconnectS2CPacket.getReason()SubtitleS2CPacket.getSubtitle()TeamS2CPacket.SerializableTeam.getSuffix()TitleS2CPacket.getTitle()ChatPreviewS2CPacket.preview()Returns the value of thepreviewrecord component.ChatMessageS2CPacket.signedContent()Returns the value of thesignedContentrecord component.Methods in net.minecraft.network.packet.s2c.play that return types with arguments of type TextModifier and TypeMethodDescriptionServerMetadataS2CPacket.getDescription()ChatMessageS2CPacket.unsignedContent()Returns the value of theunsignedContentrecord 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(Text text, Optional<Text> optional, int int2, MessageSender messageSender, Instant instant, NetworkEncryptionUtils.SignatureData signatureData) ChatPreviewS2CPacket(int int2, Text text) DeathMessageS2CPacket(int entityId, int killerId, Text message) DeathMessageS2CPacket(DamageTracker damageTracker, Text message) DisconnectS2CPacket(Text reason) Entry(com.mojang.authlib.GameProfile profile, int latency, @Nullable GameMode gameMode, @Nullable Text displayName, PlayerPublicKey.PublicKeyData publicKeyData) GameMessageS2CPacket(Text text, int int2) OpenScreenS2CPacket(int syncId, ScreenHandlerType<?> type, Text name) OverlayMessageS2CPacket(Text message) PlayerListHeaderS2CPacket(Text header, Text footer) ResourcePackSendS2CPacket(String url, String hash, boolean required, @Nullable Text prompt) ServerMetadataS2CPacket(@Nullable Text description, @Nullable String favicon, boolean previewsChat) SubtitleS2CPacket(Text subtitle) TitleS2CPacket(Text title) (package private)UpdateNameAction(Text name) Constructor parameters in net.minecraft.network.packet.s2c.play with type arguments of type TextModifierConstructorDescriptionChatMessageS2CPacket(Text text, Optional<Text> optional, int int2, MessageSender messageSender, Instant instant, NetworkEncryptionUtils.SignatureData signatureData) -
Uses of Text in net.minecraft.potion
Fields in net.minecraft.potion declared as TextMethod parameters in net.minecraft.potion with type arguments of type TextModifier and TypeMethodDescriptionstatic voidPotionUtil.buildTooltip(ItemStack stack, List<Text> list, float durationMultiplier) -
Uses of Text in net.minecraft.resource
Fields in net.minecraft.resource declared as TextModifier and TypeFieldDescriptionprivate final TextResourcePackCompatibility.confirmMessageprivate final TextResourcePackProfile.descriptionprivate final TextResourcePackProfile.displayNameprivate final TextResourcePackCompatibility.notificationMethods in net.minecraft.resource that return TextModifier and TypeMethodDescriptionResourcePackCompatibility.getConfirmMessage()ResourcePackProfile.getDescription()ResourcePackProfile.getDisplayName()ResourcePackProfile.getInformationText(boolean enabled) ResourcePackCompatibility.getNotification()Methods in net.minecraft.resource with parameters of type TextModifier and TypeMethodDescriptionResourcePackProfile.Factory.create(String name, Text displayName, boolean alwaysEnabled, Supplier<ResourcePack> packFactory, PackResourceMetadata metadata, ResourcePackProfile.InsertionPosition initialPosition, ResourcePackSource source) Creates a proper resource pack profile from the given parameters.Constructors in net.minecraft.resource with parameters of type TextModifierConstructorDescriptionResourcePackProfile(String name, boolean alwaysEnabled, Supplier<ResourcePack> packFactory, Text displayName, Text description, ResourcePackCompatibility compatibility, ResourcePackProfile.InsertionPosition direction, boolean pinned, ResourcePackSource source) ResourcePackProfile(String name, Text displayName, boolean alwaysEnabled, Supplier<ResourcePack> packFactory, PackResourceMetadata metadata, ResourceType type, ResourcePackProfile.InsertionPosition direction, ResourcePackSource source) -
Uses of Text in net.minecraft.resource.metadata
Fields in net.minecraft.resource.metadata declared as TextMethods in net.minecraft.resource.metadata that return TextConstructors in net.minecraft.resource.metadata with parameters of type Text -
Uses of Text in net.minecraft.scoreboard
Fields in net.minecraft.scoreboard declared as TextModifier and TypeFieldDescriptionprivate TextScoreboardObjective.bracketedDisplayNameprivate TextScoreboardObjective.displayNameprivate TextTeam.displayNameprivate TextTeam.prefixprivate TextTeam.suffixMethods in net.minecraft.scoreboard that return TextModifier and TypeMethodDescriptionprivate TextScoreboardObjective.generateBracketedDisplayName()AbstractTeam.CollisionRule.getDisplayName()AbstractTeam.VisibilityRule.getDisplayName()ScoreboardObjective.getDisplayName()Team.getDisplayName()Team.getPrefix()Team.getSuffix()ScoreboardObjective.toHoverableText()Methods in net.minecraft.scoreboard with parameters of type TextModifier and TypeMethodDescriptionScoreboard.addObjective(String name, ScoreboardCriterion criterion, Text displayName, ScoreboardCriterion.RenderType renderType) 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) voidvoidConstructors in net.minecraft.scoreboard with parameters of type TextModifierConstructorDescriptionScoreboardObjective(Scoreboard scoreboard, String name, ScoreboardCriterion criterion, Text displayName, ScoreboardCriterion.RenderType renderType) -
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.DONEstatic final TextScreenTexts.ELLIPSISstatic final TextScreenTexts.EMPTYstatic final TextScreenTexts.LINE_BREAKprivate final TextSimpleNamedScreenHandlerFactory.namestatic final TextScreenTexts.NOstatic final TextScreenTexts.OFFstatic final TextScreenTexts.ONstatic final TextScreenTexts.PROCEEDstatic final TextScreenTexts.SENTENCE_SEPARATORstatic 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 first, Text second) 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 TypeFieldDescriptionServerMetadata.descriptionMinecraftServer.ServerResourcePackProperties.promptThe field for thepromptrecord component.Methods in net.minecraft.server that return TextModifier and TypeMethodDescriptionPlayerManager.checkCanJoin(SocketAddress address, com.mojang.authlib.GameProfile profile) ServerMetadata.getDescription()MinecraftServer.ServerResourcePackProperties.prompt()Returns the value of thepromptrecord component.abstract TextBanEntry.toText()BannedIpEntry.toText()BannedPlayerEntry.toText()Methods in net.minecraft.server with parameters of type TextModifier and TypeMethodDescriptionvoidPlayerManager.broadcast(Text message, Function<ServerPlayerEntity, Text> playerMessageFactory, RegistryKey<MessageType> typeKey) Broadcasts a message to all players and the server console.voidPlayerManager.broadcast(Text message, RegistryKey<MessageType> typeKey) Broadcasts a message to all players and the server console.voidMinecraftServer.logChatMessage(MessageSender sender, Text message, RegistryKey<MessageType> typeKey) voidMinecraftServer.sendMessage(Text message) Sends a system message.voidPlayerManager.sendToOtherTeams(PlayerEntity source, Text message) voidPlayerManager.sendToTeam(PlayerEntity source, Text message) voidServerMetadata.setDescription(Text description) Method parameters in net.minecraft.server with type arguments of type TextModifier and TypeMethodDescriptionvoidPlayerManager.broadcast(Text message, Function<ServerPlayerEntity, Text> playerMessageFactory, RegistryKey<MessageType> typeKey) Broadcasts a message to all players and the server console.Constructors in net.minecraft.server with parameters of type TextModifierConstructorDescriptionServerResourcePackProperties(String string, String string2, boolean bool, @Nullable Text text) -
Uses of Text in net.minecraft.server.command
Fields in net.minecraft.server.command declared as TextMethods in net.minecraft.server.command that return TextMethods 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 intRaidCommand.executeSound(ServerCommandSource source, Text type) private static intTitleCommand.executeTitle(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Text title, String titleType, Function<Text, Packet<?>> constructor) voidvoidServerCommandSource.sendFeedback(Text message, boolean broadcastToOps) voidCommandOutput.sendMessage(Text message) Sends a system message.voidDebugCommand.Tracer.sendMessage(Text message) Sends a system message.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) 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, @Nullable com.mojang.brigadier.ResultConsumer<ServerCommandSource> consumer, EntityAnchorArgumentType.EntityAnchor entityAnchor, CommandArgumentSigner signer) -
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.filter
Methods in net.minecraft.server.filter that return types with arguments of type TextModifier and TypeMethodDescriptiondefault CompletableFuture<FilteredMessage<Text>>TextStream.filterText(Text text) Methods in net.minecraft.server.filter with parameters of type TextModifier and TypeMethodDescriptiondefault CompletableFuture<FilteredMessage<Text>>TextStream.filterText(Text text) -
Uses of Text in net.minecraft.server.function
Fields in net.minecraft.server.function declared as TextModifier and TypeFieldDescriptionprivate static final TextCommandFunctionManager.NO_TRACE_IN_FUNCTION_TEXTA localized piece of text indicating that calling the debug command to debug functions from within a function is not supported. -
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 TextServerHandshakeNetworkHandler.IGNORING_STATUS_REQUEST_MESSAGEprivate static final TextServerLoginNetworkHandler.INVALID_PUBLIC_KEY_SIGNATURE_TEXTprivate static final TextServerLoginNetworkHandler.INVALID_PUBLIC_KEY_TEXTprivate static final TextServerLoginNetworkHandler.MISSING_PUBLIC_KEY_TEXTprivate static final TextServerQueryNetworkHandler.REQUEST_HANDLEDMethods in net.minecraft.server.network that return TextMethods in net.minecraft.server.network that return types with arguments of type TextModifier and TypeMethodDescriptionprivate CompletableFuture<Text>private CompletableFuture<Text>ServerPlayNetworkHandler.decorateChat(String query) private CompletableFuture<Text>ServerPlayNetworkHandler.decorateCommand(com.mojang.brigadier.context.CommandContextBuilder<ServerCommandSource> builder) private CompletableFuture<Text>ServerPlayNetworkHandler.decorateCommand(String query) Methods in net.minecraft.server.network with parameters of type TextModifier and TypeMethodDescriptionvoidServerLoginNetworkHandler.disconnect(Text reason) voidServerPlayNetworkHandler.disconnect(Text reason) voidLocalServerHandshakeNetworkHandler.onDisconnected(Text reason) Called when the connection this listener listens to has disconnected.voidServerHandshakeNetworkHandler.onDisconnected(Text reason) Called when the connection this listener listens to has disconnected.voidServerLoginNetworkHandler.onDisconnected(Text reason) Called when the connection this listener listens to has disconnected.voidServerPlayNetworkHandler.onDisconnected(Text reason) Called when the connection this listener listens to has disconnected.voidServerQueryNetworkHandler.onDisconnected(Text reason) Called when the connection this listener listens to has disconnected.private voidServerPlayNetworkHandler.sendChatPreviewPacket(int queryId, Text preview) voidServerPlayerEntity.sendMessage(Text message) Sends a system message.voidServerPlayerEntity.sendMessage(Text message, boolean actionBar) Adds a message to this player's HUD.voidServerPlayerEntity.sendMessage(Text message, RegistryKey<MessageType> typeKey) Sends a message to the player.private voidServerPlayerEntity.sendMessageDeliverError(Text message, RegistryKey<MessageType> typeKey) voidServerPlayerEntity.sendResourcePackUrl(String url, String hash, boolean required, @Nullable Text resourcePackPrompt) Constructors in net.minecraft.server.network with parameters of type TextModifierConstructorDescriptionLoginException(Text messageText) LoginException(Text messageText, Throwable cause) -
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 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 TextHoverEvent.EntityContent.nameFields in net.minecraft.text with type parameters of type TextModifier and TypeFieldDescriptionKeybindTranslations.factoryHoverEvent.Action.legacyDeserializerNbtTextContent.separatorSelectorTextContent.separatorstatic final HoverEvent.Action<Text>HoverEvent.Action.SHOW_TEXTMutableText.siblingsHoverEvent.EntityContent.tooltipKeybindTextContent.translatedMethods in net.minecraft.text that return TextModifier and TypeMethodDescriptionDecoration.apply(Text content, @Nullable MessageSender sender) Returns the text obtained by applying the passed values to the decoration.Decoration.Parameter.apply(Text content, @Nullable MessageSender sender) Returns the text obtained by applying the passed values to the parameter.private Text[]Decoration.collectArguments(Text content, @Nullable MessageSender sender) 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 TextCreates a literal text with the given string as content.Decoration.Parameter.Selector.select(Text content, @Nullable MessageSender sender) static TextTexts.toText(com.mojang.authlib.GameProfile profile) 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()NbtTextContent.getSeparator()SelectorTextContent.getSeparator()Text.Serializer.getSeparator(Type type, JsonDeserializationContext context, JsonObject json) MutableText.getSiblings()Returns the siblings of this text.Text.getSiblings()Returns the siblings of this text.Text.getWithStyle(Style style) Methods in net.minecraft.text with parameters of type TextModifier and TypeMethodDescriptionAppends a text to this text's siblings.Decoration.apply(Text content, @Nullable MessageSender sender) Returns the text obtained by applying the passed values to the decoration.Decoration.Parameter.apply(Text content, @Nullable MessageSender sender) Returns the text obtained by applying the passed values to the parameter.static MutableTextHoverEvent.Action.buildHoverEvent(Text value) private Text[]Decoration.collectArguments(Text content, @Nullable MessageSender sender) Returns the arguments passed totranslatable(String, Object[]).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) private static @Nullable HoverEvent.ItemStackContentstatic MutableTextDecoration.Parameter.Selector.select(Text content, @Nullable MessageSender sender) Text.Serializer.serialize(Text text, Type type, JsonSerializationContext jsonSerializationContext) static Stringstatic JsonElementText.Serializer.toJsonTree(Text text) static StringText.Serializer.toSortedJsonString(Text text) Method parameters in net.minecraft.text with type arguments of type TextModifier and TypeMethodDescriptionprivate voidText.Serializer.addSeparator(JsonSerializationContext context, JsonObject json, Optional<Text> separator) 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 TextModifierConstructorDescription(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()default TextNameable.getDisplayName()TextifiedException.getMessageText()BlockMirror.getName()Nameable.getName()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 test, 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_SUFFIX_TEXTprivate static final TextRaid.DEFEAT_TITLEprivate static final TextRaid.EVENT_TEXTprivate static final TextRaid.VICTORY_SUFFIX_TEXTprivate static final TextRaid.VICTORY_TITLE -
Uses of Text in net.minecraft.world
Fields in net.minecraft.world declared as TextModifier and TypeFieldDescriptionprivate TextCommandBlockExecutor.customNameprivate static final TextCommandBlockExecutor.DEFAULT_NAMECommandBlockExecutor.lastOutputprivate final TextGameMode.simpleTranslatableNameprivate final TextGameMode.translatableNameMethods in net.minecraft.world that return TextModifier and TypeMethodDescriptionCommandBlockExecutor.getCustomName()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 name) 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 TypeFieldDescriptionLevelSummary.detailsprivate final TextLevelStorageException.messageTextMethods in net.minecraft.world.level.storage that return TextModifier and TypeMethodDescriptionprivate TextLevelSummary.createDetails()LevelSummary.getDetails()LevelStorageException.getMessageText()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