Uses of Interface
net.minecraft.text.Text
Package
Description
Provides resources to Minecraft, including resource access and provision.
-
Uses of Text in net.minecraft.advancement
Modifier and TypeFieldDescriptionprivate Text
AdvancementDisplay.description
private Text
Advancement.text
private Text
AdvancementDisplay.title
private Text
AdvancementFrame.toastText
Modifier and TypeMethodDescriptionAdvancementDisplay.getDescription()
AdvancementDisplay.getTitle()
AdvancementFrame.getToastText()
Advancement.toHoverableText()
Modifier and TypeMethodDescriptionAdvancement.Task.display(ItemConvertible icon, Text title, Text description, @Nullable Identifier background, AdvancementFrame frame, boolean showToast, boolean announceToChat, boolean hidden)
Advancement.Task.display(ItemStack icon, Text title, Text description, @Nullable Identifier background, AdvancementFrame frame, boolean showToast, boolean announceToChat, boolean hidden)
ModifierConstructorDescriptionAdvancementDisplay(ItemStack icon, Text title, Text description, @Nullable Identifier background, AdvancementFrame frame, boolean showToast, boolean announceToChat, boolean hidden)
-
Uses of Text in net.minecraft.block
Modifier and TypeFieldDescriptionprivate static Text
EnderChestBlock.CONTAINER_NAME
private static Text
SmithingTableBlock.SCREEN_TITLE
private static Text
AnvilBlock.TITLE
private static Text
CartographyTableBlock.TITLE
private static Text
CraftingTableBlock.TITLE
private static Text
GrindstoneBlock.TITLE
private static Text
LoomBlock.TITLE
private static Text
StonecutterBlock.TITLE
Modifier and TypeMethodDescriptionvoid
Block.appendTooltip(ItemStack stack, @Nullable BlockView world, List<Text> tooltip, TooltipContext options)
void
ShulkerBoxBlock.appendTooltip(ItemStack stack, @Nullable BlockView world, List<Text> tooltip, TooltipContext options)
-
Uses of Text in net.minecraft.block.entity
Modifier and TypeFieldDescriptionBannerBlockEntity.customName
BeaconBlockEntity.customName
private Text
EnchantingTableBlockEntity.customName
private Text
LockableContainerBlockEntity.customName
private Text[]
SignBlockEntity.filteredTexts
private Text[]
SignBlockEntity.texts
Modifier and TypeMethodDescriptionJigsawBlockEntity.Joint.asText()
protected Text
BarrelBlockEntity.getContainerName()
protected Text
BlastFurnaceBlockEntity.getContainerName()
protected Text
BrewingStandBlockEntity.getContainerName()
protected Text
ChestBlockEntity.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()
EnchantingTableBlockEntity.getCustomName()
LockableContainerBlockEntity.getCustomName()
BeaconBlockEntity.getDisplayName()
Returns the title of this screen handler; will be a part of the open screen packet sent to the client.LecternBlockEntity.getDisplayName()
Returns the title of this screen handler; will be a part of the open screen packet sent to the client.LockableContainerBlockEntity.getDisplayName()
Returns the title of this screen handler; will be a part of the open screen packet sent to the client.BannerBlockEntity.getName()
EnchantingTableBlockEntity.getName()
LockableContainerBlockEntity.getName()
SignBlockEntity.getTextOnRow(int row, boolean filtered)
private Text[]
SignBlockEntity.getTexts(boolean filtered)
private Text
SignBlockEntity.parseTextFromJson(String json)
private Text
SignBlockEntity.unparsedTextFromJson(String json)
Modifier and TypeMethodDescriptionstatic boolean
LockableContainerBlockEntity.checkUnlocked(PlayerEntity player, ContainerLock lock, Text containerName)
void
BannerBlockEntity.setCustomName(Text customName)
void
BeaconBlockEntity.setCustomName(@Nullable Text customName)
void
EnchantingTableBlockEntity.setCustomName(@Nullable Text value)
void
LockableContainerBlockEntity.setCustomName(Text customName)
void
SignBlockEntity.setTextOnRow(int row, Text text)
void
SignBlockEntity.setTextOnRow(int row, Text text, Text filteredText)
Modifier and TypeMethodDescriptionSignBlockEntity.updateSign(boolean filterText, Function<Text,OrderedText> textOrderingFunction)
-
Uses of Text in net.minecraft.block.enums
-
Uses of Text in net.minecraft.client
Modifier and TypeFieldDescriptionprivate Text
MinecraftClient.ChatRestriction.description
private static Text
MinecraftClient.SOCIAL_INTERACTIONS_NOT_AVAILABLE
Modifier 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.Modifier and TypeMethodDescriptionprivate static ResourcePackProfile
MinecraftClient.createResourcePackProfile(String name, Text displayName, boolean alwaysEnabled, Supplier<ResourcePack> packFactory, PackResourceMetadata metadata, ResourcePackProfile.InsertionPosition insertionPosition, ResourcePackSource source)
private void
Keyboard.method_37272(Text text)
private void
Keyboard.method_37273(Formatting formatting, Text text)
void
MinecraftClient.onResourceReloadFailure(Throwable exception, @Nullable Text resourceName)
-
Uses of Text in net.minecraft.client.font
Modifier and TypeMethodDescriptionstatic MultilineText
MultilineText.create(TextRenderer renderer, Text[] texts)
int
TextRenderer.draw(MatrixStack matrices, Text text, float x, float y, int color)
int
TextRenderer.draw(Text text, float x, float y, int color, boolean shadow, Matrix4f matrix, VertexConsumerProvider vertexConsumers, boolean seeThrough, int backgroundColor, int light)
int
TextRenderer.drawWithShadow(MatrixStack matrices, Text text, float x, float y, int color)
Modifier and TypeMethodDescriptionstatic MultilineText
MultilineText.method_35726(TextRenderer textRenderer, List<Text> list)
-
Uses of Text in net.minecraft.client.gui
Modifier and TypeMethodDescriptionstatic void
DrawableHelper.drawCenteredText(MatrixStack matrices, TextRenderer textRenderer, Text text, int centerX, int y, int color)
static void
DrawableHelper.drawTextWithShadow(MatrixStack matrices, TextRenderer textRenderer, Text text, int x, int y, int color)
void
ClientChatListener.onChatMessage(MessageType messageType, Text message, UUID sender)
void
GameInfoChatListener.onChatMessage(MessageType messageType, Text message, UUID sender)
-
Uses of Text in net.minecraft.client.gui.hud
Modifier and TypeFieldDescriptionprivate static Text
InGameHud.DEMO_EXPIRED_MESSAGE
PlayerListHud.footer
PlayerListHud.header
InGameHud.overlayMessage
InGameHud.subtitle
private Text
SubtitlesHud.SubtitleEntry.text
InGameHud.title
Modifier and TypeFieldDescriptionChatHud.messageQueue
private List<ChatHudLine<Text>>
ChatHud.messages
Modifier and TypeMethodDescriptionprivate Text
PlayerListHud.applyGameModeFormatting(PlayerListEntry entry, MutableText name)
Italicizes the given text if the given player is in spectator mode.PlayerListHud.getPlayerName(PlayerListEntry entry)
SubtitlesHud.SubtitleEntry.getText()
Modifier and TypeMethodDescriptionvoid
InGameHud.addChatMessage(MessageType type, Text message, UUID sender)
void
ChatHud.addMessage(Text message)
private void
ChatHud.addMessage(Text message, int messageId)
private void
ChatHud.addMessage(Text message, int messageId, int timestamp, boolean refresh)
InGameHud.extractSender(Text message)
void
ChatHudListener.onChatMessage(MessageType messageType, Text message, UUID sender)
void
ChatHud.queueMessage(Text message)
void
void
void
InGameHud.setOverlayMessage(Text message, boolean tinted)
void
InGameHud.setRecordPlayingOverlay(Text description)
void
InGameHud.setSubtitle(Text subtitle)
void
ModifierConstructorDescriptionClientBossBar(UUID uuid, Text name, float percent, BossBar.Color color, BossBar.Style style, boolean darkenSky, boolean dragonMusic, boolean thickenFog)
SubtitleEntry(Text text, Vec3d pos)
-
Uses of Text in net.minecraft.client.gui.hud.spectator
Modifier and TypeFieldDescription(package private) static Text
SpectatorMenu.CLOSE_TEXT
private Text
TeleportToSpecificPlayerSpectatorCommand.name
(package private) static Text
SpectatorMenu.NEXT_PAGE_TEXT
(package private) static Text
SpectatorMenu.PREVIOUS_PAGE_TEXT
private static Text
RootSpectatorCommandGroup.PROMPT_TEXT
private static Text
TeamTeleportSpectatorMenu.PROMPT_TEXT
private static Text
TeleportSpectatorMenu.PROMPT_TEXT
private static Text
TeamTeleportSpectatorMenu.TEAM_TELEPORT_TEXT
private static Text
TeleportSpectatorMenu.TELEPORT_TEXT
Modifier 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
Modifier and TypeFieldDescriptionprivate static Text
OpenToLanScreen.ALLOW_COMMANDS_TEXT
static Text
ScreenTexts.BACK
static Text
ConnectScreen.BLOCKED_HOST_TEXT
private static Text
CustomizeBuffetLevelScreen.BUFFET_BIOME_TEXT
protected Text
NoticeScreen.buttonText
static Text
ScreenTexts.CANCEL
static Text
ScreenTexts.CONNECT_FAILED
private static Text
ConfirmChatLinkScreen.copy
private Text
StatsScreen.GeneralStatsListWidget.Entry.displayName
static Text
ScreenTexts.DONE
private static Text
StatsScreen.DOWNLOADING_STATS_TEXT
private static Text
AddServerScreen.ENTER_IP_TEXT
private static Text
DirectConnectScreen.ENTER_IP_TEXT
private static Text
AddServerScreen.ENTER_NAME_TEXT
private Text
StatsScreen.EntityStatsListWidget.Entry.entityTypeName
private static Text
ChatScreen.field_33953
private static Text
OpenToLanScreen.GAME_MODE_TEXT
private Text
CustomizeFlatLevelScreen.heightText
private Text
StatsScreen.EntityStatsListWidget.Entry.killedByText
private Text
StatsScreen.EntityStatsListWidget.Entry.killedText
static Text
ScreenTexts.LINE_BREAK
private Text
PresetsScreen.listText
private Text
ConfirmScreen.message
private Text
DeathScreen.message
(package private) Text
DialogScreen.ChoiceButton.message
private Text
FatalErrorScreen.message
PresetsScreen.SuperflatPreset.name
private Text
DialogScreen.narrationMessage
static Text
ScreenTexts.NO
protected Text
NoticeScreen.notice
protected Text
ConfirmScreen.noTranslated
static Text
ScreenTexts.OFF
static Text
ScreenTexts.ON
private static Text
OpenToLanScreen.OTHER_PLAYERS_TEXT
static Text
ScreenTexts.PROCEED
private Text
DisconnectedScreen.reason
private Text
DeathScreen.scoreText
private static Text
Screen.SCREEN_USAGE_TEXT
private static Text
GameModeSelectionScreen.SELECT_NEXT_TEXT
static Text
ScreenTexts.SENTENCE_SEPARATOR
private Text
PresetsScreen.shareText
private Text
ConnectScreen.status
private Text
BackupPromptScreen.subtitle
ProgressScreen.task
private Text
CustomizeBuffetLevelScreen.BuffetBiomesListWidget.BuffetBiomeItem.text
(package private) Text
GameModeSelectionScreen.GameMode.text
private static Text
DownloadingTerrainScreen.TEXT
private Text
CustomizeFlatLevelScreen.tileText
ProgressScreen.title
protected Text
Screen.title
private static Text
ConfirmChatLinkScreen.warning
static Text
ScreenTexts.YES
protected Text
ConfirmScreen.yesTranslated
Modifier and TypeMethodDescriptionPresetsScreen.SuperflatPreset.getName()
ConfirmScreen.getNarratedTitle()
DialogScreen.getNarratedTitle()
Screen.getNarratedTitle()
(package private) Text
CommandSuggestor.SuggestionWindow.getNarration()
(package private) Text
GameModeSelectionScreen.GameMode.getText()
protected Text
Screen.getTitle()
static Text
ScreenTexts.joinLines(Collection<? extends Text> texts)
static Text
CustomizeBuffetLevelScreen.BuffetBiomesListWidget.BuffetBiomeItem.method_37006()
CustomizeFlatLevelScreen.SuperflatLayersListWidget.SuperflatLayerEntry.method_37006()
PresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry.method_37006()
StatsScreen.EntityStatsListWidget.Entry.method_37006()
StatsScreen.GeneralStatsListWidget.Entry.method_37006()
StatsScreen.ItemStatsListWidget.Entry.method_37006()
static Text
ScreenTexts.onOrOff(boolean on)
Modifier and TypeMethodDescriptionprivate static void
PresetsScreen.addPreset(Text presetName, ItemConvertible icon, RegistryKey<Biome> presetBiome, List<StructureFeature<?>> structures, boolean generateStronghold, boolean generateFeatures, boolean generateLakes, FlatChunkGeneratorLayer[] layers)
static MutableText
ScreenTexts.composeGenericOptionText(Text text, Text value)
static MutableText
ScreenTexts.composeToggleText(Text text, boolean value)
static Text
static MutableText
ScreenTexts.joinSentences(Text first, Text second)
protected void
StatsScreen.ItemStatsListWidget.render(MatrixStack matrices, @Nullable Text text, int mouseX, int mouseY)
void
Screen.renderTooltip(MatrixStack matrices, Text text, int x, int y)
private void
void
void
void
ProgressScreen.setTitleAndTask(Text title)
Modifier and TypeMethodDescriptionstatic Text
ScreenTexts.joinLines(Collection<? extends Text> texts)
void
Screen.renderTooltip(MatrixStack matrices, List<Text> lines, int x, int y)
void
Screen.renderTooltip(MatrixStack matrices, List<Text> lines, Optional<TooltipData> data, int x, int y)
ModifierConstructorDescriptionBackupPromptScreen(@Nullable Screen parent, BackupPromptScreen.Callback callback, Text title, Text subtitle, boolean showEraseCacheCheckBox)
ChoiceButton(Text message, ButtonWidget.PressAction pressAction)
ConfirmScreen(BooleanConsumer callback, Text title, Text message)
ConfirmScreen(BooleanConsumer callback, Text title, Text message, Text yesTranslated, Text noTranslated)
DeathScreen(@Nullable Text message, boolean isHardcore)
protected
DialogScreen(Text title, List<Text> messages, ImmutableList<DialogScreen.ChoiceButton> choiceButtons)
DisconnectedScreen(Screen parent, Text title, Text reason)
FatalErrorScreen(Text title, Text message)
private
NoticeScreen(Runnable actionHandler, Text title, Text notice)
NoticeScreen(Runnable actionHandler, Text title, Text notice, Text buttonText)
SaveLevelScreen(Text title)
protected
SuperflatPreset(Item icon, Text name, Function<Registry<Biome>,FlatChunkGeneratorConfig> generatorConfigProvider)
ModifierConstructorDescriptionprotected
DialogScreen(Text title, List<Text> messages, ImmutableList<DialogScreen.ChoiceButton> choiceButtons)
-
Uses of Text in net.minecraft.client.gui.screen.advancement
Modifier and TypeFieldDescriptionprivate static Text
AdvancementsScreen.ADVANCEMENTS_TEXT
private static Text
AdvancementsScreen.EMPTY_TEXT
private static Text
AdvancementsScreen.SAD_LABEL_TEXT
private Text
AdvancementTab.title
Modifier and TypeMethodDescriptionprivate List<StringVisitable>
AdvancementWidget.wrapDescription(Text text, int width)
-
Uses of Text in net.minecraft.client.gui.screen.ingame
Modifier and TypeFieldDescriptionprivate static Text
AbstractCommandBlockScreen.COMMAND_TEXT
private static Text
StructureBlockScreen.CUSTOM_DATA_TEXT
private static Text
CreativeInventoryScreen.DELETE_ITEM_SLOT_TEXT
private static Text
MerchantScreen.DEPRECATED_TEXT
private static Text
StructureBlockScreen.DETECT_SIZE_TEXT
protected Text
HandledScreen.displayName
private static Text
BookEditScreen.EDIT_TITLE_TEXT
private static Text
JigsawBlockScreen.FINAL_STATE_TEXT
private static Text
BookEditScreen.FINALIZE_WARNING_TEXT
private static Text
StructureBlockScreen.INCLUDE_ENTITIES_TEXT
private static Text
StructureBlockScreen.INTEGRITY_TEXT
private static Text
JigsawBlockScreen.JOINT_LABEL_TEXT
private static Text
JigsawBlockScreen.NAME_TEXT
private Text
BookScreen.pageIndexText
private Text
BookEditScreen.pageIndicatorText
private static Text
JigsawBlockScreen.POOL_TEXT
private static Text
StructureBlockScreen.POSITION_TEXT
private static Text
AbstractCommandBlockScreen.PREVIOUS_OUTPUT_TEXT
private static Text
BeaconScreen.PRIMARY_POWER_TEXT
private static Text
BeaconScreen.SECONDARY_POWER_TEXT
private static Text
MerchantScreen.SEPARATOR_TEXT
private static Text
AbstractCommandBlockScreen.SET_COMMAND_TEXT
private static Text
StructureBlockScreen.SHOW_AIR_TEXT
private static Text
StructureBlockScreen.SHOW_BOUNDING_BOX_TEXT
private Text
BookEditScreen.signedByText
private static Text
StructureBlockScreen.SIZE_TEXT
private static Text
StructureBlockScreen.STRUCTURE_NAME_TEXT
private static Text
JigsawBlockScreen.TARGET_TEXT
(package private) Text
BookEditScreen.Line.text
private static Text
AnvilScreen.TOO_EXPENSIVE_TEXT
private Text
BeaconScreen.EffectButtonWidget.tooltip
private static Text
MerchantScreen.TRADES_TEXT
Modifier and TypeMethodDescriptionHandledScreens.Provider.create(T handler, PlayerInventory playerInventory, Text title)
static <T extends ScreenHandler>
voidHandledScreens.open(@Nullable ScreenHandlerType<T> type, MinecraftClient client, int id, Text title)
default void
HandledScreens.Provider.open(Text name, ScreenHandlerType<T> type, MinecraftClient client, int id)
ModifierConstructorDescriptionAbstractFurnaceScreen(T handler, AbstractFurnaceRecipeBookScreen recipeBook, PlayerInventory inventory, Text title, Identifier background)
AbstractInventoryScreen(T handler, PlayerInventory inventory, Text title)
AnvilScreen(AnvilScreenHandler handler, PlayerInventory inventory, Text title)
protected
BaseButtonWidget(int int2, int int3, Text text)
BeaconScreen(BeaconScreenHandler handler, PlayerInventory inventory, Text title)
BlastFurnaceScreen(BlastFurnaceScreenHandler container, PlayerInventory inventory, Text title)
BrewingStandScreen(BrewingStandScreenHandler handler, PlayerInventory inventory, Text title)
CartographyTableScreen(CartographyTableScreenHandler handler, PlayerInventory inventory, Text title)
CraftingScreen(CraftingScreenHandler handler, PlayerInventory inventory, Text title)
EnchantmentScreen(EnchantmentScreenHandler handler, PlayerInventory inventory, Text title)
ForgingScreen(T handler, PlayerInventory playerInventory, Text title, Identifier texture)
FurnaceScreen(FurnaceScreenHandler handler, PlayerInventory inventory, Text title)
Generic3x3ContainerScreen(Generic3x3ContainerScreenHandler handler, PlayerInventory inventory, Text title)
GenericContainerScreen(GenericContainerScreenHandler handler, PlayerInventory inventory, Text title)
GrindstoneScreen(GrindstoneScreenHandler handler, PlayerInventory inventory, Text title)
HandledScreen(T handler, PlayerInventory inventory, Text title)
HopperScreen(HopperScreenHandler handler, PlayerInventory inventory, Text title)
protected
IconButtonWidget(int int2, int int3, int int4, int int5, Text text)
LecternScreen(LecternScreenHandler handler, PlayerInventory inventory, Text title)
LoomScreen(LoomScreenHandler handler, PlayerInventory inventory, Text title)
MerchantScreen(MerchantScreenHandler handler, PlayerInventory inventory, Text title)
ShulkerBoxScreen(ShulkerBoxScreenHandler handler, PlayerInventory inventory, Text title)
SmithingScreen(SmithingScreenHandler handler, PlayerInventory playerInventory, Text title)
SmokerScreen(SmokerScreenHandler handler, PlayerInventory inventory, Text title)
StonecutterScreen(StonecutterScreenHandler handler, PlayerInventory inventory, Text title)
-
Uses of Text in net.minecraft.client.gui.screen.multiplayer
Modifier and TypeFieldDescriptionprivate static Text
SocialInteractionsScreen.ALL_TAB_TITLE
private static Text
SocialInteractionsPlayerListEntry.BLOCKED_OFFLINE_TEXT
private static Text
SocialInteractionsScreen.BLOCKED_TAB_TITLE
private static Text
SocialInteractionsPlayerListEntry.BLOCKED_TEXT
private static Text
SocialInteractionsScreen.BLOCKING_TEXT
(package private) static Text
MultiplayerServerListWidget.CANNOT_CONNECT_TEXT
(package private) static Text
MultiplayerServerListWidget.CANNOT_RESOLVE_TEXT
private static Text
MultiplayerWarningScreen.CHECK_MESSAGE
private static Text
SocialInteractionsScreen.EMPTY_BLOCKED_TEXT
private static Text
SocialInteractionsScreen.EMPTY_HIDDEN_TEXT
(package private) static Text
SocialInteractionsScreen.EMPTY_SEARCH_TEXT
private static Text
MultiplayerWarningScreen.HEADER
private static Text
MultiplayerServerListWidget.LanServerEntry.HIDDEN_ADDRESS_TEXT
private static Text
SocialInteractionsPlayerListEntry.HIDDEN_OFFLINE_TEXT
private static Text
SocialInteractionsScreen.HIDDEN_TAB_TITLE
private static Text
SocialInteractionsPlayerListEntry.HIDDEN_TEXT
(package private) Text
SocialInteractionsPlayerListEntry.hideText
(package private) static Text
MultiplayerServerListWidget.INCOMPATIBLE_TEXT
(package private) static Text
MultiplayerServerListWidget.LAN_SCANNING_TEXT
private static Text
MultiplayerWarningScreen.MESSAGE
(package private) static Text
MultiplayerServerListWidget.NO_CONNECTION_TEXT
private static Text
SocialInteractionsPlayerListEntry.OFFLINE_TEXT
(package private) static Text
MultiplayerServerListWidget.PINGING_TEXT
private static Text
MultiplayerWarningScreen.PROCEED_TEXT
private static Text
SocialInteractionsScreen.SEARCH_TEXT
private static Text
SocialInteractionsScreen.SELECTED_ALL_TAB_TITLE
private static Text
SocialInteractionsScreen.SELECTED_BLOCKED_TAB_TITLE
private static Text
SocialInteractionsScreen.SELECTED_HIDDEN_TAB_TITLE
SocialInteractionsScreen.serverLabel
(package private) Text
SocialInteractionsPlayerListEntry.showText
private static Text
MultiplayerServerListWidget.LanServerEntry.TITLE_TEXT
Modifier and TypeMethodDescriptionMultiplayerWarningScreen.getNarratedTitle()
SocialInteractionsScreen.getNarratedTitle()
private Text
SocialInteractionsPlayerListEntry.getStatusText()
MultiplayerServerListWidget.LanServerEntry.method_37006()
MultiplayerServerListWidget.ScanningEntry.method_37006()
MultiplayerServerListWidget.ServerEntry.method_37006()
Modifier and TypeMethodDescriptionprivate void
SocialInteractionsPlayerListEntry.onButtonClick(boolean showButtonVisible, Text chatMessage)
-
Uses of Text in net.minecraft.client.gui.screen.narration
Modifier and TypeMethodDescriptiondefault void
NarrationMessageBuilder.put(NarrationPart part, Text text)
default void
NarrationMessageBuilder.put(NarrationPart part, Text[] texts)
static Narration<?>
-
Uses of Text in net.minecraft.client.gui.screen.option
Modifier and TypeFieldDescriptionprivate Text
ControlsListWidget.KeyBindingEntry.bindingName
private static Text
VideoOptionsScreen.GRAPHICS_FABULOUS_TEXT
private static Text
VideoOptionsScreen.GRAPHICS_WARNING_ACCEPT_TEXT
private static Text
VideoOptionsScreen.GRAPHICS_WARNING_CANCEL_TEXT
private static Text
VideoOptionsScreen.GRAPHICS_WARNING_MESSAGE_TEXT
private static Text
VideoOptionsScreen.GRAPHICS_WARNING_TITLE_TEXT
private static Text
LanguageOptionsScreen.LANGUAGE_WARNING_TEXT
private static Text
VideoOptionsScreen.NEWLINE_TEXT
(package private) Text
ControlsListWidget.CategoryEntry.text
Modifier and TypeMethodDescriptionLanguageOptionsScreen.LanguageSelectionListWidget.LanguageEntry.method_37006()
ModifierConstructorDescriptionCategoryEntry(Text text)
GameOptionsScreen(Screen parent, GameOptions gameOptions, Text title)
(package private)
KeyBindingEntry(KeyBinding binding, Text bindingName)
NarratorOptionsScreen(Screen parent, GameOptions gameOptions, Text title, Option[] options)
-
Uses of Text in net.minecraft.client.gui.screen.pack
Modifier and TypeFieldDescriptionprivate static Text
PackScreen.DROP_INFO
(package private) static Text
PackScreen.FOLDER_INFO
(package private) static Text
PackListWidget.INCOMPATIBLE
(package private) static Text
PackListWidget.INCOMPATIBLE_CONFIRM
private Text
PackListWidget.title
Modifier and TypeMethodDescriptiondefault Text
ResourcePackOrganizer.Pack.getDecoratedDescription()
ResourcePackOrganizer.AbstractPack.getDescription()
ResourcePackOrganizer.Pack.getDescription()
ResourcePackOrganizer.AbstractPack.getDisplayName()
ResourcePackOrganizer.Pack.getDisplayName()
PackListWidget.ResourcePackEntry.method_37006()
Modifier and TypeMethodDescriptionprivate static MultilineText
PackListWidget.ResourcePackEntry.createMultilineText(MinecraftClient client, Text text)
private static OrderedText
PackListWidget.ResourcePackEntry.trimTextToWidth(MinecraftClient client, Text text)
ModifierConstructorDescriptionPackListWidget(MinecraftClient client, int width, int height, Text title)
PackScreen(Screen parent, ResourcePackManager packManager, Consumer<ResourcePackManager> consumer, File file, Text title)
-
Uses of Text in net.minecraft.client.gui.screen.recipebook
Modifier and TypeFieldDescriptionprivate static Text
AnimatedResultButton.MORE_RECIPES_TEXT
private static Text
RecipeBookWidget.SEARCH_HINT_TEXT
private static Text
RecipeBookWidget.TOGGLE_ALL_RECIPES_TEXT
private static Text
BlastFurnaceRecipeBookScreen.TOGGLE_BLASTABLE_RECIPES_TEXT
private static Text
RecipeBookWidget.TOGGLE_CRAFTABLE_RECIPES_TEXT
private static Text
FurnaceRecipeBookScreen.TOGGLE_SMELTABLE_RECIPES_TEXT
private static Text
SmokerRecipeBookScreen.TOGGLE_SMOKABLE_RECIPES_TEXT
Modifier and TypeMethodDescriptionprivate Text
RecipeBookWidget.getCraftableButtonText()
protected Text
BlastFurnaceRecipeBookScreen.getToggleCraftableButtonText()
protected Text
FurnaceRecipeBookScreen.getToggleCraftableButtonText()
protected Text
RecipeBookWidget.getToggleCraftableButtonText()
protected Text
SmokerRecipeBookScreen.getToggleCraftableButtonText()
-
Uses of Text in net.minecraft.client.gui.screen.world
Modifier and TypeFieldDescriptionprivate static Text
CreateWorldScreen.ALLOW_COMMANDS_INFO_TEXT
private static Text
MoreOptionsDialog.AMPLIFIED_INFO_TEXT
private static Text
MoreOptionsDialog.CUSTOM_TEXT
private static Text
CreateWorldScreen.ENTER_NAME_TEXT
private static Text
EditWorldScreen.ENTER_NAME_TEXT
private static Text
CreateWorldScreen.ENTER_SEED_TEXT
private Text
CreateWorldScreen.firstGameModeDescriptionLine
(package private) static Text
WorldListWidget.FROM_NEWER_VERSION_FIRST_LINE
(package private) static Text
WorldListWidget.FROM_NEWER_VERSION_SECOND_LINE
private static Text
CreateWorldScreen.GAME_MODE_TEXT
(package private) static Text
WorldListWidget.LOCKED_TEXT
private static Text
MoreOptionsDialog.MAP_FEATURES_INFO_TEXT
(package private) Text
EditGameRulesScreen.RuleCategoryWidget.name
(package private) static Text
WorldListWidget.PRE_WORLDHEIGHT_TEXT
private static Text
CreateWorldScreen.RESULT_FOLDER_TEXT
private Text
CreateWorldScreen.secondGameModeDescriptionLine
private static Text
CreateWorldScreen.SEED_INFO_TEXT
private static Text
MoreOptionsDialog.SELECT_SETTINGS_FILE_TEXT
(package private) static Text
WorldListWidget.SNAPSHOT_FIRST_LINE
(package private) static Text
WorldListWidget.SNAPSHOT_SECOND_LINE
private Text
CreateWorldScreen.Mode.text
Modifier and TypeMethodDescriptionCreateWorldScreen.Mode.asText()
WorldListWidget.Entry.method_37006()
Modifier and TypeMethodDescriptionEditGameRulesScreen.RuleWidgetFactory.create(Text name, List<OrderedText> description, String ruleName, T rule)
ModifierConstructorDescriptionBooleanRuleWidget(Text name, List<OrderedText> description, String ruleName, GameRules.BooleanRule rule)
IntRuleWidget(Text name, List<OrderedText> description, String ruleName, GameRules.IntRule rule)
NamedRuleWidget(@Nullable List<OrderedText> description, Text name)
RuleCategoryWidget(Text text)
-
Uses of Text in net.minecraft.client.gui.widget
Modifier and TypeFieldDescriptionprivate Text
ClickableWidget.message
private Text
CyclingButtonWidget.optionText
private static Text
AlwaysSelectedEntryListWidget.SELECTION_USAGE_TEXT
Modifier and TypeFieldDescriptionCyclingButtonWidget.Builder.valueToText
CyclingButtonWidget.valueToText
Modifier and TypeMethodDescriptionprivate Text
CyclingButtonWidget.composeText(T value)
ClickableWidget.getMessage()
abstract Text
AlwaysSelectedEntryListWidget.Entry.method_37006()
Modifier and TypeMethodDescriptionCyclingButtonWidget.Builder.build(int x, int y, int width, int height, Text optionText, CyclingButtonWidget.UpdateCallback<T> callback)
Builds a cycling button widget.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)
Modifier and TypeMethodDescriptionstatic <T> CyclingButtonWidget.Builder<T>
Creates a new builder for a cycling button widget.default void
ButtonWidget.TooltipSupplier.method_37023(Consumer<Text> consumer)
ModifierConstructorDescriptionButtonWidget(int x, int y, int width, int height, Text message, ButtonWidget.PressAction onPress)
ButtonWidget(int x, int y, int width, int height, Text message, ButtonWidget.PressAction onPress, ButtonWidget.TooltipSupplier tooltipSupplier)
CheckboxWidget(int x, int y, int width, int height, Text message, boolean checked)
CheckboxWidget(int x, int y, int width, int height, Text message, boolean checked, boolean showMessage)
ClickableWidget(int x, int y, int width, int height, Text message)
(package private)
CyclingButtonWidget(int x, int y, int width, int height, Text message, Text optionText, int index, T value, CyclingButtonWidget.Values<T> values, Function<T,Text> valueToText, Function<CyclingButtonWidget<T>,MutableText> narrationMessageFactory, CyclingButtonWidget.UpdateCallback<T> callback, CyclingButtonWidget.TooltipFactory<T> tooltipFactory, boolean optionTextOmitted)
PressableWidget(int x, int y, int width, int height, Text message)
SliderWidget(int x, int y, int width, int height, Text text, double value)
TextFieldWidget(TextRenderer textRenderer, int x, int y, int width, int height, @Nullable TextFieldWidget copyFrom, Text text)
TextFieldWidget(TextRenderer textRenderer, int x, int y, int width, int height, Text text)
TexturedButtonWidget(int x, int y, int width, int height, int u, int v, int hoveredVOffset, Identifier texture, int textureWidth, int textureHeight, ButtonWidget.PressAction pressAction, ButtonWidget.TooltipSupplier tooltipSupplier, Text text)
TexturedButtonWidget(int x, int y, int width, int height, int u, int v, int hoveredVOffset, Identifier texture, int textureWidth, int textureHeight, ButtonWidget.PressAction pressAction, Text text)
ModifierConstructorDescriptionCreates 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, CyclingButtonWidget.TooltipFactory<T> tooltipFactory, boolean optionTextOmitted)
-
Uses of Text in net.minecraft.client.network
Modifier and TypeFieldDescriptionprivate static Text
MultiplayerServerListPinger.CANNOT_CONNECT_TEXT
private static Text
ClientPlayNetworkHandler.DISCONNECT_LOST_TEXT
PlayerListEntry.displayName
ServerInfo.label
private Text
ServerInfo.ResourcePackPolicy.name
ServerInfo.playerCountLabel
ServerInfo.version
Modifier and TypeFieldDescriptionServerInfo.playerListSummary
ClientLoginNetworkHandler.statusConsumer
Modifier and TypeMethodDescription(package private) static Text
MultiplayerServerListPinger.createPlayerCountText(int current, int max)
PlayerListEntry.getDisplayName()
ServerInfo.ResourcePackPolicy.getName()
private static Text
ClientPlayNetworkHandler.getServerResourcePackPrompt(Text defaultPrompt, @Nullable Text customPrompt)
ClientLoginNetworkHandler.joinServerSession(String serverId)
Modifier and TypeMethodDescriptionprivate static Text
ClientPlayNetworkHandler.getServerResourcePackPrompt(Text defaultPrompt, @Nullable Text customPrompt)
void
ClientLoginNetworkHandler.onDisconnected(Text reason)
Called when the connection this listener listens to has disconnected.void
ClientPlayNetworkHandler.onDisconnected(Text reason)
Called when the connection this listener listens to has disconnected.void
ClientPlayerEntity.sendMessage(Text message, boolean actionBar)
void
ClientPlayerEntity.sendSystemMessage(Text message, UUID sender)
void
OtherClientPlayerEntity.sendSystemMessage(Text message, UUID sender)
void
PlayerListEntry.setDisplayName(@Nullable Text displayName)
(package private) void
MultiplayerServerListPinger.showError(Text error, ServerInfo info)
ModifierConstructorDescriptionClientLoginNetworkHandler(ClientConnection connection, MinecraftClient client, @Nullable Screen parentGui, Consumer<Text> statusConsumer)
-
Uses of Text in net.minecraft.client.option
Modifier and TypeFieldDescriptionprivate static Text
private static Text
Option.FABULOUS_GRAPHICS_TOOLTIP
private static Text
Option.FANCY_GRAPHICS_TOOLTIP
private static Text
Option.FAST_GRAPHICS_TOOLTIP
private static Text
Option.FOV_EFFECT_SCALE_TOOLTIP
private static Text
Option.HIDE_MATCHED_NAMES_TOOLTIP
private static Text
Option.HOLD_TEXT
private Text
Option.key
private static Text
Option.MONOCHROME_LOGO_TOOLTIP
private Text
NarratorMode.name
private static Text
Option.TOGGLE_TEXT
Modifier and TypeFieldDescriptionprivate BiFunction<GameOptions,DoubleOption,Text>
DoubleOption.displayStringGetter
Modifier and TypeMethodDescriptionKeyBinding.getBoundKeyLocalizedText()
protected Text
Option.getDisplayPrefix()
DoubleOption.getDisplayString(GameOptions options)
protected Text
Option.getGenericLabel(int value)
protected Text
Option.getGenericLabel(Text value)
NarratorMode.getName()
protected Text
Option.getPercentAdditionLabel(int percentage)
protected Text
Option.getPercentLabel(double proportion)
protected Text
Option.getPixelLabel(int pixel)
Modifier and TypeMethodDescriptionstatic CyclingOption<Boolean>
CyclingOption.create(String key, Text tooltip, Function<GameOptions,Boolean> getter, CyclingOption.Setter<Boolean> setter)
static CyclingOption<Boolean>
CyclingOption.create(String key, Text on, Text off, Function<GameOptions,Boolean> getter, CyclingOption.Setter<Boolean> setter)
protected Text
Option.getGenericLabel(Text value)
Modifier and TypeMethodDescriptionstatic <T> CyclingOption<T>
CyclingOption.create(String key, Supplier<List<T>> valuesSupplier, Function<T,Text> valueToText, Function<GameOptions,T> getter, CyclingOption.Setter<T> setter)
static <T> CyclingOption<T>
CyclingOption.create(String key, List<T> values, Function<T,Text> valueToText, Function<GameOptions,T> getter, CyclingOption.Setter<T> setter)
static <T> CyclingOption<T>
CyclingOption.create(String key, List<T> defaults, List<T> alternatives, BooleanSupplier alternativeToggle, Function<T,Text> valueToText, Function<GameOptions,T> getter, CyclingOption.Setter<T> setter)
static <T> CyclingOption<T>
CyclingOption.create(String key, T[] values, Function<T,Text> valueToText, Function<GameOptions,T> getter, CyclingOption.Setter<T> setter)
ModifierConstructorDescriptionDoubleOption(String key, double min, double max, float step, Function<GameOptions,Double> getter, BiConsumer<GameOptions,Double> setter, BiFunction<GameOptions,DoubleOption,Text> displayStringGetter)
DoubleOption(String key, double min, double max, float step, Function<GameOptions,Double> getter, BiConsumer<GameOptions,Double> setter, BiFunction<GameOptions,DoubleOption,Text> displayStringGetter, Function<MinecraftClient,List<OrderedText>> function)
LogarithmicOption(String key, double min, double max, float step, Function<GameOptions,Double> getter, BiConsumer<GameOptions,Double> setter, BiFunction<GameOptions,DoubleOption,Text> displayStringGetter)
-
Uses of Text in net.minecraft.client.realms
Modifier and TypeFieldDescription(package private) Text
RepeatedNarrator.Parameters.message
private Text
RealmsLabel.text
ModifierConstructorDescription(package private)
Parameters(Text text, RateLimiter rateLimiter)
RealmsLabel(Text text, int x, int y, int color)
-
Uses of Text in net.minecraft.client.realms.gui
Modifier and TypeFieldDescriptionRealmsWorldSlotButton.State.actionPrompt
private static Text
RealmsWorldSlotButton.ACTIVE_TOOLTIP
private static Text
RealmsWorldSlotButton.MINIGAME_TOOLTIP
private static Text
RealmsWorldSlotButton.TOOLTIP
Modifier and TypeMethodDescriptionRealmsWorldSlotButton.getActionPromptAndMessage(RealmsServer server, String text, boolean empty, boolean minigame, RealmsWorldSlotButton.Action action)
RealmsWorldSlotButton.getActionPromptAndMessage(RealmsServer server, String text, boolean empty, boolean minigame, RealmsWorldSlotButton.Action action)
Modifier and TypeMethodDescriptionprivate void
RealmsWorldSlotButton.drawSlotFrame(MatrixStack matrices, int x, int y, int mouseX, int mouseY, boolean active, String slotName, int slotIndex, long imageId, @Nullable String image, boolean empty, boolean minigame, RealmsWorldSlotButton.Action action, @Nullable Text actionPrompt)
ModifierConstructorDescription(package private)
State(boolean isCurrentlyActiveSlot, String slotName, long imageId, @Nullable String image, boolean empty, boolean minigame, RealmsWorldSlotButton.Action action, @Nullable Text actionPrompt)
ModifierConstructorDescriptionRealmsWorldSlotButton(int x, int y, int width, int height, Supplier<RealmsServer> serverDataProvider, Consumer<Text> toolTipSetter, int id, ButtonWidget.PressAction action)
-
Uses of Text in net.minecraft.client.realms.gui.screen
Modifier and TypeFieldDescription(package private) static Text
RealmsPendingInvitesScreen.ACCEPT_TEXT
private static Text
RealmsBackupScreen.BACKUPS_TEXT
private Text
RealmsResetWorldScreen.buttonTitle
(package private) static Text
RealmsBackupScreen.CHANGES_TOOLTIP
(package private) static Text
RealmsSelectFileToUploadScreen.CHEATS_TEXT
private static Text
RealmsConfigureWorldScreen.CLOSED_TEXT
private static Text
RealmsMainScreen.CLOSED_TEXT
private static Text
RealmsConfigureWorldScreen.CONFIGURE_REALM_TITLE
private static Text
RealmsMainScreen.CONFIGURE_TEXT
(package private) static Text
RealmsSelectFileToUploadScreen.conversionLang
private static Text
RealmsConfigureWorldScreen.CURRENT_MINIGAME_TEXT
private static Text
RealmsSubscriptionInfoScreen.DAY_TEXT
private static Text
RealmsSubscriptionInfoScreen.DAYS_TEXT
private Text
RealmsSubscriptionInfoScreen.daysLeft
private static Text
RealmsSubscriptionInfoScreen.daysLeftLabelText
private Text
RealmsDownloadLatestWorldScreen.downloadTitle
private static Text
RealmsSlotOptionsScreen.EDIT_SLOT_NAME
RealmsInviteScreen.errorMessage
RealmsLongRunningMcoTaskScreen.errorMessage
(package private) static Text
RealmsMainScreen.EXPIRED_LIST_TEXT
(package private) static Text
RealmsMainScreen.EXPIRED_RENEW_TEXT
(package private) static Text
RealmsMainScreen.EXPIRED_SUBSCRIBE_TEXT
private static Text
RealmsConfigureWorldScreen.EXPIRED_TEXT
private static Text
RealmsMainScreen.EXPIRED_TEXT
private static Text
RealmsSubscriptionInfoScreen.EXPIRED_TEXT
(package private) static Text
RealmsMainScreen.EXPIRED_TRIAL_TEXT
private static Text
RealmsConfigureWorldScreen.EXPIRES_IN_A_DAY_TEXT
private static Text
RealmsMainScreen.EXPIRES_IN_A_DAY_TEXT
private static Text
RealmsSubscriptionInfoScreen.EXPIRES_IN_LESS_THAN_A_DAY_TEXT
private static Text
RealmsConfigureWorldScreen.EXPIRES_SOON_TEXT
private static Text
RealmsMainScreen.EXPIRES_SOON_TEXT
private Text
RealmsDownloadLatestWorldScreen.field_20494
private Text[]
RealmsUploadScreen.field_20503
private Text
RealmsSelectFileToUploadScreen.WorldListEntry.field_26511
(package private) static Text
RealmsMainScreen.field_33774
(package private) static Text
RealmsMainScreen.field_33776
(package private) static Text
RealmsSelectFileToUploadScreen.HARDCORE_TEXT
private static Text[]
RealmsClientOutdatedScreen.INCOMPATIBLE_LINES
private static Text
RealmsClientOutdatedScreen.INCOMPATIBLE_TITLE
private static Text
RealmsMainScreen.INFO_TEXT
(package private) static Text
RealmsSelectWorldTemplateScreen.INFO_TOOLTIP
private static Text
RealmsInviteScreen.INVITE_PROFILE_NAME_TEXT
private static Text
RealmsPlayerScreen.INVITED_TEXT
private static Text
RealmsMainScreen.LEAVE_TEXT
private Text
RealmsGenericErrorScreen.line1
private Text
RealmsGenericErrorScreen.line2
private Text
RealmsLongConfirmationScreen.line2
private Text
RealmsLongConfirmationScreen.line3
private Text[]
RealmsBrokenWorldScreen.message
(package private) static Text
RealmsMainScreen.MINIGAME_TEXT
private static Text
RealmsSubscriptionInfoScreen.MONTH_TEXT
private static Text
RealmsSubscriptionInfoScreen.MONTHS_TEXT
private static Text
RealmsMainScreen.NEWS_TEXT
private static Text
RealmsBackupScreen.NO_BACKUPS_TEXT
(package private) static Text
RealmsMainScreen.NO_PENDING_TEXT
private static Text
RealmsPendingInvitesScreen.NO_PENDING_TEXT
private static Text
RealmsPlayerScreen.NORMAL_TOOLTIP
private static Text
RealmsConfigureWorldScreen.OPEN_TEXT
private static Text
RealmsMainScreen.OPEN_TEXT
private static Text
RealmsPlayerScreen.OPERATOR_TOOLTIP
private static Text[]
RealmsClientOutdatedScreen.OUTDATED_LINES
private static Text
RealmsClientOutdatedScreen.OUTDATED_TITLE
private Text
RealmsResetNormalWorldScreen.parentTitle
(package private) static Text
RealmsMainScreen.PENDING_TEXT
private static Text
RealmsInviteScreen.PLAYER_ERROR_TEXT
private static Text
RealmsMainScreen.POPUP_TEXT
private static Text
RealmsParentalConsentScreen.PRIVACY_INFO_TEXT
private Text
DisconnectedRealmsScreen.reason
(package private) static Text
RealmsPendingInvitesScreen.REJECT_TEXT
private static Text
RealmsPlayerScreen.REMOVE_TOOLTIP
private static Text
RealmsResetNormalWorldScreen.RESET_SEED_TEXT
private Text
RealmsResetWorldScreen.resetTitle
(package private) static Text
RealmsBackupScreen.RESTORE_TEXT
private static Text
RealmsTermsScreen.SENTENCE_ONE_TEXT
private static Text
RealmsTermsScreen.SENTENCE_TWO_TEXT
(package private) static Text
RealmsSlotOptionsScreen.SPAWN_PROTECTION
private Text
RealmsDownloadLatestWorldScreen.status
private Text
RealmsUploadScreen.status
private static Text
RealmsSubscriptionInfoScreen.subscriptionStartLabelText
private static Text
RealmsSubscriptionInfoScreen.subscriptionTitle
private Text
RealmsResetWorldScreen.subtitle
RealmsLongConfirmationScreen.Type.text
private Text
RealmsWorldGeneratorType.text
private static Text
RealmsSubscriptionInfoScreen.timeLeftLabelText
private Text
RealmsLongRunningMcoTaskScreen.title
private static Text
RealmsTermsScreen.TITLE
private Text
RealmsConfirmScreen.title1
private Text
RealmsConfirmScreen.title2
RealmsBackupScreen.toolTip
RealmsConfigureWorldScreen.toolTip
RealmsPendingInvitesScreen.toolTip
RealmsSelectWorldTemplateScreen.toolTip
private Text
RealmsPlayerScreen.tooltipText
(package private) static Text
RealmsSelectWorldTemplateScreen.TRAILER_TOOLTIP
(package private) static Text
RealmsMainScreen.UNINITIALIZED_TEXT
private static Text
RealmsBackupInfoScreen.UNKNOWN
private static Text
RealmsUploadScreen.VERIFYING_TEXT
RealmsSelectWorldTemplateScreen.warning
private static Text
RealmsCreateRealmScreen.WORLD_DESCRIPTION_TEXT
private static Text
RealmsSettingsScreen.WORLD_DESCRIPTION_TEXT
private static Text
RealmsCreateRealmScreen.WORLD_NAME_TEXT
private static Text
RealmsSettingsScreen.WORLD_NAME_TEXT
(package private) static Text
RealmsSelectFileToUploadScreen.worldLang
private static Text
RealmsConfigureWorldScreen.WORLDS_TITLE
Modifier and TypeMethodDescription(package private) Text
RealmsBackupInfoScreen.checkForSpecificMetadata(String key, String value)
private Text
RealmsSubscriptionInfoScreen.daysLeftPresentation(int daysLeft)
private Text
RealmsBackupInfoScreen.gameDifficultyMetadata(String value)
private Text
RealmsBackupInfoScreen.gameModeMetadata(String value)
DisconnectedRealmsScreen.getNarratedTitle()
RealmsBrokenWorldScreen.getNarratedTitle()
RealmsGenericErrorScreen.getNarratedTitle()
RealmsLongConfirmationScreen.getNarratedTitle()
RealmsParentalConsentScreen.getNarratedTitle()
RealmsResetWorldScreen.getNarratedTitle()
RealmsSelectFileToUploadScreen.getNarratedTitle()
RealmsSelectWorldTemplateScreen.getNarratedTitle()
RealmsSlotOptionsScreen.getNarratedTitle()
RealmsSubscriptionInfoScreen.getNarratedTitle()
RealmsTermsScreen.getNarratedTitle()
RealmsWorldGeneratorType.getText()
(package private) static Text
RealmsSelectFileToUploadScreen.method_21400(LevelSummary levelSummary)
RealmsBackupInfoScreen.BackupInfoListEntry.method_37006()
RealmsBackupScreen.BackupObjectSelectionListEntry.method_37006()
RealmsMainScreen.RealmSelectionListEntry.method_37006()
RealmsMainScreen.RealmSelectionListTrialEntry.method_37006()
RealmsPendingInvitesScreen.PendingInvitationSelectionListEntry.method_37006()
RealmsPlayerScreen.InvitedObjectSelectionListEntry.method_37006()
RealmsSelectFileToUploadScreen.WorldListEntry.method_37006()
RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionListEntry.method_37006()
private Text
RealmsDownloadLatestWorldScreen.method_37012()
private Text
RealmsUploadScreen.method_37014()
RealmsScreen.narrateLabels()
Modifier and TypeMethodDescription(package private) void
RealmsResetWorldScreen.drawFrame(MatrixStack matrices, int x, int y, Text text, Identifier texture, boolean hovered, boolean mouseOver)
void
private void
RealmsGenericErrorScreen.errorMessage(Text line2)
private void
RealmsGenericErrorScreen.errorMessage(Text line1, Text line2)
(package private) void
RealmsMainScreen.method_27452(Text[] text)
private void
RealmsUploadScreen.method_27460(Text[] text)
protected void
RealmsBackupScreen.renderMousehoverTooltip(MatrixStack matrices, @Nullable Text text, int int2, int int3)
protected void
RealmsConfigureWorldScreen.renderMousehoverTooltip(MatrixStack matrices, @Nullable Text text, int int2, int int3)
protected void
RealmsPendingInvitesScreen.renderMousehoverTooltip(MatrixStack matrices, @Nullable Text text, int int2, int int3)
protected void
RealmsPlayerScreen.renderMousehoverTooltip(MatrixStack matrices, @Nullable Text text, int mouseX, int mouseY)
protected void
RealmsSelectWorldTemplateScreen.renderMousehoverTooltip(MatrixStack matrices, @Nullable Text text, int int2, int int3)
void
RealmsResetWorldScreen.setResetTitle(Text resetTitle)
void
void
RealmsSelectWorldTemplateScreen.setWarning(Text[] warning)
private void
Modifier and TypeMethodDescriptionprivate void
RealmsMainScreen.method_35681(Iterable<Text> iterable)
protected void
RealmsMainScreen.renderMousehoverTooltip(MatrixStack matrixStack, List<Text> list, int int2, int int3)
ModifierConstructorDescriptionDisconnectedRealmsScreen(Screen parent, Text title, Text reason)
FrameButton(int x, int y, Text message, Identifier image, ButtonWidget.PressAction onPress)
RealmsConfirmScreen(BooleanConsumer booleanConsumer, Text title1, Text title2)
RealmsGenericErrorScreen(Text line2, Screen parent)
RealmsGenericErrorScreen(Text line1, Text line2, Screen parent)
RealmsLongConfirmationScreen(BooleanConsumer booleanConsumer, RealmsLongConfirmationScreen.Type type, Text line2, Text line3, boolean yesNoQuestion)
RealmsResetNormalWorldScreen(Consumer<ResetWorldInfo> callback, Text parentTitle)
RealmsResetWorldScreen(Screen parent, RealmsServer server, Text text, Runnable runnable, Runnable runnable2)
RealmsResetWorldScreen(Screen parent, RealmsServer server, Text title, Text subtitle, int subtitleColor, Text buttonTitle, Runnable resetCallback, Runnable selectFileUploadCallback)
RealmsScreen(Text title)
RealmsSelectWorldTemplateScreen(Text text, Consumer<WorldTemplate> consumer, RealmsServer.WorldType worldType)
RealmsSelectWorldTemplateScreen(Text text, Consumer<WorldTemplate> consumer, RealmsServer.WorldType worldType, @Nullable WorldTemplatePaginatedList worldTemplatePaginatedList)
private
RealmsWorldGeneratorType(int id, Text text)
-
Uses of Text in net.minecraft.client.realms.task
Modifier and TypeMethodDescriptionvoid
void
ModifierConstructorDescriptionResettingNormalWorldTask(ResetWorldInfo info, long serverId, Text title, Runnable callback)
ResettingWorldTask(long serverId, Text title, Runnable callback)
ResettingWorldTemplateTask(WorldTemplate template, long serverId, Text title, Runnable callback)
-
Uses of Text in net.minecraft.client.realms.util
-
Uses of Text in net.minecraft.client.render.entity
Modifier and TypeMethodDescriptionprotected void
EntityRenderer.renderLabelIfPresent(T entity, Text text, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light)
protected void
ItemFrameEntityRenderer.renderLabelIfPresent(T t, Text text, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2)
protected void
PlayerEntityRenderer.renderLabelIfPresent(AbstractClientPlayerEntity abstractClientPlayerEntity, Text text, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2)
-
Uses of Text in net.minecraft.client.resource
Modifier and TypeFieldDescriptionprivate static Text
ClientBuiltinResourcePackProvider.field_33633
-
Uses of Text in net.minecraft.client.sound
-
Uses of Text in net.minecraft.client.toast
Modifier and TypeFieldDescriptionprivate Text
TutorialToast.description
private static Text
RecipeToast.DESCRIPTION
private Text
SystemToast.title
private Text
TutorialToast.title
private static Text
RecipeToast.TITLE
Modifier 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)
ModifierConstructorDescriptionSystemToast(SystemToast.Type type, Text title, @Nullable Text description)
private
SystemToast(SystemToast.Type type, Text title, List<OrderedText> lines, int width)
TutorialToast(TutorialToast.Type type, Text title, @Nullable Text description, boolean hasProgressBar)
-
Uses of Text in net.minecraft.client.tutorial
Modifier and TypeFieldDescriptionprivate static Text
CraftPlanksTutorialStepHandler.DESCRIPTION
private static Text
FindTreeTutorialStepHandler.DESCRIPTION
private static Text
OpenInventoryTutorialStepHandler.DESCRIPTION
private static Text
PunchTreeTutorialStepHandler.DESCRIPTION
private static Text
MovementTutorialStepHandler.LOOK_DESCRIPTION
private static Text
MovementTutorialStepHandler.LOOK_TITLE
private static Text
MovementTutorialStepHandler.MOVE_DESCRIPTION
private static Text
MovementTutorialStepHandler.MOVE_TITLE
private static Text
CraftPlanksTutorialStepHandler.TITLE
private static Text
FindTreeTutorialStepHandler.TITLE
private static Text
OpenInventoryTutorialStepHandler.TITLE
private static Text
PunchTreeTutorialStepHandler.TITLE
-
Uses of Text in net.minecraft.client.util
Modifier and TypeFieldDescriptionInputUtil.Key.localizedText
(package private) BiFunction<Integer,String,Text>
InputUtil.Type.textTranslator
Modifier and TypeMethodDescriptionvoid
void
NarratorManager.onChatMessage(MessageType messageType, Text message, UUID sender)
Modifier and TypeMethodDescriptionstatic void
Screenshooter.saveScreenshot(File gameDirectory, int framebufferWidth, int framebufferHeight, Framebuffer framebuffer, Consumer<Text> messageReceiver)
static void
Screenshooter.saveScreenshot(File gameDirectory, @Nullable String fileName, int framebufferWidth, int framebufferHeight, Framebuffer framebuffer, Consumer<Text> messageReceiver)
private static void
Screenshooter.saveScreenshotInner(File gameDirectory, @Nullable String fileName, int framebufferWidth, int framebufferHeight, Framebuffer framebuffer, Consumer<Text> messageReceiver)
-
Uses of Text in net.minecraft.client.world
-
Uses of Text in net.minecraft.command
Modifier and TypeFieldDescriptionEntitySelectorOptions.SelectorOption.description
private Text
CommandException.message
Modifier and TypeMethodDescriptionBlockDataObject.feedbackGet(NbtPathArgumentType.NbtPath path, double scale, int result)
DataCommandObject.feedbackGet(NbtPathArgumentType.NbtPath path, double scale, int result)
EntityDataObject.feedbackGet(NbtPathArgumentType.NbtPath path, double scale, int result)
StorageDataObject.feedbackGet(NbtPathArgumentType.NbtPath path, double scale, int result)
BlockDataObject.feedbackModify()
DataCommandObject.feedbackModify()
EntityDataObject.feedbackModify()
StorageDataObject.feedbackModify()
BlockDataObject.feedbackQuery(NbtElement element)
DataCommandObject.feedbackQuery(NbtElement element)
EntityDataObject.feedbackQuery(NbtElement element)
StorageDataObject.feedbackQuery(NbtElement element)
static Text
CommandException.getTextMessage()
Modifier and TypeMethodDescriptionprivate static void
EntitySelectorOptions.putOption(String id, EntitySelectorOptions.SelectorHandler handler, Predicate<EntitySelectorReader> condition, Text description)
ModifierConstructorDescriptionCommandException(Text message)
(package private)
SelectorOption(EntitySelectorOptions.SelectorHandler selectorHandler, Predicate<EntitySelectorReader> predicate, Text text)
-
Uses of Text in net.minecraft.command.argument
Modifier and TypeMethodDescriptionMessageArgumentType.MessageFormat.format(ServerCommandSource source, boolean bool)
MessageArgumentType.MessageSelector.format(ServerCommandSource source)
static Text
MessageArgumentType.getMessage(com.mojang.brigadier.context.CommandContext<ServerCommandSource> command, 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.enchantment
-
Uses of Text in net.minecraft.entity
Modifier and TypeMethodDescriptionEntity.getCustomName()
protected Text
Entity.getDefaultName()
Entity.getDisplayName()
Entity.getName()
EntityType.getName()
ItemEntity.getName()
private static Text
Entity.removeClickEvents(Text textComponent)
Modifier and TypeMethodDescriptionEntityType.create(ServerWorld world, @Nullable NbtCompound itemNbt, @Nullable Text name, @Nullable PlayerEntity player, BlockPos pos, SpawnReason spawnReason, boolean alignPosition, boolean invertY)
private static Text
Entity.removeClickEvents(Text textComponent)
void
Entity.sendSystemMessage(Text message, UUID sender)
void
Entity.setCustomName(@Nullable Text name)
EntityType.spawn(ServerWorld world, @Nullable NbtCompound itemNbt, @Nullable Text name, @Nullable PlayerEntity player, BlockPos pos, SpawnReason spawnReason, boolean alignPosition, boolean invertY)
-
Uses of Text in net.minecraft.entity.boss
Modifier and TypeMethodDescriptionBossBarManager.add(Identifier id, Text displayName)
void
WitherEntity.setCustomName(@Nullable Text name)
void
void
ModifierConstructorDescriptionBossBar(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
Modifier and TypeMethodDescriptionDamageRecord.getAttackerName()
BadRespawnPointDamageSource.getDeathMessage(LivingEntity entity)
DamageSource.getDeathMessage(LivingEntity entity)
DamageTracker.getDeathMessage()
EntityDamageSource.getDeathMessage(LivingEntity entity)
ProjectileDamageSource.getDeathMessage(LivingEntity entity)
-
Uses of Text in net.minecraft.entity.data
Modifier and TypeFieldDescriptionstatic TrackedDataHandler<Optional<Text>>
TrackedDataHandlerRegistry.OPTIONAL_TEXT_COMPONENT
static TrackedDataHandler<Text>
TrackedDataHandlerRegistry.TEXT_COMPONENT
-
Uses of Text in net.minecraft.entity.effect
-
Uses of Text in net.minecraft.entity.mob
-
Uses of Text in net.minecraft.entity.passive
-
Uses of Text in net.minecraft.entity.player
Modifier and TypeMethodDescriptionPlayerEntity.getDisplayName()
PlayerEntity.getName()
PlayerInventory.getName()
PlayerEntity.SleepFailureReason.toText()
Modifier and TypeMethodDescriptionvoid
PlayerEntity.sendMessage(Text message, boolean actionBar)
-
Uses of Text in net.minecraft.entity.vehicle
Modifier and TypeFieldDescription(package private) static TrackedData<Text>
CommandBlockMinecartEntity.LAST_OUTPUT
-
Uses of Text in net.minecraft.item
Modifier and TypeMethodDescriptionprivate static Text
FireworkChargeItem.appendColors(MutableText line, int[] colors)
private static Text
FireworkChargeItem.getColorText(int color)
Item.getName()
ItemStack.getName()
ItemGroup.getTranslationKey()
ItemStack.toHoverableText()
Modifier and TypeMethodDescriptionItemStack.getTooltip(@Nullable PlayerEntity player, TooltipContext context)
private static Collection<Text>
ItemStack.parseBlockTag(String tag)
Modifier and TypeMethodDescriptionprivate static void
DebugStickItem.sendMessage(PlayerEntity player, Text message)
ItemStack.setCustomName(@Nullable Text name)
Modifier and TypeMethodDescriptionstatic void
BannerItem.appendBannerTooltip(ItemStack stack, List<Text> tooltip)
static void
ItemStack.appendEnchantments(List<Text> tooltip, NbtList enchantments)
static void
FireworkChargeItem.appendFireworkTooltip(NbtCompound nbt, List<Text> tooltip)
void
AirBlockItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)
void
BannerItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)
void
BannerPatternItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)
void
BlockItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)
void
BundleItem.appendTooltip(ItemStack stack, World world, List<Text> tooltip, TooltipContext context)
void
CrossbowItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)
void
EnchantedBookItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)
void
EntityBucketItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)
void
FilledMapItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)
void
FireworkChargeItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)
void
FireworkItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)
void
Item.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)
void
LingeringPotionItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)
void
MusicDiscItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)
void
PotionItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)
void
ShieldItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)
void
TippedArrowItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)
void
WrittenBookItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)
-
Uses of Text in net.minecraft.item.map
Modifier and TypeMethodDescriptionprivate void
MapState.addIcon(MapIcon.Type type, @Nullable WorldAccess world, String key, double x, double z, double rotation, @Nullable Text text)
ModifierConstructorDescriptionMapBannerMarker(BlockPos pos, DyeColor dyeColor, @Nullable Text name)
MapIcon(MapIcon.Type type, byte x, byte z, byte rotation, @Nullable Text text)
-
Uses of Text in net.minecraft.loot.function
Modifier and TypeMethodDescriptionstatic UnaryOperator<Text>
SetNameLootFunction.applySourceEntity(LootContext context, LootContext.EntityTarget sourceEntity)
Modifier and TypeMethodDescriptionstatic ConditionalLootFunction.Builder<?>
static ConditionalLootFunction.Builder<?>
SetNameLootFunction.builder(Text name, LootContext.EntityTarget target)
ModifierConstructorDescription(package private)
SetNameLootFunction(LootCondition[] lootCondition, @Nullable Text text, LootContext.EntityTarget entityTarget)
ModifierConstructorDescriptionSetLoreLootFunction(LootCondition[] conditions, boolean replace, List<Text> lore, LootContext.EntityTarget entity)
-
Uses of Text in net.minecraft.nbt
-
Uses of Text in net.minecraft.nbt.visitor
Modifier and TypeMethodDescriptionNbtTextFormatter.apply(NbtElement element)
protected static Text
NbtTextFormatter.escapeName(String name)
-
Uses of Text in net.minecraft.network
Modifier and TypeFieldDescriptionprivate Text
ClientConnection.disconnectReason
private static Text
RateLimitedConnection.RATE_LIMIT_EXCEEDED_MESSAGE
Modifier and TypeMethodDescriptionClientConnection.getDisconnectReason()
PacketByteBuf.readText()
Reads a text from this buf.Modifier and TypeMethodDescriptionvoid
ClientConnection.disconnect(Text disconnectReason)
Writes a text to this buf. -
Uses of Text in net.minecraft.network.listener
Modifier and TypeMethodDescriptionvoid
PacketListener.onDisconnected(Text reason)
Called when the connection this listener listens to has disconnected. -
Uses of Text in net.minecraft.network.packet.s2c.login
-
Uses of Text in net.minecraft.network.packet.s2c.play
Modifier and TypeFieldDescriptionPlayerListS2CPacket.Entry.displayName
private Text
ScoreboardObjectiveUpdateS2CPacket.displayName
private Text
TeamS2CPacket.SerializableTeam.displayName
private Text
PlayerListHeaderS2CPacket.footer
private Text
PlayerListHeaderS2CPacket.header
private Text
DeathMessageS2CPacket.message
private Text
GameMessageS2CPacket.message
private Text
OverlayMessageS2CPacket.message
private Text
BossBarS2CPacket.AddAction.name
private Text
BossBarS2CPacket.UpdateNameAction.name
private Text
OpenScreenS2CPacket.name
private Text
TeamS2CPacket.SerializableTeam.prefix
ResourcePackSendS2CPacket.prompt
private Text
DisconnectS2CPacket.reason
private Text
SubtitleS2CPacket.subtitle
private Text
TeamS2CPacket.SerializableTeam.suffix
private Text
TitleS2CPacket.title
Modifier and TypeMethodDescriptionPlayerListS2CPacket.Entry.getDisplayName()
ScoreboardObjectiveUpdateS2CPacket.getDisplayName()
TeamS2CPacket.SerializableTeam.getDisplayName()
PlayerListHeaderS2CPacket.getFooter()
PlayerListHeaderS2CPacket.getHeader()
DeathMessageS2CPacket.getMessage()
GameMessageS2CPacket.getMessage()
OverlayMessageS2CPacket.getMessage()
OpenScreenS2CPacket.getName()
TeamS2CPacket.SerializableTeam.getPrefix()
ResourcePackSendS2CPacket.getPrompt()
DisconnectS2CPacket.getReason()
SubtitleS2CPacket.getSubtitle()
TeamS2CPacket.SerializableTeam.getSuffix()
TitleS2CPacket.getTitle()
PlayerListS2CPacket.readOptionalText(PacketByteBuf buf)
Modifier 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)
(package private) static void
PlayerListS2CPacket.writeOptionalText(PacketByteBuf buf, @Nullable Text text)
ModifierConstructorDescriptionDeathMessageS2CPacket(int entityId, int killerId, Text message)
DeathMessageS2CPacket(DamageTracker damageTracker, Text message)
DisconnectS2CPacket(Text reason)
Entry(com.mojang.authlib.GameProfile profile, int latency, @Nullable GameMode gameMode, @Nullable Text displayName)
GameMessageS2CPacket(Text message, MessageType location, UUID sender)
OpenScreenS2CPacket(int syncId, ScreenHandlerType<?> type, Text name)
OverlayMessageS2CPacket(Text message)
PlayerListHeaderS2CPacket(Text header, Text footer)
ResourcePackSendS2CPacket(String url, String hash, boolean required, @Nullable Text prompt)
SubtitleS2CPacket(Text subtitle)
TitleS2CPacket(Text title)
(package private)
UpdateNameAction(Text name)
-
Uses of Text in net.minecraft.potion
Modifier and TypeMethodDescriptionstatic void
PotionUtil.buildTooltip(ItemStack stack, List<Text> list, float float2)
-
Uses of Text in net.minecraft.resource
Modifier and TypeFieldDescriptionprivate Text
ResourcePackCompatibility.confirmMessage
private Text
ResourcePackProfile.description
private Text
ResourcePackProfile.displayName
private Text
ResourcePackCompatibility.notification
Modifier and TypeMethodDescriptionResourcePackCompatibility.getConfirmMessage()
ResourcePackProfile.getDescription()
ResourcePackProfile.getDisplayName()
ResourcePackProfile.getInformationText(boolean enabled)
ResourcePackCompatibility.getNotification()
Modifier and TypeMethodDescriptionResourcePackProfile.Factory.create(String name, Text displayName, boolean alwaysEnabled, Supplier<ResourcePack> packFactory, PackResourceMetadata metadata, ResourcePackProfile.InsertionPosition initialPosition, ResourcePackSource source)
Creates a proper resource pack profile from the given parameters.ModifierConstructorDescriptionResourcePackProfile(String name, boolean alwaysEnabled, Supplier<ResourcePack> packFactory, Text displayName, Text description, ResourcePackCompatibility compatibility, ResourcePackProfile.InsertionPosition direction, boolean pinned, ResourcePackSource source)
ResourcePackProfile(String name, Text displayName, boolean alwaysEnabled, Supplier<ResourcePack> packFactory, PackResourceMetadata metadata, ResourceType type, ResourcePackProfile.InsertionPosition direction, ResourcePackSource source)
-
Uses of Text in net.minecraft.resource.metadata
-
Uses of Text in net.minecraft.scoreboard
Modifier and TypeFieldDescriptionprivate Text
ScoreboardObjective.bracketedDisplayName
private Text
ScoreboardObjective.displayName
private Text
Team.displayName
private Text
Team.prefix
private Text
Team.suffix
Modifier and TypeMethodDescriptionprivate Text
ScoreboardObjective.generateBracketedDisplayName()
ScoreboardObjective.getDisplayName()
Team.getDisplayName()
Team.getPrefix()
Team.getSuffix()
AbstractTeam.CollisionRule.getTranslationKey()
AbstractTeam.VisibilityRule.getTranslationKey()
ScoreboardObjective.toHoverableText()
Modifier and TypeMethodDescriptionScoreboard.addObjective(String name, ScoreboardCriterion criterion, Text displayName, ScoreboardCriterion.RenderType renderType)
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
void
ModifierConstructorDescriptionScoreboardObjective(Scoreboard scoreboard, String name, ScoreboardCriterion criterion, Text displayName, ScoreboardCriterion.RenderType renderType)
-
Uses of Text in net.minecraft.screen
Modifier 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.ModifierConstructorDescriptionSimpleNamedScreenHandlerFactory(ScreenHandlerFactory baseFactory, Text name)
-
Uses of Text in net.minecraft.server
Modifier and TypeMethodDescriptionPlayerManager.checkCanJoin(SocketAddress address, com.mojang.authlib.GameProfile profile)
ServerMetadata.getDescription()
MinecraftServer.getResourcePackPrompt()
abstract Text
BanEntry.toText()
BannedIpEntry.toText()
BannedPlayerEntry.toText()
Modifier and TypeMethodDescriptionvoid
PlayerManager.broadcast(Text serverMessage, Function<ServerPlayerEntity,Text> playerMessageFactory, MessageType playerMessageType, UUID sender)
void
PlayerManager.broadcastChatMessage(Text message, MessageType type, UUID sender)
void
MinecraftServer.sendSystemMessage(Text message, UUID sender)
void
PlayerManager.sendToOtherTeams(PlayerEntity source, Text message)
void
PlayerManager.sendToTeam(PlayerEntity source, Text message)
void
ServerMetadata.setDescription(Text description)
Modifier and TypeMethodDescriptionvoid
PlayerManager.broadcast(Text serverMessage, Function<ServerPlayerEntity,Text> playerMessageFactory, MessageType playerMessageType, UUID sender)
-
Uses of Text in net.minecraft.server.command
Modifier and TypeMethodDescriptionServerCommandSource.getDisplayName()
private static Text
MeCommand.getEmoteText(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String arg)
Modifier 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
MessageCommand.execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Text message)
private static int
TeamMsgCommand.execute(ServerCommandSource source, Text message)
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
RaidCommand.executeSound(ServerCommandSource source, Text type)
private static int
TitleCommand.executeTitle(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Text title, String titleType, Function<Text,Packet<?>> constructor)
void
void
ServerCommandSource.sendFeedback(Text message, boolean broadcastToOps)
void
CommandOutput.sendSystemMessage(Text message, UUID sender)
void
DebugCommand.Tracer.sendSystemMessage(Text message, UUID sender)
private void
private static int
BossBarCommand.setName(ServerCommandSource source, CommandBossBar bossBar, Text name)
Modifier 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)
ModifierConstructorDescriptionServerCommandSource(CommandOutput output, Vec3d pos, Vec2f rot, ServerWorld world, int level, String simpleName, Text name, MinecraftServer server, @Nullable Entity entity)
protected
ServerCommandSource(CommandOutput output, Vec3d pos, Vec2f rot, ServerWorld world, int level, String simpleName, Text name, MinecraftServer server, @Nullable Entity entity, boolean silent, com.mojang.brigadier.ResultConsumer<ServerCommandSource> consumer, EntityAnchorArgumentType.EntityAnchor entityAnchor)
-
Uses of Text in net.minecraft.server.dedicated
Modifier and TypeMethodDescriptionMinecraftDedicatedServer.getResourcePackPrompt()
MinecraftDedicatedServer.parseResourcePackPrompt(ServerPropertiesLoader propertiesLoader)
-
Uses of Text in net.minecraft.server.dedicated.command
Modifier 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
-
Uses of Text in net.minecraft.server.integrated
Modifier and TypeMethodDescriptionIntegratedPlayerManager.checkCanJoin(SocketAddress address, com.mojang.authlib.GameProfile profile)
-
Uses of Text in net.minecraft.server.network
Modifier and TypeFieldDescriptionprivate static Text
ServerHandshakeNetworkHandler.IGNORING_STATUS_REQUEST_MESSAGE
private static Text
ServerQueryNetworkHandler.REQUEST_HANDLED
Modifier and TypeMethodDescriptionvoid
ServerLoginNetworkHandler.disconnect(Text reason)
void
ServerPlayNetworkHandler.disconnect(Text reason)
void
LocalServerHandshakeNetworkHandler.onDisconnected(Text reason)
Called when the connection this listener listens to has disconnected.void
ServerHandshakeNetworkHandler.onDisconnected(Text reason)
Called when the connection this listener listens to has disconnected.void
ServerLoginNetworkHandler.onDisconnected(Text reason)
Called when the connection this listener listens to has disconnected.void
ServerPlayNetworkHandler.onDisconnected(Text reason)
Called when the connection this listener listens to has disconnected.void
ServerQueryNetworkHandler.onDisconnected(Text reason)
Called when the connection this listener listens to has disconnected.void
ServerPlayerEntity.sendMessage(Text message, boolean actionBar)
void
ServerPlayerEntity.sendMessage(Text message, MessageType type, UUID sender)
void
ServerPlayerEntity.sendResourcePackUrl(String url, String hash, boolean required, @Nullable Text resourcePackPrompt)
void
ServerPlayerEntity.sendSystemMessage(Text message, UUID sender)
-
Uses of Text in net.minecraft.server.rcon
Modifier and TypeMethodDescriptionvoid
RconCommandOutput.sendSystemMessage(Text message, UUID sender)
-
Uses of Text in net.minecraft.stat
-
Uses of Text in net.minecraft.text
Modifier and TypeClassDescriptionclass
class
class
class
static class
static class
static class
class
class
class
Modifier and TypeFieldDescriptionstatic Text
Texts.DEFAULT_SEPARATOR_TEXT
static Text
LiteralText.EMPTY
static Text
HoverEvent.EntityContent.name
Modifier and TypeFieldDescriptionHoverEvent.Action.legacyDeserializer
NbtText.separator
SelectorText.separator
static HoverEvent.Action<Text>
HoverEvent.Action.SHOW_TEXT
BaseText.siblings
HoverEvent.EntityContent.tooltip
KeybindText.translated
KeybindText.translator
Modifier and TypeMethodDescriptionprivate Text
KeybindText.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
Creates a literal text with the given string as content.static Text
Texts.toText(com.mojang.authlib.GameProfile profile)
static Text
Texts.toText(com.mojang.brigadier.Message message)
Modifier and TypeMethodDescriptionHoverEvent.EntityContent.asTooltip()
SelectorText.getSeparator()
Text.Serializer.getSeparator(Type type, JsonDeserializationContext context, JsonObject json)
BaseText.getSiblings()
Returns the siblings of this text.Text.getSiblings()
Returns the siblings of this text.Text.getWithStyle(Style style)
Modifier and TypeMethodDescriptionAppends a text to this text's siblings.Appends a text to this text's siblings.static MutableText
HoverEvent.Action.buildHoverEvent(Text value)
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)
private static @Nullable HoverEvent.ItemStackContent
static MutableText
Text.Serializer.serialize(Text text, Type type, JsonSerializationContext jsonSerializationContext)
static String
static JsonElement
Text.Serializer.toJsonTree(Text text)
Modifier and TypeMethodDescriptionprivate void
Text.Serializer.addSeparator(JsonSerializationContext context, JsonObject json, Optional<Text> separator)
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 Optional<MutableText>
Texts.parse(@Nullable ServerCommandSource source, Optional<Text> text, @Nullable Entity sender, int depth)
static void
KeybindText.setTranslator(Function<String,Supplier<Text>> translator)
ModifierConstructorDescriptionEntityContent(EntityType<?> entityType, UUID uuid, @Nullable Text name)
ModifierConstructorDescriptionBlockNbtText(String rawPath, boolean rawJson, String rawPos, Optional<Text> separator)
private
BlockNbtText(String rawPath, NbtPathArgumentType.NbtPath path, boolean interpret, String rawPos, @Nullable PosArgument pos, Optional<Text> separator)
EntityNbtText(String rawPath, boolean interpret, String rawSelector, Optional<Text> separator)
private
EntityNbtText(String rawPath, NbtPathArgumentType.NbtPath path, boolean interpret, String rawSelector, @Nullable EntitySelector selector, Optional<Text> separator)
protected
NbtText(String rawPath, NbtPathArgumentType.NbtPath path, boolean interpret, Optional<Text> separator)
SelectorText(String pattern, Optional<Text> separator)
StorageNbtText(String rawPath, boolean interpret, Identifier id, Optional<Text> separator)
StorageNbtText(String rawPath, NbtPathArgumentType.NbtPath path, boolean interpret, Identifier id, Optional<Text> separator)
-
Uses of Text in net.minecraft.util
Modifier and TypeMethodDescriptionNameable.getCustomName()
default Text
Nameable.getDisplayName()
BlockMirror.getName()
Nameable.getName()
Arm.getOptionName()
ModifierConstructorDescriptionprivate
private
BlockMirror(Text name, DirectionTransformation directionTransformation)
-
Uses of Text in net.minecraft.village
Modifier and TypeMethodDescriptiondefault void
Merchant.sendOffers(PlayerEntity player, Text test, int levelProgress)
-
Uses of Text in net.minecraft.village.raid
Modifier and TypeFieldDescriptionprivate static Text
Raid.DEFEAT_SUFFIX_TEXT
private static Text
Raid.DEFEAT_TITLE
private static Text
Raid.EVENT_TEXT
private static Text
Raid.VICTORY_SUFFIX_TEXT
private static Text
Raid.VICTORY_TITLE
-
Uses of Text in net.minecraft.world
Modifier and TypeFieldDescriptionprivate Text
CommandBlockExecutor.customName
private static Text
CommandBlockExecutor.DEFAULT_NAME
CommandBlockExecutor.lastOutput
private Text
GameMode.simpleTranslatableName
private Text
GameMode.translatableName
Modifier and TypeMethodDescriptionCommandBlockExecutor.getCustomName()
CommandBlockExecutor.getLastOutput()
GameMode.getSimpleTranslatableName()
Difficulty.getTranslatableName()
GameMode.getTranslatableName()
Modifier and TypeMethodDescriptionvoid
CommandBlockExecutor.sendSystemMessage(Text message, UUID sender)
void
CommandBlockExecutor.setCustomName(@Nullable Text name)
void
CommandBlockExecutor.setLastOutput(@Nullable Text lastOutput)
-
Uses of Text in net.minecraft.world.level.storage
Modifier and TypeMethodDescriptionprivate Text
LevelSummary.createDetails()
LevelSummary.getDetails()
-
Uses of Text in net.minecraft.world.updater