Uses of Interface
net.minecraft.network.chat.MutableComponent
Packages that use MutableComponent
Package
Description
-
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.narrationProvider
private final Function<CycleButton<T>,
MutableComponent> CycleButton.narrationProvider
Methods in net.minecraft.client.gui.components that return MutableComponentModifier and TypeMethodDescriptionCycleButton.createDefaultNarrationMessage()
private MutableComponent
CycleButton.createFullName
(T p_168913_) protected MutableComponent
AbstractSliderButton.createNarrationMessage()
protected MutableComponent
AbstractWidget.createNarrationMessage()
protected MutableComponent
CycleButton.createNarrationMessage()
protected MutableComponent
EditBox.createNarrationMessage()
protected MutableComponent
LockIconButton.createNarrationMessage()
static MutableComponent
AbstractWidget.wrapDefaultNarrationMessage
(Component p_168800_) Methods in net.minecraft.client.gui.components with parameters of type MutableComponentModifier and TypeMethodDescriptionprivate Component
PlayerTabOverlay.decorateName
(PlayerInfo p_94552_, MutableComponent p_94553_) Method parameters in net.minecraft.client.gui.components with type arguments of type MutableComponentModifier and TypeMethodDescriptionCycleButton.Builder.withCustomNarration
(Function<CycleButton<T>, MutableComponent> p_168960_) -
Uses of MutableComponent in net.minecraft.client.gui.screens.inventory
Methods in net.minecraft.client.gui.screens.inventory that return MutableComponentModifier and TypeMethodDescriptionprotected MutableComponent
BeaconScreen.BeaconPowerButton.createEffectDescription
(MobEffect p_169652_) protected MutableComponent
BeaconScreen.BeaconUpgradePowerButton.createEffectDescription
(MobEffect p_169681_) protected MutableComponent
BeaconScreen.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) MutableComponent
PlayerEntry.getEntryNarationMessage
(MutableComponent p_100595_) Methods in net.minecraft.client.gui.screens.social with parameters of type MutableComponentModifier and TypeMethodDescription(package private) MutableComponent
PlayerEntry.getEntryNarationMessage
(MutableComponent p_100595_) -
Uses of MutableComponent in net.minecraft.network.chat
Classes in net.minecraft.network.chat that implement MutableComponentModifier and TypeClassDescriptionclass
class
class
static class
static class
static class
class
class
class
class
Methods in net.minecraft.network.chat that return MutableComponentModifier and TypeMethodDescriptiondefault MutableComponent
final MutableComponent
BaseComponent.copy()
Component.copy()
Component.Serializer.deserialize
(com.google.gson.JsonElement p_130694_, Type p_130695_, com.google.gson.JsonDeserializationContext p_130696_) static <T> MutableComponent
ComponentUtils.formatList
(Collection<? extends T> p_178430_, Optional<? extends Component> p_178431_, Function<T, Component> p_178432_) static <T> MutableComponent
ComponentUtils.formatList
(Collection<? extends T> p_178437_, Component p_178438_, Function<T, Component> p_178439_) static MutableComponent
Component.Serializer.fromJson
(com.google.gson.JsonElement p_130692_) static MutableComponent
Component.Serializer.fromJson
(com.mojang.brigadier.StringReader p_130700_) static MutableComponent
static MutableComponent
Component.Serializer.fromJsonLenient
(String p_130715_) static MutableComponent
CommonComponents.joinForNarration
(Component p_178399_, Component p_178400_) static MutableComponent
ComponentUtils.mergeStyles
(MutableComponent p_130751_, Style p_130752_) static MutableComponent
CommonComponents.optionNameValue
(Component p_178394_, Component p_178395_) static MutableComponent
CommonComponents.optionStatus
(Component p_130664_, boolean p_130665_) Component.plainCopy()
ContextAwareComponent.resolve
(CommandSourceStack p_130756_, Entity p_130757_, int p_130758_) NbtComponent.resolve
(CommandSourceStack p_130964_, Entity p_130965_, int p_130966_) ScoreComponent.resolve
(CommandSourceStack p_131059_, Entity p_131060_, int p_131061_) SelectorComponent.resolve
(CommandSourceStack p_131089_, Entity p_131090_, int p_131091_) TranslatableComponent.resolve
(CommandSourceStack p_131310_, Entity p_131311_, int p_131312_) static MutableComponent
ComponentUtils.updateForEntity
(CommandSourceStack p_130732_, Component p_130733_, Entity p_130734_, int p_130735_) default MutableComponent
MutableComponent.withStyle
(UnaryOperator<Style> p_130939_) default MutableComponent
MutableComponent.withStyle
(ChatFormatting p_130941_) default MutableComponent
MutableComponent.withStyle
(ChatFormatting... p_130945_) default MutableComponent
static MutableComponent
ComponentUtils.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 MutableComponent
ComponentUtils.mergeStyles
(MutableComponent p_130751_, Style p_130752_) -
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.prefixes
private final Collection<MutableComponent>
Player.suffixes
Methods in net.minecraft.world.entity.player that return MutableComponentModifier and TypeMethodDescriptionprivate MutableComponent
Player.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 MutableComponent
Player.decorateDisplayNameComponent
(MutableComponent p_36219_) -
Uses of MutableComponent in net.minecraft.world.item
Methods in net.minecraft.world.item that return MutableComponentMethods in net.minecraft.world.item with parameters of type MutableComponentModifier and TypeMethodDescriptionprivate static Component
FireworkStarItem.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 MutableComponent
PlayerTeam.formatNameForTeam
(Team p_83349_, Component p_83350_) PlayerTeam.getFormattedDisplayName()
PlayerTeam.getFormattedName
(Component p_83369_) abstract MutableComponent
Team.getFormattedName
(Component p_83538_) -
Uses of MutableComponent in net.minecraftforge.client.gui
Methods in net.minecraftforge.client.gui that return MutableComponentModifier and TypeMethodDescriptionprivate MutableComponent
ModMismatchDisconnectedScreen.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 TypeMethodDescriptionprivate static MutableComponent
TagsCommand.createMessage
(TranslatableComponent header, String containsText, String copyHoverText, long count, long currentPage, ChatFormatting elementColor, Supplier<Stream<String>> names)