Uses of Class
net.minecraft.text.MutableText
Package
Description
-
Uses of MutableText in net.minecraft.advancement
Modifier and TypeMethodDescriptionAdvancementFrame.getChatAnnouncementText
(AdvancementEntry advancementEntry, ServerPlayerEntity player) -
Uses of MutableText in net.minecraft.block
-
Uses of MutableText in net.minecraft.client.gui.hud
Modifier and TypeMethodDescriptionprivate Text
PlayerListHud.applyGameModeFormatting
(PlayerListEntry entry, MutableText name) Italicizes the given text if the given player is in spectator mode. -
Uses of MutableText in net.minecraft.client.gui.screen
Modifier and TypeMethodDescriptionprotected static MutableText
ConfirmLinkScreen.getConfirmText
(boolean linkTrusted) protected static MutableText
ConfirmLinkScreen.getConfirmText
(boolean linkTrusted, String link) -
Uses of MutableText in net.minecraft.client.gui.screen.ingame
Modifier and TypeMethodDescriptionprotected MutableText
BeaconScreen.EffectButtonWidget.getEffectName
(RegistryEntry<StatusEffect> effect) protected MutableText
BeaconScreen.LevelTwoEffectButtonWidget.getEffectName
(RegistryEntry<StatusEffect> effect) protected MutableText
BeaconScreen.EffectButtonWidget.getNarrationMessage()
-
Uses of MutableText in net.minecraft.client.gui.screen.multiplayer
Modifier and TypeMethodDescription(package private) MutableText
SocialInteractionsPlayerListEntry.getNarrationMessage
(MutableText text) Modifier and TypeMethodDescription(package private) MutableText
SocialInteractionsPlayerListEntry.getNarrationMessage
(MutableText text) -
Uses of MutableText in net.minecraft.client.gui.screen.option
Modifier and TypeFieldDescriptionprivate final MutableText
TelemetryEventWidget.ContentsBuilder.narration
-
Uses of MutableText in net.minecraft.client.gui.screen.world
Modifier and TypeMethodDescriptionprivate static MutableText
CreateWorldScreen.WorldTab.getWorldTypeNarrationMessage
(CyclingButtonWidget<WorldCreator.WorldType> worldTypeButton) -
Uses of MutableText in net.minecraft.client.gui.widget
Modifier and TypeFieldDescriptionprivate Function
<CyclingButtonWidget<T>, MutableText> CyclingButtonWidget.Builder.narrationMessageFactory
private final Function
<CyclingButtonWidget<T>, MutableText> CyclingButtonWidget.narrationMessageFactory
Modifier and TypeMethodDescriptionprivate MutableText
CyclingButtonWidget.composeGenericOptionText
(T value) ButtonWidget.NarrationSupplier.createNarrationMessage
(Supplier<MutableText> textSupplier) CyclingButtonWidget.getGenericNarrationMessage()
Returns a generic narration message for this button.protected MutableText
ButtonWidget.getNarrationMessage()
protected MutableText
ClickableWidget.getNarrationMessage()
static MutableText
ClickableWidget.getNarrationMessage
(Text message) protected MutableText
CyclingButtonWidget.getNarrationMessage()
protected MutableText
LockButtonWidget.getNarrationMessage()
protected MutableText
SliderWidget.getNarrationMessage()
protected MutableText
TextFieldWidget.getNarrationMessage()
Modifier and TypeMethodDescriptionButtonWidget.NarrationSupplier.createNarrationMessage
(Supplier<MutableText> textSupplier) CyclingButtonWidget.Builder.narration
(Function<CyclingButtonWidget<T>, MutableText> narrationMessageFactory) Overrides the narration message of the button to build. -
Uses of MutableText in net.minecraft.client.session.telemetry
Modifier and TypeMethodDescriptionTelemetryEventType.getDescription()
private MutableText
TelemetryEventProperty.getTitle()
TelemetryEventType.getTitle()
-
Uses of MutableText in net.minecraft.component.type
Modifier and TypeMethodDescriptionFireworkExplosionComponent.Type.getName()
BannerPatternsComponent.Layer.getTooltipText()
Modifier and TypeMethodDescriptionprivate static Text
FireworkExplosionComponent.appendColorsTooltipText
(MutableText text, IntList colors) -
Uses of MutableText in net.minecraft.entity.player
Modifier and TypeMethodDescriptionprivate MutableText
PlayerEntity.addTellClickEvent
(MutableText component) Modifier and TypeMethodDescriptionprivate MutableText
PlayerEntity.addTellClickEvent
(MutableText component) -
Uses of MutableText in net.minecraft.item
Modifier and TypeMethodDescriptionBannerPatternItem.getDescription()
DiscFragmentItem.getDescription()
MusicDiscItem.getDescription()
-
Uses of MutableText in net.minecraft.nbt.visitor
-
Uses of MutableText in net.minecraft.scoreboard
Modifier and TypeMethodDescriptionabstract 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.ScoreboardEntry.formatted
(NumberFormat format) Team.getFormattedName()
static MutableText
ReadableScoreboardScore.getFormattedScore
(@Nullable ReadableScoreboardScore score, NumberFormat fallbackFormat) default MutableText
ReadableScoreboardScore.getFormattedScore
(NumberFormat fallbackFormat) -
Uses of MutableText in net.minecraft.scoreboard.number
-
Uses of MutableText in net.minecraft.screen
Modifier and TypeMethodDescriptionstatic MutableText
ScreenTexts.composeGenericOptionText
(Text text, Text value) static MutableText
ScreenTexts.composeToggleText
(Text text, boolean value) static MutableText
ScreenTexts.days
(long days) static MutableText
ScreenTexts.hours
(long hours) static MutableText
ScreenTexts.joinSentences
(Text[] sentences) static MutableText
ScreenTexts.minutes
(long minutes) static MutableText
ScreenTexts.space()
-
Uses of MutableText in net.minecraft.server.command
-
Uses of MutableText in net.minecraft.text
Modifier and TypeMethodDescriptionAppends a literal text with contenttext
to this text's siblings.Appends a text to this text's siblings.static MutableText
static MutableText
Texts.bracketedCopyable
(String string) private static MutableText
default MutableText
Text.copy()
Copies the text's content, the style, and the siblings.default MutableText
Text.copyContentOnly()
Copies the text's content, excluding the styles or siblings.Text.Serializer.deserialize
(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) static MutableText
Text.empty()
Fills the absent parts of this text's style with definitions fromstyleOverride
.MutableText.formatted
(Formatting formatting) Add a formatting to this text's style.MutableText.formatted
(Formatting[] formattings) Adds some formattings to this text's style.(package private) static MutableText
Text.Serialization.fromJson
(JsonElement json, RegistryWrapper.WrapperLookup registries) static @Nullable MutableText
Text.Serialization.fromJson
(String json, RegistryWrapper.WrapperLookup registries) static @Nullable MutableText
Text.Serialization.fromJsonTree
(@Nullable JsonElement json, RegistryWrapper.WrapperLookup registries) static @Nullable MutableText
Text.Serialization.fromLenientJson
(String json, RegistryWrapper.WrapperLookup registries) private MutableText
ScoreTextContent.getScore
(ScoreHolder scoreHolder, ServerCommandSource source) 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 MutableText
static MutableText
static MutableText
Text.nbt
(String rawPath, boolean interpret, Optional<Text> separator, NbtDataSource dataSource) static MutableText
MutableText.of
(TextContent content) Creates a piece of mutable text with the given content, with no sibling and style.NbtTextContent.parse
(@Nullable ServerCommandSource source, @Nullable Entity sender, int depth) Parses this content into a basic mutable text without custom style or siblings.ScoreTextContent.parse
(@Nullable ServerCommandSource source, @Nullable Entity sender, int depth) Parses this content into a basic mutable text without custom style or siblings.SelectorTextContent.parse
(@Nullable ServerCommandSource source, @Nullable Entity sender, int depth) Parses this content into a basic mutable text without custom style or siblings.default MutableText
TextContent.parse
(@Nullable ServerCommandSource source, @Nullable Entity sender, int depth) Parses this content into a basic mutable text without custom style or siblings.static MutableText
TranslatableTextContent.parse
(@Nullable ServerCommandSource source, @Nullable Entity sender, int depth) Parses this content into a basic mutable text without custom style or siblings.static MutableText
static MutableText
Sets the style of this text.static MutableText
Texts.setStyleIfAbsent
(MutableText text, Style style) static MutableText
Text.stringifiedTranslatable
(String key, Object[] args) Returns a translatable text with arguments.MutableText.styled
(UnaryOperator<Style> styleUpdater) Updates the style of this text.static MutableText
Text.translatable
(String key) static MutableText
Text.translatable
(String key, Object[] args) Returns a translatable text with arguments.static MutableText
Text.translatableWithFallback
(String key, @Nullable String fallback) static MutableText
Text.translatableWithFallback
(String key, @Nullable String fallback, Object[] args) MutableText.withColor
(int color) Returns the text with the RGB colorcolor
.Modifier and TypeMethodDescriptionstatic Optional
<MutableText> Texts.parse
(@Nullable ServerCommandSource source, Optional<Text> text, @Nullable Entity sender, int depth) Modifier and TypeMethodDescriptionstatic MutableText
Texts.setStyleIfAbsent
(MutableText text, Style style) -
Uses of MutableText in net.minecraft.world.level.storage
-
Uses of MutableText in net.minecraft.world.updater
Modifier and TypeFieldDescription(package private) static final MutableText
WorldUpdater.FINISHED_CHUNKS_TEXT
(package private) static final MutableText
WorldUpdater.FINISHED_ENTITIES_TEXT
(package private) static final MutableText
WorldUpdater.FINISHED_POI_TEXT
private final MutableText
WorldUpdater.Update.finishedText
(package private) static final MutableText
WorldUpdater.UPGRADING_CHUNKS_TEXT
(package private) static final MutableText
WorldUpdater.UPGRADING_ENTITIES_TEXT
(package private) static final MutableText
WorldUpdater.UPGRADING_POI_TEXT
private final MutableText
WorldUpdater.Update.upgradingText
ModifierConstructorDescription(package private)
ChunkPosKeyedStorageUpdate
(DataFixTypes dataFixTypes, String targetName, MutableText upgradingText, MutableText finishedText) (package private)
Update
(DataFixTypes dataFixTypes, String name, String targetName, MutableText upgradingText, MutableText finishedText)