Uses of Class
net.minecraft.text.MutableText
Packages that use MutableText
Package
Description
-
Uses of MutableText in net.minecraft.block
Methods in net.minecraft.block that return MutableText -
Uses of MutableText in net.minecraft.client.gui.hud
Methods in net.minecraft.client.gui.hud with parameters of type MutableTextModifier and TypeMethodDescriptionprivate TextPlayerListHud.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
Methods in net.minecraft.client.gui.screen that return MutableTextModifier and TypeMethodDescriptionprotected static MutableTextConfirmLinkScreen.getConfirmText(boolean linkTrusted) protected static MutableTextConfirmLinkScreen.getConfirmText(boolean linkTrusted, String link) -
Uses of MutableText in net.minecraft.client.gui.screen.ingame
Methods in net.minecraft.client.gui.screen.ingame that return MutableTextModifier and TypeMethodDescriptionprotected MutableTextBeaconScreen.EffectButtonWidget.getEffectName(StatusEffect statusEffect) protected MutableTextBeaconScreen.LevelTwoEffectButtonWidget.getEffectName(StatusEffect statusEffect) protected MutableTextBeaconScreen.EffectButtonWidget.getNarrationMessage() -
Uses of MutableText in net.minecraft.client.gui.screen.multiplayer
Methods in net.minecraft.client.gui.screen.multiplayer that return MutableTextModifier and TypeMethodDescription(package private) MutableTextSocialInteractionsPlayerListEntry.getNarrationMessage(MutableText text) Methods in net.minecraft.client.gui.screen.multiplayer with parameters of type MutableTextModifier and TypeMethodDescription(package private) MutableTextSocialInteractionsPlayerListEntry.getNarrationMessage(MutableText text) -
Uses of MutableText in net.minecraft.client.gui.screen.option
Fields in net.minecraft.client.gui.screen.option declared as MutableTextModifier and TypeFieldDescriptionprivate final MutableTextTelemetryEventWidget.ContentsBuilder.narration -
Uses of MutableText in net.minecraft.client.gui.screen.world
Methods in net.minecraft.client.gui.screen.world that return MutableTextModifier and TypeMethodDescriptionprivate static MutableTextCreateWorldScreen.WorldTab.getWorldTypeNarrationMessage(CyclingButtonWidget<WorldCreator.WorldType> worldTypeButton) -
Uses of MutableText in net.minecraft.client.gui.widget
Fields in net.minecraft.client.gui.widget with type parameters of type MutableTextModifier and TypeFieldDescriptionprivate Function<CyclingButtonWidget<T>,MutableText> CyclingButtonWidget.Builder.narrationMessageFactoryprivate final Function<CyclingButtonWidget<T>,MutableText> CyclingButtonWidget.narrationMessageFactoryMethods in net.minecraft.client.gui.widget that return MutableTextModifier and TypeMethodDescriptionprivate MutableTextCyclingButtonWidget.composeGenericOptionText(T value) ButtonWidget.NarrationSupplier.createNarrationMessage(Supplier<MutableText> textSupplier) CyclingButtonWidget.getGenericNarrationMessage()Returns a generic narration message for this button.protected MutableTextButtonWidget.getNarrationMessage()protected MutableTextClickableWidget.getNarrationMessage()static MutableTextClickableWidget.getNarrationMessage(Text message) protected MutableTextCyclingButtonWidget.getNarrationMessage()protected MutableTextLockButtonWidget.getNarrationMessage()protected MutableTextSliderWidget.getNarrationMessage()protected MutableTextTextFieldWidget.getNarrationMessage()Method parameters in net.minecraft.client.gui.widget with type arguments of type MutableTextModifier 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.util.telemetry
Methods in net.minecraft.client.util.telemetry that return MutableTextModifier and TypeMethodDescriptionTelemetryEventType.getDescription()private MutableTextTelemetryEventProperty.getTitle()TelemetryEventType.getTitle() -
Uses of MutableText in net.minecraft.entity.player
Methods in net.minecraft.entity.player that return MutableTextModifier and TypeMethodDescriptionprivate MutableTextPlayerEntity.addTellClickEvent(MutableText component) Methods in net.minecraft.entity.player with parameters of type MutableTextModifier and TypeMethodDescriptionprivate MutableTextPlayerEntity.addTellClickEvent(MutableText component) -
Uses of MutableText in net.minecraft.item
Methods in net.minecraft.item that return MutableTextModifier and TypeMethodDescriptionBannerPatternItem.getDescription()DiscFragmentItem.getDescription()MusicDiscItem.getDescription()Methods in net.minecraft.item with parameters of type MutableTextModifier and TypeMethodDescriptionprivate static TextFireworkStarItem.appendColors(MutableText line, int[] colors) -
Uses of MutableText in net.minecraft.scoreboard
Methods in net.minecraft.scoreboard that return MutableTextModifier and TypeMethodDescriptionabstract MutableTextAbstractTeam.decorateName(Text name) Decorates the name of an entity with the prefix, suffix and color of this team.static MutableTextTeam.decorateName(@Nullable AbstractTeam team, Text name) Decorates the name of an entity with the prefix, suffix and color of the team.Team.decorateName(Text name) Decorates the name of an entity with the prefix, suffix and color of this team.Team.getFormattedName() -
Uses of MutableText in net.minecraft.screen
Methods in net.minecraft.screen that return MutableTextModifier and TypeMethodDescriptionstatic MutableTextScreenTexts.composeGenericOptionText(Text text, Text value) static MutableTextScreenTexts.composeToggleText(Text text, boolean value) static MutableTextScreenTexts.days(long days) static MutableTextScreenTexts.hours(long hours) static MutableTextScreenTexts.joinSentences(Text[] sentences) static MutableTextScreenTexts.minutes(long minutes) static MutableTextScreenTexts.space() -
Uses of MutableText in net.minecraft.server.command
Methods in net.minecraft.server.command that return MutableText -
Uses of MutableText in net.minecraft.text
Methods in net.minecraft.text that return MutableTextModifier and TypeMethodDescriptionAppends a literal text with contenttextto this text's siblings.Appends a text to this text's siblings.static MutableTextstatic MutableTextTexts.bracketedCopyable(String string) default MutableTextText.copy()Copies the text's content, the style, and the siblings.default MutableTextText.copyContentOnly()Copies the text's content, excluding the styles or siblings.Text.Serializer.deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) static MutableTextText.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.static @Nullable MutableTextText.Serializer.fromJson(JsonElement json) static MutableTextText.Serializer.fromJson(com.mojang.brigadier.StringReader reader) static @Nullable MutableTextstatic @Nullable MutableTextText.Serializer.fromLenientJson(String json) static <T> MutableTextTexts.join(Collection<? extends T> elements, Optional<? extends Text> separator, Function<T, Text> transformer) static <T> MutableTextTexts.join(Collection<? extends T> elements, Text separator, Function<T, Text> transformer) static MutableTextstatic MutableTextstatic MutableTextText.nbt(String rawPath, boolean interpret, Optional<Text> separator, NbtDataSource dataSource) static MutableTextMutableText.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 MutableTextTextContent.parse(@Nullable ServerCommandSource source, @Nullable Entity sender, int depth) Parses this content into a basic mutable text without custom style or siblings.static MutableTextTranslatableTextContent.parse(@Nullable ServerCommandSource source, @Nullable Entity sender, int depth) Parses this content into a basic mutable text without custom style or siblings.static MutableTextstatic MutableTextSets the style of this text.static MutableTextTexts.setStyleIfAbsent(MutableText text, Style style) MutableText.styled(UnaryOperator<Style> styleUpdater) Updates the style of this text.static MutableTextText.translatable(String key) static MutableTextText.translatable(String key, Object[] args) static MutableTextText.translatableWithFallback(String key, @Nullable String fallback) static MutableTextText.translatableWithFallback(String key, @Nullable String fallback, Object[] args) Methods in net.minecraft.text that return types with arguments of type MutableTextModifier and TypeMethodDescriptionstatic Optional<MutableText>Texts.parse(@Nullable ServerCommandSource source, Optional<Text> text, @Nullable Entity sender, int depth) Methods in net.minecraft.text with parameters of type MutableTextModifier and TypeMethodDescriptionstatic MutableTextTexts.setStyleIfAbsent(MutableText text, Style style) -
Uses of MutableText in net.minecraft.world.level.storage
Methods in net.minecraft.world.level.storage that return MutableText