Uses of Interface
net.minecraft.text.Text
Packages that use Text
Package
Description
The base package for all Minecraft classes.
Contains the screen narrator for building
narration messages.
The Named Binary Tag (NBT) data format.
Provides resources to Minecraft, including resource access, provision, and reloading.
Contains utility method classes, various enums, serialization helpers, and
miscellaneous classes.
-
Uses of Text in net.minecraft
Fields in net.minecraft declared as TextModifier and TypeFieldDescriptionprivate final Textclass_8019.field_41798private static final Textclass_8032.field_41837Constructors in net.minecraft with parameters of type Text -
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.TITLEMethods in net.minecraft.block that return types with arguments of type TextMethod parameters in net.minecraft.block with type arguments of type TextModifier and TypeMethodDescriptionvoidBlock.appendTooltip(ItemStack stack, @Nullable BlockView world, List<Text> tooltip, TooltipContext options) Appends tooltips to a stack of this block's corresponding block item.voidShulkerBoxBlock.appendTooltip(ItemStack stack, @Nullable BlockView world, List<Text> tooltip, TooltipContext options) Appends tooltips to a stack of this block's corresponding block item.voidSpawnerBlock.appendTooltip(ItemStack stack, @Nullable BlockView world, List<Text> tooltip, TooltipContext options) Appends tooltips to a stack of this block's corresponding block item. -
Uses of Text in net.minecraft.block.entity
Fields in net.minecraft.block.entity declared as TextModifier and TypeFieldDescriptionprivate static final TextBeaconBlockEntity.CONTAINER_NAME_TEXTBannerBlockEntity.customNameBeaconBlockEntity.customNameprivate TextEnchantingTableBlockEntity.customNameLockableContainerBlockEntity.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()Returns the custom name of this object, ornullif there is none.BeaconBlockEntity.getCustomName()Returns the custom name of this object, ornullif there is none.EnchantingTableBlockEntity.getCustomName()Returns the custom name of this object, ornullif there is none.LockableContainerBlockEntity.getCustomName()Returns the custom name of this object, ornullif there is none.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()Returns the name of this object.BeaconBlockEntity.getName()Returns the name of this object.EnchantingTableBlockEntity.getName()Returns the name of this object.LockableContainerBlockEntity.getName()Returns the name of this object.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 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) -
Uses of Text in net.minecraft.client.gui.hud
Fields in net.minecraft.client.gui.hud declared as TextModifier and TypeFieldDescriptionprivate final TextChatHudLine.contentThe field for thecontentrecord component.private static final TextChatHud.DELETED_MARKER_TEXTprivate static final TextInGameHud.DEMO_EXPIRED_MESSAGEPlayerListHud.footerPlayerListHud.headerprivate static final TextMessageIndicator.MODIFIED_TEXTprivate static final TextMessageIndicator.NOT_SECURE_TEXTInGameHud.overlayMessageprivate static final TextInGameHud.SAVING_LEVEL_TEXTprivate static final TextMessageIndicator.SINGLE_PLAYER_TEXTInGameHud.subtitleprivate static final TextMessageIndicator.SYSTEM_TEXTMessageIndicator.textThe field for thetextrecord component.private final TextSubtitlesHud.SubtitleEntry.textInGameHud.titleMethods in net.minecraft.client.gui.hud that return TextModifier and TypeMethodDescriptionprivate TextPlayerListHud.applyGameModeFormatting(PlayerListEntry entry, MutableText name) Italicizes the given text if the given player is in spectator mode.ChatHudLine.content()Returns the value of thecontentrecord component.PlayerListHud.getPlayerName(PlayerListEntry entry) Returns the player name rendered by this HUD.SubtitlesHud.SubtitleEntry.getText()MessageIndicator.text()Returns the value of thetextrecord component.Methods in net.minecraft.client.gui.hud with parameters of type TextModifier and TypeMethodDescriptionvoidChatHud.addMessage(Text message) private voidChatHud.addMessage(Text message, @Nullable MessageSignatureData signature, int ticks, @Nullable MessageIndicator indicator, boolean refresh) voidChatHud.addMessage(Text message, @Nullable MessageSignatureData signature, @Nullable MessageIndicator indicator) private voidChatHud.logChatMessage(Text message, @Nullable MessageIndicator indicator) voidvoidvoidInGameHud.setOverlayMessage(Text message, boolean tinted) voidInGameHud.setRecordPlayingOverlay(Text description) voidInGameHud.setSubtitle(Text subtitle) voidConstructors in net.minecraft.client.gui.hud with parameters of type TextModifierConstructorDescriptionChatHudLine(int creationTick, Text text, @Nullable MessageSignatureData messageSignatureData, @Nullable MessageIndicator messageIndicator) ClientBossBar(UUID uuid, Text name, float percent, BossBar.Color color, BossBar.Style style, boolean darkenSky, boolean dragonMusic, boolean thickenFog) MessageIndicator(int int2, @Nullable MessageIndicator.Icon icon, @Nullable Text text, @Nullable String string) 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 TextGameMenuScreen.ADVANCEMENTS_TEXTprivate static final TextOpenToLanScreen.ALLOW_COMMANDS_TEXTstatic final TextConnectScreen.BLOCKED_HOST_TEXTprivate static final TextCustomizeBuffetLevelScreen.BUFFET_BIOME_TEXTprivate final TextNoticeScreen.buttonTextprivate static final TextRealms32BitWarningScreen.CHECK_MESSAGEWarningScreen.checkMessageprivate final TextTaskScreen.closeButtonTextprivate static final TextConfirmLinkScreen.COPYstatic final TextTitleScreen.COPYRIGHTTaskScreen.descriptionTextprivate static final TextGameMenuScreen.DISCONNECT_TEXTprivate 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.entityTypeNameprivate static final TextOpenToLanScreen.GAME_MODE_TEXTprivate static final TextGameMenuScreen.GAME_TEXTprivate static final TextRealms32BitWarningScreen.HEADERprivate TextCustomizeFlatLevelScreen.heightTextprivate static final TextOpenToLanScreen.INVALID_PORT_TEXTprivate 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 TextGameMenuScreen.OPTIONS_TEXTprivate static final TextOpenToLanScreen.OTHER_PLAYERS_TEXTprivate static final TextGameMenuScreen.PAUSED_TEXTprivate static final TextGameMenuScreen.PLAYER_REPORTING_TEXTprivate static final TextOpenToLanScreen.PORT_TEXTprivate final TextDisconnectedScreen.reasonprivate static final TextGameMenuScreen.REPORT_BUGS_TEXTprivate static final TextGameMenuScreen.RETURN_TO_GAME_TEXTprivate static final TextGameMenuScreen.RETURN_TO_MENU_TEXTprivate static final TextGameMenuScreen.SAVING_LEVEL_TEXTprivate TextDeathScreen.scoreTextprivate static final TextScreen.SCREEN_USAGE_TEXTprivate static final TextGameModeSelectionScreen.SELECT_NEXT_TEXTprivate static final TextGameMenuScreen.SEND_FEEDBACK_TEXTprivate static final TextCreditsScreen.SEPARATOR_LINEprivate static final TextGameMenuScreen.SHARE_TO_LAN_TEXTprivate TextPresetsScreen.shareTextprivate static final TextGameMenuScreen.STATS_TEXTprivate 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.titleprivate static final TextOpenToLanScreen.UNAVAILABLE_PORT_TEXTstatic 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 TypeMethodDescriptionTitleScreen.getMultiplayerDisabledText()ConfirmScreen.getNarratedTitle()DialogScreen.getNarratedTitle()NoticeScreen.getNarratedTitle()Screen.getNarratedTitle()TaskScreen.getNarratedTitle()WarningScreen.getNarratedTitle()(package private) TextChatInputSuggestor.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()OpenToLanScreen.updatePort(String portText) 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 voidprivate ButtonWidgetGameMenuScreen.createButton(Text text, Supplier<Screen> screenSupplier) static TaskScreenTaskScreen.createResultScreen(Text title, Text descriptionText, Text closeButtonText, Runnable closeCallback) Returns a new screen to indicate a task has finished running.static TaskScreenTaskScreen.createRunningScreen(Text title, Text closeButtonText, Runnable closeCallback) Returns a new screen to indicate a task is running.private ButtonWidgetGameMenuScreen.createUrlButton(Text text, String url) 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) protected voidScreen.setTooltip(Text tooltip) 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) protectedprotectedTaskScreen(Text title, @Nullable Text descriptionText, Text closeButtonText, Runnable closeCallback, int buttonCooldown) protectedprotectedWarningScreen(Text header, Text message, Text narratedText) Constructor parameters in net.minecraft.client.gui.screen with type arguments of type TextModifierConstructorDescriptionprotectedDialogScreen(Text title, List<Text> messages, ImmutableList<DialogScreen.ChoiceButton> choiceButtons) -
Uses of Text in net.minecraft.client.gui.screen.advancement
Fields in net.minecraft.client.gui.screen.advancement declared as TextModifier and TypeFieldDescriptionprivate static final TextAdvancementsScreen.ADVANCEMENTS_TEXTprivate static final TextAdvancementsScreen.EMPTY_TEXTprivate static final TextAdvancementsScreen.SAD_LABEL_TEXTprivate final TextAdvancementTab.titleMethods in net.minecraft.client.gui.screen.advancement that return TextMethods in net.minecraft.client.gui.screen.advancement with parameters of type TextModifier and TypeMethodDescriptionprivate List<StringVisitable>AdvancementWidget.wrapDescription(Text text, int width) -
Uses of Text in net.minecraft.client.gui.screen.ingame
Fields in net.minecraft.client.gui.screen.ingame declared as TextModifier and TypeFieldDescriptionprivate static final TextAbstractCommandBlockScreen.COMMAND_TEXTprivate static final TextStructureBlockScreen.CUSTOM_DATA_TEXTprivate static final TextCreativeInventoryScreen.DELETE_ITEM_SLOT_TEXTprivate static final TextMerchantScreen.DEPRECATED_TEXTprivate static final TextStructureBlockScreen.DETECT_SIZE_TEXTprivate static final TextBookEditScreen.EDIT_TITLE_TEXTprivate static final 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 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) AbstractSignEditScreen(SignBlockEntity blockEntity, boolean filtered, Text title) AnvilScreen(AnvilScreenHandler handler, PlayerInventory inventory, Text title) protectedBaseButtonWidget(int x, int y, Text message) BeaconScreen(BeaconScreenHandler handler, PlayerInventory inventory, Text title) BlastFurnaceScreen(BlastFurnaceScreenHandler container, PlayerInventory inventory, Text title) BrewingStandScreen(BrewingStandScreenHandler handler, PlayerInventory inventory, Text title) CartographyTableScreen(CartographyTableScreenHandler handler, PlayerInventory inventory, Text title) 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 int2, int int3, int int4, int int5, Text text) 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 TextMultiplayerWarningScreen.CHECK_MESSAGEprivate static final TextSocialInteractionsScreen.EMPTY_BLOCKED_TEXTprivate static final TextSocialInteractionsScreen.EMPTY_HIDDEN_TEXT(package private) static final TextSocialInteractionsScreen.EMPTY_SEARCH_TEXT(package private) static final TextMultiplayerServerListWidget.field_41853(package private) static final TextMultiplayerServerListWidget.field_41854(package private) static final TextMultiplayerServerListWidget.field_41855(package private) static final TextMultiplayerServerListWidget.field_41856private static final TextMultiplayerWarningScreen.HEADERprivate static final TextMultiplayerServerListWidget.LanServerEntry.HIDDEN_ADDRESS_TEXTprivate static final TextSocialInteractionsPlayerListEntry.HIDDEN_OFFLINE_TEXTprivate static final TextSocialInteractionsScreen.HIDDEN_TAB_TITLEprivate static final TextSocialInteractionsPlayerListEntry.HIDDEN_TEXTprivate static final TextSocialInteractionsPlayerListEntry.hideText(package private) static final TextMultiplayerServerListWidget.LAN_SCANNING_TEXTprivate static final TextMultiplayerWarningScreen.MESSAGEprivate static final TextMultiplayerWarningScreen.NARRATED_TEXTprivate static final TextSocialInteractionsPlayerListEntry.NOT_REPORTABLE_TEXTprivate static final TextSocialInteractionsPlayerListEntry.OFFLINE_TEXTprivate static final TextSocialInteractionsPlayerListEntry.REPORT_DISABLED_TEXTprivate static final TextSocialInteractionsPlayerListEntry.reportTextprivate static final TextSocialInteractionsScreen.SEARCH_TEXTprivate static final TextSocialInteractionsScreen.SELECTED_ALL_TAB_TITLEprivate static final TextSocialInteractionsScreen.SELECTED_BLOCKED_TAB_TITLEprivate static final TextSocialInteractionsScreen.SELECTED_HIDDEN_TAB_TITLESocialInteractionsScreen.serverLabelprivate static final TextSocialInteractionsPlayerListEntry.showTextprivate 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()MultiplayerServerListWidget.LanServerEntry.method_48273()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 TextModifier and TypeMethodDescriptionvoidMultiplayerScreen.setMultiplayerScreenTooltip(List<Text> tooltip) -
Uses of Text in net.minecraft.client.gui.screen.narration
Methods in net.minecraft.client.gui.screen.narration with parameters of type TextModifier and TypeMethodDescriptiondefault voidNarrationMessageBuilder.put(NarrationPart part, Text text) Adds aTextnarration to this message builder.default voidNarrationMessageBuilder.put(NarrationPart part, Text[] texts) Adds an array ofTextnarrations to this message builder.static Narration<?>Creates a narration from a singleTextsentence.Method parameters in net.minecraft.client.gui.screen.narration with type arguments of type Text -
Uses of Text in net.minecraft.client.gui.screen.option
Fields in net.minecraft.client.gui.screen.option declared as TextModifier and TypeFieldDescriptionprivate static final TextOptionsScreen.ACCESSIBILITY_TEXTprivate final TextControlsListWidget.KeyBindingEntry.bindingNameprivate static final TextOptionsScreen.CHAT_TEXTprivate static final TextOptionsScreen.CONTROL_TEXTprivate static final TextTelemetryInfoScreen.DESCRIPTION_TEXTprivate static final TextTelemetryInfoScreen.GIVE_FEEDBACK_TEXTprivate static final TextVideoOptionsScreen.GRAPHICS_FABULOUS_TEXTprivate static final TextVideoOptionsScreen.GRAPHICS_WARNING_ACCEPT_TEXTprivate static final TextVideoOptionsScreen.GRAPHICS_WARNING_CANCEL_TEXTprivate static final TextVideoOptionsScreen.GRAPHICS_WARNING_MESSAGE_TEXTprivate static final TextVideoOptionsScreen.GRAPHICS_WARNING_TITLE_TEXTprivate static final TextOptionsScreen.LANGUAGE_TEXTprivate static final TextLanguageOptionsScreen.LANGUAGE_WARNING_TEXTprivate final TextLanguageOptionsScreen.LanguageSelectionListWidget.LanguageEntry.languageDefinitionprivate final TextTelemetryEventWidget.Contents.narrationThe field for thenarrationrecord component.private static final TextTelemetryEventWidget.PROPERTY_TITLE_TEXTprivate static final TextOptionsScreen.RESOURCE_PACK_TEXTprivate static final TextTelemetryInfoScreen.SHOW_DATA_TEXTprivate static final TextOptionsScreen.SKIN_CUSTOMIZATION_TEXTprivate static final TextOptionsScreen.SOUNDS_TEXTprivate static final TextOptionsScreen.TELEMETRY_TEXT(package private) final TextControlsListWidget.CategoryEntry.textprivate static final TextTelemetryInfoScreen.TITLE_TEXTprivate static final TextOptionsScreen.VIDEO_TEXTMethods in net.minecraft.client.gui.screen.option that return TextModifier and TypeMethodDescriptionTelemetryInfoScreen.getNarratedTitle()LanguageOptionsScreen.LanguageSelectionListWidget.LanguageEntry.getNarration()TelemetryEventWidget.Contents.narration()Returns the value of thenarrationrecord component.Methods in net.minecraft.client.gui.screen.option with parameters of type TextModifier and TypeMethodDescriptionvoidTelemetryEventWidget.ContentsBuilder.appendText(TextRenderer textRenderer, Text text) voidTelemetryEventWidget.ContentsBuilder.appendTitle(TextRenderer textRenderer, Text title) voidTelemetryEventWidget.ContentsBuilder.appendTitle(TextRenderer textRenderer, Text title, int marginBottom) private ButtonWidgetOptionsScreen.createButton(Text message, Supplier<Screen> screenSupplier) Constructors in net.minecraft.client.gui.screen.option with parameters of type TextModifierConstructorDescriptionCategoryEntry(Text text) (package private)Contents(GridWidget gridWidget, 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 final TextExperimentalWarningScreen.DetailsScreen.PackListWidgetEntry.detailsprivate static final TextExperimentalWarningScreen.DETAILSprivate final TextExperimentalWarningScreen.DetailsScreen.PackListWidgetEntry.displayNameprivate static final TextPackScreen.DROP_INFOprivate static final TextPackScreen.FOLDER_INFO(package private) static final TextPackListWidget.INCOMPATIBLE(package private) static final TextPackListWidget.INCOMPATIBLE_CONFIRMprivate static final TextExperimentalWarningScreen.MESSAGEprivate final TextPackListWidget.titleprivate static final TextExperimentalWarningScreen.TITLEMethods in net.minecraft.client.gui.screen.pack that return TextModifier and TypeMethodDescriptiondefault TextResourcePackOrganizer.Pack.getDecoratedDescription()ResourcePackOrganizer.AbstractPack.getDescription()ResourcePackOrganizer.Pack.getDescription()ResourcePackOrganizer.AbstractPack.getDisplayName()ResourcePackOrganizer.Pack.getDisplayName()ExperimentalWarningScreen.getNarratedTitle()ExperimentalWarningScreen.DetailsScreen.PackListWidgetEntry.getNarration()PackListWidget.ResourcePackEntry.getNarration()Methods in net.minecraft.client.gui.screen.pack with parameters of type TextModifier and TypeMethodDescriptionprivate static MultilineTextPackListWidget.ResourcePackEntry.createMultilineText(MinecraftClient client, Text text) private static OrderedTextPackListWidget.ResourcePackEntry.trimTextToWidth(MinecraftClient client, Text text) Constructors in net.minecraft.client.gui.screen.pack with parameters of type TextModifierConstructorDescriptionPackListWidget(MinecraftClient client, PackScreen packScreen, int width, int height, Text title) (package private)PackListWidgetEntry(Text displayName, Text details, MultilineText multilineDetails) PackScreen(Screen parent, ResourcePackManager packManager, Consumer<ResourcePackManager> applier, Path file, Text title) -
Uses of Text in net.minecraft.client.gui.screen.recipebook
Fields in net.minecraft.client.gui.screen.recipebook declared as TextModifier and TypeFieldDescriptionprivate static final TextAnimatedResultButton.MORE_RECIPES_TEXTprivate static final TextRecipeBookWidget.SEARCH_HINT_TEXTprivate static final TextRecipeBookWidget.TOGGLE_ALL_RECIPES_TEXTprivate static final TextBlastFurnaceRecipeBookScreen.TOGGLE_BLASTABLE_RECIPES_TEXTprivate static final TextRecipeBookWidget.TOGGLE_CRAFTABLE_RECIPES_TEXTprivate static final TextFurnaceRecipeBookScreen.TOGGLE_SMELTABLE_RECIPES_TEXTprivate static final TextSmokerRecipeBookScreen.TOGGLE_SMOKABLE_RECIPES_TEXTMethods in net.minecraft.client.gui.screen.recipebook that return TextModifier and TypeMethodDescriptionprotected TextBlastFurnaceRecipeBookScreen.getToggleCraftableButtonText()protected TextFurnaceRecipeBookScreen.getToggleCraftableButtonText()protected TextRecipeBookWidget.getToggleCraftableButtonText()protected TextSmokerRecipeBookScreen.getToggleCraftableButtonText()Methods in net.minecraft.client.gui.screen.recipebook that return types with arguments of type Text -
Uses of Text in net.minecraft.client.gui.screen.report
Fields in net.minecraft.client.gui.screen.report declared as TextModifier and TypeFieldDescriptionprivate static final TextChatSelectionScreen.CONTEXT_MESSAGEprivate static final TextChatReportScreen.DESCRIBE_TEXTprivate static final TextAbuseReportReasonScreen.DESCRIPTION_TEXTprivate static final TextChatReportScreen.DiscardWarningScreen.DISCARD_BUTTON_TEXTprivate static final TextChatReportScreen.DiscardWarningScreen.DRAFT_BUTTON_TEXTprivate 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 TextAbuseReportReasonScreen.READ_INFO_TEXTprivate static final TextChatReportScreen.REPORT_ERROR_TITLEprivate static final TextChatReportScreen.REPORT_SENT_MESSAGE_TEXTprivate static final TextChatReportScreen.REPORT_SENT_TITLEprivate 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.report 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.report with parameters of type TextModifier and TypeMethodDescriptionvoidprivate voidChatReportScreen.showErrorScreen(Text message) Constructors in net.minecraft.client.gui.screen.report with parameters of type TextModifierConstructorDescriptionMessageEntry(int index, Text message, Text narration, @Nullable MessageIndicator indicator, boolean fromReportedPlayer, boolean isChatMessage) SenderEntry(com.mojang.authlib.GameProfile gameProfile, Text headingText, boolean fromReportedPlayer) -
Uses of Text in net.minecraft.client.gui.screen.world
Fields in net.minecraft.client.gui.screen.world declared as TextModifier and 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.tooltip
Fields in net.minecraft.client.gui.tooltip declared as TextMethods in net.minecraft.client.gui.tooltip with parameters of type TextModifier and TypeMethodDescriptionstatic Tooltipstatic Tooltipstatic List<OrderedText>Tooltip.wrapLines(MinecraftClient client, Text text) Constructors in net.minecraft.client.gui.tooltip with parameters of type Text -
Uses of Text in net.minecraft.client.gui.widget
Fields in net.minecraft.client.gui.widget declared as TextModifier and TypeFieldDescriptionprivate final TextPressableTextWidget.hoverTextprivate final TextButtonWidget.Builder.messageprivate TextClickableWidget.messageprivate final TextCyclingButtonWidget.optionTextprivate final TextEditBoxWidget.placeholderThe placeholder text that gets rendered when the edit box is empty.TextFieldWidget.placeholderprivate static final TextAlwaysSelectedEntryListWidget.SELECTION_USAGE_TEXTprivate final TextPressableTextWidget.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 ButtonWidget.BuilderButtonWidget.builder(Text message, ButtonWidget.PressAction onPress) static MultilineTextWidgetMultilineTextWidget.createCentered(int width, TextRenderer textRenderer, Text text) static MultilineTextWidgetMultilineTextWidget.createNonCentered(int width, TextRenderer textRenderer, Text text) static MutableTextClickableWidget.getNarrationMessage(Text message) static CyclingButtonWidget.Builder<Boolean>CyclingButtonWidget.onOffBuilder(Text on, Text off) Creates a builder for a cycling button widget that only has Boolean.TRUE and Boolean.FALSE values.voidClickableWidget.setMessage(Text message) voidTextFieldWidget.setPlaceholder(Text placeholder) 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.Constructors in net.minecraft.client.gui.widget with parameters of type TextModifierConstructorDescriptionBuilder(Text message, ButtonWidget.PressAction onPress) protectedButtonWidget(int x, int y, int width, int height, Text message, ButtonWidget.PressAction onPress, ButtonWidget.NarrationSupplier narrationSupplier) 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 int2, int int3, int int4, int int5, Text text) (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) protectedMultilineTextWidget(MultilineText multilineText, TextRenderer textRenderer, Text text, boolean centered) PressableTextWidget(int x, int y, int width, int height, Text text, ButtonWidget.PressAction onPress, TextRenderer textRenderer) PressableWidget(int int2, int int3, int int4, int int5, Text text) ScrollableWidget(int int2, int int3, int int4, int int5, Text text) 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, Text message) TextWidget(int x, int y, int width, int height, Text message, TextRenderer textRenderer) TextWidget(int width, int height, Text message, TextRenderer textRenderer) TextWidget(Text message, TextRenderer textRenderer) Constructor parameters in net.minecraft.client.gui.widget with type arguments of type TextModifierConstructorDescriptionCreates a builder.(package private)CyclingButtonWidget(int x, int y, int width, int height, Text message, Text optionText, int index, T value, CyclingButtonWidget.Values<T> values, Function<T, Text> valueToText, Function<CyclingButtonWidget<T>, MutableText> narrationMessageFactory, CyclingButtonWidget.UpdateCallback<T> callback, SimpleOption.TooltipFactory<T> tooltipFactory, boolean optionTextOmitted) -
Uses of Text in net.minecraft.client.network
Fields in net.minecraft.client.network declared as TextModifier and TypeFieldDescriptionprivate static final TextMultiplayerServerListPinger.CANNOT_CONNECT_TEXTprivate static final TextClientPlayNetworkHandler.CHAT_VALIDATION_FAILED_TEXTprivate static final TextClientPlayNetworkHandler.DISCONNECT_LOST_TEXTPlayerListEntry.displayNameprivate static final TextClientPlayNetworkHandler.INVALID_PACKET_TEXTServerInfo.labelprivate final TextServerInfo.ResourcePackPolicy.nameprivate static final TextBans.PERMANENT_TITLEServerInfo.playerCountLabelprivate static final TextBans.TEMPORARY_TITLEprivate static final TextClientPlayNetworkHandler.UNSECURE_SERVER_TOAST_TEXTprivate static final TextClientPlayNetworkHandler.UNSECURE_SERVER_TOAST_TITLEServerInfo.versionFields in net.minecraft.client.network with type parameters of type TextModifier and TypeFieldDescriptionServerInfo.playerListSummaryClientLoginNetworkHandler.statusConsumerMethods in net.minecraft.client.network that return TextModifier and 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()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) Methods in net.minecraft.client.network with parameters of type TextModifier and TypeMethodDescriptionprivate 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.voidClientPlayerEntity.sendMessage(Text message) Sends a system message.voidClientPlayerEntity.sendMessage(Text message, boolean overlay) Adds a message to this player's HUD.voidOtherClientPlayerEntity.sendMessage(Text message) Sends a system message.voidPlayerListEntry.setDisplayName(@Nullable Text displayName) (package private) voidMultiplayerServerListPinger.showError(Text error, ServerInfo info) Constructor parameters in net.minecraft.client.network with type arguments of type TextModifierConstructorDescriptionClientLoginNetworkHandler(ClientConnection connection, MinecraftClient client, @Nullable ServerInfo serverInfo, @Nullable Screen parentScreen, boolean newWorld, @Nullable Duration worldLoadTime, Consumer<Text> statusConsumer) -
Uses of Text in net.minecraft.client.network.message
Methods in net.minecraft.client.network.message with parameters of type TextModifier and TypeMethodDescriptionprivate voidMessageHandler.addToChatLog(Text message, Instant timestamp) private UUIDMessageHandler.extractSender(Text text) private MessageTrustStatusMessageHandler.getStatus(SignedMessage message, Text decorated, Instant receptionTimestamp) Returns the trust status ofmessage.static MessageTrustStatusMessageTrustStatus.getStatus(SignedMessage message, Text decorated, Instant receptionTimestamp) private static booleanMessageTrustStatus.isModified(SignedMessage message, Text decorated) private static booleanMessageTrustStatus.isNotInDefaultFont(Text content) private voidMessageHandler.narrate(MessageType.Parameters params, Text message) Narratesmessage.voidMessageHandler.onGameMessage(Text message, boolean overlay) Called when a game message is received.voidMessageHandler.onProfilelessMessage(Text content, MessageType.Parameters params) private booleanMessageHandler.processChatMessageInternal(MessageType.Parameters params, SignedMessage message, Text decorated, com.mojang.authlib.GameProfile sender, boolean onlyShowSecureChat, Instant receptionTimestamp) Processes a chat message. -
Uses of Text in net.minecraft.client.option
Fields in net.minecraft.client.option declared as TextModifier and TypeFieldDescriptionprivate static final TextGameOptions.ALLOW_SERVER_LISTING_TOOLTIPprivate static final TextGameOptions.BY_PLAYER_CHUNK_BUILDER_MODE_TOOLTIPprivate static final TextGameOptions.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.field_41783private 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()Returns the human-readable name of this mode.private static TextGameOptions.getPercentValueText(Text prefix, double value) private static TextGameOptions.getPixelValueText(Text prefix, int value) Methods in net.minecraft.client.option that return types with arguments of type TextMethods in net.minecraft.client.option with parameters of type TextModifier and TypeMethodDescriptionstatic <T> SimpleOption.TooltipFactory<T>SimpleOption.constantTooltip(Text text) Returns the getter for thetooltipFactoryGetterparameter of the constructor to indicate constant tooltips.static TextGameOptions.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) -
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 TextModifier and TypeMethodDescriptionvoidRepeatedNarrator.narrate(NarratorManager narratorManager, Text text) Constructors in net.minecraft.client.realms with parameters of type TextModifierConstructorDescription(package private)Parameters(Text text, RateLimiter rateLimiter) RealmsLabel(Text text, int x, int y, int color) -
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.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) voidvoidRealmsSelectWorldTemplateScreen.setWarning(Text[] warning) private voidConstructors 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.report
Fields in net.minecraft.client.report 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.report that return TextModifier and TypeMethodDescriptionAbuseReportReason.getDescription()private TextAbuseReportSender.Impl.getErrorText(com.mojang.authlib.exceptions.MinecraftClientException exception) private TextAbuseReportSender.Impl.getErrorText(com.mojang.authlib.exceptions.MinecraftClientHttpException exception) AbuseReportReason.getText()AbuseReportReason.getText(int banReasonId) ChatAbuseReport.ValidationError.message()Returns the value of themessagerecord component.Methods in net.minecraft.client.report with parameters of type TextConstructors in net.minecraft.client.report with parameters of type TextModifierConstructorDescriptionAbuseReportException(Text messageText, Throwable cause) ValidationError(Text text) -
Uses of Text in net.minecraft.client.report.log
Fields in net.minecraft.client.report.log declared as TextModifier and TypeFieldDescriptionprivate final TextReceivedMessage.GameMessage.messageThe field for themessagerecord component.Methods in net.minecraft.client.report.log that return TextModifier and TypeMethodDescriptionReceivedMessage.ChatMessage.getContent()Returns the content of the message.ReceivedMessage.GameMessage.getContent()Returns the content of the message.ReceivedMessage.getContent()Returns the content of the message.private TextReceivedMessage.ChatMessage.getFormattedTimestamp()Returns the formatted timestamp text of this message.ReceivedMessage.ChatMessage.getHeadingText()Returns the heading text used by Chat Selection screen.ReceivedMessage.ChatMessage.getNarration()Returns the narration of the message (by default, the content).default TextReceivedMessage.getNarration()Returns the narration of the message (by default, the content).ReceivedMessage.GameMessage.message()Returns the value of themessagerecord component.Methods in net.minecraft.client.report.log with parameters of type TextModifier and TypeMethodDescriptionstatic ReceivedMessage.GameMessageReturns the received message constructed from a game message's elements.Constructors in net.minecraft.client.report.log with parameters of type Text -
Uses of Text in net.minecraft.client.resource
Fields in net.minecraft.client.resource declared as TextModifier and TypeFieldDescriptionprivate static final TextServerResourcePackProvider.APPLYING_PACK_TEXTprivate static final TextServerResourcePackProvider.SERVER_NAME_TEXTprivate static final TextDefaultClientResourcePackProvider.VANILLA_NAME_TEXTFields in net.minecraft.client.resource with type parameters of type TextMethods in net.minecraft.client.resource that return TextModifier and TypeMethodDescriptionprotected TextDefaultClientResourcePackProvider.getProfileName(String id) Methods in net.minecraft.client.resource with parameters of type TextModifier and TypeMethodDescriptionprotected @Nullable ResourcePackProfileDefaultClientResourcePackProvider.create(String name, ResourcePackProfile.PackFactory packFactory, Text displayName) -
Uses of Text in net.minecraft.client.resource.language
Methods in net.minecraft.client.resource.language that return Text -
Uses of Text in net.minecraft.client.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 TextModifier and TypeFieldDescriptionstatic final TextNarratorManager.EMPTYAn empty text for narration.Fields in net.minecraft.client.util with type parameters of type TextModifier and TypeFieldDescriptionInputUtil.Key.localizedText(package private) final BiFunction<Integer,String, Text> InputUtil.Type.textTranslatorMethods in net.minecraft.client.util that return TextMethods in net.minecraft.client.util with parameters of type TextModifier and TypeMethodDescriptionvoidNarrates system text.voidNarratorManager.narrateChatMessage(Text text) Narrates a chat message.voidNarratorManager.narrateSystemMessage(Text text) Narrates a system message.Method parameters in net.minecraft.client.util with type arguments of type TextModifier and TypeMethodDescriptionstatic voidScreenshotRecorder.saveScreenshot(File gameDirectory, @Nullable String fileName, Framebuffer framebuffer, Consumer<Text> messageReceiver) static voidScreenshotRecorder.saveScreenshot(File gameDirectory, Framebuffer framebuffer, Consumer<Text> messageReceiver) private static voidScreenshotRecorder.saveScreenshotInner(File gameDirectory, @Nullable String fileName, Framebuffer framebuffer, Consumer<Text> messageReceiver) Constructor parameters in net.minecraft.client.util with type arguments of type Text -
Uses of Text in net.minecraft.command
Fields in net.minecraft.command declared as TextModifier and TypeFieldDescriptionprivate final TextEntitySelectorOptions.SelectorOption.descriptionThe field for thedescriptionrecord component.private final TextCommandException.messageMethods in net.minecraft.command that return TextModifier and TypeMethodDescriptionEntitySelectorOptions.SelectorOption.description()Returns the value of thedescriptionrecord component.BlockDataObject.feedbackGet(NbtPathArgumentType.NbtPath path, double scale, int result) DataCommandObject.feedbackGet(NbtPathArgumentType.NbtPath path, double scale, int result) EntityDataObject.feedbackGet(NbtPathArgumentType.NbtPath path, double scale, int result) StorageDataObject.feedbackGet(NbtPathArgumentType.NbtPath path, double scale, int result) BlockDataObject.feedbackModify()DataCommandObject.feedbackModify()EntityDataObject.feedbackModify()StorageDataObject.feedbackModify()BlockDataObject.feedbackQuery(NbtElement element) DataCommandObject.feedbackQuery(NbtElement element) EntityDataObject.feedbackQuery(NbtElement element) StorageDataObject.feedbackQuery(NbtElement element) static 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) Creates an instance of aSelectorOptionrecord class. -
Uses of Text in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return TextModifier and TypeMethodDescription(package private) TextMessageArgumentType.MessageFormat.format(ServerCommandSource source) MessageArgumentType.MessageFormat.format(ServerCommandSource source, boolean canUseSelectors) MessageArgumentType.MessageSelector.format(ServerCommandSource source) static TextMessageArgumentType.getMessage(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static TextTextArgumentType.getTextArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) TextArgumentType.parse(com.mojang.brigadier.StringReader stringReader) -
Uses of Text in net.minecraft.data
Methods in net.minecraft.data with parameters of type TextModifier and TypeMethodDescriptionstatic MetadataProviderMetadataProvider.create(DataOutput output, Text description) static MetadataProviderMetadataProvider.create(DataOutput output, Text description, FeatureSet requiredFeatures) -
Uses of Text in net.minecraft.enchantment
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()Returns the custom name of this object, ornullif there is none.protected TextEntity.getDefaultName()Returns the default name of the entity.Entity.getDisplayName()Returns the display name of this object.Entity.getName()Returns the name of this object.EntityType.getName()ItemEntity.getName()Returns the name of this object.private static TextEntity.removeClickEvents(Text textComponent) Methods in net.minecraft.entity with parameters of type TextModifier and TypeMethodDescriptionprivate static TextEntity.removeClickEvents(Text textComponent) voidEntity.sendMessage(Text message) Sends a system message.voidEntity.setCustomName(@Nullable Text name) Sets the custom name of the entity toname(ornullto remove the custom name). -
Uses of Text in net.minecraft.entity.boss
Fields in net.minecraft.entity.boss declared as TextMethods in net.minecraft.entity.boss that return TextMethods in net.minecraft.entity.boss with parameters of type TextModifier and TypeMethodDescriptionBossBarManager.add(Identifier id, Text displayName) voidWitherEntity.setCustomName(@Nullable Text name) Sets the custom name of the entity toname(ornullto remove the custom name).voidvoidConstructors in net.minecraft.entity.boss with parameters of type TextModifierConstructorDescriptionBossBar(UUID uuid, Text name, BossBar.Color color, BossBar.Style style) CommandBossBar(Identifier id, Text displayName) ServerBossBar(Text displayName, BossBar.Color color, BossBar.Style style) -
Uses of Text in net.minecraft.entity.damage
Methods in net.minecraft.entity.damage that return TextModifier and 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 TextModifier and TypeMethodDescriptionvoidVindicatorEntity.setCustomName(@Nullable Text name) Sets the custom name of the entity toname(ornullto remove the custom name). -
Uses of Text in net.minecraft.entity.passive
Fields in net.minecraft.entity.passive declared as TextMethods in net.minecraft.entity.passive that return TextModifier and TypeMethodDescriptionprotected TextVillagerEntity.getDefaultName()Returns the default name of the entity.TropicalFishEntity.Variety.getText() -
Uses of Text in net.minecraft.entity.player
Fields in net.minecraft.entity.player declared as TextMethods in net.minecraft.entity.player that return TextModifier and TypeMethodDescriptionPlayerEntity.getDisplayName()Returns the display name of this object.PlayerEntity.SleepFailureReason.getMessage()Returns the action bar message that is sent to the player when sleeping fails with this reason.PlayerEntity.getName()Returns the name of this object.PlayerInventory.getName()Returns the name of this object.Methods in net.minecraft.entity.player with parameters of type TextModifier and TypeMethodDescriptionvoidPlayerEntity.sendMessage(Text message, boolean overlay) Adds a message to this player's HUD.Constructors in net.minecraft.entity.player with parameters of type Text -
Uses of Text in net.minecraft.entity.vehicle
Fields in net.minecraft.entity.vehicle with type parameters of type TextModifier and TypeFieldDescription(package private) static final TrackedData<Text>CommandBlockMinecartEntity.LAST_OUTPUT -
Uses of Text in net.minecraft.item
Fields in net.minecraft.item declared as TextModifier and TypeFieldDescriptionprivate static final TextItemStack.DISABLED_TEXTprivate TextItemGroup.Builder.displayNameprivate final TextItemGroup.displayNameMethods 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()Returns the custom name of the stack if it exists, or the item's name.ItemStack.toHoverableText()Returns a text consisting of the bracketed stack name that can be hovered to show the item stack's tooltip.Methods in net.minecraft.item that return types with arguments of type TextModifier and TypeMethodDescriptionItemStack.getTooltip(@Nullable PlayerEntity player, TooltipContext context) private static Collection<Text>ItemStack.parseBlockTag(String tag) Methods in net.minecraft.item with parameters of type TextModifier and TypeMethodDescriptionItemGroup.Builder.displayName(Text displayName) private static voidDebugStickItem.sendMessage(PlayerEntity player, Text message) ItemStack.setCustomName(@Nullable Text name) Sets the custom name of this item stack toname.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) Called by the client to append tooltips to an item.voidBannerItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidBannerPatternItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidBlockItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidBundleItem.appendTooltip(ItemStack stack, World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidCrossbowItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidDiscFragmentItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidEnchantedBookItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidEntityBucketItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidFilledMapItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidFireworkRocketItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidFireworkStarItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidGoatHornItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidLingeringPotionItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidMusicDiscItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidPotionItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidShieldItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidSuspiciousStewItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidTippedArrowItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidWrittenBookItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.Constructors in net.minecraft.item with parameters of type TextModifierConstructorDescription(package private)ItemGroup(ItemGroup.Row row, int column, ItemGroup.Type type, Text displayName, Supplier<ItemStack> iconSupplier, ItemGroup.EntryCollector entryCollector) -
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.encryption
Fields in net.minecraft.network.encryption declared as TextModifier and TypeFieldDescriptionstatic final TextPlayerPublicKey.EXPIRED_PUBLIC_KEY_TEXTprivate static final TextPlayerPublicKey.INVALID_PUBLIC_KEY_SIGNATURE_TEXTConstructors in net.minecraft.network.encryption with parameters of type Text -
Uses of Text in net.minecraft.network.listener
Methods in net.minecraft.network.listener with parameters of type TextModifier and 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 TextSentMessage.Profileless.getContentThe field for thegetContentrecord component.private final TextMessageType.Parameters.nameThe field for thenamerecord component.private final TextMessageType.Serialized.nameThe field for thenamerecord component.MessageType.Parameters.targetNameThe field for thetargetNamerecord component.MessageType.Serialized.targetNameThe field for thetargetNamerecord component.SignedMessage.unsignedContentThe field for theunsignedContentrecord component.Methods in net.minecraft.network.message that return TextModifier and TypeMethodDescriptionMessageType.Parameters.applyChatDecoration(Text content) MessageType.Parameters.applyNarrationDecoration(Text content) SentMessage.Chat.getContent()SentMessage.getContent()SentMessage.Profileless.getContent()SignedMessage.getContent()FilterMask.getFilteredText(String message) MessageType.Parameters.name()Returns the value of thenamerecord component.MessageType.Serialized.name()Returns the value of thenamerecord component.MessageType.Parameters.targetName()Returns the value of thetargetNamerecord component.MessageType.Serialized.targetName()Returns the value of thetargetNamerecord component.SignedMessage.unsignedContent()Returns the value of theunsignedContentrecord component.Methods in net.minecraft.network.message that return types with arguments of type TextModifier and TypeMethodDescriptionMessageDecorator.decorate(@Nullable ServerPlayerEntity sender, Text message) Methods in net.minecraft.network.message with parameters of type TextModifier and TypeMethodDescriptionMessageType.Parameters.applyChatDecoration(Text content) MessageType.Parameters.applyNarrationDecoration(Text content) MessageDecorator.decorate(@Nullable ServerPlayerEntity sender, Text message) static MessageType.ParametersMessageType.params(RegistryKey<MessageType> typeKey, DynamicRegistryManager registryManager, Text name) MessageType.Parameters.withTargetName(Text targetName) Returns a new instance with the given target name.SignedMessage.withUnsignedContent(Text unsignedContent) Constructors in net.minecraft.network.message with parameters of type TextModifierConstructorDescriptionMessageChainException(Text message, boolean shouldDisconnect) (package private)Parameters(MessageType type, Text name) Parameters(MessageType messageType, Text text, @Nullable Text text2) Profileless(Text text) Serialized(int int2, Text text, @Nullable Text text2) SignedMessage(MessageLink messageLink, @Nullable MessageSignatureData messageSignatureData, MessageBody messageBody, @Nullable Text text, FilterMask filterMask) -
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.displayNameThe field for thedisplayNamerecord component.PlayerListS2CPacket.Serialized.displayNameprivate final TextScoreboardObjectiveUpdateS2CPacket.displayNameprivate final TextTeamS2CPacket.SerializableTeam.displayNameprivate final TextPlayerListHeaderS2CPacket.footerprivate final TextPlayerListHeaderS2CPacket.headerprivate final TextDeathMessageS2CPacket.messageprivate final TextOverlayMessageS2CPacket.messageprivate final TextProfilelessChatMessageS2CPacket.messageThe field for themessagerecord component.private final TextBossBarS2CPacket.AddAction.nameprivate final TextBossBarS2CPacket.UpdateNameAction.nameprivate final TextOpenScreenS2CPacket.nameprivate final TextTeamS2CPacket.SerializableTeam.prefixResourcePackSendS2CPacket.promptprivate final TextDisconnectS2CPacket.reasonprivate final TextSubtitleS2CPacket.subtitleprivate final TextTeamS2CPacket.SerializableTeam.suffixprivate final TextTitleS2CPacket.titleChatMessageS2CPacket.unsignedContentThe field for theunsignedContentrecord component.Fields in net.minecraft.network.packet.s2c.play with type parameters of type TextMethods in net.minecraft.network.packet.s2c.play that return TextModifier and TypeMethodDescriptionGameMessageS2CPacket.content()Returns the value of thecontentrecord component.PlayerListS2CPacket.Entry.displayName()Returns the value of thedisplayNamerecord component.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()ProfilelessChatMessageS2CPacket.message()Returns the value of themessagerecord component.ChatMessageS2CPacket.unsignedContent()Returns the value of theunsignedContentrecord component.Methods in net.minecraft.network.packet.s2c.play that return types with arguments of type TextMethods in net.minecraft.network.packet.s2c.play with parameters of type TextModifier and TypeMethodDescriptiondefault voidBossBarS2CPacket.Consumer.add(UUID uuid, Text name, float percent, BossBar.Color color, BossBar.Style style, boolean darkenSky, boolean dragonMusic, boolean thickenFog) default voidBossBarS2CPacket.Consumer.updateName(UUID uuid, Text name) Constructors in net.minecraft.network.packet.s2c.play with parameters of type TextModifierConstructorDescriptionChatMessageS2CPacket(UUID uUID, int int2, @Nullable MessageSignatureData messageSignatureData, MessageBody.Serialized serialized, @Nullable Text text, FilterMask filterMask, MessageType.Serialized serialized2) DeathMessageS2CPacket(int entityId, int killerId, Text message) DeathMessageS2CPacket(DamageTracker damageTracker, Text message) DisconnectS2CPacket(Text reason) Entry(UUID uUID, com.mojang.authlib.GameProfile gameProfile, boolean bool, int int2, GameMode gameMode, @Nullable Text text, PublicPlayerSession.Serialized serialized) GameMessageS2CPacket(Text text, boolean bool) OpenScreenS2CPacket(int syncId, ScreenHandlerType<?> type, Text name) OverlayMessageS2CPacket(Text message) PlayerListHeaderS2CPacket(Text header, Text footer) ProfilelessChatMessageS2CPacket(Text text, MessageType.Serialized serialized) 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) -
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.Metadata.descriptionThe field for thedescriptionrecord component.private final TextResourcePackProfile.displayNameprivate static final TextVanillaDataPackProvider.NAMEprivate final TextResourcePackCompatibility.notificationFields in net.minecraft.resource with type parameters of type TextModifier and TypeFieldDescriptionstatic final UnaryOperator<Text>ResourcePackSource.NONE_SOURCE_TEXT_SUPPLIERMethods in net.minecraft.resource that return TextModifier and TypeMethodDescriptionResourcePackProfile.Metadata.description()Returns the value of thedescriptionrecord component.ResourcePackCompatibility.getConfirmMessage()ResourcePackProfile.getDescription()ResourcePackProfile.getDisplayName()ResourcePackProfile.getInformationText(boolean enabled) ResourcePackCompatibility.getNotification()protected TextVanillaDataPackProvider.getProfileName(String id) protected abstract TextVanillaResourcePackProvider.getProfileName(String id) Methods in net.minecraft.resource that return types with arguments of type TextModifier and TypeMethodDescriptionprivate static UnaryOperator<Text>ResourcePackSource.getSourceTextSupplier(String translationKey) Methods in net.minecraft.resource with parameters of type TextModifier and TypeMethodDescriptionstatic @Nullable ResourcePackProfileResourcePackProfile.create(String name, Text displayName, boolean alwaysEnabled, ResourcePackProfile.PackFactory packFactory, ResourceType type, ResourcePackProfile.InsertionPosition position, ResourcePackSource source) protected @Nullable ResourcePackProfileVanillaDataPackProvider.create(String name, ResourcePackProfile.PackFactory packFactory, Text displayName) protected abstract @Nullable ResourcePackProfileVanillaResourcePackProvider.create(String name, ResourcePackProfile.PackFactory packFactory, Text displayName) static ResourcePackProfileResourcePackProfile.of(String name, Text displayName, boolean alwaysEnabled, ResourcePackProfile.PackFactory packFactory, ResourcePackProfile.Metadata metadata, ResourceType type, ResourcePackProfile.InsertionPosition position, boolean pinned, ResourcePackSource source) Creates a resource pack profile from the given parameters.Method parameters in net.minecraft.resource with type arguments of type TextModifier and TypeMethodDescriptionstatic ResourcePackSourceResourcePackSource.create(UnaryOperator<Text> sourceTextSupplier, boolean canBeEnabledLater) Constructors in net.minecraft.resource with parameters of type TextModifierConstructorDescriptionMetadata(Text text, int int2, FeatureSet featureSet) privateResourcePackProfile(String name, boolean alwaysEnabled, ResourcePackProfile.PackFactory packFactory, Text displayName, ResourcePackProfile.Metadata metadata, ResourcePackCompatibility compatibility, ResourcePackProfile.InsertionPosition position, boolean pinned, 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.field_41873static final TextScreenTexts.field_41874static 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.descriptionstatic final TextPlayerManager.FILTERED_FULL_TEXTMinecraftServer.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 TypeMethodDescriptionvoidBroadcasts a message to all players and the server console.voidPlayerManager.broadcast(Text message, Function<ServerPlayerEntity, Text> playerMessageFactory, boolean overlay) Broadcasts a message to all players and the server console.voidMinecraftServer.logChatMessage(Text message, MessageType.Parameters params, @Nullable String prefix) voidMinecraftServer.sendMessage(Text message) Sends a system message.voidPlayerManager.sendToOtherTeams(PlayerEntity source, Text message) voidPlayerManager.sendToTeam(PlayerEntity source, Text message) 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, boolean overlay) 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 TextModifier and TypeMethodDescriptionServerCommandSource.getDisplayName()private static TextAttributeCommand.getName(RegistryEntry<EntityAttribute> attribute) Methods in net.minecraft.server.command with parameters of type TextModifier and TypeMethodDescriptionprivate static intBossBarCommand.addBossBar(ServerCommandSource source, Identifier name, Text displayName) private static intKickCommand.execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Text reason) private static intTeamCommand.executeAdd(ServerCommandSource source, String team, Text displayName) private static intScoreboardCommand.executeAddObjective(ServerCommandSource source, String objective, ScoreboardCriterion criteria, Text displayName) private static intTeamCommand.executeModifyDisplayName(ServerCommandSource source, Team team, Text displayName) private static intScoreboardCommand.executeModifyObjective(ServerCommandSource source, ScoreboardObjective objective, Text displayName) private static intTeamCommand.executeModifyPrefix(ServerCommandSource source, Team team, Text prefix) private static intTeamCommand.executeModifySuffix(ServerCommandSource source, Team team, Text suffix) private static intRaidCommand.executeSound(ServerCommandSource source, @Nullable 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.voidServerCommandSource.sendMessage(Text message) Sendsmessageas the feedback to the command's executor, or to the server's log if the command is not executed by a player.private voidprivate static intBossBarCommand.setName(ServerCommandSource source, CommandBossBar bossBar, Text name) Method parameters in net.minecraft.server.command with type arguments of type TextModifier and TypeMethodDescriptionprivate static intListCommand.execute(ServerCommandSource source, Function<ServerPlayerEntity, Text> nameProvider) private static intTitleCommand.executeTitle(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Text title, String titleType, Function<Text, Packet<?>> constructor) 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, SignedCommandArguments signedArguments, FutureQueue messageChainTaskQueue) -
Uses of Text in net.minecraft.server.dedicated
Methods in net.minecraft.server.dedicated that return Text -
Uses of Text in net.minecraft.server.dedicated.command
Methods in net.minecraft.server.dedicated.command with parameters of type TextModifier and TypeMethodDescriptionprivate static intBanCommand.ban(ServerCommandSource source, Collection<com.mojang.authlib.GameProfile> targets, @Nullable Text reason) private static intBanIpCommand.banIp(ServerCommandSource source, String targetIp, @Nullable Text reason) private static intBanIpCommand.checkIp(ServerCommandSource source, String target, @Nullable Text reason) -
Uses of Text in net.minecraft.server.function
Fields in net.minecraft.server.function declared as 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 TextServerPlayNetworkHandler.CHAT_VALIDATION_FAILED_TEXTprivate static final TextServerHandshakeNetworkHandler.IGNORING_STATUS_REQUEST_MESSAGEprivate static final TextServerQueryNetworkHandler.REQUEST_HANDLEDMethods in net.minecraft.server.network that return TextMethods 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.voidServerPlayerEntity.sendMessage(Text message) Sends a system message.voidServerPlayerEntity.sendMessage(Text message, boolean overlay) Adds a message to this player's HUD.voidServerPlayerEntity.sendMessageToClient(Text message, boolean overlay) voidServerPlayNetworkHandler.sendProfilelessChatMessage(Text message, MessageType.Parameters params) voidServerPlayerEntity.sendResourcePackUrl(String url, String hash, boolean required, @Nullable Text resourcePackPrompt) -
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, MessageType.Parameters params) Returns the text obtained by applying the passed values to the decoration.Decoration.Parameter.apply(Text content, MessageType.Parameters params) Returns the text obtained by applying the passed values to the parameter.private Text[]Decoration.collectArguments(Text content, MessageType.Parameters params) Returns the arguments passed totranslatable(String, Object[]).private TextKeybindTextContent.getTranslated()static TextTexts.join(Collection<? extends Text> texts, Text separator) static <T> TextTexts.join(Collection<? extends T> elements, Function<T, Text> transformer) static TextTexts.joinOrdered(Collection<String> strings) static <T extends Comparable<T>>
TextTexts.joinOrdered(Collection<T> elements, Function<T, Text> transformer) static TextCreates a literal text with the given string as content.Decoration.Parameter.Selector.select(Text content, MessageType.Parameters params) 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) Text.withoutStyle()Methods in net.minecraft.text with parameters of type TextModifier and TypeMethodDescriptionAppends a text to this text's siblings.Decoration.apply(Text content, MessageType.Parameters params) Returns the text obtained by applying the passed values to the decoration.Decoration.Parameter.apply(Text content, MessageType.Parameters params) Returns the text obtained by applying the passed values to the parameter.static MutableTextHoverEvent.Action.buildHoverEvent(Text value) private Text[]Decoration.collectArguments(Text content, MessageType.Parameters params) Returns the arguments passed totranslatable(String, Object[]).default booleanReturns whether the text containstext, without considering styles.static booleanTexts.hasTranslation(@Nullable Text text) static TextTexts.join(Collection<? extends Text> texts, Text separator) static <T> MutableTextTexts.join(Collection<? extends T> elements, Text separator, Function<T, Text> transformer) private static @Nullable HoverEvent.ItemStackContentstatic MutableTextDecoration.Parameter.Selector.select(Text content, MessageType.Parameters params) 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()Returns the custom name of this object, ornullif there is none.default TextNameable.getDisplayName()Returns the display name of this object.TextifiedException.getMessageText()Returns the exception's message text.BlockMirror.getName()Nameable.getName()Returns the name of this object.default TextTranslatableOption.getText()Methods in net.minecraft.util with parameters of type TextConstructors in net.minecraft.util with parameters of type TextModifierConstructorDescriptionTextifiedException(Text messageText) TextifiedException(Text messageText, Throwable cause) -
Uses of Text in net.minecraft.util.dynamic
Fields in net.minecraft.util.dynamic with type parameters of type Text -
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