Uses of Interface
net.minecraft.text.Text
Packages that use Text
Package
Description
Contains the screen narrator for building
narration messages.
The Named Binary Tag (NBT) data format.
Provides resources to Minecraft, including resource access, provision, and reloading.
Contains utility method classes, various enums, serialization helpers, and
miscellaneous classes.
-
Uses of Text in net.minecraft.advancement
Fields in net.minecraft.advancement declared as TextModifier and TypeFieldDescriptionprivate final Text
AdvancementDisplay.description
private final Text
AdvancementDisplay.title
private final Text
AdvancementFrame.toastText
Fields in net.minecraft.advancement with type parameters of type TextMethods in net.minecraft.advancement that return TextModifier and TypeMethodDescriptionprivate static Text
Advancement.createNameFromDisplay
(AdvancementDisplay display) AdvancementDisplay.getDescription()
static Text
Advancement.getNameFromIdentity
(AdvancementEntry identifiedAdvancement) AdvancementProgress.getProgressBarFraction()
AdvancementDisplay.getTitle()
AdvancementFrame.getToastText()
Methods in net.minecraft.advancement that return types with arguments of type TextModifier and TypeMethodDescriptionAdvancement.name()
Returns the value of thename
record component.Methods in net.minecraft.advancement with parameters of type TextModifier and TypeMethodDescriptionAdvancement.Builder.display
(ItemConvertible icon, Text title, Text description, @Nullable Identifier background, AdvancementFrame frame, boolean showToast, boolean announceToChat, boolean hidden) Advancement.Builder.display
(ItemStack icon, Text title, Text description, @Nullable Identifier background, AdvancementFrame frame, boolean showToast, boolean announceToChat, boolean hidden) Constructors in net.minecraft.advancement with parameters of type TextModifierConstructorDescriptionAdvancementDisplay
(ItemStack icon, Text title, Text description, Optional<Identifier> background, AdvancementFrame frame, boolean showToast, boolean announceToChat, boolean hidden) -
Uses of Text in net.minecraft.block
Fields in net.minecraft.block declared as TextModifier and TypeFieldDescriptionprivate static final Text
EnderChestBlock.CONTAINER_NAME
private static final Text
SmithingTableBlock.SCREEN_TITLE
private static final Text
AnvilBlock.TITLE
private static final Text
CartographyTableBlock.TITLE
private static final Text
CraftingTableBlock.TITLE
private static final Text
GrindstoneBlock.TITLE
private static final Text
LoomBlock.TITLE
private static final Text
StonecutterBlock.TITLE
private static final Text
ShulkerBoxBlock.UNKNOWN_CONTENTS_TEXT
Method parameters in net.minecraft.block with type arguments of type TextModifier and TypeMethodDescriptionvoid
BeehiveBlock.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType options) Appends tooltips to a stack of this block's corresponding block item.void
Block.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType options) Appends tooltips to a stack of this block's corresponding block item.void
DecoratedPotBlock.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType options) Appends tooltips to a stack of this block's corresponding block item.void
ShulkerBoxBlock.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType options) Appends tooltips to a stack of this block's corresponding block item.void
SpawnerBlock.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType options) Appends tooltips to a stack of this block's corresponding block item.void
TrialSpawnerBlock.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType options) Appends tooltips to a stack of this block's corresponding block item. -
Uses of Text in net.minecraft.block.entity
Fields in net.minecraft.block.entity declared as TextModifier and TypeFieldDescriptionprivate static final Text
BeaconBlockEntity.CONTAINER_NAME_TEXT
BannerBlockEntity.customName
BeaconBlockEntity.customName
EnchantingTableBlockEntity.customName
LockableContainerBlockEntity.customName
SkullBlockEntity.customName
private final Text[]
SignText.filteredMessages
private final Text[]
SignText.messages
Methods in net.minecraft.block.entity that return TextModifier and TypeMethodDescriptionJigsawBlockEntity.Joint.asText()
protected Text
BarrelBlockEntity.getContainerName()
protected Text
BlastFurnaceBlockEntity.getContainerName()
protected Text
BrewingStandBlockEntity.getContainerName()
protected Text
ChestBlockEntity.getContainerName()
protected Text
CrafterBlockEntity.getContainerName()
protected Text
DispenserBlockEntity.getContainerName()
protected Text
DropperBlockEntity.getContainerName()
protected Text
FurnaceBlockEntity.getContainerName()
protected Text
HopperBlockEntity.getContainerName()
protected abstract Text
LockableContainerBlockEntity.getContainerName()
protected Text
ShulkerBoxBlockEntity.getContainerName()
protected Text
SmokerBlockEntity.getContainerName()
BannerBlockEntity.getCustomName()
Returns the custom name of this object, ornull
if there is none.BeaconBlockEntity.getCustomName()
Returns the custom name of this object, ornull
if there is none.EnchantingTableBlockEntity.getCustomName()
Returns the custom name of this object, ornull
if there is none.LockableContainerBlockEntity.getCustomName()
Returns the custom name of this object, ornull
if there is none.private static Text[]
SignText.getDefaultText()
BeaconBlockEntity.getDisplayName()
Returns the title of this screen handler; will be a part of the open screen packet sent to the client.LecternBlockEntity.getDisplayName()
Returns the title of this screen handler; will be a part of the open screen packet sent to the client.LockableContainerBlockEntity.getDisplayName()
Returns the title of this screen handler; will be a part of the open screen packet sent to the client.SignText.getMessage
(int line, boolean filtered) Text[]
SignText.getMessages
(boolean filtered) BannerBlockEntity.getName()
Returns the name of this object.BeaconBlockEntity.getName()
Returns the name of this object.EnchantingTableBlockEntity.getName()
Returns the name of this object.LockableContainerBlockEntity.getName()
Returns the name of this object.Spawner.getSpawnedEntityText
(ItemStack stack, String spawnDataKey) private Text
BlockEntity.tryParseCustomName
(String json, RegistryWrapper.WrapperLookup registries) Methods in net.minecraft.block.entity with parameters of type TextModifier and TypeMethodDescriptionstatic boolean
LockableContainerBlockEntity.checkUnlocked
(PlayerEntity player, ContainerLock lock, Text containerName) private static SignText
SignText.create
(Text[] messages, Optional<Text[]> filteredMessages, DyeColor color, boolean glowing) private Text
void
BeaconBlockEntity.setCustomName
(@Nullable Text customName) void
EnchantingTableBlockEntity.setCustomName
(@Nullable Text customName) SignText.withMessage
(int line, Text message) SignText.withMessage
(int line, Text message, Text filteredMessage) Method parameters in net.minecraft.block.entity with type arguments of type TextModifier and TypeMethodDescriptionstatic void
Spawner.appendSpawnDataToTooltip
(ItemStack stack, List<Text> tooltip, String spawnDataKey) SignText.getOrderedMessages
(boolean filtered, Function<Text, OrderedText> messageOrderer) Constructors in net.minecraft.block.entity with parameters of type Text -
Uses of Text in net.minecraft.block.enums
Fields in net.minecraft.block.enums declared as TextMethods in net.minecraft.block.enums that return Text -
Uses of Text in net.minecraft.block.jukebox
Fields in net.minecraft.block.jukebox declared as TextModifier and TypeFieldDescriptionprivate final Text
JukeboxSong.description
The field for thedescription
record component.Methods in net.minecraft.block.jukebox that return TextModifier and TypeMethodDescriptionJukeboxSong.description()
Returns the value of thedescription
record component.Constructors in net.minecraft.block.jukebox with parameters of type TextModifierConstructorDescriptionJukeboxSong
(RegistryEntry<SoundEvent> registryEntry, Text text, float float2, int int2) -
Uses of Text in net.minecraft.client
Fields in net.minecraft.client declared as TextModifier and TypeFieldDescriptionprivate final Text
MinecraftClient.ChatRestriction.description
private static final Text
QuickPlay.ERROR_INVALID_IDENTIFIER
private static final Text
QuickPlay.ERROR_REALM_CONNECT
private static final Text
QuickPlay.ERROR_REALM_PERMISSION
static final Text
QuickPlay.ERROR_TITLE
(package private) static final Text
MinecraftClient.ChatRestriction.MORE_INFO_TEXT
private static final Text
MinecraftClient.SOCIAL_INTERACTIONS_NOT_AVAILABLE
private static final Text
QuickPlay.TO_REALMS
private static final Text
QuickPlay.TO_TITLE
private static final Text
QuickPlay.TO_WORLD
Methods in net.minecraft.client that return TextModifier and TypeMethodDescriptionMinecraftClient.ChatRestriction.getDescription()
private Text
MinecraftClient.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 void
Keyboard.addDebugMessage
(Formatting formatting, Text text) private void
void
MinecraftClient.onResourceReloadFailure
(Throwable exception, @Nullable Text resourceName, @Nullable MinecraftClient.LoadingContext loadingContext) private void
MinecraftClient.showResourceReloadFailureToast
(@Nullable Text description) Method parameters in net.minecraft.client with type arguments of type TextModifier and TypeMethodDescriptionboolean
MinecraftClient.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 MultilineText
MultilineText.create
(TextRenderer renderer, int maxWidth, int maxLines, Text[] texts) static MultilineText
MultilineText.create
(TextRenderer renderer, int maxWidth, Text[] texts) static MultilineText
MultilineText.create
(TextRenderer renderer, Text[] texts) static MultilineText
MultilineText.create
(TextRenderer renderer, Text text, int maxWidth) int
TextRenderer.draw
(Text text, float x, float y, int color, boolean shadow, Matrix4f matrix, VertexConsumerProvider vertexConsumers, TextRenderer.TextLayerType layerType, int backgroundColor, int light) int
TextRenderer.draw
(Text text, float x, float y, int color, boolean shadow, Matrix4f matrix, VertexConsumerProvider vertexConsumers, TextRenderer.TextLayerType layerType, int backgroundColor, int light, boolean swapZIndex) -
Uses of Text in net.minecraft.client.gui
Methods in net.minecraft.client.gui with parameters of type TextModifier and TypeMethodDescriptionvoid
DrawContext.drawCenteredTextWithShadow
(TextRenderer textRenderer, Text text, int centerX, int y, int color) int
DrawContext.drawText
(TextRenderer textRenderer, Text text, int x, int y, int color, boolean shadow) int
DrawContext.drawTextWithBackground
(TextRenderer textRenderer, Text text, int x, int y, int width, int color) int
DrawContext.drawTextWithShadow
(TextRenderer textRenderer, Text text, int x, int y, int color) void
DrawContext.drawTooltip
(TextRenderer textRenderer, Text text, int x, int y) void
DrawContext.drawTooltip
(TextRenderer textRenderer, Text text, int x, int y, @Nullable Identifier texture) Method parameters in net.minecraft.client.gui with type arguments of type TextModifier and TypeMethodDescriptionvoid
DrawContext.drawTooltip
(TextRenderer textRenderer, List<Text> text, int x, int y) void
DrawContext.drawTooltip
(TextRenderer textRenderer, List<Text> text, int x, int y, @Nullable Identifier texture) void
DrawContext.drawTooltip
(TextRenderer textRenderer, List<Text> text, Optional<TooltipData> data, int x, int y) void
DrawContext.drawTooltip
(TextRenderer textRenderer, List<Text> text, Optional<TooltipData> data, int x, int y, @Nullable Identifier texture) -
Uses of Text in net.minecraft.client.gui.hud
Fields in net.minecraft.client.gui.hud declared as TextModifier and TypeFieldDescriptionprivate final Text
ChatHudLine.content
The field for thecontent
record component.private static final Text
ChatHud.DELETED_MARKER_TEXT
private static final Text
InGameHud.DEMO_EXPIRED_MESSAGE
private static final Text
MessageIndicator.ERROR_TEXT
PlayerListHud.footer
PlayerListHud.ScoreDisplayEntry.formattedScore
The field for theformattedScore
record component.PlayerListHud.header
private static final Text
MessageIndicator.MODIFIED_TEXT
private final Text
PlayerListHud.ScoreDisplayEntry.name
The field for thename
record component.private static final Text
MessageIndicator.NOT_SECURE_TEXT
InGameHud.overlayMessage
private static final Text
InGameHud.SAVING_LEVEL_TEXT
private static final Text
MessageIndicator.SINGLE_PLAYER_TEXT
InGameHud.subtitle
private static final Text
MessageIndicator.SYSTEM_TEXT
MessageIndicator.text
The field for thetext
record component.private final Text
SubtitlesHud.SubtitleEntry.text
InGameHud.title
Methods in net.minecraft.client.gui.hud that return TextModifier and TypeMethodDescriptionprivate Text
PlayerListHud.applyGameModeFormatting
(PlayerListEntry entry, MutableText name) Italicizes the given text if the given player is in spectator mode.ChatHudLine.content()
Returns the value of thecontent
record component.PlayerListHud.ScoreDisplayEntry.formattedScore()
Returns the value of theformattedScore
record component.PlayerListHud.getPlayerName
(PlayerListEntry entry) Returns the player name rendered by this HUD.SubtitlesHud.SubtitleEntry.getText()
PlayerListHud.ScoreDisplayEntry.name()
Returns the value of thename
record component.MessageIndicator.text()
Returns the value of thetext
record component.Methods in net.minecraft.client.gui.hud with parameters of type TextModifier and TypeMethodDescriptionvoid
ChatHud.addMessage
(Text message) void
ChatHud.addMessage
(Text message, @Nullable MessageSignatureData signatureData, @Nullable MessageIndicator indicator) void
void
void
InGameHud.setOverlayMessage
(Text message, boolean tinted) void
InGameHud.setRecordPlayingOverlay
(Text description) void
InGameHud.setSubtitle
(Text subtitle) void
Constructors in net.minecraft.client.gui.hud with parameters of type TextModifierConstructorDescriptionChatHudLine
(int creationTick, Text text, @Nullable MessageSignatureData messageSignatureData, @Nullable MessageIndicator messageIndicator) ClientBossBar
(UUID uuid, Text name, float percent, BossBar.Color color, BossBar.Style style, boolean darkenSky, boolean dragonMusic, boolean thickenFog) MessageIndicator
(int int2, @Nullable MessageIndicator.Icon icon, @Nullable Text text, @Nullable String string) (package private)
ScoreDisplayEntry
(Text text, int int2, @Nullable Text text2, int int3) SubtitleEntry
(Text text, float range, Vec3d pos) -
Uses of Text in net.minecraft.client.gui.hud.spectator
Fields in net.minecraft.client.gui.hud.spectator declared as TextModifier and TypeFieldDescription(package private) static final Text
SpectatorMenu.CLOSE_TEXT
private final Text
TeleportToSpecificPlayerSpectatorCommand.name
(package private) static final Text
SpectatorMenu.NEXT_PAGE_TEXT
(package private) static final Text
SpectatorMenu.PREVIOUS_PAGE_TEXT
private static final Text
RootSpectatorCommandGroup.PROMPT_TEXT
private static final Text
TeamTeleportSpectatorMenu.PROMPT_TEXT
private static final Text
TeleportSpectatorMenu.PROMPT_TEXT
private static final Text
TeamTeleportSpectatorMenu.TEAM_TELEPORT_TEXT
private static final Text
TeleportSpectatorMenu.TELEPORT_TEXT
Methods 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 Text
GameMenuScreen.ADVANCEMENTS_TEXT
private static final Text
OpenToLanScreen.ALLOW_COMMANDS_TEXT
private final Text
DisconnectedScreen.buttonLabel
private final Text
NoticeScreen.buttonText
WarningScreen.checkMessage
private final Text
TaskScreen.closeButtonText
private static final Text
ConfirmLinkScreen.COPY
private static final Text
TitleScreen.COPYRIGHT
TaskScreen.descriptionText
private final Text
StatsScreen.GeneralStatsListWidget.Entry.displayName
private static final Text
StatsScreen.DOWNLOADING_STATS_TEXT
private final Text
StatsScreen.EntityStatsListWidget.Entry.entityTypeName
private static final Text
GameMenuScreen.FEEDBACK_TEXT
private static final Text
OpenToLanScreen.GAME_MODE_TEXT
private static final Text
GameMenuScreen.GAME_TEXT
private static final Text
StatsScreen.GENERAL_BUTTON_TEXT
private static final Text
OpenToLanScreen.INVALID_PORT_TEXT
private static final Text
StatsScreen.ITEM_BUTTON_TEXT
private final Text
StatsScreen.EntityStatsListWidget.Entry.killedByText
private final Text
StatsScreen.EntityStatsListWidget.Entry.killedText
private final Text
ConfirmScreen.message
private final Text
DeathScreen.message
(package private) final Text
DialogScreen.ChoiceButton.message
private final Text
FatalErrorScreen.message
private Text
PopupScreen.Builder.message
private final Text
PopupScreen.Button.message
The field for themessage
record component.private final Text
PopupScreen.message
private static final Text
OutOfMemoryScreen.MESSAGE
private final Text
WarningScreen.messageText
private static final Text
StatsScreen.MOBS_BUTTON_TEXT
private final Text
WarningScreen.narratedText
private final Text
DialogScreen.narrationMessage
private static final Text
AccessibilityOnboardingScreen.NARRATOR_PROMPT
private static final Text
TitleScreen.NARRATOR_SCREEN_TITLE
(package private) static final Text
StatsScreen.NONE_TEXT
protected Text
ConfirmScreen.noText
private final Text
NoticeScreen.notice
private static final Text
DisconnectedScreen.OPEN_REPORT_DIR_TEXT
private static final Text
GameMenuScreen.OPTIONS_TEXT
private static final Text
OpenToLanScreen.OTHER_PLAYERS_TEXT
private static final Text
GameMenuScreen.PAUSED_TEXT
private static final Text
GameMenuScreen.PLAYER_REPORTING_TEXT
private static final Text
OpenToLanScreen.PORT_TEXT
private static final Text
GameMenuScreen.REPORT_BUGS_TEXT
private static final Text
DisconnectedScreen.REPORT_TO_SERVER_TEXT
private static final Text
GameMenuScreen.RETURN_TO_GAME_TEXT
private static final Text
GameMenuScreen.RETURN_TO_MENU_TEXT
private static final Text
GameMenuScreen.SAVING_LEVEL_TEXT
private Text
DeathScreen.scoreText
private static final Text
Screen.SCREEN_USAGE_TEXT
private static final Text
GameModeSelectionScreen.SELECT_NEXT_TEXT
private static final Text
GameMenuScreen.SEND_FEEDBACK_TEXT
private static final Text
CreditsScreen.SEPARATOR_LINE
private static final Text
GameMenuScreen.SERVER_LINKS_TEXT
private static final Text
GameMenuScreen.SHARE_TO_LAN_TEXT
private static final Text
GameMenuScreen.STATS_TEXT
ProgressScreen.task
(package private) final Text
GameModeSelectionScreen.GameModeSelection.text
private static final Text
DownloadingTerrainScreen.TEXT
private final Text
PopupScreen.Builder.title
ProgressScreen.title
protected final Text
Screen.title
private static final Text
GameMenuScreen.FeedbackScreen.TITLE
private static final Text
OutOfMemoryScreen.TITLE
private static final Text
ServerLinksScreen.TITLE
private static final Text
AccessibilityOnboardingScreen.TITLE_TEXT
private static final Text
StatsScreen.TITLE_TEXT
private static final Text
DisconnectedScreen.TO_MENU_TEXT
private static final Text
DisconnectedScreen.TO_TITLE_TEXT
private static final Text
OpenToLanScreen.UNAVAILABLE_PORT_TEXT
private static final Text
ChatScreen.USAGE_TEXT
private static final Text
ConfirmLinkScreen.WARNING
protected Text
ConfirmScreen.yesText
Fields in net.minecraft.client.gui.screen with type parameters of type TextMethods in net.minecraft.client.gui.screen that return TextModifier and TypeMethodDescriptionTitleScreen.getMultiplayerDisabledText()
ConfirmScreen.getNarratedTitle()
DialogScreen.getNarratedTitle()
DisconnectedScreen.getNarratedTitle()
NoticeScreen.getNarratedTitle()
PopupScreen.getNarratedTitle()
Screen.getNarratedTitle()
TaskScreen.getNarratedTitle()
WarningScreen.getNarratedTitle()
ChatInputSuggestor.getNarration()
(package private) Text
ChatInputSuggestor.SuggestionWindow.getNarration()
StatsScreen.EntityStatsListWidget.Entry.getNarration()
StatsScreen.GeneralStatsListWidget.Entry.getNarration()
StatsScreen.ItemStatsListWidget.Entry.getNarration()
ChatInputSuggestor.getSuggestionUsageNarrationText()
(package private) Text
GameModeSelectionScreen.GameModeSelection.getText()
Screen.getTitle()
protected Text
Screen.getUsageNarrationText()
PopupScreen.Button.message()
Returns the value of themessage
record component.OpenToLanScreen.updatePort
(String portText) Methods in net.minecraft.client.gui.screen that return types with arguments of type TextModifier and TypeMethodDescriptionScreen.getTooltipFromItem
(MinecraftClient client, ItemStack stack) Methods in net.minecraft.client.gui.screen with parameters of type TextModifier and TypeMethodDescriptionprivate void
PopupScreen.Builder.button
(Text message, Consumer<PopupScreen> action) private ButtonWidget
GameMenuScreen.createButton
(Text text, Supplier<Screen> screenSupplier) static TaskScreen
TaskScreen.createResultScreen
(Text title, Text descriptionText, Text closeButtonText, Runnable closeCallback) Returns a new screen to indicate a task has finished running.static TaskScreen
TaskScreen.createRunningScreen
(Text title, Text closeButtonText, Runnable closeCallback) Returns a new screen to indicate a task is running.private static ButtonWidget
GameMenuScreen.createUrlButton
(Screen parent, Text text, URI uri) void
void
void
ProgressScreen.setTitleAndTask
(Text title) void
Screen.setTooltip
(Text tooltip) Constructors in net.minecraft.client.gui.screen with parameters of type TextModifierConstructorDescription(package private)
Button
(Text text, Consumer<PopupScreen> consumer) ChoiceButton
(Text message, ButtonWidget.PressAction pressAction) ConfirmLinkScreen
(BooleanConsumer callback, Text title, String link, boolean linkTrusted) ConfirmLinkScreen
(BooleanConsumer callback, Text title, URI link, boolean linkTrusted) ConfirmLinkScreen
(BooleanConsumer callback, Text title, Text message, String link, Text noText, boolean linkTrusted) ConfirmLinkScreen
(BooleanConsumer callback, Text title, Text message, URI link, Text noText, boolean linkTrusted) ConfirmScreen
(BooleanConsumer callback, Text title, Text message) ConfirmScreen
(BooleanConsumer callback, Text title, Text message, Text yesText, Text noText) DeathScreen
(@Nullable Text message, boolean isHardcore) protected
DialogScreen
(Text title, List<Text> messages, ImmutableList<DialogScreen.ChoiceButton> choiceButtons) DisconnectedScreen
(Screen parent, Text title, DisconnectionInfo info) DisconnectedScreen
(Screen parent, Text title, DisconnectionInfo info, Text buttonLabel) DisconnectedScreen
(Screen parent, Text title, Text reason) DisconnectedScreen
(Screen parent, Text title, Text reason, Text buttonLabel) FatalErrorScreen
(Text title, Text message) private
GameModeSelection
(Text text, String command, ItemStack icon) MessageScreen
(Text title) NoticeScreen
(Runnable actionHandler, Text title, Text notice) NoticeScreen
(Runnable actionHandler, Text title, Text notice, Text buttonText, boolean shouldCloseOnEsc) (package private)
PopupScreen
(Screen backgroundScreen, int width, @Nullable Identifier image, Text title, Text message, List<PopupScreen.Button> buttons, @Nullable Runnable onClosed) ReconfiguringScreen
(Text title, ClientConnection connection) protected
protected
TaskScreen
(Text title, @Nullable Text descriptionText, Text closeButtonText, Runnable closeCallback, int buttonCooldown) TitleScreenConfirmScreen
(BooleanConsumer callback, Text title, Text message, Text yesText, Text noText) protected
protected
WarningScreen
(Text header, Text message, Text narratedText) Constructor parameters in net.minecraft.client.gui.screen with type arguments of type TextModifierConstructorDescriptionprotected
DialogScreen
(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 Text
AdvancementsScreen.ADVANCEMENTS_TEXT
private static final Text
AdvancementsScreen.EMPTY_TEXT
private static final Text
AdvancementsScreen.SAD_LABEL_TEXT
private final Text
AdvancementTab.title
Methods 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 Text
AbstractCommandBlockScreen.COMMAND_TEXT
private static final Text
StructureBlockScreen.CUSTOM_DATA_TEXT
private static final Text
CreativeInventoryScreen.DELETE_ITEM_SLOT_TEXT
private static final Text
MerchantScreen.DEPRECATED_TEXT
private static final Text
StructureBlockScreen.DETECT_SIZE_TEXT
private static final Text
BookEditScreen.EDIT_TITLE_TEXT
private static final Text
SmithingScreen.ERROR_TOOLTIP
private static final Text
JigsawBlockScreen.FINAL_STATE_TEXT
private static final Text
BookEditScreen.FINALIZE_WARNING_TEXT
private static final Text
StructureBlockScreen.INCLUDE_ENTITIES_TEXT
private static final Text
StructureBlockScreen.INTEGRITY_TEXT
private static final Text
JigsawBlockScreen.JOINT_LABEL_TEXT
private static final Text
SmithingScreen.MISSING_TEMPLATE_TOOLTIP
private static final Text
JigsawBlockScreen.NAME_TEXT
private Text
BookScreen.pageIndexText
private Text
BookEditScreen.pageIndicatorText
private static final Text
JigsawBlockScreen.PLACEMENT_PRIORITY_TEXT
private static final Text
JigsawBlockScreen.PLACEMENT_PRIORITY_TOOLTIP
protected final Text
HandledScreen.playerInventoryTitle
private static final Text
JigsawBlockScreen.POOL_TEXT
private static final Text
StructureBlockScreen.POSITION_TEXT
private static final Text
AbstractCommandBlockScreen.PREVIOUS_OUTPUT_TEXT
private static final Text
BeaconScreen.PRIMARY_POWER_TEXT
private static final Text
BeaconScreen.SECONDARY_POWER_TEXT
private static final Text
JigsawBlockScreen.SELECTION_PRIORITY_TEXT
private static final Text
JigsawBlockScreen.SELECTION_PRIORITY_TOOLTIP
private static final Text
AbstractCommandBlockScreen.SET_COMMAND_TEXT
private static final Text
StructureBlockScreen.SHOW_AIR_TEXT
private static final Text
StructureBlockScreen.SHOW_BOUNDING_BOX_TEXT
private final Text
BookEditScreen.signedByText
private static final Text
StructureBlockScreen.SIZE_TEXT
private static final Text
StructureBlockScreen.STRUCTURE_NAME_TEXT
private static final Text
JigsawBlockScreen.TARGET_TEXT
(package private) final Text
BookEditScreen.Line.text
private static final Text
BlastFurnaceScreen.TOGGLE_BLASTABLE_TEXT
private static final Text
FurnaceScreen.TOGGLE_SMELTABLE_TEXT
private static final Text
SmokerScreen.TOGGLE_SMOKABLE_TEXT
private static final Text
CrafterScreen.TOGGLEABLE_SLOT_TEXT
private static final Text
AnvilScreen.TOO_EXPENSIVE_TEXT
private static final Text
MerchantScreen.TRADES_TEXT
Fields in net.minecraft.client.gui.screen.ingame with type parameters of type TextModifier and TypeFieldDescriptionBookScreen.Contents.pages
The field for thepages
record component.Methods in net.minecraft.client.gui.screen.ingame that return TextModifier and TypeMethodDescriptionprivate Text
StatusEffectsDisplay.getStatusEffectDescription
(StatusEffectInstance statusEffect) protected Text
AbstractCommandBlockScreen.getUsageNarrationText()
Methods in net.minecraft.client.gui.screen.ingame that return types with arguments of type TextModifier and TypeMethodDescriptionCreativeInventoryScreen.getTooltipFromItem
(ItemStack stack) HandledScreen.getTooltipFromItem
(ItemStack stack) BookScreen.Contents.pages()
Returns the value of thepages
record component.Methods in net.minecraft.client.gui.screen.ingame with parameters of type TextModifier and TypeMethodDescriptionHandledScreens.Provider.create
(T handler, PlayerInventory playerInventory, Text title) static <T extends ScreenHandler>
voidHandledScreens.open
(ScreenHandlerType<T> type, MinecraftClient client, int id, Text title) default void
HandledScreens.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, PlayerInventory playerInventory, Text title, Text toggleCraftableButtonText, Identifier background, Identifier litProgressTexture, Identifier burnProgressTexture, List<RecipeBookWidget.Tab> recipeBookTabs) AbstractSignEditScreen
(SignBlockEntity blockEntity, boolean front, boolean filtered, Text title) AnvilScreen
(AnvilScreenHandler handler, PlayerInventory inventory, Text title) protected
BaseButtonWidget
(int x, int y, Text message) BeaconScreen
(BeaconScreenHandler handler, PlayerInventory inventory, Text title) BlastFurnaceScreen
(BlastFurnaceScreenHandler container, PlayerInventory inventory, Text title) BrewingStandScreen
(BrewingStandScreenHandler handler, PlayerInventory inventory, Text title) CartographyTableScreen
(CartographyTableScreenHandler handler, PlayerInventory inventory, Text title) CrafterScreen
(CrafterScreenHandler handler, PlayerInventory playerInventory, Text title) CraftingScreen
(CraftingScreenHandler handler, PlayerInventory inventory, Text title) EnchantmentScreen
(EnchantmentScreenHandler handler, PlayerInventory inventory, Text title) ForgingScreen
(T handler, PlayerInventory playerInventory, Text title, Identifier texture) FurnaceScreen
(FurnaceScreenHandler handler, PlayerInventory inventory, Text title) Generic3x3ContainerScreen
(Generic3x3ContainerScreenHandler handler, PlayerInventory inventory, Text title) GenericContainerScreen
(GenericContainerScreenHandler handler, PlayerInventory inventory, Text title) GrindstoneScreen
(GrindstoneScreenHandler handler, PlayerInventory inventory, Text title) HandledScreen
(T handler, PlayerInventory inventory, Text title) HopperScreen
(HopperScreenHandler handler, PlayerInventory inventory, Text title) protected
IconButtonWidget
(int x, int y, Identifier texture, Text message) LecternScreen
(LecternScreenHandler handler, PlayerInventory inventory, Text title) LoomScreen
(LoomScreenHandler screenHandler, PlayerInventory inventory, Text title) MerchantScreen
(MerchantScreenHandler handler, PlayerInventory inventory, Text title) RecipeBookScreen
(T handler, RecipeBookWidget<?> recipeBook, PlayerInventory inventory, Text title) ShulkerBoxScreen
(ShulkerBoxScreenHandler handler, PlayerInventory inventory, Text title) SmithingScreen
(SmithingScreenHandler handler, PlayerInventory playerInventory, Text title) SmokerScreen
(SmokerScreenHandler handler, PlayerInventory inventory, Text title) StonecutterScreen
(StonecutterScreenHandler handler, PlayerInventory inventory, Text title) Constructor parameters in net.minecraft.client.gui.screen.ingame with type arguments of type Text -
Uses of Text in net.minecraft.client.gui.screen.multiplayer
Fields in net.minecraft.client.gui.screen.multiplayer declared as TextModifier and TypeFieldDescriptionstatic final Text
ConnectScreen.ABORTED_TEXT
private static final Text
SocialInteractionsScreen.ALL_TAB_TITLE
private static final Text
SocialInteractionsPlayerListEntry.BLOCKED_OFFLINE_TEXT
private static final Text
SocialInteractionsScreen.BLOCKED_TAB_TITLE
private static final Text
SocialInteractionsPlayerListEntry.BLOCKED_TEXT
private static final Text
SocialInteractionsScreen.BLOCKING_TEXT
(package private) static final Text
MultiplayerServerListWidget.CANNOT_CONNECT_TEXT
(package private) static final Text
MultiplayerServerListWidget.CANNOT_RESOLVE_TEXT
private static final Text
MultiplayerWarningScreen.CHECK_MESSAGE
private static final Text
SocialInteractionsScreen.EMPTY_BLOCKED_TEXT
private static final Text
SocialInteractionsScreen.EMPTY_HIDDEN_TEXT
(package private) static final Text
SocialInteractionsScreen.EMPTY_SEARCH_TEXT
private static final Text
AddServerScreen.ENTER_IP_TEXT
private static final Text
DirectConnectScreen.ENTER_IP_TEXT
private static final Text
AddServerScreen.ENTER_NAME_TEXT
(package private) final Text
ConnectScreen.failureErrorMessage
private static final Text
MultiplayerWarningScreen.HEADER
private static final Text
MultiplayerServerListWidget.LanServerEntry.HIDDEN_ADDRESS_TEXT
private static final Text
SocialInteractionsPlayerListEntry.HIDDEN_OFFLINE_TEXT
private static final Text
SocialInteractionsScreen.HIDDEN_TAB_TITLE
private static final Text
SocialInteractionsPlayerListEntry.HIDDEN_TEXT
private static final Text
SocialInteractionsPlayerListEntry.hideText
(package private) static final Text
MultiplayerServerListWidget.INCOMPATIBLE_TEXT
(package private) static final Text
MultiplayerServerListWidget.LAN_SCANNING_TEXT
private static final Text
MultiplayerWarningScreen.MESSAGE
private static final Text
MultiplayerWarningScreen.NARRATED_TEXT
(package private) static final Text
MultiplayerServerListWidget.NO_CONNECTION_TEXT
private static final Text
SocialInteractionsPlayerListEntry.OFFLINE_TEXT
(package private) static final Text
MultiplayerServerListWidget.ONLINE_TEXT
(package private) static final Text
MultiplayerServerListWidget.PINGING_TEXT
private static final Text
SocialInteractionsPlayerListEntry.REPORT_DISABLED_TEXT
private static final Text
SocialInteractionsPlayerListEntry.reportText
private static final Text
SocialInteractionsScreen.SEARCH_TEXT
private static final Text
SocialInteractionsScreen.SELECTED_ALL_TAB_TITLE
private static final Text
SocialInteractionsScreen.SELECTED_BLOCKED_TAB_TITLE
private static final Text
SocialInteractionsScreen.SELECTED_HIDDEN_TAB_TITLE
SocialInteractionsScreen.serverLabel
private static final Text
SocialInteractionsPlayerListEntry.showText
private Text
ConnectScreen.status
MultiplayerServerListWidget.ServerEntry.statusTooltipText
private static final Text
SocialInteractionsScreen.TITLE
private static final Text
MultiplayerServerListWidget.LanServerEntry.TITLE_TEXT
static final Text
ConnectScreen.UNKNOWN_HOST_TEXT
Fields in net.minecraft.client.gui.screen.multiplayer with type parameters of type TextMethods in net.minecraft.client.gui.screen.multiplayer that return TextModifier and TypeMethodDescriptionMultiplayerServerListWidget.LanServerEntry.getMotdNarration()
SocialInteractionsScreen.getNarratedTitle()
MultiplayerServerListWidget.LanServerEntry.getNarration()
MultiplayerServerListWidget.ScanningEntry.getNarration()
MultiplayerServerListWidget.ServerEntry.getNarration()
private Text
SocialInteractionsPlayerListEntry.getStatusText()
Methods in net.minecraft.client.gui.screen.multiplayer with parameters of type TextModifier and TypeMethodDescriptionprivate void
SocialInteractionsPlayerListEntry.onButtonClick
(boolean showButtonVisible, Text chatMessage) private void
Constructors in net.minecraft.client.gui.screen.multiplayer with parameters of type Text -
Uses of Text in net.minecraft.client.gui.screen.narration
Methods in net.minecraft.client.gui.screen.narration with parameters of type TextModifier and TypeMethodDescriptiondefault void
NarrationMessageBuilder.put
(NarrationPart part, Text text) Adds aText
narration to this message builder.default void
NarrationMessageBuilder.put
(NarrationPart part, Text[] texts) Adds an array ofText
narrations to this message builder.static Narration
<?> Creates a narration from a singleText
sentence.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 Text
OptionsScreen.ACCESSIBILITY_TEXT
private static final Text
CreditsAndAttributionScreen.ATTRIBUTION_TEXT
private final Text
ControlsListWidget.KeyBindingEntry.bindingName
private static final Text
OptionsScreen.CHAT_TEXT
private static final Text
OptionsScreen.CONTROL_TEXT
private static final Text
OptionsScreen.CREDITS_AND_ATTRIBUTION_TEXT
private static final Text
CreditsAndAttributionScreen.CREDITS_TEXT
private static final Text
TelemetryInfoScreen.DESCRIPTION_TEXT
private static final Text
TelemetryInfoScreen.GIVE_FEEDBACK_TEXT
private static final Text
VideoOptionsScreen.GRAPHICS_FABULOUS_TEXT
private static final Text
VideoOptionsScreen.GRAPHICS_WARNING_ACCEPT_TEXT
private static final Text
VideoOptionsScreen.GRAPHICS_WARNING_CANCEL_TEXT
private static final Text
VideoOptionsScreen.GRAPHICS_WARNING_MESSAGE_TEXT
private static final Text
VideoOptionsScreen.GRAPHICS_WARNING_TITLE_TEXT
private static final Text
OptionsScreen.LANGUAGE_TEXT
private static final Text
LanguageOptionsScreen.LANGUAGE_WARNING_TEXT
private final Text
LanguageOptionsScreen.LanguageSelectionListWidget.LanguageEntry.languageDefinition
private static final Text
CreditsAndAttributionScreen.LICENSE_TEXT
private final Text
TelemetryEventWidget.Contents.narration
The field for thenarration
record component.private static final Text
TelemetryInfoScreen.OPT_IN_DESCRIPTION_TEXT
private static final Text
TelemetryInfoScreen.PRIVACY_STATEMENT_TEXT
private static final Text
TelemetryEventWidget.PROPERTY_TITLE_TEXT
private static final Text
ControlsListWidget.KeyBindingEntry.RESET_TEXT
private static final Text
OptionsScreen.RESOURCE_PACK_TEXT
private static final Text
TelemetryInfoScreen.SHOW_DATA_TEXT
private static final Text
OptionsScreen.SKIN_CUSTOMIZATION_TEXT
private static final Text
OptionsScreen.SOUNDS_TEXT
private static final Text
OptionsScreen.TELEMETRY_TEXT
(package private) final Text
ControlsListWidget.CategoryEntry.text
private static final Text
CreditsAndAttributionScreen.TITLE
private static final Text
MouseOptionsScreen.TITLE
static final Text
AccessibilityOptionsScreen.TITLE_TEXT
private static final Text
ChatOptionsScreen.TITLE_TEXT
private static final Text
ControlsOptionsScreen.TITLE_TEXT
private static final Text
KeybindsScreen.TITLE_TEXT
private static final Text
OnlineOptionsScreen.TITLE_TEXT
private static final Text
OptionsScreen.TITLE_TEXT
private static final Text
SkinOptionsScreen.TITLE_TEXT
private static final Text
SoundOptionsScreen.TITLE_TEXT
private static final Text
TelemetryInfoScreen.TITLE_TEXT
private static final Text
VideoOptionsScreen.TITLE_TEXT
private static final Text
OptionsScreen.VIDEO_TEXT
Methods in net.minecraft.client.gui.screen.option that return TextModifier and TypeMethodDescriptionprivate Text
TelemetryEventWidget.formatTitleText
(Text title, boolean disabled) TelemetryInfoScreen.getNarratedTitle()
LanguageOptionsScreen.LanguageSelectionListWidget.LanguageEntry.getNarration()
TelemetryEventWidget.Contents.narration()
Returns the value of thenarration
record component.Methods in net.minecraft.client.gui.screen.option with parameters of type TextModifier and TypeMethodDescriptionvoid
TelemetryEventWidget.ContentsBuilder.appendText
(TextRenderer textRenderer, Text text) void
TelemetryEventWidget.ContentsBuilder.appendTitle
(TextRenderer textRenderer, Text title) void
TelemetryEventWidget.ContentsBuilder.appendTitle
(TextRenderer textRenderer, Text title, int marginBottom) private ButtonWidget
OptionsScreen.createButton
(Text message, Supplier<Screen> screenSupplier) private Text
TelemetryEventWidget.formatTitleText
(Text title, boolean disabled) Constructors in net.minecraft.client.gui.screen.option with parameters of type TextModifierConstructorDescriptionCategoryEntry
(Text text) (package private)
Contents
(LayoutWidget layoutWidget, Text text) GameOptionsScreen
(Screen parent, GameOptions gameOptions, Text title) (package private)
KeyBindingEntry
(KeyBinding binding, Text bindingName) -
Uses of Text in net.minecraft.client.gui.screen.pack
Fields in net.minecraft.client.gui.screen.pack declared as TextModifier and TypeFieldDescriptionprivate static final Text
PackScreen.AVAILABLE_TITLE
private final Text
ExperimentalWarningScreen.DetailsScreen.PackListWidgetEntry.details
private static final Text
ExperimentalWarningScreen.DETAILS
private final Text
ExperimentalWarningScreen.DetailsScreen.PackListWidgetEntry.displayName
private static final Text
PackScreen.DROP_INFO
private static final Text
PackScreen.FOLDER_INFO
(package private) static final Text
PackListWidget.INCOMPATIBLE
(package private) static final Text
PackListWidget.INCOMPATIBLE_CONFIRM
private static final Text
ExperimentalWarningScreen.MESSAGE
private static final Text
PackScreen.OPEN_FOLDER
private static final Text
PackScreen.SELECTED_TITLE
private final Text
PackListWidget.title
private static final Text
ExperimentalWarningScreen.DetailsScreen.TITLE
private static final Text
ExperimentalWarningScreen.TITLE
Methods in net.minecraft.client.gui.screen.pack that return TextModifier and TypeMethodDescriptiondefault Text
ResourcePackOrganizer.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 MultilineText
PackListWidget.ResourcePackEntry.createMultilineText
(MinecraftClient client, Text text) private static OrderedText
PackListWidget.ResourcePackEntry.trimTextToWidth
(MinecraftClient client, Text text) Constructors in net.minecraft.client.gui.screen.pack with parameters of type TextModifierConstructorDescriptionPackListWidget
(MinecraftClient client, PackScreen screen, int width, int height, Text title) (package private)
PackListWidgetEntry
(Text displayName, Text details, MultilineText multilineDetails) PackScreen
(ResourcePackManager resourcePackManager, Consumer<ResourcePackManager> applier, Path file, Text title) -
Uses of Text in net.minecraft.client.gui.screen.recipebook
Fields in net.minecraft.client.gui.screen.recipebook declared as TextModifier and TypeFieldDescriptionprivate static final Text
AnimatedResultButton.MORE_RECIPES_TEXT
private static final Text
RecipeBookWidget.SEARCH_HINT_TEXT
private static final Text
RecipeBookWidget.TOGGLE_ALL_RECIPES_TEXT
private static final Text
AbstractCraftingRecipeBookWidget.TOGGLE_CRAFTABLE_TEXT
private final Text
AbstractFurnaceRecipeBookWidget.toggleCraftableButtonText
Methods in net.minecraft.client.gui.screen.recipebook that return TextModifier and TypeMethodDescriptionprotected Text
AbstractCraftingRecipeBookWidget.getToggleCraftableButtonText()
protected Text
AbstractFurnaceRecipeBookWidget.getToggleCraftableButtonText()
protected abstract Text
RecipeBookWidget.getToggleCraftableButtonText()
Methods in net.minecraft.client.gui.screen.recipebook that return types with arguments of type TextConstructors in net.minecraft.client.gui.screen.recipebook with parameters of type TextModifierConstructorDescriptionAbstractFurnaceRecipeBookWidget
(AbstractFurnaceScreenHandler screenHandler, Text toggleCraftableButtonText, List<RecipeBookWidget.Tab> tabs) -
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 Text
ReportScreen.ATTESTATION_TEXT
private static final Text
AbuseReportTypeScreen.CHAT_TYPE_TEXT
private static final Text
ReportScreen.COMMENTS_TEXT
private static final Text
ChatSelectionScreen.CONTEXT_TEXT
private static final Text
ReportScreen.DESCRIBE_TEXT
private static final Text
AbuseReportReasonScreen.DESCRIPTION_TEXT
private static final Text
ReportScreen.DiscardWarningScreen.DISCARD_BUTTON_TEXT
private static final Text
ReportScreen.DiscardWarningScreen.DRAFT_BUTTON_TEXT
private static final Text
ReportScreen.ERROR_TITLE_TEXT
private static final Text
UsernameReportScreen.field_52851
private static final Text
ReportScreen.GENERIC_ERROR_TEXT
private final Text
ChatSelectionScreen.SelectionListWidget.SenderEntry.headingText
private static final Text
ReportScreen.DiscardWarningScreen.MESSAGE
private static final Text
AbuseReportTypeScreen.MESSAGE_TEXT
protected static final Text
ReportScreen.MORE_COMMENTS_TEXT
private static final Text
AbuseReportTypeScreen.NAME_TYPE_TEXT
private final Text
ChatSelectionScreen.SelectionListWidget.MessageEntry.narration
protected static final Text
ReportScreen.OBSERVED_WHAT_TEXT
private static final Text
AbuseReportReasonScreen.READ_INFO_TEXT
private static final Text
ReportScreen.REPORT_SENT_MESSAGE_TEXT
private static final Text
ReportScreen.DiscardWarningScreen.RETURN_BUTTON_TEXT
private static final Text
ChatReportScreen.SELECT_CHAT_TEXT
protected static final Text
ReportScreen.SELECT_REASON_TEXT
protected static final Text
ReportScreen.SEND_TEXT
private static final Text
ReportScreen.SENDING_TITLE_TEXT
private static final Text
ReportScreen.SENT_TITLE_TEXT
private static final Text
AbuseReportTypeScreen.SKIN_TYPE_TEXT
private final Text
ChatSelectionScreen.SelectionListWidget.TextEntry.text
private static final Text
ReportScreen.DiscardWarningScreen.TITLE
private static final Text
AbuseReportReasonScreen.TITLE_TEXT
private static final Text
AbuseReportTypeScreen.TITLE_TEXT
private static final Text
ChatReportScreen.TITLE_TEXT
private static final Text
ChatSelectionScreen.TITLE_TEXT
private static final Text
SkinReportScreen.TITLE_TEXT
private static final Text
UsernameReportScreen.TITLE_TEXT
Methods in net.minecraft.client.gui.screen.report that return TextModifier and TypeMethodDescriptionAbuseReportTypeScreen.getNarratedTitle()
ChatSelectionScreen.getNarratedTitle()
AbuseReportReasonScreen.ReasonListWidget.ReasonEntry.getNarration()
ChatSelectionScreen.SelectionListWidget.Entry.getNarration()
ChatSelectionScreen.SelectionListWidget.MessageEntry.getNarration()
ChatSelectionScreen.SelectionListWidget.TextEntry.getNarration()
Methods in net.minecraft.client.gui.screen.report with parameters of type TextModifier and TypeMethodDescriptionvoid
private void
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) protected
ReportScreen
(Text title, Screen parent, AbuseReportContext context, B reportBuilder) SenderEntry
(com.mojang.authlib.GameProfile gameProfile, Text headingText, boolean fromReportedPlayer) -
Uses of Text in net.minecraft.client.gui.screen.world
Fields in net.minecraft.client.gui.screen.world declared as TextModifier and TypeFieldDescription(package private) static final Text
CreateWorldScreen.ALLOW_COMMANDS_INFO_TEXT
private static final Text
CreateWorldScreen.GameTab.ALLOW_COMMANDS_TEXT
private static final Text
CreateWorldScreen.WorldTab.AMPLIFIED_GENERATOR_INFO_TEXT
private static final Text
EditWorldScreen.BACKUP_FOLDER_TEXT
private static final Text
EditWorldScreen.BACKUP_TEXT
private static final Text
CreateWorldScreen.WorldTab.BONUS_ITEMS_TEXT
private static final Text
CustomizeBuffetLevelScreen.BUFFET_BIOME_TEXT
private static final Text
RecoverWorldScreen.BUG_TRACKER_TEXT
static final Text
BackupPromptScreen.CONFIRM_BUTTON_TEXT
private static final Text
EditWorldScreen.CONFIRM_DESCRIPTION_TEXT
private static final Text
EditWorldScreen.CONFIRM_PROCEED_TEXT
private static final Text
EditWorldScreen.CONFIRM_TITLE_TEXT
(package private) static final Text
WorldListWidget.CONVERSION_TOOLTIP
private static final Text
WorldCreator.WorldType.CUSTOM_GENERATOR_TEXT
private static final Text
CreateWorldScreen.MoreTab.DATA_PACKS_TEXT
private static final Text
RecoverWorldScreen.DONE_FAILED_TEXT
private static final Text
RecoverWorldScreen.DONE_SUCCESS_TEXT
private static final Text
RecoverWorldScreen.DONE_TITLE_TEXT
(package private) static final Text
CreateWorldScreen.ENTER_NAME_TEXT
private static final Text
EditWorldScreen.ENTER_NAME_TEXT
private static final Text
CreateWorldScreen.WorldTab.ENTER_SEED_TEXT
(package private) static final Text
WorldListWidget.EXPERIMENTAL_TEXT
(package private) static final Text
CreateWorldScreen.EXPERIMENTS_TEXT
(package private) final Text
BackupPromptScreen.firstButtonText
(package private) static final Text
WorldListWidget.FROM_NEWER_VERSION_FIRST_LINE
(package private) static final Text
WorldListWidget.FROM_NEWER_VERSION_SECOND_LINE
(package private) static final Text
CreateWorldScreen.GAME_MODE_TEXT
private static final Text
CreateWorldScreen.MoreTab.GAME_RULES_TEXT
private static final Text
CreateWorldScreen.GameTab.GAME_TAB_TITLE_TEXT
private Text
CustomizeFlatLevelScreen.heightText
(package private) static final Text
WorldListWidget.INCOMPATIBLE_TOOLTIP
private final Text
WorldCreator.Mode.info
private static final Text
ExperimentsScreen.INFO_TEXT
private static final Text
RecoverWorldScreen.ISSUE_NONE_TEXT
private Text
PresetsScreen.listText
private static final Text
WorldListWidget.LoadingEntry.LOADING_LIST_TEXT
(package private) static final Text
WorldListWidget.LOCKED_TEXT
private static final Text
CreateWorldScreen.WorldTab.MAP_FEATURES_INFO_TEXT
private static final Text
CreateWorldScreen.WorldTab.MAP_FEATURES_TEXT
private final Text
RecoverWorldScreen.message
private final Text
SymlinkWarningScreen.message
private static final Text
RecoverWorldScreen.MISSING_FILE_TEXT
private static final Text
CreateWorldScreen.MoreTab.MORE_TAB_TITLE_TEXT
(package private) final Text
EditGameRulesScreen.RuleCategoryWidget.name
final Text
WorldCreator.Mode.name
private static final Text
WorldCreator.NEW_WORLD_NAME
private static final Text
RecoverWorldScreen.NO_FALLBACK_TEXT
private static final Text
EditWorldScreen.OPEN_FOLDER_TEXT
private static final Text
EditWorldScreen.OPTIMIZE_TEXT
private static final Text
SymlinkWarningScreen.PACK_MESSAGE
private static final Text
SymlinkWarningScreen.PACK_TITLE
private static final Text
CreateWorldScreen.PREPARING_TEXT
private static final Text
EditWorldScreen.RESET_ICON_TEXT
private static final Text
RecoverWorldScreen.RESTORE_TEXT
private static final Text
EditWorldScreen.SAVE_TEXT
(package private) static final Text
CreateWorldScreen.WorldTab.SEED_INFO_TEXT
private Text
PresetsScreen.shareText
private static final Text
BackupPromptScreen.SKIP_BUTTON_TEXT
(package private) static final Text
WorldListWidget.SNAPSHOT_FIRST_LINE
(package private) static final Text
WorldListWidget.SNAPSHOT_SECOND_LINE
private final Text
BackupPromptScreen.subtitle
(package private) final Text
CustomizeBuffetLevelScreen.BuffetBiomesListWidget.BuffetBiomeItem.text
private final Text
PresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry.text
private final Text
WorldScreenOptionGrid.OptionBuilder.text
private Text
CustomizeFlatLevelScreen.tileText
private static final Text
EditGameRulesScreen.TITLE
private static final Text
ExperimentsScreen.TITLE
private static final Text
RecoverWorldScreen.TITLE_TEXT
WorldScreenOptionGrid.OptionBuilder.tooltip
static final Text
PresetsScreen.UNKNOWN_PRESET_TEXT
private static final Text
SymlinkWarningScreen.WORLD_MESSAGE
private static final Text
CreateWorldScreen.WorldTab.WORLD_TAB_TITLE_TEXT
private static final Text
SymlinkWarningScreen.WORLD_TITLE
Methods in net.minecraft.client.gui.screen.world that return TextModifier and TypeMethodDescriptionprivate static Text
ExperimentsScreen.getDataPackName
(ResourcePackProfile packProfile) WorldCreator.Mode.getInfo()
WorldCreator.WorldType.getName()
ExperimentsScreen.getNarratedTitle()
RecoverWorldScreen.getNarratedTitle()
SymlinkWarningScreen.getNarratedTitle()
CustomizeBuffetLevelScreen.BuffetBiomesListWidget.BuffetBiomeItem.getNarration()
CustomizeFlatLevelScreen.SuperflatLayersListWidget.SuperflatLayerEntry.getNarration()
PresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry.getNarration()
WorldListWidget.LoadingEntry.getNarration()
WorldListWidget.WorldEntry.getNarration()
private Text
LevelLoadingScreen.getPercentage()
private Text
RecoverWorldScreen.toText
(LevelStorage.Session session, boolean old, @Nullable Exception exception) Methods in net.minecraft.client.gui.screen.world with parameters of type TextModifier and TypeMethodDescriptionWorldScreenOptionGrid.Builder.add
(Text text, BooleanSupplier getter, Consumer<Boolean> setter) EditGameRulesScreen.RuleWidgetFactory.create
(Text name, List<OrderedText> description, String ruleName, T rule) private static void
CreateWorldScreen.showMessage
(MinecraftClient client, Text text) private void
WorldListWidget.showUnableToLoadScreen
(Text message) Constructors in net.minecraft.client.gui.screen.world with parameters of type TextModifierConstructorDescriptionBackupPromptScreen
(Runnable onCancel, BackupPromptScreen.Callback callback, Text title, Text subtitle, boolean showEraseCacheCheckbox) BackupPromptScreen
(Runnable onCancel, BackupPromptScreen.Callback callback, Text title, Text subtitle, Text firstButtonText, boolean showEraseCacheCheckbox) BooleanRuleWidget
(Text name, List<OrderedText> description, String ruleName, GameRules.BooleanRule rule) IntRuleWidget
(Text name, List<OrderedText> description, String ruleName, GameRules.IntRule rule) NamedRuleWidget
(@Nullable List<OrderedText> description, Text name) (package private)
OptionBuilder
(Text text, BooleanSupplier getter, Consumer<Boolean> setter, int buttonWidth) RuleCategoryWidget
(Text text) SymlinkWarningScreen
(Text title, Text message, URI link, Runnable onClose) -
Uses of Text in net.minecraft.client.gui.tab
Fields in net.minecraft.client.gui.tab declared as TextMethods in net.minecraft.client.gui.tab that return TextConstructors in net.minecraft.client.gui.tab with parameters of type Text -
Uses of Text in net.minecraft.client.gui.tooltip
Fields in net.minecraft.client.gui.tooltip declared as TextModifier and TypeFieldDescriptionprivate static final Text
BundleTooltipComponent.BUNDLE_EMPTY
private static final Text
BundleTooltipComponent.BUNDLE_EMPTY_DESCRIPTION
private static final Text
BundleTooltipComponent.BUNDLE_FULL
private final Text
Tooltip.content
Tooltip.narration
Methods in net.minecraft.client.gui.tooltip that return TextMethods in net.minecraft.client.gui.tooltip with parameters of type TextModifier and TypeMethodDescriptionstatic Tooltip
static Tooltip
static 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 Text
PressableTextWidget.hoverText
private final Text
ButtonWidget.Builder.message
private final Text
CheckboxWidget.Builder.message
private Text
ClickableWidget.message
private final Text
MultilineTextWidget.CacheKey.message
The field for themessage
record component.private final Text
CyclingButtonWidget.optionText
private final Text
EditBoxWidget.placeholder
The placeholder text that gets rendered when the edit box is empty.TextFieldWidget.placeholder
private static final Text
AlwaysSelectedEntryListWidget.SELECTION_USAGE_TEXT
private final Text
PressableTextWidget.text
private final Text
TextIconButtonWidget.Builder.text
private static final Text
TabNavigationWidget.USAGE_NARRATION_TEXT
Fields in net.minecraft.client.gui.widget with type parameters of type TextModifier and TypeFieldDescriptionCyclingButtonWidget.Builder.valueToText
CyclingButtonWidget.valueToText
Methods in net.minecraft.client.gui.widget that return TextModifier and TypeMethodDescriptionprivate Text
CyclingButtonWidget.composeText
(T value) ClickableWidget.getMessage()
abstract Text
AlwaysSelectedEntryListWidget.Entry.getNarration()
MultilineTextWidget.CacheKey.message()
Returns the value of themessage
record component.Methods in net.minecraft.client.gui.widget with parameters of type TextModifier and TypeMethodDescriptionvoid
ThreePartsLayoutWidget.addHeader
(Text text, TextRenderer textRenderer) CyclingButtonWidget.Builder.build
(int x, int y, int width, int height, Text optionText, CyclingButtonWidget.UpdateCallback<T> callback) Builds a cycling button widget.CyclingButtonWidget.Builder.build
(Text optionText, CyclingButtonWidget.UpdateCallback<T> callback) static ButtonWidget.Builder
ButtonWidget.builder
(Text message, ButtonWidget.PressAction onPress) static CheckboxWidget.Builder
CheckboxWidget.builder
(Text text, TextRenderer textRenderer) static TextIconButtonWidget.Builder
TextIconButtonWidget.builder
(Text text, ButtonWidget.PressAction onPress, boolean hideLabel) private int
CheckboxWidget.calculateWidth
(int max, Text text, TextRenderer textRenderer) (package private) static int
CheckboxWidget.calculateWidth
(Text text, TextRenderer textRenderer) static LayoutWidget
LayoutWidgets.createLabeledWidget
(TextRenderer textRenderer, Widget widget, Text label) static LayoutWidget
LayoutWidgets.createLabeledWidget
(TextRenderer textRenderer, Widget widget, Text label, Consumer<Positioner> callback) protected static void
ClickableWidget.drawScrollableText
(DrawContext context, TextRenderer textRenderer, Text text, int startX, int startY, int endX, int endY, int color) protected static void
ClickableWidget.drawScrollableText
(DrawContext context, TextRenderer textRenderer, Text text, int centerX, int startX, int startY, int endX, int endY, int color) static MutableText
ClickableWidget.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.void
ClickableWidget.setMessage
(Text message) void
TextFieldWidget.setPlaceholder
(Text placeholder) private OrderedText
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 TextModifierConstructorDescriptionAbstractTextWidget
(int x, int y, int width, int height, Text message, TextRenderer textRenderer) Builder
(Text message, ButtonWidget.PressAction onPress) (package private)
Builder
(Text message, TextRenderer textRenderer) Builder
(Text text, ButtonWidget.PressAction onPress, boolean hideText) protected
ButtonWidget
(int x, int y, int width, int height, Text message, ButtonWidget.PressAction onPress, ButtonWidget.NarrationSupplier narrationSupplier) (package private)
CacheKey
(Text text, int int2, OptionalInt optionalInt) (package private)
CheckboxWidget
(int x, int y, int maxWidth, Text message, TextRenderer textRenderer, boolean checked, CheckboxWidget.Callback callback) ClickableWidget
(int x, int y, int width, int height, Text message) ContainerWidget
(int x, int y, int width, int height, Text message) (package private)
CyclingButtonWidget
(int x, int y, int width, int height, Text message, Text optionText, int index, T value, CyclingButtonWidget.Values<T> values, Function<T, Text> valueToText, Function<CyclingButtonWidget<T>, MutableText> narrationMessageFactory, CyclingButtonWidget.UpdateCallback<T> callback, SimpleOption.TooltipFactory<T> tooltipFactory, boolean optionTextOmitted) EditBoxWidget
(TextRenderer textRenderer, int x, int y, int width, int height, Text placeholder, Text message) protected
IconOnly
(int width, int height, Text message, int textureWidth, int textureHeight, Identifier texture, ButtonWidget.PressAction onPress, ButtonWidget.NarrationSupplier narrationSupplier) LoadingWidget
(TextRenderer textRenderer, Text message) MultilineTextWidget
(int x, int y, Text message, TextRenderer textRenderer) MultilineTextWidget
(Text message, TextRenderer textRenderer) NarratedMultilineTextWidget
(int maxWidth, Text message, TextRenderer textRenderer) NarratedMultilineTextWidget
(int maxWidth, Text message, TextRenderer textRenderer, boolean alwaysShowBorders, int margin) NarratedMultilineTextWidget
(int maxWidth, Text message, TextRenderer textRenderer, int margin) PressableTextWidget
(int x, int y, int width, int height, Text text, ButtonWidget.PressAction onPress, TextRenderer textRenderer) PressableWidget
(int x, int y, int width, int height, Text message) ScrollableTextWidget
(int x, int y, int width, int height, Text message, TextRenderer textRenderer) ScrollableWidget
(int x, int y, int width, int height, Text message) SliderWidget
(int x, int y, int width, int height, Text text, double value) TextFieldWidget
(TextRenderer textRenderer, int x, int y, int width, int height, @Nullable TextFieldWidget copyFrom, Text text) TextFieldWidget
(TextRenderer textRenderer, int x, int y, int width, int height, Text text) TextFieldWidget
(TextRenderer textRenderer, int width, int height, Text text) (package private)
TextIconButtonWidget
(int width, int height, Text message, int textureWidth, int textureHeight, Identifier texture, ButtonWidget.PressAction onPress, ButtonWidget.NarrationSupplier narrationSupplier) TexturedButtonWidget
(int x, int y, int width, int height, ButtonTextures textures, ButtonWidget.PressAction pressAction, Text text) TexturedButtonWidget
(int width, int height, ButtonTextures textures, ButtonWidget.PressAction pressAction, Text text) TextWidget
(int x, int y, int width, int height, Text message, TextRenderer textRenderer) TextWidget
(int width, int height, Text message, TextRenderer textRenderer) TextWidget
(Text message, TextRenderer textRenderer) protected
WithText
(int width, int height, Text message, int textureWidth, int textureHeight, Identifier texture, ButtonWidget.PressAction onPress, ButtonWidget.NarrationSupplier narrationSupplier) Constructor parameters in net.minecraft.client.gui.widget with type arguments of type TextModifierConstructorDescriptionCreates a builder.(package private)
CyclingButtonWidget
(int x, int y, int width, int height, Text message, Text optionText, int index, T value, CyclingButtonWidget.Values<T> values, Function<T, Text> valueToText, Function<CyclingButtonWidget<T>, MutableText> narrationMessageFactory, CyclingButtonWidget.UpdateCallback<T> callback, SimpleOption.TooltipFactory<T> tooltipFactory, boolean optionTextOmitted) -
Uses of Text in net.minecraft.client.network
Fields in net.minecraft.client.network declared as TextModifier and TypeFieldDescriptionprivate static final Text
MultiplayerServerListPinger.CANNOT_CONNECT_TEXT
PlayerListEntry.displayName
private static final Text
ClientPlayNetworkHandler.INVALID_PACKET_TEXT
ServerInfo.label
private static final Text
ClientCommonNetworkHandler.LOST_CONNECTION_TEXT
(package private) final Text
ClientLoginNetworkHandler.State.name
private final Text
ServerInfo.ResourcePackPolicy.name
ServerInfo.playerCountLabel
private static final Text
ClientPlayNetworkHandler.RECONFIGURING_TEXT
private static final Text
ClientPlayNetworkHandler.UNSECURE_SERVER_TOAST_TEXT
private static final Text
ClientPlayNetworkHandler.UNSECURE_SERVER_TOAST_TITLE
ServerInfo.version
Fields in net.minecraft.client.network with type parameters of type TextModifier and TypeFieldDescriptionServerInfo.playerListSummary
ClientLoginNetworkHandler.statusConsumer
Methods in net.minecraft.client.network that return TextModifier and TypeMethodDescriptionstatic Text
MultiplayerServerListPinger.createPlayerCountText
(int current, int max) PlayerListEntry.getDisplayName()
ServerInfo.ResourcePackPolicy.getName()
(package private) static Text
ClientLoginNetworkHandler.joinServerSession
(String serverId) Methods in net.minecraft.client.network with parameters of type TextModifier and TypeMethodDescriptionClientCommonNetworkHandler.ConfirmServerResourcePackScreen.add
(MinecraftClient client, UUID id, URL url, String hash, boolean required, @Nullable Text prompt) private Screen
ClientCommonNetworkHandler.createConfirmServerResourcePackScreen
(UUID id, URL url, String hash, boolean required, @Nullable Text prompt) ClientCommonNetworkHandler.createDisconnectionInfo
(Text reason, Throwable exception) (package private) static Text
void
ClientPlayerEntity.sendMessage
(Text message, boolean overlay) Adds a message to this player's HUD.void
PlayerListEntry.setDisplayName
(@Nullable Text displayName) (package private) void
MultiplayerServerListPinger.showError
(Text error, ServerInfo info) Constructors in net.minecraft.client.network with parameters of type TextModifierConstructorDescription(package private)
ConfirmServerResourcePackScreen
(MinecraftClient client, @Nullable Screen parent, List<ClientCommonNetworkHandler.ConfirmServerResourcePackScreen.Pack> pack, boolean required, @Nullable Text prompt) private
State
(Text name, Set<ClientLoginNetworkHandler.State> prevStates) Constructor parameters in net.minecraft.client.network with type arguments of type TextModifierConstructorDescriptionClientLoginNetworkHandler
(ClientConnection connection, MinecraftClient client, @Nullable ServerInfo serverInfo, @Nullable Screen parentScreen, boolean newWorld, @Nullable Duration worldLoadTime, Consumer<Text> statusConsumer, @Nullable CookieStorage cookieStorage) -
Uses of Text in net.minecraft.client.network.message
Fields in net.minecraft.client.network.message declared as TextMethods in net.minecraft.client.network.message with parameters of type TextModifier and TypeMethodDescriptionprivate void
MessageHandler.addToChatLog
(Text message, Instant timestamp) private UUID
MessageHandler.extractSender
(Text text) private MessageTrustStatus
MessageHandler.getStatus
(SignedMessage message, Text decorated, Instant receptionTimestamp) Returns the trust status ofmessage
.static MessageTrustStatus
MessageTrustStatus.getStatus
(SignedMessage message, Text decorated, Instant receptionTimestamp) private static boolean
MessageTrustStatus.isModified
(SignedMessage message, Text decorated) private static boolean
MessageTrustStatus.isNotInDefaultFont
(Text content) private void
MessageHandler.narrate
(MessageType.Parameters params, Text message) Narratesmessage
.void
MessageHandler.onGameMessage
(Text message, boolean overlay) Called when a game message is received.void
MessageHandler.onProfilelessMessage
(Text content, MessageType.Parameters params) private boolean
MessageHandler.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 Text
GameOptions.ALLOW_SERVER_LISTING_TOOLTIP
private static final Text
GameOptions.BY_PLAYER_CHUNK_BUILDER_MODE_TOOLTIP
private static final Text
GameOptions.DAMAGE_TILT_STRENGTH_TOOLTIP
private static final Text
GameOptions.DARK_MOJANG_STUDIOS_BACKGROUND_COLOR_TOOLTIP
private static final Text
GameOptions.DARKNESS_EFFECT_SCALE_TOOLTIP
private static final Text
GameOptions.DIRECTIONAL_AUDIO_OFF_TOOLTIP
private static final Text
GameOptions.DIRECTIONAL_AUDIO_ON_TOOLTIP
private static final Text
GameOptions.FABULOUS_GRAPHICS_TOOLTIP
private static final Text
GameOptions.FANCY_GRAPHICS_TOOLTIP
private static final Text
GameOptions.FAST_GRAPHICS_TOOLTIP
private static final Text
GameOptions.FOV_EFFECT_SCALE_TOOLTIP
private static final Text
GameOptions.GLINT_SPEED_TOOLTIP
private static final Text
GameOptions.GLINT_STRENGTH_TOOLTIP
private static final Text
GameOptions.HIDE_LIGHTNING_FLASHES_TOOLTIP
private static final Text
GameOptions.HIDE_MATCHED_NAMES_TOOLTIP
private static final Text
GameOptions.HIDE_SPLASH_TEXTS_TOOLTIP
private static final Text
GameOptions.HIGH_CONTRAST_BLOCK_OUTLINE_TOOLTIP
private static final Text
GameOptions.HIGH_CONTRAST_TOOLTIP
private static final Text
GameOptions.HOLD_KEY_TEXT
private static final Text
GameOptions.INACTIVITY_FPS_LIMIT_AFK_TOOLTIP
private static final Text
GameOptions.INACTIVITY_FPS_LIMIT_MINIMIZED_TOOLTIP
private static final Text
GameOptions.MENU_BACKGROUND_BLURRINESS_TOOLTIP
private final Text
NarratorMode.name
private static final Text
GameOptions.NEARBY_CHUNK_BUILDER_MODE_TOOLTIP
private static final Text
GameOptions.NONE_CHUNK_BUILDER_MODE_TOOLTIP
private static final Text
GameOptions.NOTIFICATION_DISPLAY_TIME_TOOLTIP
private static final Text
GameOptions.ONLY_SHOW_SECURE_CHAT_TOOLTIP
private static final Text
GameOptions.REALMS_NOTIFICATIONS_TOOLTIP
private static final Text
GameOptions.ROTATE_WITH_MINECART_TOOLTIP
private static final Text
GameOptions.SCREEN_EFFECT_SCALE_TOOLTIP
private static final Text
GameOptions.TELEMETRY_TOOLTIP
(package private) final Text
SimpleOption.text
private static final Text
GameOptions.TOGGLE_KEY_TEXT
Fields in net.minecraft.client.option with type parameters of type TextMethods in net.minecraft.client.option that return TextModifier and TypeMethodDescriptionKeyBinding.getBoundKeyLocalizedText()
static Text
GameOptions.getGenericValueOrOffText
(Text prefix, int value) static Text
GameOptions.getGenericValueText
(Text prefix, int value) static Text
GameOptions.getGenericValueText
(Text prefix, Text value) NarratorMode.getName()
Returns the human-readable name of this mode.private static Text
GameOptions.getPercentValueOrOffText
(Text prefix, double value) private static Text
GameOptions.getPercentValueText
(Text prefix, double value) private static Text
GameOptions.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 thetooltipFactoryGetter
parameter of the constructor to indicate constant tooltips.static Text
GameOptions.getGenericValueOrOffText
(Text prefix, int value) static Text
GameOptions.getGenericValueText
(Text prefix, int value) static Text
GameOptions.getGenericValueText
(Text prefix, Text value) private static Text
GameOptions.getPercentValueOrOffText
(Text prefix, double value) private static Text
GameOptions.getPercentValueText
(Text prefix, double value) private static Text
GameOptions.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 Text
RepeatedNarrator.Parameters.message
static final Text
RealmsError.NO_DETAILS_TEXT
RealmsError.SimpleHttpError.payload
The field for thepayload
record component.static final Text
RealmsError.SimpleHttpError.RETRY_TEXT
private final Text
RealmsLabel.text
Methods in net.minecraft.client.realms that return TextModifier and TypeMethodDescriptionRealmsError.AuthenticationError.getText()
RealmsError.DetailedHttpError.getText()
RealmsError.getText()
RealmsError.RawHttpPayloadError.getText()
RealmsError.SimpleHttpError.getText()
RealmsLabel.getText()
RealmsError.SimpleHttpError.payload()
Returns the value of thepayload
record component.Methods in net.minecraft.client.realms with parameters of type TextModifier and TypeMethodDescriptionvoid
RepeatedNarrator.narrate
(NarratorManager narratorManager, Text text) Constructors in net.minecraft.client.realms with parameters of type TextModifierConstructorDescription(package private)
Parameters
(Text text, RateLimiter rateLimiter) RealmsLabel
(Text text, int x, int y, int color) SimpleHttpError
(int int2, @Nullable Text text) -
Uses of Text in net.minecraft.client.realms.dto
Fields in net.minecraft.client.realms.dto declared as TextModifier and TypeFieldDescription(package private) static final Text
RealmsNotification.OPEN_LINK_TEXT
Methods in net.minecraft.client.realms.dto that return TextModifier and TypeMethodDescriptionRealmsNotification.VisitUrl.getDefaultMessage()
RealmsText.toText()
Methods in net.minecraft.client.realms.dto with parameters of type Text -
Uses of Text in net.minecraft.client.realms.exception
Methods in net.minecraft.client.realms.exception that return Text -
Uses of Text in net.minecraft.client.realms.exception.upload
Fields in net.minecraft.client.realms.exception.upload declared as TextModifier and TypeFieldDescriptionprivate final Text
FailedRealmsUploadException.errorMessage
private static final Text
CancelledRealmsUploadException.STATUS_TEXT
Methods in net.minecraft.client.realms.exception.upload that return TextModifier and TypeMethodDescriptionCancelledRealmsUploadException.getStatus()
CloseFailureRealmsUploadException.getStatus()
FailedRealmsUploadException.getStatus()
Text[]
TooBigRealmsUploadException.getStatusTexts()
Constructors in net.minecraft.client.realms.exception.upload with parameters of type Text -
Uses of Text in net.minecraft.client.realms.gui
Fields in net.minecraft.client.realms.gui declared as TextModifier and TypeFieldDescriptionprivate static final Text
RealmsWorldSlotButton.ACTIVE_TOOLTIP
private static final Text
RealmsPopups.INFO_TEXT
(package private) static final Text
RealmsWorldSlotButton.MINIGAME_SLOT_NAME
private static final Text
RealmsWorldSlotButton.MINIGAME_TOOLTIP
private static final Text
RealmsWorldSlotButton.TOOLTIP
private static final Text
RealmsPopups.WARNING_TEXT
Methods in net.minecraft.client.realms.gui with parameters of type TextModifier and TypeMethodDescriptionstatic PopupScreen
RealmsPopups.createContinuableWarningPopup
(Screen parent, Text message, Consumer<PopupScreen> onContinuePressed) static PopupScreen
RealmsPopups.createInfoPopup
(Screen parent, Text message, Consumer<PopupScreen> onContinuePressed) static PopupScreen
RealmsPopups.createNonContinuableWarningPopup
(Screen parent, Text message, Consumer<PopupScreen> onOkPressed) -
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 Text
RealmsPendingInvitesScreen.ACCEPT_TEXT
private static final Text
RealmsCreateWorldScreen.ADVENTURE_TEXT
private static final Text
RealmsBackupScreen.BACKUPS_TEXT
(package private) static final Text
RealmsBackupScreen.CHANGES_TOOLTIP
private static final Text
BuyRealmsScreen.CLOSE_TEXT
private static final Text
RealmsConfigureWorldScreen.CLOSED_TEXT
(package private) static final Text
RealmsMainScreen.CLOSED_TEXT
private static final Text
RealmsSelectFileToUploadScreen.COMMANDS_TEXT
private static final Text
RealmsConfigureWorldScreen.CONFIGURE_REALM_TITLE
private static final Text
RealmsMainScreen.CONFIGURE_TEXT
private static final Text
RealmsCreateWorldScreen.CREATE_REALM_SUBTITLE
private static final Text
RealmsCreateWorldScreen.CREATE_REALM_TITLE
private static final Text
RealmsCreateWorldScreen.CREATE_WORLD_SUBTITLE
private static final Text
RealmsCreateWorldScreen.CREATE_WORLD_TITLE
static final Text
RealmsCreateWorldScreen.CREATING_TEXT
private static final Text
RealmsSubscriptionInfoScreen.DAYS_LEFT_LABEL_TEXT
private Text
RealmsSubscriptionInfoScreen.daysLeft
private static final Text
RealmsBackupInfoScreen.BackupInfoListEntry.DESCRIPTION_TEXT
private final Text
RealmsGenericErrorScreen.ErrorMessages.detail
The field for thedetail
record component.private final Text
RealmsSelectFileToUploadScreen.WorldListEntry.details
private static final Text
RealmsBackupScreen.DOWNLOAD_TEXT
RealmsDownloadLatestWorldScreen.downloadError
private final Text
RealmsDownloadLatestWorldScreen.downloadTitle
private static final Text
RealmsSlotOptionsScreen.EDIT_SLOT_NAME
private static final Text
RealmsBackupInfoScreen.BackupInfoListEntry.ENABLED_PACK_TEXT
RealmsInviteScreen.errorMessage
private static final Text
RealmsCreateWorldScreen.EXPERIENCE_TEXT
(package private) static final Text
RealmsMainScreen.EXPIRED_LIST_TEXT
private static final Text
RealmsMainScreen.EXPIRED_RENEW_TEXT
private static final Text
RealmsConfigureWorldScreen.EXPIRED_TEXT
(package private) static final Text
RealmsMainScreen.EXPIRED_TEXT
private static final Text
RealmsSubscriptionInfoScreen.EXPIRED_TEXT
(package private) static final Text
RealmsMainScreen.EXPIRED_TRIAL_TEXT
private static final Text
RealmsConfigureWorldScreen.EXPIRES_IN_A_DAY_TEXT
(package private) static final Text
RealmsMainScreen.EXPIRES_IN_A_DAY_TEXT
private static final Text
RealmsSubscriptionInfoScreen.EXPIRES_IN_LESS_THAN_A_DAY_TEXT
private static final Text
RealmsConfigureWorldScreen.EXPIRES_SOON_TEXT
(package private) static final Text
RealmsMainScreen.EXPIRES_SOON_TEXT
private static final Text
RealmsBackupInfoScreen.BackupInfoListEntry.GAME_DIFFICULTY_TEXT
private static final Text
RealmsBackupInfoScreen.BackupInfoListEntry.GAME_MODE_TEXT
private static final Text
RealmsBackupInfoScreen.BackupInfoListEntry.GAME_SERVER_VERSION_TEXT
private static final Text
RealmsClientIncompatibleScreen.GAME_VERSION
private static final Text
RealmsSelectFileToUploadScreen.HARDCORE_TEXT
private static final Text
RealmsMainScreen.INCOMPATIBLE_POPUP_TITLE
private static final Text
RealmsMainScreen.INCOMPATIBLE_RELEASE_TYPE_MESSAGE
private static final Text
RealmsClientIncompatibleScreen.INCOMPATIBLE_TITLE
private static final Text
RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionListEntry.INFO_TOOLTIP_TEXT
private static final Text
RealmsCreateWorldScreen.INSPIRATION_TEXT
private static final Text
RealmsInviteScreen.INVITE_PROFILE_NAME_TEXT
private static final Text
RealmsInviteScreen.INVITE_TEXT
private static final Text
RealmsInviteScreen.INVITING_TEXT
private static final Text
RealmsMainScreen.LEAVE_TEXT
private static final Text
RealmsSelectFileToUploadScreen.LOADING_ERROR_TEXT
private static final Text
RealmsMainScreen.LOADING_TEXT
private static final Text
RealmsMainScreen.MENU_TEXT
private final Text[]
RealmsBrokenWorldScreen.message
private final Text
RealmsMainScreen.VisitUrlNotification.message
private static final Text
RealmsBackupInfoScreen.BackupInfoListEntry.NAME_TEXT
private final Text
RealmsSelectFileToUploadScreen.WorldListEntry.nameAndLastPlayed
private static final Text
RealmsCreateWorldScreen.NEW_WORLD_BUTTON_TEXT
private static final Text
RealmsBackupScreen.NO_BACKUPS_TEXT
private static final Text
RealmsPendingInvitesScreen.NO_PENDING_TEXT
private static final Text
RealmsMainScreen.NO_PENDING_TOOLTIP
private static final Text
RealmsMainScreen.NO_REALMS_TEXT
private static final Text
RealmsPlayerScreen.InvitedObjectSelectionListEntry.NORMAL_TOOLTIP_TEXT
private static final Text
RealmsMainScreen.RealmSelectionListEntry.ONLINE_PLAYERS_TEXT
private static final Text
RealmsConfigureWorldScreen.OPEN_TEXT
(package private) static final Text
RealmsMainScreen.OPEN_TEXT
private static final Text
RealmsPlayerScreen.InvitedObjectSelectionListEntry.OPS_TOOLTIP_TEXT
private static final Text
RealmsClientIncompatibleScreen.OUTDATED_STABLE_VERSION
private static final Text
RealmsMainScreen.PENDING_TOOLTIP
private static final Text
RealmsMainScreen.PLAY_TEXT
private static final Text
RealmsInviteScreen.PLAYER_ERROR_TEXT
private static final Text
BuyRealmsScreen.POPUP_TEXT
private static final Text
RealmsParentalConsentScreen.PRIVACY_INFO_TEXT
private static final Text
RealmsSelectWorldTemplateScreen.PUBLISHER_TEXT
(package private) static final Text
RealmsPlayerScreen.QUESTION_TEXT
private final Text
DisconnectedRealmsScreen.reason
private static final Text
RealmsSubscriptionInfoScreen.RECURRING_INFO_TEXT
(package private) static final Text
RealmsPendingInvitesScreen.REJECT_TEXT
private static final Text
RealmsPlayerScreen.InvitedObjectSelectionListEntry.REMOVE_TOOLTIP_TEXT
private static final Text
RealmsCreateWorldScreen.RESET_WORLD_SUBTITLE
private static final Text
RealmsCreateWorldScreen.RESET_WORLD_TITLE
private static final Text
RealmsCreateWorldScreen.RESETTING_TEXT
(package private) static final Text
RealmsBackupScreen.RESTORE_TEXT
private static final Text
RealmsBackupInfoScreen.BackupInfoListEntry.SEED_TEXT
private static final Text
RealmsSelectWorldTemplateScreen.SELECT_TEXT
private static final Text
RealmsTermsScreen.SENTENCE_ONE_TEXT
private static final Text
RealmsTermsScreen.SENTENCE_TWO_TEXT
(package private) static final Text
RealmsSlotOptionsScreen.SPAWN_PROTECTION
private static final Text
RealmsMainScreen.SnapshotEntry.START_TEXT
private Text
RealmsSubscriptionInfoScreen.startDate
private Text
RealmsDownloadLatestWorldScreen.status
private Text
RealmsUploadScreen.status
RealmsUploadScreen.statusTexts
private static final Text
RealmsSubscriptionInfoScreen.SUBSCRIPTION_START_LABEL_TEXT
private static final Text
RealmsSubscriptionInfoScreen.SUBSCRIPTION_TITLE
private final Text
RealmsCreateWorldScreen.subtitle
private final Text
RealmsCreateWorldScreen.taskTitle
private static final Text
RealmsBackupInfoScreen.BackupInfoListEntry.TEMPLATE_NAME_TEXT
private static final Text
RealmsCreateWorldScreen.TEMPLATE_TEXT
private final Text
RealmsWorldGeneratorType.text
private static final Text
RealmsSubscriptionInfoScreen.TIME_LEFT_LABEL_TEXT
private final Text
RealmsGenericErrorScreen.ErrorMessages.title
The field for thetitle
record component.private Text
RealmsLongRunningMcoTaskScreen.title
private static final Text
RealmsBackupInfoScreen.TITLE
private static final Text
RealmsPlayerScreen.TITLE
static final Text
RealmsSelectFileToUploadScreen.TITLE
private static final Text
RealmsTermsScreen.TITLE
private static final Text
RealmsCreateRealmScreen.TITLE_TEXT
private final Text
RealmsConfirmScreen.title1
private final Text
RealmsConfirmScreen.title2
RealmsConfigureWorldScreen.tooltip
RealmsPendingInvitesScreen.tooltip
private static final Text
RealmsSelectWorldTemplateScreen.TRAILER_TEXT
private static final Text
RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionListEntry.TRAILER_TOOLTIP_TEXT
private static final Text
RealmsBackupInfoScreen.BackupInfoListEntry.UNDEFINED_TEXT
(package private) static final Text
RealmsMainScreen.UNINITIALIZED_BUTTON_NARRATION
(package private) static final Text
RealmsMainScreen.UNINITIALIZED_TEXT
private static final Text
RealmsBackupInfoScreen.UNKNOWN
private static final Text
RealmsSubscriptionInfoScreen.UNKNOWN_TEXT
private static final Text
RealmsClientIncompatibleScreen.UNSUPPORTED_SNAPSHOT_VERSION
private static final Text
RealmsBackupInfoScreen.BackupInfoListEntry.UPLOADED_TEXT
private static final Text
RealmsUploadScreen.VERIFYING_TEXT
RealmsSelectWorldTemplateScreen.warning
private static final Text
RealmsCreateRealmScreen.WORLD_DESCRIPTION_TEXT
private static final Text
RealmsSettingsScreen.WORLD_DESCRIPTION_TEXT
(package private) static final Text
RealmsSelectFileToUploadScreen.WORLD_LANG
private static final Text
RealmsCreateRealmScreen.WORLD_NAME_TEXT
private static final Text
RealmsSettingsScreen.WORLD_NAME_TEXT
private static final Text
RealmsBackupInfoScreen.BackupInfoListEntry.WORLD_TYPE_TEXT
private static final Text
RealmsConfigureWorldScreen.WORLDS_TITLE
Methods in net.minecraft.client.realms.gui.screen that return TextModifier and TypeMethodDescription(package private) Text
RealmsBackupInfoScreen.checkForSpecificMetadata
(String key, String value) private Text
RealmsSubscriptionInfoScreen.daysLeftPresentation
(int daysLeft) RealmsGenericErrorScreen.ErrorMessages.detail()
Returns the value of thedetail
record component.private Text
RealmsBackupInfoScreen.gameDifficultyMetadata
(String value) private Text
RealmsBackupInfoScreen.gameModeMetadata
(String value) private Text
RealmsClientIncompatibleScreen.getErrorText()
(package private) static Text
RealmsSelectFileToUploadScreen.getGameModeName
(LevelSummary summary) static Text
RealmsMainScreen.getGameModeText
(int id, boolean hardcore) DisconnectedRealmsScreen.getNarratedTitle()
RealmsBrokenWorldScreen.getNarratedTitle()
RealmsCreateWorldScreen.getNarratedTitle()
RealmsGenericErrorScreen.getNarratedTitle()
RealmsMainScreen.getNarratedTitle()
RealmsParentalConsentScreen.getNarratedTitle()
RealmsSelectFileToUploadScreen.getNarratedTitle()
RealmsSelectWorldTemplateScreen.getNarratedTitle()
RealmsSlotOptionsScreen.getNarratedTitle()
RealmsSubscriptionInfoScreen.getNarratedTitle()
RealmsTermsScreen.getNarratedTitle()
RealmsBackupInfoScreen.BackupInfoListEntry.getNarration()
private Text
RealmsDownloadLatestWorldScreen.getNarration()
RealmsMainScreen.EmptyEntry.getNarration()
RealmsMainScreen.ParentRealmSelectionListEntry.getNarration()
RealmsMainScreen.RealmSelectionListEntry.getNarration()
RealmsMainScreen.SnapshotEntry.getNarration()
RealmsMainScreen.VisitButtonEntry.getNarration()
RealmsMainScreen.VisitUrlNotification.getNarration()
RealmsPendingInvitesScreen.PendingInvitationSelectionListEntry.getNarration()
RealmsSelectFileToUploadScreen.WorldListEntry.getNarration()
RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionListEntry.getNarration()
private Text
RealmsUploadScreen.getNarration()
RealmsWorldGeneratorType.getText()
private Text
RealmsBackupInfoScreen.BackupInfoListEntry.getTextFromKey
(String key) static Text
RealmsMainScreen.getVersionText
(String version, boolean compatible) static Text
RealmsMainScreen.getVersionText
(String version, int color) private static Text
RealmsSubscriptionInfoScreen.localPresentation
(long time) RealmsScreen.narrateLabels()
RealmsGenericErrorScreen.ErrorMessages.title()
Returns the value of thetitle
record component.Methods in net.minecraft.client.realms.gui.screen with parameters of type TextModifier and TypeMethodDescriptionprivate static RealmsGenericErrorScreen.ErrorMessages
RealmsGenericErrorScreen.getErrorMessages
(Text description) private static RealmsGenericErrorScreen.ErrorMessages
RealmsGenericErrorScreen.getErrorMessages
(Text title, Text description) protected int
RealmsMainScreen.Entry.getGameModeRight
(int x, int width, Text gameMode) RealmsSlotOptionsScreen.getSpawnToggleButtonCallback
(Text text, Consumer<Boolean> valueSetter) protected int
RealmsMainScreen.Entry.getVersionRight
(int x, int width, Text version) private void
RealmsUploadScreen.setStatusTexts
(@Nullable Text[] statusTexts) void
void
RealmsSelectWorldTemplateScreen.setWarning
(Text[] warning) private static void
RealmsMainScreen.showCompatibilityScreen
(RealmsServer server, Screen parent, Text title, Text description, Text confirmText) private void
Method parameters in net.minecraft.client.realms.gui.screen with type arguments of type TextModifier and TypeMethodDescriptionprivate void
RealmsConfigureWorldScreen.drawServerState
(DrawContext context, int x, int y, int mouseX, int mouseY, Identifier texture, Supplier<Text> tooltipGetter) private void
RealmsMainScreen.Entry.drawTextureWithTooltip
(DrawContext context, int x, int y, int mouseX, int mouseY, Identifier texture, Supplier<Text> tooltip) Constructors in net.minecraft.client.realms.gui.screen with parameters of type TextModifierConstructorDescriptionprotected
CrossButton
(ButtonWidget.PressAction onPress, Text tooltip) DisconnectedRealmsScreen
(Screen parent, Text title, Text reason) (package private)
ErrorMessages
(Text text, Text text2) (package private)
FrameButton
(TextRenderer textRenderer, Text message, Identifier image, ButtonWidget.PressAction onPress) NotificationButtonWidget
(Text message, Identifier texture, ButtonWidget.PressAction onPress) RealmsConfirmScreen
(BooleanConsumer callback, Text title1, Text title2) private
RealmsCreateWorldScreen
(Screen parent, RealmsServer serverData, int slot, Text title, Text subtitle, int subtitleColor, Text taskTitle, Runnable callback) RealmsCreateWorldScreen
(Screen parent, RealmsServer serverData, int slot, Text title, Text subtitle, int subtitleColor, Text taskTitle, @Nullable WorldCreationTask creationTask, Runnable callback) RealmsGenericErrorScreen
(Text description, Screen parent) RealmsGenericErrorScreen
(Text title, Text description, Screen parent) RealmsPendingInvitesScreen
(Screen parent, Text title) RealmsScreen
(Text title) RealmsSelectWorldTemplateScreen
(Text title, Consumer<WorldTemplate> callback, RealmsServer.WorldType worldType) RealmsSelectWorldTemplateScreen
(Text title, Consumer<WorldTemplate> callback, RealmsServer.WorldType worldType, @Nullable WorldTemplatePaginatedList templateList) VisitUrlNotification
(Text message, int lines, RealmsNotification notification) -
Uses of Text in net.minecraft.client.realms.task
Fields in net.minecraft.client.realms.task declared as TextModifier and TypeFieldDescriptionprivate static final Text
RealmsPrepareConnectionTask.APPLYING_PACK_TEXT
private final Text
ResettingWorldTask.title
private static final Text
CloseServerTask.TITLE
private static final Text
DownloadTask.TITLE
private static final Text
OpenServerTask.TITLE
private static final Text
RealmsConnectTask.TITLE
private static final Text
RealmsPrepareConnectionTask.TITLE
private static final Text
RestoreTask.TITLE
private static final Text
SwitchMinigameTask.TITLE
private static final Text
SwitchSlotTask.TITLE
private static final Text
WorldCreationTask.TITLE
Methods in net.minecraft.client.realms.task that return TextModifier and TypeMethodDescriptionCloseServerTask.getTitle()
DownloadTask.getTitle()
abstract Text
LongRunningTask.getTitle()
OpenServerTask.getTitle()
RealmsConnectTask.getTitle()
RealmsPrepareConnectionTask.getTitle()
ResettingWorldTask.getTitle()
RestoreTask.getTitle()
SwitchMinigameTask.getTitle()
SwitchSlotTask.getTitle()
WorldCreationTask.getTitle()
Methods in net.minecraft.client.realms.task with parameters of type TextConstructors in net.minecraft.client.realms.task with parameters of type TextModifierConstructorDescriptionResettingWorldTask
(long serverId, Text title, Runnable callback) ResettingWorldTemplateTask
(WorldTemplate template, long serverId, Text title, Runnable callback) -
Uses of Text in net.minecraft.client.realms.util
Fields in net.minecraft.client.realms.util declared as TextMethods in net.minecraft.client.realms.util that return TextModifier and TypeMethodDescriptionstatic Text
RealmsUtil.convertToAgePresentation
(long milliseconds) static Text
RealmsUtil.convertToAgePresentation
(Date date) -
Uses of Text in net.minecraft.client.render
Fields in net.minecraft.client.render declared as Text -
Uses of Text in net.minecraft.client.render.entity
Methods in net.minecraft.client.render.entity that return TextModifier and TypeMethodDescriptionEntityRenderer.getDisplayName
(T entity) protected Text
ItemFrameEntityRenderer.getDisplayName
(T t) Methods in net.minecraft.client.render.entity with parameters of type TextModifier and TypeMethodDescriptionprotected void
EntityRenderer.renderLabelIfPresent
(S state, Text text, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light) protected void
PlayerEntityRenderer.renderLabelIfPresent
(PlayerEntityRenderState playerEntityRenderState, Text text, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2) -
Uses of Text in net.minecraft.client.render.entity.state
Fields in net.minecraft.client.render.entity.state declared as TextModifier and TypeFieldDescriptionLivingEntityRenderState.customName
EntityRenderState.displayName
PlayerEntityRenderState.playerName
-
Uses of Text in net.minecraft.client.resource
Fields in net.minecraft.client.resource with type parameters of type TextMethods in net.minecraft.client.resource that return TextModifier and TypeMethodDescriptionprotected Text
DefaultClientResourcePackProvider.getDisplayName
(String id) Methods in net.minecraft.client.resource with parameters of type TextModifier and TypeMethodDescriptionprotected @Nullable ResourcePackProfile
DefaultClientResourcePackProvider.create
(String fileName, ResourcePackProfile.PackFactory packFactory, Text displayName) private static ResourcePackInfo
DefaultClientResourcePackProvider.createInfo
(String id, Text title) -
Uses of Text in net.minecraft.client.resource.language
Methods in net.minecraft.client.resource.language that return Text -
Uses of Text in net.minecraft.client.resource.server
Fields in net.minecraft.client.resource.server declared as TextModifier and TypeFieldDescriptionprivate static final Text
ServerResourcePackLoader.SERVER_NAME_TEXT
-
Uses of Text in net.minecraft.client.session
Fields in net.minecraft.client.session declared as TextModifier and TypeFieldDescriptionprivate final Text
BanReason.description
static final Text
Bans.NAME_TITLE
private static final Text
Bans.PERMANENT_TITLE
private static final Text
Bans.SKIN_DESCRIPTION
private static final Text
Bans.SKIN_TITLE
private static final Text
Bans.TEMPORARY_TITLE
Methods in net.minecraft.client.session that return TextModifier and TypeMethodDescriptionBanReason.getDescription()
private static Text
Bans.getDescriptionText
(com.mojang.authlib.minecraft.BanDetails banDetails) private static Text
Bans.getDurationText
(com.mojang.authlib.minecraft.BanDetails banDetails) private static Text
Bans.getReasonText
(com.mojang.authlib.minecraft.BanDetails banDetails) private static Text
Bans.getTemporaryBanDurationText
(com.mojang.authlib.minecraft.BanDetails banDetails) private static Text
Bans.getTitle
(com.mojang.authlib.minecraft.BanDetails banDetails) -
Uses of Text in net.minecraft.client.session.report
Fields in net.minecraft.client.session.report declared as TextModifier and TypeFieldDescriptionprivate final Text
AbuseReportReason.description
private static final Text
AbuseReportSender.Impl.HTTP_ERROR_TEXT
private static final Text
AbuseReportSender.Impl.JSON_ERROR_TEXT
private final Text
AbuseReport.ValidationError.message
The field for themessage
record component.private static final Text
AbuseReportSender.Impl.SERVICE_UNAVAILABLE_ERROR_TEXT
private final Text
AbuseReportReason.text
Methods in net.minecraft.client.session.report that return TextModifier and TypeMethodDescriptionAbuseReportReason.getDescription()
private Text
AbuseReportSender.Impl.getErrorText
(com.mojang.authlib.exceptions.MinecraftClientException exception) private Text
AbuseReportSender.Impl.getErrorText
(com.mojang.authlib.exceptions.MinecraftClientHttpException exception) AbuseReportReason.getText()
AbuseReport.ValidationError.message()
Returns the value of themessage
record component.Methods in net.minecraft.client.session.report with parameters of type TextConstructors in net.minecraft.client.session.report with parameters of type TextModifierConstructorDescriptionAbuseReportException
(Text messageText, Throwable cause) ValidationError
(Text text) -
Uses of Text in net.minecraft.client.session.report.log
Fields in net.minecraft.client.session.report.log declared as TextModifier and TypeFieldDescriptionprivate final Text
ReceivedMessage.GameMessage.message
The field for themessage
record component.Methods in net.minecraft.client.session.report.log that return TextModifier and TypeMethodDescriptionReceivedMessage.ChatMessage.getContent()
Returns the content of the message.ReceivedMessage.GameMessage.getContent()
Returns the content of the message.ReceivedMessage.getContent()
Returns the content of the message.private Text
ReceivedMessage.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 Text
ReceivedMessage.getNarration()
Returns the narration of the message (by default, the content).ReceivedMessage.GameMessage.message()
Returns the value of themessage
record component.Methods in net.minecraft.client.session.report.log with parameters of type TextModifier and TypeMethodDescriptionstatic ReceivedMessage.GameMessage
Returns the received message constructed from a game message's elements.Constructors in net.minecraft.client.session.report.log with parameters of type Text -
Uses of Text in net.minecraft.client.sound
Fields in net.minecraft.client.sound declared as TextMethods in net.minecraft.client.sound that return Text -
Uses of Text in net.minecraft.client.toast
Fields in net.minecraft.client.toast declared as TextModifier and TypeFieldDescriptionTutorialToast.description
private static final Text
RecipeToast.DESCRIPTION
private Text
SystemToast.title
private final Text
TutorialToast.title
private static final Text
RecipeToast.TITLE
Methods in net.minecraft.client.toast with parameters of type TextModifier and TypeMethodDescriptionstatic void
SystemToast.add
(ToastManager manager, SystemToast.Type type, Text title, @Nullable Text description) static SystemToast
SystemToast.create
(MinecraftClient client, SystemToast.Type type, Text title, Text description) private static ImmutableList
<OrderedText> SystemToast.getTextAsList
(@Nullable Text text) void
SystemToast.setContent
(Text title, @Nullable Text description) static void
SystemToast.show
(ToastManager manager, SystemToast.Type type, Text title, @Nullable Text description) Constructors in net.minecraft.client.toast with parameters of type TextModifierConstructorDescriptionprivate
SystemToast
(SystemToast.Type type, Text title, List<OrderedText> lines, int width) SystemToast
(SystemToast.Type type, Text title, @Nullable Text description) TutorialToast
(TutorialToast.Type type, Text text, @Nullable Text text2, boolean bool) TutorialToast
(TutorialToast.Type type, Text title, @Nullable Text description, boolean hasProgressBar, int int2) -
Uses of Text in net.minecraft.client.tutorial
Fields in net.minecraft.client.tutorial declared as TextModifier and TypeFieldDescriptionprivate static final Text
CraftPlanksTutorialStepHandler.DESCRIPTION
private static final Text
FindTreeTutorialStepHandler.DESCRIPTION
private static final Text
OpenInventoryTutorialStepHandler.DESCRIPTION
private static final Text
PunchTreeTutorialStepHandler.DESCRIPTION
private static final Text
MovementTutorialStepHandler.LOOK_DESCRIPTION
private static final Text
MovementTutorialStepHandler.LOOK_TITLE
private static final Text
MovementTutorialStepHandler.MOVE_DESCRIPTION
private static final Text
MovementTutorialStepHandler.MOVE_TITLE
private static final Text
CraftPlanksTutorialStepHandler.TITLE
private static final Text
FindTreeTutorialStepHandler.TITLE
private static final Text
OpenInventoryTutorialStepHandler.TITLE
private static final Text
PunchTreeTutorialStepHandler.TITLE
Methods 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 Text
NarratorManager.EMPTY
An 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.textTranslator
Methods in net.minecraft.client.util that return TextMethods in net.minecraft.client.util with parameters of type TextModifier and TypeMethodDescriptionvoid
Narrates system text.void
NarratorManager.narrateChatMessage
(Text text) Narrates a chat message.void
NarratorManager.narrateSystemMessage
(Text text) Narrates a system message.Method parameters in net.minecraft.client.util with type arguments of type TextModifier and TypeMethodDescriptionstatic void
ScreenshotRecorder.saveScreenshot
(File gameDirectory, @Nullable String fileName, Framebuffer framebuffer, Consumer<Text> messageReceiver) static void
ScreenshotRecorder.saveScreenshot
(File gameDirectory, Framebuffer framebuffer, Consumer<Text> messageReceiver) private static void
ScreenshotRecorder.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 Text
EntitySelectorOptions.SelectorOption.description
The field for thedescription
record component.Methods in net.minecraft.command that return TextModifier and TypeMethodDescriptionEntitySelectorOptions.SelectorOption.description()
Returns the value of thedescription
record 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 Text
Methods in net.minecraft.command with parameters of type TextModifier and TypeMethodDescriptionprivate static void
EntitySelectorOptions.putOption
(String id, EntitySelectorOptions.SelectorHandler handler, Predicate<EntitySelectorReader> condition, Text description) Constructors in net.minecraft.command with parameters of type TextModifierConstructorDescription(package private)
SelectorOption
(EntitySelectorOptions.SelectorHandler handler, Predicate<EntitySelectorReader> condition, Text description) Creates an instance of aSelectorOption
record class. -
Uses of Text in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return TextModifier and TypeMethodDescription(package private) Text
MessageArgumentType.MessageFormat.format
(ServerCommandSource source) MessageArgumentType.MessageFormat.format
(ServerCommandSource source, boolean canUseSelectors) MessageArgumentType.MessageSelector.format
(ServerCommandSource source) static Text
MessageArgumentType.getMessage
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static Text
TextArgumentType.getTextArgument
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) TextArgumentType.parse
(com.mojang.brigadier.StringReader stringReader) -
Uses of Text in net.minecraft.component
Fields in net.minecraft.component with type parameters of type TextModifier and TypeFieldDescriptionstatic final ComponentType
<Text> DataComponentTypes.CUSTOM_NAME
static final ComponentType
<Text> DataComponentTypes.ITEM_NAME
-
Uses of Text in net.minecraft.component.type
Fields in net.minecraft.component.type declared as TextModifier and TypeFieldDescriptionprivate static final Text
FireworkExplosionComponent.CUSTOM_COLOR_TEXT
private static final Text
PotionContentsComponent.NONE_TEXT
private static final Text
UnbreakableComponent.TOOLTIP_TEXT
Fields in net.minecraft.component.type with type parameters of type TextModifier and TypeFieldDescriptionLoreComponent.lines
The field for thelines
record component.static final com.mojang.serialization.Codec
<Text> WrittenBookContentComponent.PAGE_CODEC
private final List
<RawFilteredPair<Text>> WrittenBookContentComponent.pages
The field for thepages
record component.static final com.mojang.serialization.Codec
<List<RawFilteredPair<Text>>> WrittenBookContentComponent.PAGES_CODEC
LoreComponent.styledLines
The field for thestyledLines
record component.Methods in net.minecraft.component.type that return TextModifier and TypeMethodDescriptionprivate static Text
FireworkExplosionComponent.appendColorsTooltipText
(MutableText text, IntList colors) private static Text
FireworkExplosionComponent.getColorText
(int color) Methods in net.minecraft.component.type that return types with arguments of type TextModifier and TypeMethodDescriptionprivate static com.mojang.serialization.Codec
<RawFilteredPair<Text>> WrittenBookContentComponent.createPageCodec
(com.mojang.serialization.Codec<Text> textCodec) static com.mojang.serialization.Codec
<List<RawFilteredPair<Text>>> WrittenBookContentComponent.createPagesCodec
(com.mojang.serialization.Codec<Text> textCodec) WrittenBookContentComponent.getPages
(boolean shouldFilter) LoreComponent.lines()
Returns the value of thelines
record component.WrittenBookContentComponent.pages()
Returns the value of thepages
record component.private static Optional
<RawFilteredPair<Text>> WrittenBookContentComponent.resolve
(ServerCommandSource source, @Nullable PlayerEntity player, RawFilteredPair<Text> page) LoreComponent.styledLines()
Returns the value of thestyledLines
record component.Methods in net.minecraft.component.type with parameters of type TextModifier and TypeMethodDescriptionprivate static boolean
WrittenBookContentComponent.exceedsSerializedLengthLimit
(Text text, RegistryWrapper.WrapperLookup registries) Method parameters in net.minecraft.component.type with type arguments of type TextModifier and TypeMethodDescriptionvoid
FireworkExplosionComponent.appendOptionalTooltip
(Consumer<Text> textConsumer) void
FireworkExplosionComponent.appendShapeTooltip
(Consumer<Text> textConsumer) void
DyedColorComponent.appendTooltip
(Item.TooltipContext context, Consumer<Text> tooltip, TooltipType type) void
FireworkExplosionComponent.appendTooltip
(Item.TooltipContext context, Consumer<Text> tooltip, TooltipType type) void
FireworksComponent.appendTooltip
(Item.TooltipContext context, Consumer<Text> tooltip, TooltipType type) void
ItemEnchantmentsComponent.appendTooltip
(Item.TooltipContext context, Consumer<Text> tooltip, TooltipType type) void
JukeboxPlayableComponent.appendTooltip
(Item.TooltipContext context, Consumer<Text> tooltip, TooltipType type) void
LoreComponent.appendTooltip
(Item.TooltipContext context, Consumer<Text> tooltip, TooltipType type) void
OminousBottleAmplifierComponent.appendTooltip
(Item.TooltipContext context, Consumer<Text> tooltip, TooltipType type) void
SuspiciousStewEffectsComponent.appendTooltip
(Item.TooltipContext context, Consumer<Text> tooltip, TooltipType type) void
UnbreakableComponent.appendTooltip
(Item.TooltipContext context, Consumer<Text> tooltip, TooltipType type) static void
PotionContentsComponent.buildTooltip
(Iterable<StatusEffectInstance> effects, Consumer<Text> textConsumer, float durationMultiplier, float tickRate) void
PotionContentsComponent.buildTooltip
(Consumer<Text> textConsumer, float durationMultiplier, float tickRate) private static com.mojang.serialization.Codec
<RawFilteredPair<Text>> WrittenBookContentComponent.createPageCodec
(com.mojang.serialization.Codec<Text> textCodec) static com.mojang.serialization.Codec
<List<RawFilteredPair<Text>>> WrittenBookContentComponent.createPagesCodec
(com.mojang.serialization.Codec<Text> textCodec) private static Optional
<RawFilteredPair<Text>> WrittenBookContentComponent.resolve
(ServerCommandSource source, @Nullable PlayerEntity player, RawFilteredPair<Text> page) WrittenBookContentComponent.withPages
(List<RawFilteredPair<Text>> list) Constructor parameters in net.minecraft.component.type with type arguments of type TextModifierConstructorDescriptionLoreComponent
(List<Text> lines) LoreComponent
(List<Text> list, List<Text> list2) WrittenBookContentComponent
(RawFilteredPair<String> rawFilteredPair, String string, int int2, List<RawFilteredPair<Text>> list, boolean bool) -
Uses of Text in net.minecraft.data
Methods in net.minecraft.data with parameters of type TextModifier and TypeMethodDescriptionstatic MetadataProvider
MetadataProvider.create
(DataOutput output, Text description) static MetadataProvider
MetadataProvider.create
(DataOutput output, Text description, FeatureSet requiredFeatures) -
Uses of Text in net.minecraft.enchantment
Fields in net.minecraft.enchantment declared as TextModifier and TypeFieldDescriptionprivate final Text
Enchantment.description
The field for thedescription
record component.Methods in net.minecraft.enchantment that return TextModifier and TypeMethodDescriptionEnchantment.description()
Returns the value of thedescription
record component.static Text
Enchantment.getName
(RegistryEntry<Enchantment> enchantment, int level) Constructors in net.minecraft.enchantment with parameters of type TextModifierConstructorDescriptionEnchantment
(Text text, Enchantment.Definition definition, RegistryEntryList<Enchantment> registryEntryList, ComponentMap componentMap) -
Uses of Text in net.minecraft.entity
Fields in net.minecraft.entity declared as TextFields in net.minecraft.entity with type parameters of type TextModifier and TypeFieldDescriptionprivate static final TrackedData
<Optional<Text>> Entity.CUSTOM_NAME
Methods in net.minecraft.entity that return TextModifier and TypeMethodDescriptionEntity.getCustomName()
Returns the custom name of this object, ornull
if there is none.protected Text
Entity.getDefaultName()
Returns the default name of the entity.protected Text
FallingBlockEntity.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 Text
Entity.removeClickEvents
(Text textComponent) Methods in net.minecraft.entity with parameters of type TextModifier and TypeMethodDescriptionprivate static Text
Entity.removeClickEvents
(Text textComponent) void
Entity.setCustomName
(@Nullable Text name) Sets the custom name of the entity toname
(ornull
to 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) void
WitherEntity.setCustomName
(@Nullable Text name) Sets the custom name of the entity toname
(ornull
to remove the custom name).void
void
Constructors in net.minecraft.entity.boss with parameters of type TextModifierConstructorDescriptionBossBar
(UUID uuid, Text name, BossBar.Color color, BossBar.Style style) CommandBossBar
(Identifier id, Text displayName) ServerBossBar
(Text displayName, BossBar.Color color, BossBar.Style style) -
Uses of Text in net.minecraft.entity.damage
Methods in net.minecraft.entity.damage that return TextModifier and TypeMethodDescriptionprivate Text
DamageTracker.getAttackedFallDeathMessage
(Entity attacker, Text attackerDisplayName, String itemDeathTranslationKey, String deathTranslationKey) DamageSource.getDeathMessage
(LivingEntity killed) DamageTracker.getDeathMessage()
DamageTracker.getDisplayName
(@Nullable Entity entity) private Text
DamageTracker.getFallDeathMessage
(DamageRecord damageRecord, @Nullable Entity attacker) Methods in net.minecraft.entity.damage with parameters of type Text -
Uses of Text in net.minecraft.entity.data
Fields in net.minecraft.entity.data with type parameters of type TextModifier and TypeFieldDescriptionstatic final TrackedDataHandler
<Optional<Text>> TrackedDataHandlerRegistry.OPTIONAL_TEXT_COMPONENT
static final TrackedDataHandler
<Text> TrackedDataHandlerRegistry.TEXT_COMPONENT
-
Uses of Text in net.minecraft.entity.decoration
Fields in net.minecraft.entity.decoration declared as TextModifier and TypeFieldDescriptionprivate final Text
DisplayEntity.TextDisplayEntity.Data.text
The field for thetext
record component.Fields in net.minecraft.entity.decoration with type parameters of type TextModifier and TypeFieldDescriptionprivate static final TrackedData
<Text> DisplayEntity.TextDisplayEntity.TEXT
Methods in net.minecraft.entity.decoration that return TextModifier and TypeMethodDescriptionprivate Text
DisplayEntity.TextDisplayEntity.getText()
DisplayEntity.TextDisplayEntity.Data.text()
Returns the value of thetext
record component.Methods in net.minecraft.entity.decoration with parameters of type TextModifier and TypeMethodDescriptionprivate void
Constructors in net.minecraft.entity.decoration with parameters of type TextModifierConstructorDescriptionData
(Text text, int int2, DisplayEntity.IntLerper intLerper, DisplayEntity.IntLerper intLerper2, byte byte2) -
Uses of Text in net.minecraft.entity.decoration.painting
Fields in net.minecraft.entity.decoration.painting with type parameters of type TextModifier and TypeFieldDescriptionPaintingVariant.author
The field for theauthor
record component.PaintingVariant.title
The field for thetitle
record component.Methods in net.minecraft.entity.decoration.painting that return types with arguments of type TextModifier and TypeMethodDescriptionPaintingVariant.author()
Returns the value of theauthor
record component.PaintingVariant.title()
Returns the value of thetitle
record component.Constructor parameters in net.minecraft.entity.decoration.painting with type arguments of type TextModifierConstructorDescriptionPaintingVariant
(int width, int height, Identifier identifier, Optional<Text> optional, Optional<Text> optional2) -
Uses of Text in net.minecraft.entity.effect
Methods in net.minecraft.entity.effect that return TextModifier and TypeMethodDescriptionstatic Text
StatusEffectUtil.getDurationText
(StatusEffectInstance effect, float multiplier, float tickRate) StatusEffect.getName()
-
Uses of Text in net.minecraft.entity.mob
Methods in net.minecraft.entity.mob with parameters of type TextModifier and TypeMethodDescriptionvoid
VindicatorEntity.setCustomName
(@Nullable Text name) Sets the custom name of the entity toname
(ornull
to 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 Text
VillagerEntity.getDefaultName()
Returns the default name of the entity.TropicalFishEntity.Variety.getText()
-
Uses of Text in net.minecraft.entity.player
Fields in net.minecraft.entity.player declared as TextModifier and TypeFieldDescriptionPlayerEntity.SleepFailureReason.message
private final Text
PlayerModelPart.optionName
Methods in net.minecraft.entity.player that return TextModifier and TypeMethodDescriptionPlayerEntity.getDisplayName()
Returns the display name of this object.PlayerEntity.SleepFailureReason.getMessage()
Returns the action bar message that is sent to the player when sleeping fails with this reason.PlayerEntity.getName()
Returns the name of this object.PlayerInventory.getName()
Returns the name of this object.PlayerModelPart.getOptionName()
Methods in net.minecraft.entity.player with parameters of type TextModifier and TypeMethodDescriptionvoid
PlayerEntity.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 final Text
SmithingTemplateItem.additionsSlotDescriptionText
private static final Text
SmithingTemplateItem.APPLIES_TO_TEXT
private final Text
SmithingTemplateItem.appliesToText
private static final Text
SmithingTemplateItem.ARMOR_TRIM_ADDITIONS_SLOT_DESCRIPTION_TEXT
private static final Text
SmithingTemplateItem.ARMOR_TRIM_APPLIES_TO_TEXT
private static final Text
SmithingTemplateItem.ARMOR_TRIM_BASE_SLOT_DESCRIPTION_TEXT
private static final Text
SmithingTemplateItem.ARMOR_TRIM_INGREDIENTS_TEXT
private final Text
SmithingTemplateItem.baseSlotDescriptionText
static final Text
BlockPredicatesChecker.CAN_BREAK_TEXT
static final Text
BlockPredicatesChecker.CAN_PLACE_TEXT
private static final Text
BlockPredicatesChecker.CAN_USE_UNKNOWN_TEXT
private final Text
Instrument.description
The field for thedescription
record component.private static final Text
ItemStack.DISABLED_TEXT
private Text
ItemGroup.Builder.displayName
private final Text
ItemGroup.displayName
private static final Text
SmithingTemplateItem.INGREDIENTS_TEXT
private final Text
SmithingTemplateItem.ingredientsText
private static final Text
CompassItem.LODESTONE_COMPASS_NAME
private static final Text
SmithingTemplateItem.NETHERITE_UPGRADE_ADDITIONS_SLOT_DESCRIPTION_TEXT
private static final Text
SmithingTemplateItem.NETHERITE_UPGRADE_APPLIES_TO_TEXT
private static final Text
SmithingTemplateItem.NETHERITE_UPGRADE_BASE_SLOT_DESCRIPTION_TEXT
private static final Text
SmithingTemplateItem.NETHERITE_UPGRADE_INGREDIENTS_TEXT
private static final Text
DecorationItem.RANDOM_TEXT
private static final Text
SmithingTemplateItem.SMITHING_TEMPLATE_TEXT
Fields in net.minecraft.item with type parameters of type TextMethods in net.minecraft.item that return TextModifier and TypeMethodDescriptionInstrument.description()
Returns the value of thedescription
record component.SmithingTemplateItem.getAdditionsSlotDescription()
SmithingTemplateItem.getBaseSlotDescription()
ItemGroup.getDisplayName()
ItemStack.getFormattedName()
static Text
FilledMapItem.getIdText
(MapIdComponent id) ItemStack.getItemName()
final Text
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 TypeMethodDescriptionBlockPredicatesChecker.createTooltipText
(List<BlockPredicate> blockPredicates) BlockPredicatesChecker.getOrCreateTooltipText()
ItemStack.getTooltip
(Item.TooltipContext context, @Nullable PlayerEntity player, TooltipType type) Methods in net.minecraft.item with parameters of type TextModifier and TypeMethodDescriptionItemGroup.Builder.displayName
(Text displayName) (package private) ComponentMap
Item.Settings.getValidatedComponents
(Text name, Identifier modelId) private static void
DebugStickItem.sendMessage
(PlayerEntity player, Text message) Method parameters in net.minecraft.item with type arguments of type TextModifier and TypeMethodDescriptionvoid
BlockPredicatesChecker.addTooltips
(Consumer<Text> adder) private void
ItemStack.appendAttributeModifiersTooltip
(Consumer<Text> textConsumer, @Nullable PlayerEntity player) private void
ItemStack.appendAttributeModifierTooltip
(Consumer<Text> textConsumer, @Nullable PlayerEntity player, RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier modifier) static void
BannerItem.appendBannerTooltip
(ItemStack stack, List<Text> tooltip) void
AirBlockItem.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.void
BannerItem.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.void
BlockItem.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.void
CrossbowItem.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.void
DecorationItem.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.void
DiscFragmentItem.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.void
EntityBucketItem.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.void
FilledMapItem.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.void
FireworkRocketItem.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.void
FireworkStarItem.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.void
GoatHornItem.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.void
Item.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.private <T extends TooltipAppender>
voidItemStack.appendTooltip
(ComponentType<T> componentType, Item.TooltipContext context, Consumer<Text> textConsumer, TooltipType type) void
LingeringPotionItem.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.void
PotionItem.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.void
ShieldItem.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.void
SmithingTemplateItem.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.void
TippedArrowItem.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.void
WrittenBookItem.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.Constructors in net.minecraft.item with parameters of type TextModifierConstructorDescriptionInstrument
(RegistryEntry<SoundEvent> registryEntry, float float2, float float3, Text text) (package private)
ItemGroup
(ItemGroup.Row row, int column, ItemGroup.Type type, Text displayName, Supplier<ItemStack> iconSupplier, ItemGroup.EntryCollector entryCollector) SmithingTemplateItem
(Text appliesToText, Text ingredientsText, Text baseSlotDescriptionText, Text additionsSlotDescriptionText, List<Identifier> emptyBaseSlotTextures, List<Identifier> emptyAdditionsSlotTextures, Item.Settings settings) -
Uses of Text in net.minecraft.item.equipment.trim
Fields in net.minecraft.item.equipment.trim declared as TextModifier and TypeFieldDescriptionprivate final Text
ArmorTrimMaterial.description
The field for thedescription
record component.private final Text
ArmorTrimPattern.description
The field for thedescription
record component.private static final Text
ArmorTrim.UPGRADE_TEXT
Methods in net.minecraft.item.equipment.trim that return TextModifier and TypeMethodDescriptionArmorTrimMaterial.description()
Returns the value of thedescription
record component.ArmorTrimPattern.description()
Returns the value of thedescription
record component.ArmorTrimPattern.getDescription
(RegistryEntry<ArmorTrimMaterial> material) Methods in net.minecraft.item.equipment.trim with parameters of type TextModifier and TypeMethodDescriptionstatic ArmorTrimMaterial
ArmorTrimMaterial.of
(String assetName, Item ingredient, float itemModelIndex, Text description, Map<Identifier, String> overrideArmorMaterials) Method parameters in net.minecraft.item.equipment.trim with type arguments of type TextModifier and TypeMethodDescriptionvoid
ArmorTrim.appendTooltip
(Item.TooltipContext context, Consumer<Text> tooltip, TooltipType type) Constructors in net.minecraft.item.equipment.trim with parameters of type TextModifierConstructorDescriptionArmorTrimMaterial
(String string, RegistryEntry<Item> registryEntry, float float2, Map<Identifier, String> map, Text text) ArmorTrimPattern
(Identifier identifier, RegistryEntry<Item> registryEntry, Text text, boolean bool) -
Uses of Text in net.minecraft.item.map
Fields in net.minecraft.item.map with type parameters of type TextModifier and TypeFieldDescriptionMapBannerMarker.name
The field for thename
record component.MapDecoration.name
The field for thename
record component.Methods in net.minecraft.item.map that return types with arguments of type TextModifier and TypeMethodDescriptionMapBannerMarker.name()
Returns the value of thename
record component.MapDecoration.name()
Returns the value of thename
record component.Methods in net.minecraft.item.map with parameters of type TextModifier and TypeMethodDescriptionprivate void
MapState.addDecoration
(RegistryEntry<MapDecorationType> type, @Nullable WorldAccess world, String key, double x, double z, double rotation, @Nullable Text text) Constructor parameters in net.minecraft.item.map with type arguments of type TextModifierConstructorDescriptionMapBannerMarker
(BlockPos pos, DyeColor dyeColor, Optional<Text> optional) MapDecoration
(RegistryEntry<MapDecorationType> registryEntry, byte x, byte z, byte rotation, Optional<Text> optional) -
Uses of Text in net.minecraft.item.tooltip
Method parameters in net.minecraft.item.tooltip with type arguments of type TextModifier and TypeMethodDescriptionvoid
TooltipAppender.appendTooltip
(Item.TooltipContext context, Consumer<Text> tooltip, TooltipType type) -
Uses of Text in net.minecraft.loot.function
Fields in net.minecraft.loot.function with type parameters of type TextModifier and TypeFieldDescriptionprivate final ImmutableList.Builder
<Text> SetLoreLootFunction.Builder.lore
SetLoreLootFunction.lore
SetNameLootFunction.name
private final List
<RawFilteredPair<Text>> SetWrittenBookPagesLootFunction.pages
static final com.mojang.serialization.Codec
<Text> SetWrittenBookPagesLootFunction.TEXT_CODEC
Methods in net.minecraft.loot.function that return types with arguments of type TextModifier and TypeMethodDescriptionstatic UnaryOperator
<Text> SetNameLootFunction.applySourceEntity
(LootContext context, LootContext.EntityTarget sourceEntity) SetNameLootFunction.Target.getComponentType()
SetLoreLootFunction.getNewLoreTexts
(@Nullable LoreComponent current, LootContext context) Methods in net.minecraft.loot.function with parameters of type TextModifier and TypeMethodDescriptionstatic ConditionalLootFunction.Builder
<?> SetNameLootFunction.builder
(Text name, SetNameLootFunction.Target target) static ConditionalLootFunction.Builder
<?> SetNameLootFunction.builder
(Text name, SetNameLootFunction.Target target, LootContext.EntityTarget entity) Constructor parameters in net.minecraft.loot.function with type arguments of type TextModifierConstructorDescriptionprivate
SetNameLootFunction
(List<LootCondition> conditions, Optional<Text> name, Optional<LootContext.EntityTarget> entity, SetNameLootFunction.Target target) -
Uses of Text in net.minecraft.nbt
Methods in net.minecraft.nbt that return TextModifier and TypeMethodDescriptionstatic Text
NbtHelper.toPrettyPrintedText
(NbtElement element) Returns the pretty-printed text representation ofelement
. -
Uses of Text in net.minecraft.nbt.visitor
Fields in net.minecraft.nbt.visitor declared as TextModifier and TypeFieldDescriptionprivate static final Text
NbtTextFormatter.ARRAY_BYTE_TYPE_SUFFIX
private static final Text
NbtTextFormatter.BYTE_TYPE_SUFFIX
private static final Text
NbtTextFormatter.DOUBLE_TYPE_SUFFIX
private static final Text
NbtTextFormatter.ELLIPSIS
private static final Text
NbtTextFormatter.FLOAT_TYPE_SUFFIX
private static final Text
NbtTextFormatter.INT_TYPE_SUFFIX
private static final Text
NbtTextFormatter.LONG_TYPE_SUFFIX
private static final Text
NbtTextFormatter.SHORT_TYPE_SUFFIX
Methods in net.minecraft.nbt.visitor that return TextModifier and TypeMethodDescriptionNbtTextFormatter.apply
(NbtElement element) Returns the textified NBTelement
.protected static Text
NbtTextFormatter.escapeName
(String name) -
Uses of Text in net.minecraft.network
Fields in net.minecraft.network declared as TextModifier and TypeFieldDescriptionprivate static final Text
RateLimitedConnection.RATE_LIMIT_EXCEEDED_MESSAGE
private final Text
DisconnectionInfo.reason
The field for thereason
record component.Methods in net.minecraft.network that return TextModifier and TypeMethodDescriptionDisconnectionInfo.reason()
Returns the value of thereason
record component.Methods in net.minecraft.network with parameters of type TextConstructors in net.minecraft.network with parameters of type Text -
Uses of Text in net.minecraft.network.encryption
Fields in net.minecraft.network.encryption declared as TextModifier and TypeFieldDescriptionstatic final Text
PlayerPublicKey.EXPIRED_PUBLIC_KEY_TEXT
private static final Text
PlayerPublicKey.INVALID_PUBLIC_KEY_SIGNATURE_TEXT
Constructors in net.minecraft.network.encryption with parameters of type Text -
Uses of Text in net.minecraft.network.listener
Methods in net.minecraft.network.listener with parameters of type TextModifier and TypeMethodDescriptiondefault DisconnectionInfo
PacketListener.createDisconnectionInfo
(Text reason, Throwable exception) -
Uses of Text in net.minecraft.network.message
Fields in net.minecraft.network.message declared as TextModifier and TypeFieldDescription(package private) static final Text
MessageChain.MessageChainException.CHAIN_BROKEN_EXCEPTION
private final Text
SentMessage.Profileless.content
The field for thecontent
record component.(package private) static final Text
MessageChain.MessageChainException.EXPIRED_PROFILE_KEY_EXCEPTION
(package private) static final Text
MessageChain.MessageChainException.INVALID_SIGNATURE_EXCEPTION
(package private) static final Text
MessageChain.MessageChainException.MISSING_PROFILE_KEY_EXCEPTION
private final Text
MessageType.Parameters.name
The field for thename
record component.(package private) static final Text
MessageChain.MessageChainException.OUT_OF_ORDER_CHAT_EXCEPTION
SignedMessage.unsignedContent
The field for theunsignedContent
record component.Fields in net.minecraft.network.message with type parameters of type TextModifier and TypeFieldDescriptionMessageType.Parameters.targetName
The field for thetargetName
record component.Methods in net.minecraft.network.message that return TextModifier and TypeMethodDescriptionMessageType.Parameters.applyChatDecoration
(Text content) MessageType.Parameters.applyNarrationDecoration
(Text content) SentMessage.Chat.content()
SentMessage.content()
SentMessage.Profileless.content()
Returns the value of thecontent
record component.MessageDecorator.decorate
(@Nullable ServerPlayerEntity sender, Text message) SignedMessage.getContent()
FilterMask.getFilteredText
(String message) MessageType.Parameters.name()
Returns the value of thename
record component.SignedMessage.unsignedContent()
Returns the value of theunsignedContent
record component.Methods in net.minecraft.network.message that return types with arguments of type TextModifier and TypeMethodDescriptionMessageType.Parameters.targetName()
Returns the value of thetargetName
record component.Methods in net.minecraft.network.message with parameters of type TextModifier and TypeMethodDescriptionMessageType.Parameters.applyChatDecoration
(Text content) MessageType.Parameters.applyNarrationDecoration
(Text content) MessageDecorator.decorate
(@Nullable ServerPlayerEntity sender, Text message) static MessageType.Parameters
MessageType.params
(RegistryKey<MessageType> typeKey, DynamicRegistryManager registryManager, Text name) MessageType.Parameters.withTargetName
(Text targetName) Returns a new instance with the given target name.SignedMessage.withUnsignedContent
(Text unsignedContent) Constructors in net.minecraft.network.message with parameters of type TextModifierConstructorDescriptionMessageChainException
(Text message) (package private)
Parameters
(RegistryEntry<MessageType> type, Text name) Parameters
(RegistryEntry<MessageType> registryEntry, Text text, Optional<Text> optional) Profileless
(Text text) SignedMessage
(MessageLink messageLink, @Nullable MessageSignatureData messageSignatureData, MessageBody messageBody, @Nullable Text text, FilterMask filterMask) Constructor parameters in net.minecraft.network.message with type arguments of type TextModifierConstructorDescriptionParameters
(RegistryEntry<MessageType> registryEntry, Text text, Optional<Text> optional) -
Uses of Text in net.minecraft.network.packet.s2c.common
Fields in net.minecraft.network.packet.s2c.common declared as TextModifier and TypeFieldDescriptionprivate final Text
DisconnectS2CPacket.reason
The field for thereason
record component.Fields in net.minecraft.network.packet.s2c.common with type parameters of type TextModifier and TypeFieldDescriptionResourcePackSendS2CPacket.prompt
The field for theprompt
record component.Methods in net.minecraft.network.packet.s2c.common that return TextModifier and TypeMethodDescriptionDisconnectS2CPacket.reason()
Returns the value of thereason
record component.Methods in net.minecraft.network.packet.s2c.common that return types with arguments of type TextModifier and TypeMethodDescriptionResourcePackSendS2CPacket.prompt()
Returns the value of theprompt
record component.Constructors in net.minecraft.network.packet.s2c.common with parameters of type TextConstructor parameters in net.minecraft.network.packet.s2c.common with type arguments of type Text -
Uses of Text in net.minecraft.network.packet.s2c.login
Fields in net.minecraft.network.packet.s2c.login declared as TextMethods in net.minecraft.network.packet.s2c.login that return TextConstructors in net.minecraft.network.packet.s2c.login with parameters of type Text -
Uses of Text in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as TextModifier and TypeFieldDescriptionprivate final Text
GameMessageS2CPacket.content
The field for thecontent
record component.private final Text
ServerMetadataS2CPacket.description
The field for thedescription
record component.PlayerListS2CPacket.Entry.displayName
The field for thedisplayName
record component.PlayerListS2CPacket.Serialized.displayName
private final Text
ScoreboardObjectiveUpdateS2CPacket.displayName
private final Text
TeamS2CPacket.SerializableTeam.displayName
private final Text
PlayerListHeaderS2CPacket.footer
The field for thefooter
record component.private final Text
PlayerListHeaderS2CPacket.header
The field for theheader
record component.private final Text
DeathMessageS2CPacket.message
The field for themessage
record component.private final Text
ProfilelessChatMessageS2CPacket.message
The field for themessage
record component.private final Text
BossBarS2CPacket.AddAction.name
private final Text
BossBarS2CPacket.UpdateNameAction.name
The field for thename
record component.private final Text
OpenScreenS2CPacket.name
private final Text
TeamS2CPacket.SerializableTeam.prefix
private final Text
TeamS2CPacket.SerializableTeam.suffix
private final Text
OverlayMessageS2CPacket.text
The field for thetext
record component.private final Text
SubtitleS2CPacket.text
The field for thetext
record component.private final Text
TitleS2CPacket.text
The field for thetext
record component.ChatMessageS2CPacket.unsignedContent
The field for theunsignedContent
record component.Fields in net.minecraft.network.packet.s2c.play with type parameters of type TextModifier and TypeFieldDescriptionScoreboardScoreUpdateS2CPacket.display
The field for thedisplay
record component.CommandSuggestionsS2CPacket.Suggestion.tooltip
The field for thetooltip
record component.Methods in net.minecraft.network.packet.s2c.play that return TextModifier and TypeMethodDescriptionGameMessageS2CPacket.content()
Returns the value of thecontent
record component.ServerMetadataS2CPacket.description()
Returns the value of thedescription
record component.PlayerListS2CPacket.Entry.displayName()
Returns the value of thedisplayName
record component.PlayerListHeaderS2CPacket.footer()
Returns the value of thefooter
record component.ScoreboardObjectiveUpdateS2CPacket.getDisplayName()
TeamS2CPacket.SerializableTeam.getDisplayName()
OpenScreenS2CPacket.getName()
TeamS2CPacket.SerializableTeam.getPrefix()
TeamS2CPacket.SerializableTeam.getSuffix()
PlayerListHeaderS2CPacket.header()
Returns the value of theheader
record component.DeathMessageS2CPacket.message()
Returns the value of themessage
record component.ProfilelessChatMessageS2CPacket.message()
Returns the value of themessage
record component.BossBarS2CPacket.UpdateNameAction.name()
Returns the value of thename
record component.OverlayMessageS2CPacket.text()
Returns the value of thetext
record component.SubtitleS2CPacket.text()
Returns the value of thetext
record component.TitleS2CPacket.text()
Returns the value of thetext
record component.ChatMessageS2CPacket.unsignedContent()
Returns the value of theunsignedContent
record component.Methods in net.minecraft.network.packet.s2c.play that return types with arguments of type TextModifier and TypeMethodDescriptionScoreboardScoreUpdateS2CPacket.display()
Returns the value of thedisplay
record component.CommandSuggestionsS2CPacket.Suggestion.tooltip()
Returns the value of thetooltip
record component.Methods in net.minecraft.network.packet.s2c.play with parameters of type TextModifier and TypeMethodDescriptiondefault void
BossBarS2CPacket.Consumer.add
(UUID uuid, Text name, float percent, BossBar.Color color, BossBar.Style style, boolean darkenSky, boolean dragonMusic, boolean thickenFog) default void
BossBarS2CPacket.Consumer.updateName
(UUID uuid, Text name) Constructors in net.minecraft.network.packet.s2c.play with parameters of type TextModifierConstructorDescriptionChatMessageS2CPacket
(UUID uUID, int int2, @Nullable MessageSignatureData messageSignatureData, MessageBody.Serialized serialized, @Nullable Text text, FilterMask filterMask, MessageType.Parameters parameters) DeathMessageS2CPacket
(int int2, Text text) Entry
(UUID uUID, @Nullable com.mojang.authlib.GameProfile gameProfile, boolean bool, int int2, GameMode gameMode, @Nullable Text text, int int3, PublicPlayerSession.Serialized serialized) GameMessageS2CPacket
(Text text, boolean bool) OpenScreenS2CPacket
(int syncId, ScreenHandlerType<?> screenHandlerId, Text name) OverlayMessageS2CPacket
(Text text) Creates an instance of aOverlayMessageS2CPacket
record class.PlayerListHeaderS2CPacket
(Text text, Text text2) ProfilelessChatMessageS2CPacket
(Text text, MessageType.Parameters parameters) ServerMetadataS2CPacket
(Text text, Optional<byte[]> optional) SubtitleS2CPacket
(Text text) Creates an instance of aSubtitleS2CPacket
record class.TitleS2CPacket
(Text text) Creates an instance of aTitleS2CPacket
record class.(package private)
UpdateNameAction
(Text name) Creates an instance of aUpdateNameAction
record class.Constructor parameters in net.minecraft.network.packet.s2c.play with type arguments of type TextModifierConstructorDescriptionScoreboardScoreUpdateS2CPacket
(String string, String string2, int int2, Optional<Text> optional, Optional<NumberFormat> optional2) Suggestion
(String string, Optional<Text> optional) -
Uses of Text in net.minecraft.predicate.item
Fields in net.minecraft.predicate.item declared as TextModifier and TypeFieldDescriptionprivate final Text
WrittenBookContentPredicate.RawTextPredicate.contents
The field for thecontents
record component.Fields in net.minecraft.predicate.item with type parameters of type TextModifier and TypeFieldDescriptionprivate final Optional
<CollectionPredicate<RawFilteredPair<Text>, WrittenBookContentPredicate.RawTextPredicate>> WrittenBookContentPredicate.pages
The field for thepages
record component.Methods in net.minecraft.predicate.item that return TextModifier and TypeMethodDescriptionWrittenBookContentPredicate.RawTextPredicate.contents()
Returns the value of thecontents
record component.Methods in net.minecraft.predicate.item that return types with arguments of type TextModifier and TypeMethodDescriptionWrittenBookContentPredicate.pages()
Returns the value of thepages
record component.Method parameters in net.minecraft.predicate.item with type arguments of type TextModifier and TypeMethodDescriptionboolean
WrittenBookContentPredicate.RawTextPredicate.test
(RawFilteredPair<Text> rawFilteredPair) Constructors in net.minecraft.predicate.item with parameters of type TextConstructor parameters in net.minecraft.predicate.item with type arguments of type TextModifierConstructorDescriptionWrittenBookContentPredicate
(Optional<CollectionPredicate<RawFilteredPair<Text>, WrittenBookContentPredicate.RawTextPredicate>> optional, Optional<String> optional2, Optional<String> optional3, NumberRange.IntRange intRange, Optional<Boolean> optional4) -
Uses of Text in net.minecraft.resource
Fields in net.minecraft.resource declared as TextModifier and TypeFieldDescriptionprivate final Text
ResourcePackCompatibility.confirmMessage
private final Text
ResourcePackProfile.Metadata.description
The field for thedescription
record component.private final Text
ResourcePackCompatibility.notification
private final Text
ResourcePackInfo.title
The field for thetitle
record component.Fields in net.minecraft.resource with type parameters of type TextModifier and TypeFieldDescriptionstatic final UnaryOperator
<Text> ResourcePackSource.NONE_SOURCE_TEXT_SUPPLIER
Methods in net.minecraft.resource that return TextModifier and TypeMethodDescriptionResourcePackProfile.Metadata.description()
Returns the value of thedescription
record component.ResourcePackCompatibility.getConfirmMessage()
ResourcePackProfile.getDescription()
ResourcePackProfile.getDisplayName()
protected Text
VanillaDataPackProvider.getDisplayName
(String id) protected abstract Text
VanillaResourcePackProvider.getDisplayName
(String id) ResourcePackInfo.getInformationText
(boolean enabled, Text description) ResourcePackProfile.getInformationText
(boolean enabled) ResourcePackCompatibility.getNotification()
ResourcePackInfo.title()
Returns the value of thetitle
record component.Methods in net.minecraft.resource that return types with arguments of type TextModifier and TypeMethodDescriptionprivate static UnaryOperator
<Text> ResourcePackSource.getSourceTextSupplier
(String translationKey) Methods in net.minecraft.resource with parameters of type TextModifier and TypeMethodDescriptionprotected @Nullable ResourcePackProfile
VanillaDataPackProvider.create
(String fileName, ResourcePackProfile.PackFactory packFactory, Text displayName) protected abstract @Nullable ResourcePackProfile
VanillaResourcePackProvider.create
(String fileName, ResourcePackProfile.PackFactory packFactory, Text displayName) private static ResourcePackInfo
VanillaDataPackProvider.createInfo
(String id, Text title) ResourcePackInfo.getInformationText
(boolean enabled, Text description) Method parameters in net.minecraft.resource with type arguments of type TextModifier and TypeMethodDescriptionstatic ResourcePackSource
ResourcePackSource.create
(UnaryOperator<Text> sourceTextSupplier, boolean canBeEnabledLater) Constructors in net.minecraft.resource with parameters of type TextModifierConstructorDescriptionMetadata
(Text text, ResourcePackCompatibility resourcePackCompatibility, FeatureSet featureSet, List<String> list) ResourcePackInfo
(String string, Text text, ResourcePackSource resourcePackSource, Optional<VersionedIdentifier> optional) -
Uses of Text in net.minecraft.resource.metadata
Fields in net.minecraft.resource.metadata declared as TextModifier and TypeFieldDescriptionprivate final Text
PackResourceMetadata.description
The field for thedescription
record component.Methods in net.minecraft.resource.metadata that return TextModifier and TypeMethodDescriptionPackResourceMetadata.description()
Returns the value of thedescription
record component.Constructors in net.minecraft.resource.metadata with parameters of type TextModifierConstructorDescriptionPackResourceMetadata
(Text description, int format, Optional<Range<Integer>> optional) -
Uses of Text in net.minecraft.scoreboard
Fields in net.minecraft.scoreboard declared as TextModifier and TypeFieldDescriptionprivate Text
ScoreboardObjective.bracketedDisplayName
ScoreboardEntry.display
The field for thedisplay
record component.private Text
ScoreboardObjective.displayName
private Text
Team.displayName
ScoreboardScore.displayText
private Text
Team.prefix
private Text
Team.suffix
Methods in net.minecraft.scoreboard that return TextModifier and TypeMethodDescriptionScoreboardEntry.display()
Returns the value of thedisplay
record component.private Text
ScoreboardObjective.generateBracketedDisplayName()
AbstractTeam.CollisionRule.getDisplayName()
AbstractTeam.VisibilityRule.getDisplayName()
ScoreboardObjective.getDisplayName()
ScoreHolder.getDisplayName()
Team.getDisplayName()
ScoreAccess.getDisplayText()
ScoreboardScore.getDisplayText()
Team.getPrefix()
default Text
ScoreHolder.getStyledDisplayName()
Team.getSuffix()
ScoreboardEntry.name()
ScoreboardObjective.toHoverableText()
Methods in net.minecraft.scoreboard with parameters of type TextModifier and TypeMethodDescriptionScoreboard.addObjective
(String name, ScoreboardCriterion criterion, Text displayName, ScoreboardCriterion.RenderType renderType, boolean displayAutoUpdate, @Nullable NumberFormat numberFormat) abstract MutableText
AbstractTeam.decorateName
(Text name) Decorates the name of an entity with the prefix, suffix and color of this team.static MutableText
Team.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.void
ScoreboardObjective.setDisplayName
(Text name) void
Team.setDisplayName
(Text displayName) void
ScoreAccess.setDisplayText
(@Nullable Text text) void
ScoreboardScore.setDisplayText
(@Nullable Text text) void
void
Constructors in net.minecraft.scoreboard with parameters of type TextModifierConstructorDescriptionScoreboardEntry
(String string, int int2, @Nullable Text text, @Nullable NumberFormat numberFormat) ScoreboardObjective
(Scoreboard scoreboard, String name, ScoreboardCriterion criterion, Text displayName, ScoreboardCriterion.RenderType renderType, boolean displayAutoUpdate, @Nullable NumberFormat numberFormat) -
Uses of Text in net.minecraft.scoreboard.number
Fields in net.minecraft.scoreboard.number declared as TextConstructors in net.minecraft.scoreboard.number with parameters of type Text -
Uses of Text in net.minecraft.screen
Fields in net.minecraft.screen declared as TextModifier and TypeFieldDescriptionstatic final Text
ScreenTexts.ACKNOWLEDGE
static final Text
ScreenTexts.BACK
static final Text
ScreenTexts.CANCEL
static final Text
ScreenTexts.CONNECT_FAILED
static final Text
ScreenTexts.CONNECT_FAILED_TRANSFER
static final Text
ScreenTexts.CONTINUE
static final Text
ScreenTexts.COPY_LINK_TO_CLIPBOARD
static final Text
ScreenTexts.DISCONNECT
static final Text
ScreenTexts.DONE
static final Text
ScreenTexts.ELLIPSIS
static final Text
ScreenTexts.EMPTY
static final Text
ScreenTexts.LINE_BREAK
private final Text
SimpleNamedScreenHandlerFactory.name
static final Text
ScreenTexts.NO
static final Text
ScreenTexts.OFF
static final Text
ScreenTexts.OK
static final Text
ScreenTexts.ON
static final Text
ScreenTexts.OPEN_LINK
static final Text
ScreenTexts.PROCEED
static final Text
ScreenTexts.SENTENCE_SEPARATOR
static final Text
ScreenTexts.SPACE
static final Text
ScreenTexts.TO_TITLE
static final Text
ScreenTexts.YES
Methods 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 Text
ScreenTexts.joinLines
(Collection<? extends Text> texts) static Text
static Text
ScreenTexts.onOrOff
(boolean on) Methods in net.minecraft.screen with parameters of type TextModifier and TypeMethodDescriptionstatic MutableText
ScreenTexts.composeGenericOptionText
(Text text, Text value) static MutableText
ScreenTexts.composeToggleText
(Text text, boolean value) static Text
static MutableText
ScreenTexts.joinSentences
(Text[] sentences) Method parameters in net.minecraft.screen with type arguments of type TextModifier and TypeMethodDescriptionstatic Text
ScreenTexts.joinLines
(Collection<? extends Text> texts) Constructors in net.minecraft.screen with parameters of type TextModifierConstructorDescriptionSimpleNamedScreenHandlerFactory
(ScreenHandlerFactory baseFactory, Text name) -
Uses of Text in net.minecraft.server
Fields in net.minecraft.server declared as TextModifier and TypeFieldDescriptionprivate final Text
ServerMetadata.description
The field for thedescription
record component.static final Text
PlayerManager.DUPLICATE_LOGIN_TEXT
static final Text
PlayerManager.FILTERED_FULL_TEXT
MinecraftServer.ServerResourcePackProperties.prompt
The field for theprompt
record component.Fields in net.minecraft.server with type parameters of type TextModifier and TypeFieldDescriptionprivate final com.mojang.datafixers.util.Either
<ServerLinks.Known, Text> ServerLinks.Entry.type
The field for thetype
record component.private final com.mojang.datafixers.util.Either
<ServerLinks.Known, Text> ServerLinks.StringifiedEntry.type
The field for thetype
record component.static final PacketCodec
<ByteBuf, com.mojang.datafixers.util.Either<ServerLinks.Known, Text>> ServerLinks.TYPE_CODEC
Methods in net.minecraft.server that return TextModifier and TypeMethodDescriptionPlayerManager.checkCanJoin
(SocketAddress address, com.mojang.authlib.GameProfile profile) ServerMetadata.description()
Returns the value of thedescription
record component.ServerLinks.Entry.getText()
private Text
ServerLinks.Known.getText()
MinecraftServer.ServerResourcePackProperties.prompt()
Returns the value of theprompt
record component.abstract Text
BanEntry.toText()
BannedIpEntry.toText()
BannedPlayerEntry.toText()
Methods in net.minecraft.server that return types with arguments of type TextModifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either
<ServerLinks.Known, Text> ServerLinks.Entry.type()
Returns the value of thetype
record component.com.mojang.datafixers.util.Either
<ServerLinks.Known, Text> ServerLinks.StringifiedEntry.type()
Returns the value of thetype
record component.Methods in net.minecraft.server with parameters of type TextModifier and TypeMethodDescriptionvoid
Broadcasts a message to all players and the server console.void
PlayerManager.broadcast
(Text message, Function<ServerPlayerEntity, Text> playerMessageFactory, boolean overlay) Broadcasts a message to all players and the server console.static ServerLinks.Entry
void
MinecraftServer.logChatMessage
(Text message, MessageType.Parameters params, @Nullable String prefix) void
MinecraftServer.sendMessage
(Text message) Sends a system message.void
PlayerManager.sendToOtherTeams
(PlayerEntity source, Text message) void
PlayerManager.sendToTeam
(PlayerEntity source, Text message) Method parameters in net.minecraft.server with type arguments of type TextModifier and TypeMethodDescriptionvoid
PlayerManager.broadcast
(Text message, Function<ServerPlayerEntity, Text> playerMessageFactory, boolean overlay) Broadcasts a message to all players and the server console.Constructors in net.minecraft.server with parameters of type TextModifierConstructorDescriptionServerMetadata
(Text text, Optional<ServerMetadata.Players> optional, Optional<ServerMetadata.Version> optional2, Optional<ServerMetadata.Favicon> optional3, boolean bool) ServerResourcePackProperties
(UUID uUID, String string, String string2, boolean bool, @Nullable Text text) Constructor parameters in net.minecraft.server with type arguments of type TextModifierConstructorDescriptionEntry
(com.mojang.datafixers.util.Either<ServerLinks.Known, Text> either, URI uRI) StringifiedEntry
(com.mojang.datafixers.util.Either<ServerLinks.Known, Text> either, String string) -
Uses of Text in net.minecraft.server.command
Fields in net.minecraft.server.command declared as TextMethods in net.minecraft.server.command that return TextModifier and TypeMethodDescriptionServerCommandSource.getDisplayName()
private static Text
TeamCommand.getMemberName
(Collection<ScoreHolder> members) private static Text
AttributeCommand.getName
(RegistryEntry<EntityAttribute> attribute) private static Text
ScoreboardCommand.getNextDisplayName
(Collection<ScoreHolder> targets) Methods in net.minecraft.server.command with parameters of type TextModifier and TypeMethodDescriptionprivate static int
BossBarCommand.addBossBar
(ServerCommandSource source, Identifier name, Text displayName) private static int
KickCommand.execute
(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Text reason) private static int
TeamCommand.executeAdd
(ServerCommandSource source, String team, Text displayName) private static int
ScoreboardCommand.executeAddObjective
(ServerCommandSource source, String objective, ScoreboardCriterion criteria, Text displayName) private static int
TeamCommand.executeModifyDisplayName
(ServerCommandSource source, Team team, Text displayName) private static int
ScoreboardCommand.executeModifyObjective
(ServerCommandSource source, ScoreboardObjective objective, Text displayName) private static int
TeamCommand.executeModifyPrefix
(ServerCommandSource source, Team team, Text prefix) private static int
TeamCommand.executeModifySuffix
(ServerCommandSource source, Team team, Text suffix) private static int
ScoreboardCommand.executeSetDisplayName
(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective, @Nullable Text displayName) private static int
RaidCommand.executeSound
(ServerCommandSource source, @Nullable Text type) private static int
TitleCommand.executeTitle
(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Text title, String titleType, Function<Text, Packet<?>> constructor) void
void
CommandOutput.sendMessage
(Text message) Sends a system message.void
DebugCommand.Tracer.sendMessage
(Text message) Sends a system message.void
ServerCommandSource.sendMessage
(Text message) Sendsmessage
as the feedback to the command's executor, or to the server's log if the command is not executed by a player.private void
private static int
BossBarCommand.setName
(ServerCommandSource source, CommandBossBar bossBar, Text name) Method parameters in net.minecraft.server.command with type arguments of type TextModifier and TypeMethodDescriptionprivate static int
ListCommand.execute
(ServerCommandSource source, Function<ServerPlayerEntity, Text> nameProvider) private static int
TitleCommand.executeTitle
(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Text title, String titleType, Function<Text, Packet<?>> constructor) static com.mojang.datafixers.util.Either
<Integer, com.mojang.brigadier.exceptions.CommandSyntaxException> FillBiomeCommand.fillBiome
(ServerWorld world, BlockPos from, BlockPos to, RegistryEntry<Biome> biome, Predicate<RegistryEntry<Biome>> filter, Consumer<Supplier<Text>> feedbackConsumer) void
ServerCommandSource.sendFeedback
(Supplier<Text> feedbackSupplier, boolean broadcastToOps) Constructors in net.minecraft.server.command with parameters of type TextModifierConstructorDescriptionServerCommandSource
(CommandOutput output, Vec3d pos, Vec2f rot, ServerWorld world, int level, String name, Text displayName, MinecraftServer server, @Nullable Entity entity) protected
ServerCommandSource
(CommandOutput output, Vec3d pos, Vec2f rot, ServerWorld world, int level, String name, Text displayName, MinecraftServer server, @Nullable Entity entity, boolean silent, ReturnValueConsumer resultStorer, EntityAnchorArgumentType.EntityAnchor entityAnchor, SignedCommandArguments signedArguments, FutureQueue messageChainTaskQueue) -
Uses of Text in net.minecraft.server.dedicated
Methods in net.minecraft.server.dedicated that return Text -
Uses of Text in net.minecraft.server.dedicated.command
Methods in net.minecraft.server.dedicated.command with parameters of type TextModifier and TypeMethodDescriptionprivate static int
BanCommand.ban
(ServerCommandSource source, Collection<com.mojang.authlib.GameProfile> targets, @Nullable Text reason) private static int
BanIpCommand.banIp
(ServerCommandSource source, String targetIp, @Nullable Text reason) private static int
BanIpCommand.checkIp
(ServerCommandSource source, String target, @Nullable Text reason) -
Uses of Text in net.minecraft.server.function
Fields in net.minecraft.server.function declared as TextMethods in net.minecraft.server.function that return TextConstructors in net.minecraft.server.function with parameters of type Text -
Uses of Text in net.minecraft.server.integrated
Methods in net.minecraft.server.integrated that return TextModifier and TypeMethodDescriptionIntegratedPlayerManager.checkCanJoin
(SocketAddress address, com.mojang.authlib.GameProfile profile) -
Uses of Text in net.minecraft.server.network
Fields in net.minecraft.server.network declared as TextModifier and TypeFieldDescriptionprivate static final Text
ServerPlayNetworkHandler.CHAT_VALIDATION_FAILED_TEXT
private static final Text
ServerHandshakeNetworkHandler.IGNORING_STATUS_REQUEST_MESSAGE
private static final Text
ServerPlayNetworkHandler.INVALID_COMMAND_SIGNATURE_TEXT
private static final Text
ServerConfigurationNetworkHandler.INVALID_PLAYER_DATA_TEXT
private static final Text
ServerQueryNetworkHandler.REQUEST_HANDLED
private static final Text
ServerCommonNetworkHandler.TIMEOUT_TEXT
(package private) static final Text
ServerCommonNetworkHandler.UNEXPECTED_QUERY_RESPONSE_TEXT
Methods in net.minecraft.server.network that return TextMethods in net.minecraft.server.network with parameters of type TextModifier and TypeMethodDescriptionvoid
ServerCommonNetworkHandler.disconnect
(Text reason) void
ServerLoginNetworkHandler.disconnect
(Text reason) void
ServerPlayerEntity.sendMessage
(Text message) void
ServerPlayerEntity.sendMessage
(Text message, boolean overlay) Adds a message to this player's HUD.void
ServerPlayerEntity.sendMessageToClient
(Text message, boolean overlay) void
ServerPlayNetworkHandler.sendProfilelessChatMessage
(Text message, MessageType.Parameters params) -
Uses of Text in net.minecraft.server.rcon
Fields in net.minecraft.server.rcon declared as TextMethods in net.minecraft.server.rcon with parameters of type TextModifier and TypeMethodDescriptionvoid
RconCommandOutput.sendMessage
(Text message) Sends a system message. -
Uses of Text in net.minecraft.stat
Fields in net.minecraft.stat declared as TextMethods in net.minecraft.stat that return TextConstructors in net.minecraft.stat with parameters of type Text -
Uses of Text in net.minecraft.text
Classes in net.minecraft.text that implement TextModifier and TypeClassDescriptionclass
The text implementation, with mutation operations.Fields in net.minecraft.text declared as TextModifier and TypeFieldDescriptionstatic final Text
Texts.DEFAULT_SEPARATOR_TEXT
static final Text
Fields in net.minecraft.text with type parameters of type TextModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<Text> TextCodecs.CODEC
KeybindTranslations.factory
HoverEvent.EntityContent.name
static final PacketCodec
<RegistryByteBuf, Optional<Text>> TextCodecs.OPTIONAL_PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, Optional<Text>> TextCodecs.OPTIONAL_UNLIMITED_REGISTRY_PACKET_CODEC
static final PacketCodec
<ByteBuf, Text> TextCodecs.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, Text> TextCodecs.REGISTRY_PACKET_CODEC
NbtTextContent.separator
SelectorTextContent.separator
The field for theseparator
record component.static final HoverEvent.Action
<Text> HoverEvent.Action.SHOW_TEXT
MutableText.siblings
static final com.mojang.serialization.Codec
<Text> TextCodecs.STRINGIFIED_CODEC
HoverEvent.EntityContent.tooltip
KeybindTextContent.translated
static final PacketCodec
<RegistryByteBuf, Text> TextCodecs.UNLIMITED_REGISTRY_PACKET_CODEC
Methods 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 Text
KeybindTextContent.getTranslated()
static Text
Texts.join
(Collection<? extends Text> texts, Text separator) static <T> Text
Texts.join
(Collection<? extends T> elements, Function<T, Text> transformer) static Text
Texts.joinOrdered
(Collection<String> strings) static <T extends Comparable<T>>
TextTexts.joinOrdered
(Collection<T> elements, Function<T, Text> transformer) static Text
Text.of
(com.mojang.brigadier.Message message) Returns a text withmessage
.static Text
Creates a literal text with the given string as content.static Text
static Text
Returns a literal text representingdate
.static Text
Returns a text representinguuid
.static Text
Text.of
(Identifier id) Returns a text representingid
.static Text
Returns a text representing chunkpos
.Decoration.Parameter.Selector.select
(Text content, MessageType.Parameters params) static Text
Texts.toText
(com.mojang.brigadier.Message message) Methods in net.minecraft.text that return types with arguments of type TextModifier and TypeMethodDescriptionHoverEvent.EntityContent.asTooltip()
static com.mojang.serialization.Codec
<Text> TextCodecs.codec
(int maxSerializedLength) private static com.mojang.serialization.Codec
<Text> TextCodecs.createCodec
(com.mojang.serialization.Codec<Text> selfCodec) NbtTextContent.getSeparator()
MutableText.getSiblings()
Returns the siblings of this text.Text.getSiblings()
Returns the siblings of this text.Text.getWithStyle
(Style style) SelectorTextContent.separator()
Returns the value of theseparator
record component.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 MutableText
private Text[]
Decoration.collectArguments
(Text content, MessageType.Parameters params) Returns the arguments passed totranslatable(String, Object[])
.default boolean
Returns whether the text containstext
, without considering styles.static boolean
Texts.hasTranslation
(@Nullable Text text) static Text
Texts.join
(Collection<? extends Text> texts, Text separator) static <T> MutableText
Texts.join
(Collection<? extends T> elements, Text separator, Function<T, Text> transformer) static com.mojang.serialization.DataResult
<HoverEvent.EntityContent> HoverEvent.EntityContent.legacySerializer
(Text text, @Nullable RegistryOps<?> ops) private static com.mojang.serialization.DataResult
<HoverEvent.ItemStackContent> HoverEvent.ItemStackContent.legacySerializer
(Text text, @Nullable RegistryOps<?> ops) com.mojang.serialization.DataResult
<T> HoverEvent.LegacySerializer.parse
(Text text, @Nullable RegistryOps<?> os) static MutableText
Decoration.Parameter.Selector.select
(Text content, MessageType.Parameters params) Text.Serializer.serialize
(Text text, Type type, JsonSerializationContext jsonSerializationContext) (package private) static JsonElement
Text.Serialization.toJson
(Text text, RegistryWrapper.WrapperLookup registries) static String
Text.Serialization.toJsonString
(Text text, RegistryWrapper.WrapperLookup registries) Method parameters in net.minecraft.text with type arguments of type TextModifier and TypeMethodDescriptionprivate static MutableText
private static com.mojang.serialization.Codec
<Text> TextCodecs.createCodec
(com.mojang.serialization.Codec<Text> selfCodec) static Text
Texts.join
(Collection<? extends Text> texts, Text separator) static <T> Text
Texts.join
(Collection<? extends T> elements, Function<T, Text> transformer) static <T> MutableText
Texts.join
(Collection<? extends T> elements, Optional<? extends Text> separator, Function<T, Text> transformer) static <T> MutableText
Texts.join
(Collection<? extends T> elements, Optional<? extends Text> separator, Function<T, Text> transformer) static <T> MutableText
Texts.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 MutableText
Text.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 MutableText
Text.selector
(ParsedSelector selector, Optional<Text> separator) static void
KeybindTranslations.setFactory
(Function<String, Supplier<Text>> factory) Constructors in net.minecraft.text with parameters of type TextModifierConstructorDescriptionEntityContent
(EntityType<?> entityType, UUID uuid, @Nullable Text name) Constructor parameters in net.minecraft.text with type arguments of type TextModifierConstructorDescriptionEntityContent
(EntityType<?> entityType, UUID uuid, Optional<Text> name) (package private)
MutableText
(TextContent content, List<Text> siblings, Style style) NbtTextContent
(String rawPath, boolean interpret, Optional<Text> separator, NbtDataSource dataSource) private
NbtTextContent
(String rawPath, NbtPathArgumentType.NbtPath path, boolean interpret, Optional<Text> separator, NbtDataSource dataSource) SelectorTextContent
(ParsedSelector parsedSelector, Optional<Text> separator) -
Uses of Text in net.minecraft.util
Fields in net.minecraft.util declared as TextModifier and TypeFieldDescriptionprivate final Text
TextifiedException.messageText
private final Text
BlockMirror.name
Methods in net.minecraft.util that return TextModifier and TypeMethodDescriptionNameable.getCustomName()
Returns the custom name of this object, ornull
if there is none.default Text
Nameable.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 Text
TranslatableOption.getText()
Methods in net.minecraft.util with parameters of type TextConstructors in net.minecraft.util with parameters of type TextModifierConstructorDescriptionTextifiedException
(Text messageText) TextifiedException
(Text messageText, Throwable cause) -
Uses of Text in net.minecraft.village
Methods in net.minecraft.village with parameters of type TextModifier and TypeMethodDescriptiondefault void
Merchant.sendOffers
(PlayerEntity player, Text name, int levelProgress) -
Uses of Text in net.minecraft.village.raid
Fields in net.minecraft.village.raid declared as TextModifier and TypeFieldDescriptionprivate static final Text
Raid.DEFEAT_TITLE
private static final Text
Raid.EVENT_TEXT
private static final Text
private static final Text
Raid.VICTORY_TITLE
-
Uses of Text in net.minecraft.world
Fields in net.minecraft.world declared as TextModifier and TypeFieldDescriptionCommandBlockExecutor.customName
private static final Text
CommandBlockExecutor.DEFAULT_NAME
CommandBlockExecutor.lastOutput
private final Text
GameMode.simpleTranslatableName
private final Text
GameMode.translatableName
Methods in net.minecraft.world that return TextModifier and TypeMethodDescriptionCommandBlockExecutor.getCustomName()
Difficulty.getInfo()
CommandBlockExecutor.getLastOutput()
CommandBlockExecutor.getName()
GameMode.getSimpleTranslatableName()
Difficulty.getTranslatableName()
GameMode.getTranslatableName()
Methods in net.minecraft.world with parameters of type TextModifier and TypeMethodDescriptionvoid
CommandBlockExecutor.sendMessage
(Text message) Sends a system message.void
CommandBlockExecutor.setCustomName
(@Nullable Text customName) void
CommandBlockExecutor.setLastOutput
(@Nullable Text lastOutput) -
Uses of Text in net.minecraft.world.level.storage
Fields in net.minecraft.world.level.storage declared as TextModifier and TypeFieldDescriptionprivate static final Text
LevelSummary.RecoveryWarning.BUTTON_TEXT
LevelSummary.details
private final Text
LevelStorageException.messageText
private static final Text
LevelSummary.SymlinkLevelSummary.MORE_INFO_TEXT
static final Text
LevelSummary.SELECT_WORLD_TEXT
private static final Text
LevelSummary.SymlinkLevelSummary.TITLE_TEXT
private static final Text
LevelSummary.RecoveryWarning.WARNING_TEXT
Methods in net.minecraft.world.level.storage that return TextModifier and TypeMethodDescriptionprivate Text
LevelSummary.createDetails()
LevelSummary.getDetails()
LevelSummary.RecoveryWarning.getDetails()
LevelSummary.SymlinkLevelSummary.getDetails()
LevelStorageException.getMessageText()
LevelSummary.getSelectWorldText()
LevelSummary.RecoveryWarning.getSelectWorldText()
LevelSummary.SymlinkLevelSummary.getSelectWorldText()
Constructors in net.minecraft.world.level.storage with parameters of type Text -
Uses of Text in net.minecraft.world.updater
Fields in net.minecraft.world.updater declared as TextModifier and TypeFieldDescription(package private) static final Text
WorldUpdater.FINISHED_CHUNKS_TEXT
(package private) static final Text
WorldUpdater.FINISHED_ENTITIES_TEXT
(package private) static final Text
WorldUpdater.FINISHED_POI_TEXT
private final Text
WorldUpdater.Update.finishedText
(package private) Text
WorldUpdater.status
(package private) static final Text
WorldUpdater.UPGRADING_CHUNKS_TEXT
(package private) static final Text
WorldUpdater.UPGRADING_ENTITIES_TEXT
(package private) static final Text
WorldUpdater.UPGRADING_POI_TEXT
private final Text
WorldUpdater.Update.upgradingText
Methods in net.minecraft.world.updater that return TextConstructors in net.minecraft.world.updater with parameters of type TextModifierConstructorDescription(package private)
ChunkPosKeyedStorageUpdate
(DataFixTypes dataFixTypes, String targetName, Text upgradingText, Text finishedText) (package private)
Update
(DataFixTypes dataFixTypes, String name, String targetName, Text upgradingText, Text finishedText)