Uses of Class
net.minecraft.network.chat.MutableComponent
Packages that use MutableComponent
Package
Description
-
Uses of MutableComponent in com.mojang.realmsclient.gui.screens.configuration
Methods in com.mojang.realmsclient.gui.screens.configuration that return MutableComponentModifier and TypeMethodDescriptionprivate static MutableComponentRealmsSettingsTab.getTranslatableFromPreference(RealmsSettingsTab.RegionSelection regionSelection) private MutableComponentRealmsBackupScreen.Entry.narrationForBackupEntry(Supplier<MutableComponent> defaultNarrationSupplier) Method parameters in com.mojang.realmsclient.gui.screens.configuration with type arguments of type MutableComponentModifier and TypeMethodDescriptionprivate MutableComponentRealmsBackupScreen.Entry.narrationForBackupEntry(Supplier<MutableComponent> defaultNarrationSupplier) -
Uses of MutableComponent in net.minecraft.advancements
Methods in net.minecraft.advancements that return MutableComponentModifier and TypeMethodDescriptionAdvancementType.createAnnouncement(AdvancementHolder holder, ServerPlayer player) -
Uses of MutableComponent in net.minecraft.client.gui.components
Fields in net.minecraft.client.gui.components with type parameters of type MutableComponentModifier and TypeFieldDescriptionprivate Function<CycleButton<T>, MutableComponent> CycleButton.Builder.narrationProviderprivate final Function<CycleButton<T>, MutableComponent> CycleButton.narrationProviderMethods in net.minecraft.client.gui.components that return MutableComponentModifier and TypeMethodDescriptionCycleButton.createDefaultNarrationMessage()private MutableComponentCycleButton.createFullName(T newValue) protected MutableComponentAbstractSliderButton.createNarrationMessage()protected MutableComponentAbstractWidget.createNarrationMessage()Button.CreateNarration.createNarrationMessage(Supplier<MutableComponent> defaultNarrationSupplier) protected MutableComponentButton.createNarrationMessage()protected MutableComponentCycleButton.createNarrationMessage()protected MutableComponentEditBox.createNarrationMessage()protected MutableComponentLockIconButton.createNarrationMessage()static MutableComponentAbstractWidget.wrapDefaultNarrationMessage(Component message) Methods in net.minecraft.client.gui.components with parameters of type MutableComponentModifier and TypeMethodDescriptionprivate ComponentPlayerTabOverlay.decorateName(PlayerInfo info, MutableComponent name) Method parameters in net.minecraft.client.gui.components with type arguments of type MutableComponentModifier and TypeMethodDescriptionButton.CreateNarration.createNarrationMessage(Supplier<MutableComponent> defaultNarrationSupplier) CycleButton.Builder.withCustomNarration(Function<CycleButton<T>, MutableComponent> narrationProvider) -
Uses of MutableComponent in net.minecraft.client.gui.screens
Methods in net.minecraft.client.gui.screens that return MutableComponentModifier and TypeMethodDescriptionprotected static MutableComponentConfirmLinkScreen.confirmMessage(boolean trusted) protected static MutableComponentConfirmLinkScreen.confirmMessage(boolean trusted, String url) -
Uses of MutableComponent in net.minecraft.client.gui.screens.debug
Methods in net.minecraft.client.gui.screens.debug that return MutableComponentModifier and TypeMethodDescriptionprivate MutableComponentDebugOptionsScreen.OptionEntry.narrateButton(CycleButton<Boolean> booleanCycleButton) -
Uses of MutableComponent in net.minecraft.client.gui.screens.inventory
Methods in net.minecraft.client.gui.screens.inventory that return MutableComponentModifier and TypeMethodDescriptionprotected MutableComponentBeaconScreen.BeaconPowerButton.createEffectDescription(Holder<MobEffect> effect) protected MutableComponentBeaconScreen.BeaconUpgradePowerButton.createEffectDescription(Holder<MobEffect> effect) protected MutableComponentBeaconScreen.BeaconPowerButton.createNarrationMessage() -
Uses of MutableComponent in net.minecraft.client.gui.screens.social
Methods in net.minecraft.client.gui.screens.social that return MutableComponentModifier and TypeMethodDescriptionprivate MutableComponentPlayerEntry.getEntryNarationMessage(MutableComponent buttonNarrationMessage) Methods in net.minecraft.client.gui.screens.social with parameters of type MutableComponentModifier and TypeMethodDescriptionprivate MutableComponentPlayerEntry.getEntryNarationMessage(MutableComponent buttonNarrationMessage) -
Uses of MutableComponent in net.minecraft.client.gui.screens.telemetry
Fields in net.minecraft.client.gui.screens.telemetry declared as MutableComponentModifier and TypeFieldDescriptionprivate final MutableComponentTelemetryEventWidget.ContentBuilder.narration -
Uses of MutableComponent in net.minecraft.client.gui.screens.worldselection
Methods in net.minecraft.client.gui.screens.worldselection that return MutableComponentModifier and TypeMethodDescriptionprivate static MutableComponentCreateWorldScreen.WorldTab.createTypeButtonNarration(CycleButton<WorldCreationUiState.WorldTypeEntry> button) Method parameters in net.minecraft.client.gui.screens.worldselection with type arguments of type MutableComponentModifier and TypeMethodDescriptionprivate static booleanAbstractGameRulesScreen.RuleList.matchesFilter(String gameRuleId, String readableName, String categoryName, Optional<MutableComponent> optionalDescription, String lowerCaseFilter) -
Uses of MutableComponent in net.minecraft.client.input
Methods in net.minecraft.client.input that return MutableComponent -
Uses of MutableComponent in net.minecraft.client.telemetry
Methods in net.minecraft.client.telemetry that return MutableComponentModifier and TypeMethodDescriptionTelemetryEventType.description()private MutableComponentTelemetryEventType.makeTranslation(String suffix) TelemetryEventType.title()TelemetryProperty.title() -
Uses of MutableComponent in net.minecraft.gametest.framework
Methods in net.minecraft.gametest.framework that return MutableComponentModifier and TypeMethodDescriptionprotected MutableComponentGameTestInstance.describeType()protected MutableComponentGameTestInstance.descriptionRow(String translationKey, String value) protected MutableComponentGameTestInstance.descriptionRow(String translationKey, MutableComponent value) protected MutableComponentBlockBasedTestInstance.typeDescription()protected MutableComponentFunctionGameTestInstance.typeDescription()protected abstract MutableComponentGameTestInstance.typeDescription()Methods in net.minecraft.gametest.framework with parameters of type MutableComponentModifier and TypeMethodDescriptionprotected MutableComponentGameTestInstance.descriptionRow(String translationKey, MutableComponent value) -
Uses of MutableComponent in net.minecraft.nbt
Fields in net.minecraft.nbt declared as MutableComponent -
Uses of MutableComponent in net.minecraft.network.chat
Methods in net.minecraft.network.chat that return MutableComponentModifier and TypeMethodDescriptiondefault MutableComponentComponent.copy()static MutableComponentComponentUtils.copyOnClickText(String text) static MutableComponentMutableComponent.create(ComponentContents contents) private static MutableComponentComponentSerialization.createFromList(List<Component> list) static MutableComponentCommonComponents.days(long value) static MutableComponentComponent.empty()static <T> MutableComponentComponentUtils.formatList(Collection<? extends T> values, Optional<? extends Component> separator, Function<T, Component> formatter) static <T> MutableComponentComponentUtils.formatList(Collection<? extends T> values, Component separator, Function<T, Component> formatter) static MutableComponentCommonComponents.hours(long value) static MutableComponentCommonComponents.joinForNarration(Component... components) static MutableComponentstatic MutableComponentstatic MutableComponentComponentUtils.mergeStyles(MutableComponent component, Style style) static MutableComponentCommonComponents.minutes(long value) static MutableComponentComponent.nbt(CompilableString<NbtPathArgument.NbtPath> nbtPath, boolean interpreting, boolean plain, Optional<Component> separator, DataSource dataSource) static MutableComponentComponent.object(ObjectInfo info) static MutableComponentComponent.object(ObjectInfo info, Component fallback) static MutableComponentCommonComponents.optionNameValue(Component name, Component value) static MutableComponentCommonComponents.optionStatus(Component name, boolean value) default MutableComponentComponent.plainCopy()default MutableComponentComponentContents.resolve(ResolutionContext context, int recursionDepth) static MutableComponentComponentUtils.resolve(ResolutionContext context, Component component) static MutableComponentComponentUtils.resolve(ResolutionContext context, Component component, int recursionDepth) static MutableComponentstatic MutableComponentComponent.score(CompilableString<EntitySelector> pattern, String objective) static MutableComponentComponent.selector(CompilableString<EntitySelector> pattern, Optional<Component> separator) static MutableComponentCommonComponents.space()static MutableComponentComponent.translatable(String key) static MutableComponentComponent.translatable(String key, Object... args) static MutableComponentComponent.translatableEscape(String key, Object... args) static MutableComponentComponent.translatableWithFallback(String key, @Nullable String fallback) static MutableComponentComponent.translatableWithFallback(String key, @Nullable String fallback, Object... args) MutableComponent.withColor(int color) MutableComponent.withoutShadow()MutableComponent.withStyle(UnaryOperator<Style> updater) MutableComponent.withStyle(ChatFormatting format) MutableComponent.withStyle(ChatFormatting... formats) static MutableComponentComponentUtils.wrapInSquareBrackets(Component inner) Methods in net.minecraft.network.chat that return types with arguments of type MutableComponentModifier and TypeMethodDescriptionstatic Optional<MutableComponent> ComponentUtils.resolve(ResolutionContext context, Optional<Component> component, int recursionDepth) Methods in net.minecraft.network.chat with parameters of type MutableComponentModifier and TypeMethodDescriptionstatic MutableComponentComponentUtils.mergeStyles(MutableComponent component, Style style) -
Uses of MutableComponent in net.minecraft.network.chat.contents
Methods in net.minecraft.network.chat.contents that return MutableComponentModifier and TypeMethodDescriptionprivate MutableComponentScoreContents.getScore(ScoreHolder name, CommandSourceStack source) NbtContents.resolve(ResolutionContext context, int recursionDepth) ObjectContents.resolve(ResolutionContext context, int recursionDepth) ScoreContents.resolve(ResolutionContext context, int recursionDepth) SelectorContents.resolve(ResolutionContext context, int recursionDepth) TranslatableContents.resolve(ResolutionContext context, int recursionDepth) -
Uses of MutableComponent in net.minecraft.network.chat.numbers
Methods in net.minecraft.network.chat.numbers that return MutableComponent -
Uses of MutableComponent in net.minecraft.server.commands
Methods in net.minecraft.server.commands that return MutableComponentModifier and TypeMethodDescriptionstatic MutableComponentPublishCommand.getSuccessMessage(int port) -
Uses of MutableComponent in net.minecraft.world.entity.player
Fields in net.minecraft.world.entity.player with type parameters of type MutableComponentModifier and TypeFieldDescriptionprivate final Collection<MutableComponent> Player.prefixesprivate final Collection<MutableComponent> Player.suffixesMethods in net.minecraft.world.entity.player that return MutableComponentModifier and TypeMethodDescriptionprivate MutableComponentPlayer.decorateDisplayNameComponent(MutableComponent nameComponent) Methods in net.minecraft.world.entity.player that return types with arguments of type MutableComponentMethods in net.minecraft.world.entity.player with parameters of type MutableComponentModifier and TypeMethodDescriptionprivate MutableComponentPlayer.decorateDisplayNameComponent(MutableComponent nameComponent) -
Uses of MutableComponent in net.minecraft.world.item
Methods in net.minecraft.world.item that return MutableComponent -
Uses of MutableComponent in net.minecraft.world.item.alchemy
Methods in net.minecraft.world.item.alchemy that return MutableComponentModifier and TypeMethodDescriptionstatic MutableComponentPotionContents.getPotionDescription(Holder<MobEffect> mobEffect, int amplifier) -
Uses of MutableComponent in net.minecraft.world.item.component
Methods in net.minecraft.world.item.component that return MutableComponentMethods in net.minecraft.world.item.component with parameters of type MutableComponentModifier and TypeMethodDescriptionprivate static ComponentFireworkExplosion.appendColors(MutableComponent builder, it.unimi.dsi.fastutil.ints.IntList colors) -
Uses of MutableComponent in net.minecraft.world.item.enchantment
Fields in net.minecraft.world.item.enchantment with type parameters of type MutableComponentModifier and TypeFieldDescriptionprotected UnaryOperator<MutableComponent> Enchantment.Builder.nameFactoryNeo: Allow customizing or changing theComponentcreated by the enchantment builder.Method parameters in net.minecraft.world.item.enchantment with type arguments of type MutableComponentModifier and TypeMethodDescriptionEnchantment.Builder.withCustomName(UnaryOperator<MutableComponent> nameFactory) Allows specifying an operator that can customize the defaultComponentcreated byEnchantment.Builder.build(Identifier). -
Uses of MutableComponent in net.minecraft.world.level.block
Methods in net.minecraft.world.level.block that return MutableComponent -
Uses of MutableComponent in net.minecraft.world.level.block.entity
Methods in net.minecraft.world.level.block.entity that return MutableComponent -
Uses of MutableComponent in net.minecraft.world.level.gamerules
Methods in net.minecraft.world.level.gamerules that return MutableComponent -
Uses of MutableComponent in net.minecraft.world.level.storage
Methods in net.minecraft.world.level.storage that return MutableComponent -
Uses of MutableComponent in net.minecraft.world.scores
Methods in net.minecraft.world.scores that return MutableComponentModifier and TypeMethodDescriptionstatic MutableComponentPlayerTeam.formatNameForTeam(@Nullable Team team, Component name) PlayerScoreEntry.formatValue(NumberFormat _default) default MutableComponentReadOnlyScoreInfo.formatValue(NumberFormat defaultFormat) PlayerTeam.getFormattedDisplayName()PlayerTeam.getFormattedName(Component teamMemberName) abstract MutableComponentTeam.getFormattedName(Component teamMemberName) static MutableComponentReadOnlyScoreInfo.safeFormatValue(@Nullable ReadOnlyScoreInfo scoreInfo, NumberFormat defaultFormat) -
Uses of MutableComponent in net.neoforged.neoforge.client.gui
Fields in net.neoforged.neoforge.client.gui declared as MutableComponentModifier and TypeFieldDescriptionprivate static final MutableComponentConfigurationScreen.EMPTY_LINEA literal to create an empty line in a tooltip.Methods in net.neoforged.neoforge.client.gui that return MutableComponentModifier and TypeMethodDescriptionprotected MutableComponentConfigurationScreen.ConfigurationSectionScreen.getTranslationComponent(String key) private MutableComponentModMismatchDisconnectedScreen.MismatchInfoPanel.toChannelComponent(List<Identifier> ids, ChatFormatting color) Formats the given list of channel ids to a component which, depending on the current display mode of the list, will list either the first or all channel ids.Methods in net.neoforged.neoforge.client.gui with parameters of type MutableComponentModifier and TypeMethodDescriptionprivate List<org.apache.commons.lang3.tuple.Pair<FormattedCharSequence, FormattedCharSequence>> ModMismatchDisconnectedScreen.MismatchInfoPanel.splitLineToWidth(MutableComponent name, MutableComponent reason) Splits the raw channel namespace and mismatch reason strings, making them use multiple lines if needed, to fit within the table dimensions. -
Uses of MutableComponent in net.neoforged.neoforge.common
Methods in net.neoforged.neoforge.common that return MutableComponentModifier and TypeMethodDescriptionBooleanAttribute.toComponent(AttributeModifier modif, TooltipFlag flag) BooleanAttribute.toValueComponent(@Nullable AttributeModifier.Operation op, double value, TooltipFlag flag) PercentageAttribute.toValueComponent(AttributeModifier.Operation op, double value, TooltipFlag flag) -
Uses of MutableComponent in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions that return MutableComponentModifier and TypeMethodDescriptiondefault MutableComponentIAttributeExtension.toBaseComponent(double value, double entityBase, boolean merged, TooltipFlag flag) Converts a "base" attribute modifier (as dictated byIAttributeExtension.getBaseId()) into a text component.default MutableComponentIAttributeExtension.toComponent(AttributeModifier modif, TooltipFlag flag) Converts an attribute modifier into its tooltip representation.default MutableComponentIAttributeExtension.toValueComponent(@Nullable AttributeModifier.Operation op, double value, TooltipFlag flag) Converts the value of an attribute modifier to the value that will be displayed. -
Uses of MutableComponent in net.neoforged.neoforge.common.util
Methods in net.neoforged.neoforge.common.util that return MutableComponentModifier and TypeMethodDescriptionprivate static MutableComponentAttributeUtil.listHeader()Creates a mutable component starting with the char used to represent a drop-down list. -
Uses of MutableComponent in net.neoforged.neoforge.server.command
Methods in net.neoforged.neoforge.server.command that return MutableComponentModifier and TypeMethodDescriptionprivate static MutableComponentTagsCommand.createMessage(MutableComponent header, String containsText, String copyHoverText, long count, long currentPage, ChatFormatting elementColor, Supplier<Stream<String>> names) static MutableComponentCommandUtils.makeTranslatableWithFallback(String key) static MutableComponentCommandUtils.makeTranslatableWithFallback(String key, Object... args) Methods in net.neoforged.neoforge.server.command with parameters of type MutableComponentModifier and TypeMethodDescriptionprivate static MutableComponentTagsCommand.createMessage(MutableComponent header, String containsText, String copyHoverText, long count, long currentPage, ChatFormatting elementColor, Supplier<Stream<String>> names)