Uses of Interface
net.minecraft.text.MutableText
Package
Description
-
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 TypeMethodDescriptionstatic MutableText
ScreenTexts.composeGenericOptionText
(Text text, Text value) static MutableText
ScreenTexts.composeToggleText
(Text text, boolean value) static MutableText
ScreenTexts.joinSentences
(Text first, Text second) -
Uses of MutableText in net.minecraft.client.gui.screen.ingame
Modifier and TypeMethodDescriptionprotected MutableText
BeaconScreen.EffectButtonWidget.getEffectName
(StatusEffect statusEffect) protected MutableText
BeaconScreen.LevelTwoEffectButtonWidget.getEffectName
(StatusEffect statusEffect) 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.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) CyclingButtonWidget.getGenericNarrationMessage()
Returns a generic narration message for this button.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 TypeMethodDescriptionCyclingButtonWidget.Builder.narration
(Function<CyclingButtonWidget<T>, MutableText> narrationMessageFactory) Overrides the narration message of the button to build. -
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()
MusicDiscItem.getDescription()
Modifier and TypeMethodDescriptionprivate static Text
FireworkChargeItem.appendColors
(MutableText line, int[] colors) -
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.Team.getFormattedName()
-
Uses of MutableText in net.minecraft.text
Modifier and TypeClassDescriptionclass
class
class
class
static class
static class
static class
class
class
class
Modifier and TypeMethodDescriptionAppends a text to this text's siblings.default MutableText
Appends a literal text with contenttext
to this text's siblings.Appends a text to this text's siblings.static MutableText
Text.copy()
Copies the text itself, excluding the styles or siblings.Text.Serializer.deserialize
(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) default MutableText
Fills the absent parts of this text's style with definitions fromstyleOverride
.default MutableText
MutableText.formatted
(Formatting formatting) Add a formatting to this text's style.default MutableText
MutableText.formatted
(Formatting[] formattings) Adds some formattings to this text's style.static @Nullable MutableText
Text.Serializer.fromJson
(JsonElement json) static MutableText
Text.Serializer.fromJson
(com.mojang.brigadier.StringReader reader) static @Nullable MutableText
static @Nullable MutableText
Text.Serializer.fromLenientJson
(String json) 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) NbtText.parse
(@Nullable ServerCommandSource source, @Nullable Entity sender, int depth) ParsableText.parse
(@Nullable ServerCommandSource source, @Nullable Entity sender, int depth) ScoreText.parse
(@Nullable ServerCommandSource source, @Nullable Entity sender, int depth) SelectorText.parse
(@Nullable ServerCommandSource source, @Nullable Entity sender, int depth) static MutableText
TranslatableText.parse
(@Nullable ServerCommandSource source, @Nullable Entity sender, int depth) Sets the style of this text.Sets the style of this text.static MutableText
Texts.setStyleIfAbsent
(MutableText text, Style style) final MutableText
BaseText.shallowCopy()
Copies the text itself, the style, and the siblings.Text.shallowCopy()
Copies the text itself, the style, and the siblings.default MutableText
MutableText.styled
(UnaryOperator<Style> styleUpdater) Updates the style of this text.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