Uses of Class
net.minecraft.network.chat.MutableComponent
Packages that use MutableComponent
Package
Description
-
Uses of MutableComponent in net.minecraft.client
Fields in net.minecraft.client declared as MutableComponent -
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 p_168913_) protected MutableComponentAbstractSliderButton.createNarrationMessage()protected MutableComponentAbstractWidget.createNarrationMessage()Button.CreateNarration.createNarrationMessage(Supplier<MutableComponent> p_253695_) protected MutableComponentButton.createNarrationMessage()protected MutableComponentCycleButton.createNarrationMessage()protected MutableComponentEditBox.createNarrationMessage()protected MutableComponentLockIconButton.createNarrationMessage()static MutableComponentAbstractWidget.wrapDefaultNarrationMessage(Component p_168800_) Methods in net.minecraft.client.gui.components with parameters of type MutableComponentModifier and TypeMethodDescriptionprivate ComponentPlayerTabOverlay.decorateName(PlayerInfo p_94552_, MutableComponent p_94553_) Method parameters in net.minecraft.client.gui.components with type arguments of type MutableComponentModifier and TypeMethodDescriptionButton.CreateNarration.createNarrationMessage(Supplier<MutableComponent> p_253695_) CycleButton.Builder.withCustomNarration(Function<CycleButton<T>, MutableComponent> p_168960_) -
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 p_240014_) protected static MutableComponentConfirmLinkScreen.confirmMessage(boolean p_239180_, String p_239181_) -
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(MobEffect p_169652_) protected MutableComponentBeaconScreen.BeaconUpgradePowerButton.createEffectDescription(MobEffect p_169681_) 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 TypeMethodDescription(package private) MutableComponentPlayerEntry.getEntryNarationMessage(MutableComponent p_100595_) Methods in net.minecraft.client.gui.screens.social with parameters of type MutableComponentModifier and TypeMethodDescription(package private) MutableComponentPlayerEntry.getEntryNarationMessage(MutableComponent p_100595_) -
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.telemetry
Methods in net.minecraft.client.telemetry that return MutableComponentModifier and TypeMethodDescriptionTelemetryEventType.description()private MutableComponentTelemetryEventType.makeTranslation(String p_261909_) TelemetryEventType.title()TelemetryProperty.title() -
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 p_260039_) static MutableComponentMutableComponent.create(ComponentContents p_237205_) static MutableComponentCommonComponents.days(long p_239423_) Component.Serializer.deserialize(com.google.gson.JsonElement p_130694_, Type p_130695_, com.google.gson.JsonDeserializationContext p_130696_) static MutableComponentComponent.empty()static <T> MutableComponentComponentUtils.formatList(Collection<? extends T> p_178430_, Optional<? extends Component> p_178431_, Function<T, Component> p_178432_) static <T> MutableComponentComponentUtils.formatList(Collection<? extends T> p_178437_, Component p_178438_, Function<T, Component> p_178439_) static MutableComponentComponent.Serializer.fromJson(com.google.gson.JsonElement p_130692_) static MutableComponentComponent.Serializer.fromJson(com.mojang.brigadier.StringReader p_130700_) static MutableComponentstatic MutableComponentComponent.Serializer.fromJsonLenient(String p_130715_) static MutableComponentCommonComponents.hours(long p_240042_) static MutableComponentCommonComponents.joinForNarration(Component p_178399_, Component p_178400_) static MutableComponentstatic MutableComponentstatic MutableComponentComponentUtils.mergeStyles(MutableComponent p_130751_, Style p_130752_) static MutableComponentCommonComponents.minutes(long p_239878_) static MutableComponentComponent.nbt(String p_237106_, boolean p_237107_, Optional<Component> p_237108_, DataSource p_237109_) static MutableComponentCommonComponents.optionNameValue(Component p_178394_, Component p_178395_) static MutableComponentCommonComponents.optionStatus(Component p_130664_, boolean p_130665_) default MutableComponentComponent.plainCopy()default MutableComponentComponentContents.resolve(CommandSourceStack p_237126_, Entity p_237127_, int p_237128_) static MutableComponentstatic MutableComponentstatic MutableComponentComponent.translatable(String p_237116_) static MutableComponentComponent.translatable(String p_237111_, Object... p_237112_) static MutableComponentComponentUtils.updateForEntity(CommandSourceStack p_130732_, Component p_130733_, Entity p_130734_, int p_130735_) MutableComponent.withStyle(UnaryOperator<Style> p_130939_) MutableComponent.withStyle(ChatFormatting p_130941_) MutableComponent.withStyle(ChatFormatting... p_130945_) static MutableComponentComponentUtils.wrapInSquareBrackets(Component p_130749_) Methods in net.minecraft.network.chat that return types with arguments of type MutableComponentModifier and TypeMethodDescriptionstatic Optional<MutableComponent>ComponentUtils.updateForEntity(CommandSourceStack p_178425_, Optional<Component> p_178426_, Entity p_178427_, int p_178428_) Methods in net.minecraft.network.chat with parameters of type MutableComponentModifier and TypeMethodDescriptionstatic MutableComponentComponentUtils.mergeStyles(MutableComponent p_130751_, Style p_130752_) -
Uses of MutableComponent in net.minecraft.network.chat.contents
Methods in net.minecraft.network.chat.contents that return MutableComponentModifier and TypeMethodDescriptionNbtContents.resolve(CommandSourceStack p_237401_, Entity p_237402_, int p_237403_) ScoreContents.resolve(CommandSourceStack p_237444_, Entity p_237445_, int p_237446_) SelectorContents.resolve(CommandSourceStack p_237468_, Entity p_237469_, int p_237470_) TranslatableContents.resolve(CommandSourceStack p_237512_, Entity p_237513_, int p_237514_) -
Uses of MutableComponent in net.minecraft.server.commands
Methods in net.minecraft.server.commands that return MutableComponentModifier and TypeMethodDescriptionstatic MutableComponentPublishCommand.getSuccessMessage(int p_259532_) -
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 p_36219_) 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 p_36219_) -
Uses of MutableComponent in net.minecraft.world.item
Methods in net.minecraft.world.item that return MutableComponentModifier and TypeMethodDescriptionBannerPatternItem.getDisplayName()DiscFragmentItem.getDisplayName()RecordItem.getDisplayName()Methods in net.minecraft.world.item with parameters of type MutableComponentModifier and TypeMethodDescriptionprivate static ComponentFireworkStarItem.appendColors(MutableComponent p_41260_, int[] p_41261_) -
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.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(Team p_83349_, Component p_83350_) PlayerTeam.getFormattedDisplayName()PlayerTeam.getFormattedName(Component p_83369_) abstract MutableComponentTeam.getFormattedName(Component p_83538_) -
Uses of MutableComponent in net.minecraftforge.client.gui
Methods in net.minecraftforge.client.gui that return MutableComponentModifier and TypeMethodDescriptionprivate MutableComponentModMismatchDisconnectedScreen.MismatchInfoPanel.toModNameComponent(ResourceLocation id, String modName, int color) Adds a style information to the given mod name string.Methods in net.minecraftforge.client.gui with parameters of type MutableComponentModifier and TypeMethodDescriptionprivate List<org.apache.commons.lang3.tuple.Pair<FormattedCharSequence,org.apache.commons.lang3.tuple.Pair<FormattedCharSequence, FormattedCharSequence>>> ModMismatchDisconnectedScreen.MismatchInfoPanel.splitLineToWidth(MutableComponent name, org.apache.commons.lang3.tuple.Pair<String, String> versions) Splits the raw name and version strings, making them use multiple lines if needed, to fit within the table dimensions. -
Uses of MutableComponent in net.minecraftforge.server.command
Methods in net.minecraftforge.server.command that return MutableComponentModifier and TypeMethodDescriptionstatic MutableComponentTextComponentHelper.createComponentTranslation(CommandSource source, String translation, Object... args) Detects when sending to a vanilla client and falls back to sending english, since they don't have the lang data necessary to translate on the client.private static MutableComponentTagsCommand.createMessage(MutableComponent header, String containsText, String copyHoverText, long count, long currentPage, ChatFormatting elementColor, Supplier<Stream<String>> names) ChunkGenWorker.getStartMessage(CommandSourceStack sender) Methods in net.minecraftforge.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)