Uses of Interface
net.minecraft.network.chat.Component
Package
Description
-
Uses of Component in com.mojang.blaze3d.platform
Modifier and TypeFieldDescriptionprivate final LazyLoadedValue<Component>
InputConstants.Key.displayName
(package private) final BiFunction<Integer,
String, Component> InputConstants.Type.displayTextSupplier
-
Uses of Component in com.mojang.realmsclient
Modifier and TypeFieldDescriptionprivate static final Component
RealmsMainScreen.CONFIGURE_SERVER_TOOLTIP
private static final Component
RealmsMainScreen.LEAVE_SERVER_TOOLTIP
private static final Component
RealmsMainScreen.NEWS_TOOLTIP
(package private) static final Component
RealmsMainScreen.NO_PENDING_INVITES_TEXT
(package private) static final Component
RealmsMainScreen.PENDING_INVITES_TEXT
private static final Component
RealmsMainScreen.POPUP_TEXT
(package private) static final Component
RealmsMainScreen.SELECT_MINIGAME_PREFIX
private static final Component
RealmsMainScreen.SERVER_CLOSED_TOOLTIP
private static final Component
RealmsMainScreen.SERVER_EXPIRED_TOOLTIP
private static final Component
RealmsMainScreen.SERVER_EXPIRES_IN_DAY_TOOLTIP
private static final Component
RealmsMainScreen.SERVER_EXPIRES_SOON_TOOLTIP
private static final Component
RealmsMainScreen.SERVER_INFO_TOOLTIP
private static final Component
RealmsMainScreen.SERVER_OPEN_TOOLTIP
(package private) static final Component
RealmsMainScreen.SERVER_UNITIALIZED_TEXT
(package private) static final Component
RealmsMainScreen.SUBSCRIPTION_CREATE_TEXT
(package private) static final Component
RealmsMainScreen.SUBSCRIPTION_EXPIRED_TEXT
(package private) static final Component
RealmsMainScreen.SUBSCRIPTION_RENEW_TEXT
(package private) static final Component
RealmsMainScreen.TRIAL_EXPIRED_TEXT
(package private) static final Component
RealmsMainScreen.TRIAL_TEXT
(package private) static final Component
RealmsMainScreen.UNITIALIZED_WORLD_NARRATION
Modifier and TypeMethodDescriptionRealmsMainScreen.ServerEntry.getNarration()
RealmsMainScreen.TrialEntry.getNarration()
Modifier and TypeMethodDescription(package private) void
RealmsMainScreen.setTooltip
(Component... p_86527_) Modifier and TypeMethodDescriptionprotected void
RealmsMainScreen.renderMousehoverTooltip
(PoseStack p_86442_, List<Component> p_86443_, int p_86444_, int p_86445_) -
Uses of Component in com.mojang.realmsclient.gui
Modifier and TypeFieldDescription(package private) final Component
RealmsWorldSlotButton.State.actionPrompt
private static final Component
RealmsWorldSlotButton.SLOT_ACTIVE_TOOLTIP
private static final Component
RealmsWorldSlotButton.SWITCH_TO_MINIGAME_SLOT_TOOLTIP
private static final Component
RealmsWorldSlotButton.SWITCH_TO_WORLD_SLOT_TOOLTIP
Modifier and TypeMethodDescriptionRealmsWorldSlotButton.getTooltipAndNarration
(RealmsServer p_87954_, String p_87955_, boolean p_87956_, boolean p_87957_, RealmsWorldSlotButton.Action p_87958_) RealmsWorldSlotButton.getTooltipAndNarration
(RealmsServer p_87954_, String p_87955_, boolean p_87956_, boolean p_87957_, RealmsWorldSlotButton.Action p_87958_) Modifier and TypeMethodDescriptionprivate void
RealmsWorldSlotButton.drawSlotFrame
(PoseStack p_87939_, int p_87940_, int p_87941_, int p_87942_, int p_87943_, boolean p_87944_, String p_87945_, int p_87946_, long p_87947_, String p_87948_, boolean p_87949_, boolean p_87950_, RealmsWorldSlotButton.Action p_87951_, Component p_87952_) void
ModifierConstructorDescription(package private)
State
(boolean p_87989_, String p_87990_, long p_87991_, String p_87992_, boolean p_87993_, boolean p_87994_, RealmsWorldSlotButton.Action p_87995_, Component p_87996_) ModifierConstructorDescriptionRealmsWorldSlotButton
(int p_87929_, int p_87930_, int p_87931_, int p_87932_, Supplier<RealmsServer> p_87933_, Consumer<Component> p_87934_, int p_87935_, Button.OnPress p_87936_) -
Uses of Component in com.mojang.realmsclient.gui.screens
Modifier and TypeFieldDescription(package private) static final Component
RealmsPendingInvitesScreen.ACCEPT_INVITE_TOOLTIP
private final Component
RealmsResetNormalWorldScreen.buttonTitle
private Component
RealmsResetWorldScreen.buttonTitle
(package private) static final Component
RealmsSelectFileToUploadScreen.CHEATS_TEXT
private static final Component
RealmsSubscriptionInfoScreen.DAY_SUFFIX
private static final Component
RealmsSubscriptionInfoScreen.DAYS_LEFT_LABEL
private static final Component
RealmsSubscriptionInfoScreen.DAYS_SUFFIX
private Component
RealmsSubscriptionInfoScreen.daysLeft
private static final Component
RealmsCreateRealmScreen.DESCRIPTION_LABEL
private static final Component
RealmsSettingsScreen.DESCRIPTION_LABEL
private final Component
RealmsDownloadLatestWorldScreen.downloadTitle
private Component
RealmsDownloadLatestWorldScreen.errorMessage
private Component
RealmsLongRunningMcoTaskScreen.errorMessage
private Component[]
RealmsUploadScreen.errorMessage
private Component
RealmsInviteScreen.errorMsg
(package private) static final Component
RealmsSelectFileToUploadScreen.HARDCORE_TEXT
(package private) static final Component
RealmsBackupScreen.HAS_CHANGES_TOOLTIP
private static final Component[]
RealmsClientOutdatedScreen.INCOMPATIBLE_MESSAGES
private static final Component
RealmsClientOutdatedScreen.INCOMPATIBLE_TITLE
private final Component
RealmsSelectFileToUploadScreen.Entry.info
private static final Component
RealmsPlayerScreen.INVITED_LABEL
private final Component
RealmsLongConfirmationScreen.line2
private final Component
RealmsLongConfirmationScreen.line3
private final Component[]
RealmsBrokenWorldScreen.message
private static final Component
RealmsParentalConsentScreen.MESSAGE
private static final Component
RealmsConfigureWorldScreen.MINIGAME_PREFIX
private static final Component
RealmsSubscriptionInfoScreen.MONTH_SUFFIX
private static final Component
RealmsSubscriptionInfoScreen.MONTHS_SUFFIX
private static final Component
RealmsCreateRealmScreen.NAME_LABEL
private static final Component
RealmsInviteScreen.NAME_LABEL
private static final Component
RealmsSettingsScreen.NAME_LABEL
private static final Component
RealmsSlotOptionsScreen.NAME_LABEL
private static final Component
RealmsBackupScreen.NO_BACKUPS_LABEL
private static final Component
RealmsPendingInvitesScreen.NO_PENDING_INVITES_TEXT
private static final Component
RealmsInviteScreen.NO_SUCH_PLAYER_ERROR_TEXT
private static final Component
RealmsPlayerScreen.NORMAL_USER_TOOLTIP
private static final Component
RealmsPlayerScreen.OP_TOOLTIP
private static final Component[]
RealmsClientOutdatedScreen.OUTDATED_MESSAGES
private static final Component
RealmsClientOutdatedScreen.OUTDATED_TITLE
(package private) static final Component
RealmsSelectWorldTemplateScreen.PUBLISHER_LINK_TOOLTIP
(package private) static final Component
RealmsPendingInvitesScreen.REJECT_INVITE_TOOLTIP
private static final Component
RealmsPlayerScreen.REMOVE_ENTRY_TOOLTIP
private Component
RealmsResetWorldScreen.resetTitle
(package private) static final Component
RealmsBackupScreen.RESTORE_TOOLTIP
private static final Component
RealmsResetNormalWorldScreen.SEED_LABEL
private static final Component
RealmsConfigureWorldScreen.SERVER_CLOSED_TOOLTIP
private static final Component
RealmsConfigureWorldScreen.SERVER_EXPIRED_TOOLTIP
private static final Component
RealmsConfigureWorldScreen.SERVER_EXPIRING_IN_DAY_TOOLTIP
private static final Component
RealmsConfigureWorldScreen.SERVER_EXPIRING_SOON_TOOLTIP
private static final Component
RealmsConfigureWorldScreen.SERVER_OPEN_TOOLTIP
(package private) static final Component
RealmsSlotOptionsScreen.SPAWN_PROTECTION_TEXT
private Component
RealmsSubscriptionInfoScreen.startDate
private Component
RealmsDownloadLatestWorldScreen.status
private Component
RealmsUploadScreen.status
private static final Component
RealmsSubscriptionInfoScreen.SUBSCRIPTION_EXPIRED_TEXT
private static final Component
RealmsSubscriptionInfoScreen.SUBSCRIPTION_LESS_THAN_A_DAY_TEXT
private static final Component
RealmsSubscriptionInfoScreen.SUBSCRIPTION_START_LABEL
private static final Component
RealmsSubscriptionInfoScreen.SUBSCRIPTION_TITLE
private Component
RealmsResetWorldScreen.subtitle
private static final Component
RealmsTermsScreen.TERMS_LINK_TEXT
private static final Component
RealmsTermsScreen.TERMS_STATIC_TEXT
final Component
RealmsLongConfirmationScreen.Type.text
private static final Component
RealmsBackupInfoScreen.TEXT_UNKNOWN
private static final Component
RealmsSubscriptionInfoScreen.TIME_LEFT_LABEL
private Component
RealmsLongRunningMcoTaskScreen.title
private static final Component
RealmsBackupScreen.TITLE
private static final Component
RealmsConfigureWorldScreen.TITLE
private static final Component
RealmsTermsScreen.TITLE
private final Component
RealmsConfirmScreen.title1
private final Component
RealmsConfirmScreen.title2
(package private) Component
RealmsBackupScreen.toolTip
private Component
RealmsConfigureWorldScreen.toolTip
(package private) Component
RealmsPendingInvitesScreen.toolTip
private Component
RealmsPlayerScreen.toolTip
(package private) Component
RealmsSelectWorldTemplateScreen.toolTip
(package private) static final Component
RealmsSelectWorldTemplateScreen.TRAILER_LINK_TOOLTIP
private static final Component
RealmsSubscriptionInfoScreen.UNKNOWN
private static final Component
RealmsUploadScreen.VERIFYING_TEXT
private Component[]
RealmsSelectWorldTemplateScreen.warning
private static final Component
RealmsConfigureWorldScreen.WORLD_LIST_TITLE
(package private) static final Component
RealmsSelectFileToUploadScreen.WORLD_TEXT
Modifier and TypeMethodDescription(package private) Component
RealmsBackupInfoScreen.checkForSpecificMetadata
(String p_88068_, String p_88069_) private Component
RealmsDownloadLatestWorldScreen.createProgressNarrationMessage()
private Component
RealmsUploadScreen.createProgressNarrationMessage()
private Component
RealmsSubscriptionInfoScreen.daysLeftPresentation
(int p_89984_) private Component
RealmsBackupInfoScreen.gameDifficultyMetadata
(String p_88074_) private Component
RealmsBackupInfoScreen.gameModeMetadata
(String p_88076_) (package private) static Component
RealmsSelectFileToUploadScreen.gameModeName
(LevelSummary p_89535_) RealmsBackupInfoScreen.BackupInfoListEntry.getNarration()
RealmsBackupScreen.Entry.getNarration()
RealmsPendingInvitesScreen.Entry.getNarration()
RealmsPlayerScreen.Entry.getNarration()
RealmsSelectFileToUploadScreen.Entry.getNarration()
RealmsSelectWorldTemplateScreen.Entry.getNarration()
RealmsBrokenWorldScreen.getNarrationMessage()
RealmsGenericErrorScreen.getNarrationMessage()
RealmsLongConfirmationScreen.getNarrationMessage()
RealmsParentalConsentScreen.getNarrationMessage()
RealmsResetWorldScreen.getNarrationMessage()
RealmsSelectFileToUploadScreen.getNarrationMessage()
RealmsSelectWorldTemplateScreen.getNarrationMessage()
RealmsSlotOptionsScreen.getNarrationMessage()
RealmsSubscriptionInfoScreen.getNarrationMessage()
RealmsTermsScreen.getNarrationMessage()
private static Component
RealmsSubscriptionInfoScreen.localPresentation
(long p_182539_) Modifier and TypeMethodDescriptionRealmsGenericErrorScreen.errorMessage
(RealmsServiceException p_200950_) RealmsGenericErrorScreen.errorMessage
(RealmsServiceException p_200950_) RealmsGenericErrorScreen.errorMessage
(Component p_200952_) RealmsGenericErrorScreen.errorMessage
(Component p_200952_) RealmsGenericErrorScreen.errorMessage
(Component p_200954_, Component p_200955_) RealmsGenericErrorScreen.errorMessage
(Component p_200954_, Component p_200955_) Modifier and TypeMethodDescription(package private) void
RealmsResetWorldScreen.drawFrame
(PoseStack p_89355_, int p_89356_, int p_89357_, Component p_89358_, ResourceLocation p_89359_, boolean p_89360_, boolean p_89361_) void
RealmsGenericErrorScreen.errorMessage
(Component p_200952_) RealmsGenericErrorScreen.errorMessage
(Component p_200954_, Component p_200955_) protected void
RealmsBackupScreen.renderMousehoverTooltip
(PoseStack p_88142_, Component p_88143_, int p_88144_, int p_88145_) protected void
RealmsConfigureWorldScreen.renderMousehoverTooltip
(PoseStack p_88434_, Component p_88435_, int p_88436_, int p_88437_) protected void
RealmsPendingInvitesScreen.renderMousehoverTooltip
(PoseStack p_88904_, Component p_88905_, int p_88906_, int p_88907_) protected void
RealmsPlayerScreen.renderMousehoverTooltip
(PoseStack p_89103_, Component p_89104_, int p_89105_, int p_89106_) protected void
RealmsSelectWorldTemplateScreen.renderMousehoverTooltip
(PoseStack p_89649_, Component p_89650_, int p_89651_, int p_89652_) private void
RealmsUploadScreen.setErrorMessage
(Component... p_90113_) void
RealmsResetWorldScreen.setResetTitle
(Component p_89390_) void
void
RealmsSelectWorldTemplateScreen.setWarning
(Component... p_89683_) private void
ModifierConstructorDescriptionFrameButton
(int p_89439_, int p_89440_, Component p_89441_, ResourceLocation p_89442_, Button.OnPress p_89443_) RealmsConfirmScreen
(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_88550_, Component p_88551_, Component p_88552_) RealmsGenericErrorScreen
(Component p_88672_, Screen p_88673_) RealmsGenericErrorScreen
(Component p_88675_, Component p_88676_, Screen p_88677_) RealmsLongConfirmationScreen
(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_88731_, RealmsLongConfirmationScreen.Type p_88732_, Component p_88733_, Component p_88734_, boolean p_88735_) RealmsResetNormalWorldScreen
(Consumer<WorldGenerationInfo> p_167438_, Component p_167439_) RealmsResetWorldScreen
(Screen p_167448_, RealmsServer p_167449_, Component p_167450_, Runnable p_167451_, Runnable p_167452_) RealmsResetWorldScreen
(Screen p_89334_, RealmsServer p_89335_, Component p_89336_, Component p_89337_, int p_89338_, Component p_89339_, Runnable p_89340_, Runnable p_89341_) RealmsSelectWorldTemplateScreen
(Component p_167481_, Consumer<WorldTemplate> p_167482_, RealmsServer.WorldType p_167483_) RealmsSelectWorldTemplateScreen
(Component p_167485_, Consumer<WorldTemplate> p_167486_, RealmsServer.WorldType p_167487_, WorldTemplatePaginatedList p_167488_) -
Uses of Component in com.mojang.realmsclient.util
-
Uses of Component in com.mojang.realmsclient.util.task
Modifier and TypeMethodDescriptionvoid
void
ModifierConstructorDescriptionResettingGeneratedWorldTask
(WorldGenerationInfo p_167659_, long p_167660_, Component p_167661_, Runnable p_167662_) ResettingTemplateWorldTask
(WorldTemplate p_167668_, long p_167669_, Component p_167670_, Runnable p_167671_) ResettingWorldTask
(long p_167676_, Component p_167677_, Runnable p_167678_) -
Uses of Component in net.minecraft.advancements
Modifier and TypeFieldDescriptionprivate final Component
Advancement.chatComponent
private final Component
DisplayInfo.description
private final Component
FrameType.displayName
private final Component
DisplayInfo.title
Modifier and TypeMethodDescriptionAdvancement.getChatComponent()
DisplayInfo.getDescription()
FrameType.getDisplayName()
DisplayInfo.getTitle()
Modifier and TypeMethodDescriptionAdvancement.Builder.display
(ItemStack p_138363_, Component p_138364_, Component p_138365_, ResourceLocation p_138366_, FrameType p_138367_, boolean p_138368_, boolean p_138369_, boolean p_138370_) Advancement.Builder.display
(ItemLike p_138372_, Component p_138373_, Component p_138374_, ResourceLocation p_138375_, FrameType p_138376_, boolean p_138377_, boolean p_138378_, boolean p_138379_) ModifierConstructorDescriptionDisplayInfo
(ItemStack p_14969_, Component p_14970_, Component p_14971_, ResourceLocation p_14972_, FrameType p_14973_, boolean p_14974_, boolean p_14975_, boolean p_14976_) -
Uses of Component in net.minecraft.client
Modifier and TypeFieldDescriptionprivate static final Component
private static final Component
private static final Component
private static final Component
private static final Component
Option.ALLOW_SERVER_LISTING_TOOLTIP
private final Component
Option.caption
private static final Component
private static final Component
Option.GRAPHICS_TOOLTIP_FABULOUS
private static final Component
Option.GRAPHICS_TOOLTIP_FANCY
private static final Component
Option.GRAPHICS_TOOLTIP_FAST
private final Component
Minecraft.ChatStatus.message
private static final Component
Option.MOVEMENT_HOLD
private static final Component
Option.MOVEMENT_TOGGLE
private final Component
NarratorStatus.name
private static final Component
private static final Component
private static final Component
private static final Component
Minecraft.SOCIAL_INTERACTIONS_NOT_AVAILABLE
Modifier and TypeFieldDescriptionprivate final BiFunction<Options,
ProgressOption, Component> ProgressOption.toString
Modifier and TypeMethodDescriptionprotected Component
Option.genericValueLabel
(int p_91765_) protected Component
Option.genericValueLabel
(Component p_91741_) protected Component
Option.getCaption()
Minecraft.ChatStatus.getMessage()
ProgressOption.getMessage
(Options p_92234_) NarratorStatus.getName()
KeyMapping.getTranslatedKeyMessage()
private Component
Minecraft.grabHugeScreenshot
(File p_167904_, int p_167905_, int p_167906_, int p_167907_, int p_167908_) Minecraft.grabPanoramixScreenshot
(File p_167900_, int p_167901_, int p_167902_) protected Component
Option.percentAddValueLabel
(int p_91744_) protected Component
Option.percentValueLabel
(double p_91763_) protected Component
Option.pixelValueLabel
(int p_91716_) Modifier and TypeMethodDescriptionvoid
Minecraft.clearResourcePacksOnError
(Throwable p_91242_, Component p_91243_) static CycleOption<Boolean>
CycleOption.createBinaryOption
(String p_167759_, Component p_167760_, Component p_167761_, Function<Options, Boolean> p_167762_, CycleOption.OptionSetter<Boolean> p_167763_) private static Pack
Minecraft.createClientPackAdapter
(String p_167934_, Component p_167935_, boolean p_167936_, Supplier<PackResources> p_167937_, PackMetadataSection p_167938_, Pack.Position p_167939_, PackSource p_167940_, boolean hidden) static CycleOption<Boolean>
CycleOption.createOnOff
(String p_167754_, Component p_167755_, Function<Options, Boolean> p_167756_, CycleOption.OptionSetter<Boolean> p_167757_) private void
KeyboardHandler.debugComponent
(ChatFormatting p_167825_, Component p_167826_) private void
KeyboardHandler.debugFeedbackComponent
(Component p_167823_) protected Component
Option.genericValueLabel
(Component p_91741_) Modifier and TypeMethodDescriptionprivate static void
Screenshot._grab
(File p_92306_, String p_92307_, RenderTarget p_92310_, Consumer<Component> p_92311_) static <T> CycleOption<T>
CycleOption.create
(String p_167748_, Supplier<List<T>> p_167749_, Function<T, Component> p_167750_, Function<Options, T> p_167751_, CycleOption.OptionSetter<T> p_167752_) static <T> CycleOption<T>
CycleOption.create
(String p_167738_, List<T> p_167739_, Function<T, Component> p_167740_, Function<Options, T> p_167741_, CycleOption.OptionSetter<T> p_167742_) static <T> CycleOption<T>
CycleOption.create
(String p_167730_, List<T> p_167731_, List<T> p_167732_, BooleanSupplier p_167733_, Function<T, Component> p_167734_, Function<Options, T> p_167735_, CycleOption.OptionSetter<T> p_167736_) static <T> CycleOption<T>
CycleOption.create
(String p_167765_, T[] p_167766_, Function<T, Component> p_167767_, Function<Options, T> p_167768_, CycleOption.OptionSetter<T> p_167769_) static void
Screenshot.grab
(File p_92290_, RenderTarget p_92293_, Consumer<Component> p_92294_) static void
Screenshot.grab
(File p_92296_, String p_92297_, RenderTarget p_92300_, Consumer<Component> p_92301_) ModifierConstructorDescriptionLogaritmicProgressOption
(String p_90966_, double p_90967_, double p_90968_, float p_90969_, Function<Options, Double> p_90970_, BiConsumer<Options, Double> p_90971_, BiFunction<Options, ProgressOption, Component> p_90972_) ProgressOption
(String p_92211_, double p_92212_, double p_92213_, float p_92214_, Function<Options, Double> p_92215_, BiConsumer<Options, Double> p_92216_, BiFunction<Options, ProgressOption, Component> p_92217_) ProgressOption
(String p_168540_, double p_168541_, double p_168542_, float p_168543_, Function<Options, Double> p_168544_, BiConsumer<Options, Double> p_168545_, BiFunction<Options, ProgressOption, Component> p_168546_, Function<Minecraft, List<FormattedCharSequence>> p_168547_) -
Uses of Component in net.minecraft.client.gui
Modifier and TypeFieldDescriptionprotected static final Component
protected Component
protected static final Component
Gui.SAVING_TEXT
protected Component
Gui.subtitle
protected Component
Gui.title
Modifier and TypeMethodDescriptionint
static void
GuiComponent.drawCenteredString
(PoseStack p_93216_, Font p_93217_, Component p_93218_, int p_93219_, int p_93220_, int p_93221_) int
Font.drawInBatch
(Component p_92842_, float p_92843_, float p_92844_, int p_92845_, boolean p_92846_, Matrix4f p_92847_, MultiBufferSource p_92848_, boolean p_92849_, int p_92850_, int p_92851_) int
Font.drawShadow
(PoseStack p_92764_, Component p_92765_, float p_92766_, float p_92767_, int p_92768_) static void
GuiComponent.drawString
(PoseStack p_93244_, Font p_93245_, Component p_93246_, int p_93247_, int p_93248_, int p_93249_) Gui.guessChatUUID
(Component p_93075_) void
Gui.handleChat
(ChatType p_93052_, Component p_93053_, UUID p_93054_) void
Gui.setNowPlaying
(Component p_93056_) void
Gui.setOverlayMessage
(Component p_93064_, boolean p_93065_) void
Gui.setSubtitle
(Component p_168712_) void
-
Uses of Component in net.minecraft.client.gui.chat
Modifier and TypeMethodDescriptionvoid
void
void
void
void
-
Uses of Component in net.minecraft.client.gui.components
Modifier and TypeFieldDescriptionprivate Component
PlayerTabOverlay.footer
private Component
PlayerTabOverlay.header
private Component
AbstractWidget.message
private final Component
PlainTextButton.message
private final Component
CycleButton.name
private final Component
SubtitleOverlay.Subtitle.text
private final Component
PlainTextButton.underlinedMessage
private static final Component
ObjectSelectionList.USAGE_NARRATION
Modifier and TypeFieldDescriptionprivate final List<GuiMessage<Component>>
ChatComponent.allMessages
ChatComponent.chatQueue
CycleButton.Builder.valueStringifier
CycleButton.valueStringifier
Modifier and TypeMethodDescriptionprivate Component
CycleButton.createLabelForValue
(T p_168911_) private Component
PlayerTabOverlay.decorateName
(PlayerInfo p_94552_, MutableComponent p_94553_) AbstractWidget.getMessage()
PlayerTabOverlay.getNameForDisplay
(PlayerInfo p_94550_) abstract Component
ObjectSelectionList.Entry.getNarration()
(package private) Component
CommandSuggestions.SuggestionsList.getNarrationMessage()
SubtitleOverlay.Subtitle.getText()
Modifier and TypeMethodDescriptionvoid
ChatComponent.addMessage
(Component p_93786_) private void
ChatComponent.addMessage
(Component p_93788_, int p_93789_) private void
ChatComponent.addMessage
(Component p_93791_, int p_93792_, int p_93793_, boolean p_93794_) static CycleButton.Builder<Boolean>
CycleButton.booleanBuilder
(Component p_168897_, Component p_168898_) CycleButton.Builder.create
(int p_168931_, int p_168932_, int p_168933_, int p_168934_, Component p_168935_) CycleButton.Builder.create
(int p_168937_, int p_168938_, int p_168939_, int p_168940_, Component p_168941_, CycleButton.OnValueChange<T> p_168942_) static MultiLineLabel
void
ChatComponent.enqueueMessage
(Component p_93809_) void
void
void
AbstractWidget.setMessage
(Component p_93667_) static MutableComponent
AbstractWidget.wrapDefaultNarrationMessage
(Component p_168800_) Modifier and TypeMethodDescriptionstatic <T> CycleButton.Builder<T>
static MultiLineLabel
default void
Button.OnTooltip.narrateTooltip
(Consumer<Component> p_168842_) ModifierConstructorDescriptionAbstractButton
(int p_93365_, int p_93366_, int p_93367_, int p_93368_, Component p_93369_) AbstractSliderButton
(int p_93579_, int p_93580_, int p_93581_, int p_93582_, Component p_93583_, double p_93584_) AbstractWidget
(int p_93629_, int p_93630_, int p_93631_, int p_93632_, Component p_93633_) Button
(int p_93721_, int p_93722_, int p_93723_, int p_93724_, Component p_93725_, Button.OnPress p_93726_) Button
(int p_93728_, int p_93729_, int p_93730_, int p_93731_, Component p_93732_, Button.OnPress p_93733_, Button.OnTooltip p_93734_) Checkbox
(int p_93826_, int p_93827_, int p_93828_, int p_93829_, Component p_93830_, boolean p_93831_) Checkbox
(int p_93833_, int p_93834_, int p_93835_, int p_93836_, Component p_93837_, boolean p_93838_, boolean p_93839_) (package private)
CycleButton
(int p_168869_, int p_168870_, int p_168871_, int p_168872_, Component p_168873_, Component p_168874_, int p_168875_, T p_168876_, CycleButton.ValueListSupplier<T> p_168877_, Function<T, Component> p_168878_, Function<CycleButton<T>, MutableComponent> p_168879_, CycleButton.OnValueChange<T> p_168880_, CycleButton.TooltipSupplier<T> p_168881_, boolean p_168882_) EditBox
(Font p_94106_, int p_94107_, int p_94108_, int p_94109_, int p_94110_, EditBox p_94111_, Component p_94112_) ImageButton
(int p_94242_, int p_94243_, int p_94244_, int p_94245_, int p_94246_, int p_94247_, int p_94248_, ResourceLocation p_94249_, int p_94250_, int p_94251_, Button.OnPress p_94252_, Button.OnTooltip p_94253_, Component p_94254_) ImageButton
(int p_94256_, int p_94257_, int p_94258_, int p_94259_, int p_94260_, int p_94261_, int p_94262_, ResourceLocation p_94263_, int p_94264_, int p_94265_, Button.OnPress p_94266_, Component p_94267_) LerpingBossEvent
(UUID p_169021_, Component p_169022_, float p_169023_, BossEvent.BossBarColor p_169024_, BossEvent.BossBarOverlay p_169025_, boolean p_169026_, boolean p_169027_, boolean p_169028_) PlainTextButton
(int p_211755_, int p_211756_, int p_211757_, int p_211758_, Component p_211759_, Button.OnPress p_211760_, Font p_211761_) ModifierConstructorDescription(package private)
CycleButton
(int p_168869_, int p_168870_, int p_168871_, int p_168872_, Component p_168873_, Component p_168874_, int p_168875_, T p_168876_, CycleButton.ValueListSupplier<T> p_168877_, Function<T, Component> p_168878_, Function<CycleButton<T>, MutableComponent> p_168879_, CycleButton.OnValueChange<T> p_168880_, CycleButton.TooltipSupplier<T> p_168881_, boolean p_168882_) -
Uses of Component in net.minecraft.client.gui.components.toasts
Modifier and TypeFieldDescriptionprivate static final Component
RecipeToast.DESCRIPTION_TEXT
private final Component
TutorialToast.message
private Component
SystemToast.title
private final Component
TutorialToast.title
private static final Component
RecipeToast.TITLE_TEXT
Modifier and TypeMethodDescriptionstatic void
SystemToast.add
(ToastComponent p_94856_, SystemToast.SystemToastIds p_94857_, Component p_94858_, Component p_94859_) static void
SystemToast.addOrUpdate
(ToastComponent p_94870_, SystemToast.SystemToastIds p_94871_, Component p_94872_, Component p_94873_) static SystemToast
SystemToast.multiline
(Minecraft p_94848_, SystemToast.SystemToastIds p_94849_, Component p_94850_, Component p_94851_) private static com.google.common.collect.ImmutableList<FormattedCharSequence>
SystemToast.nullToEmpty
(Component p_94861_) void
ModifierConstructorDescriptionprivate
SystemToast
(SystemToast.SystemToastIds p_94827_, Component p_94828_, List<FormattedCharSequence> p_94829_, int p_94830_) SystemToast
(SystemToast.SystemToastIds p_94832_, Component p_94833_, Component p_94834_) TutorialToast
(TutorialToast.Icons p_94958_, Component p_94959_, Component p_94960_, boolean p_94961_) -
Uses of Component in net.minecraft.client.gui.narration
Modifier and TypeMethodDescriptiondefault void
NarrationElementOutput.add
(NarratedElementType p_169147_, Component p_169148_) default void
NarrationElementOutput.add
(NarratedElementType p_169150_, Component... p_169151_) static NarrationThunk<?>
-
Uses of Component in net.minecraft.client.gui.screens
Modifier and TypeFieldDescriptionprivate static final Component
ShareToLanScreen.ALLOW_COMMANDS_LABEL
private static final Component
CreateBuffetWorldScreen.BIOME_SELECT_INFO
private static final Component
VideoSettingsScreen.BUTTON_ACCEPT
private static final Component
VideoSettingsScreen.BUTTON_CANCEL
private final Component
DeathScreen.causeOfDeath
private Component
CreateFlatWorldScreen.columnHeight
private Component
CreateFlatWorldScreen.columnType
private static final Component
ConfirmLinkScreen.COPY_BUTTON_TEXT
static final Component
TitleScreen.COPYRIGHT_TEXT
private Component
DeathScreen.deathScore
private final Component
BackupConfirmScreen.description
private static final Component
ReceivingLevelScreen.DOWNLOADING_TERRAIN_TEXT
private static final Component
DirectJoinServerScreen.ENTER_IP_LABEL
private static final Component
VideoSettingsScreen.FABULOUS
private static final Component
ShareToLanScreen.GAME_MODE_LABEL
private Component
ProgressScreen.header
private static final Component
ShareToLanScreen.INFO_TEXT
private static final Component
EditServerScreen.IP_LABEL
private Component
PresetFlatWorldScreen.listText
private final Component
ErrorScreen.message
(package private) final Component
PopupScreen.ButtonOption.message
(package private) final Component
CreateBuffetWorldScreen.BiomeList.Entry.name
final Component
PresetFlatWorldScreen.PresetInfo.name
private static final Component
EditServerScreen.NAME_LABEL
private final Component
PopupScreen.narrationMessage
private static final Component
VideoSettingsScreen.NEW_LINE
protected Component
ConfirmScreen.noButton
protected final Component
AlertScreen.okButton
private final Component
DisconnectedScreen.reason
private static final Component
WinScreen.SECTION_HEADING
private Component
PresetFlatWorldScreen.shareText
private Component
ProgressScreen.stage
private Component
ConnectScreen.status
protected final Component
AlertScreen.text
protected final Component
Screen.title
private final Component
ConfirmScreen.title2
static final Component
ConnectScreen.UNKNOWN_HOST_MESSAGE
private static final Component
Screen.USAGE_NARRATION
private static final Component
ChatScreen.USAGE_TEXT
private static final Component
LanguageSelectScreen.WARNING_LABEL
private static final Component
VideoSettingsScreen.WARNING_MESSAGE
private static final Component
ConfirmLinkScreen.WARNING_TEXT
private static final Component
VideoSettingsScreen.WARNING_TITLE
protected Component
ConfirmScreen.yesButton
Modifier and TypeMethodDescriptionPresetFlatWorldScreen.PresetInfo.getName()
CreateBuffetWorldScreen.BiomeList.Entry.getNarration()
CreateFlatWorldScreen.DetailsList.Entry.getNarration()
LanguageSelectScreen.LanguageSelectionList.Entry.getNarration()
PresetFlatWorldScreen.PresetsList.Entry.getNarration()
ConfirmScreen.getNarrationMessage()
PopupScreen.getNarrationMessage()
Screen.getNarrationMessage()
Screen.getTitle()
Modifier and TypeMethodDescriptionprivate void
WinScreen.addCreditsLine
(Component p_169473_, boolean p_169474_) static <T extends AbstractContainerMenu>
voiddefault void
MenuScreens.ScreenConstructor.fromPacket
(Component p_96210_, MenuType<T> p_96211_, Minecraft p_96212_, int p_96213_) static <T extends AbstractContainerMenu>
Optional<MenuScreens.ScreenConstructor<T,?>> MenuScreens.getScreenFactory
(MenuType<T> p_96202_, Minecraft p_96203_, int p_96204_, Component p_96205_) private static void
PresetFlatWorldScreen.preset
(Component p_210850_, ItemLike p_210851_, ResourceKey<Biome> p_210852_, Set<ResourceKey<StructureSet>> p_210853_, boolean p_210854_, boolean p_210855_, FlatLayerInfo... p_210856_) void
ProgressScreen.progressStage
(Component p_96525_) void
ProgressScreen.progressStart
(Component p_96523_) void
ProgressScreen.progressStartNoAbort
(Component p_96520_) void
Screen.renderTooltip
(PoseStack p_96603_, Component p_96604_, int p_96605_, int p_96606_) private void
ConnectScreen.updateStatus
(Component p_95718_) Modifier and TypeMethodDescriptionvoid
Screen.renderComponentTooltip
(PoseStack p_96598_, List<Component> p_96599_, int p_96600_, int p_96601_) void
Screen.renderTooltip
(PoseStack p_169389_, List<Component> p_169390_, Optional<TooltipComponent> p_169391_, int p_169392_, int p_169393_) void
Screen.renderTooltip
(PoseStack poseStack, List<Component> textComponents, Optional<TooltipComponent> tooltipComponent, int x, int y, Font font) void
Screen.renderTooltip
(PoseStack poseStack, List<Component> textComponents, Optional<TooltipComponent> tooltipComponent, int x, int y, Font font, ItemStack stack) void
Screen.renderTooltip
(PoseStack poseStack, List<Component> textComponents, Optional<TooltipComponent> tooltipComponent, int x, int y, ItemStack stack) ModifierConstructorDescriptionAlertScreen
(Runnable p_95519_, Component p_95520_, Component p_95521_) AlertScreen
(Runnable p_95523_, Component p_95524_, Component p_95525_, Component p_95526_) BackupConfirmScreen
(Screen p_95543_, BackupConfirmScreen.Listener p_95544_, Component p_95545_, Component p_95546_, boolean p_95547_) ButtonOption
(Component p_96362_, Button.OnPress p_96363_) ConfirmScreen
(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_95654_, Component p_95655_, Component p_95656_) ConfirmScreen
(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_95658_, Component p_95659_, Component p_95660_, Component p_95661_, Component p_95662_) DeathScreen
(Component p_95911_, boolean p_95912_) DisconnectedScreen
(Screen p_95993_, Component p_95994_, Component p_95995_) ErrorScreen
(Component p_96049_, Component p_96050_) GenericDirtMessageScreen
(Component p_96061_) OptionsSubScreen
(Screen p_96284_, Options p_96285_, Component p_96286_) protected
PopupScreen
(Component p_96345_, List<Component> p_96346_, com.google.common.collect.ImmutableList<PopupScreen.ButtonOption> p_96347_) PresetInfo
(Item p_96458_, Component p_96459_, Function<RegistryAccess, FlatLevelGeneratorSettings> p_96460_) protected
SimpleOptionsSubScreen
(Screen p_96670_, Options p_96671_, Component p_96672_, Option[] p_96673_) ModifierConstructorDescriptionprotected
PopupScreen
(Component p_96345_, List<Component> p_96346_, com.google.common.collect.ImmutableList<PopupScreen.ButtonOption> p_96347_) -
Uses of Component in net.minecraft.client.gui.screens.achievement
Modifier and TypeFieldDescriptionprivate final Component
StatsScreen.MobsStatisticsList.MobRow.killedBy
private final Component
StatsScreen.MobsStatisticsList.MobRow.kills
private final Component
StatsScreen.MobsStatisticsList.MobRow.mobName
private static final Component
StatsScreen.PENDING_TEXT
private final Component
StatsScreen.GeneralStatisticsList.Entry.statDisplay
Modifier and TypeMethodDescriptionStatsScreen.GeneralStatisticsList.Entry.getNarration()
StatsScreen.ItemStatisticsList.ItemRow.getNarration()
StatsScreen.MobsStatisticsList.MobRow.getNarration()
protected Component
Modifier and TypeMethodDescriptionprotected void
StatsScreen.ItemStatisticsList.renderMousehoverTooltip
(PoseStack p_97054_, Component p_97055_, int p_97056_, int p_97057_) -
Uses of Component in net.minecraft.client.gui.screens.advancements
Modifier and TypeFieldDescriptionprivate static final Component
AdvancementsScreen.NO_ADVANCEMENTS_LABEL
private final Component
AdvancementTab.title
private static final Component
AdvancementsScreen.TITLE
private static final Component
AdvancementsScreen.VERY_SAD_LABEL
Modifier and TypeMethodDescriptionprivate List<FormattedText>
AdvancementWidget.findOptimalLines
(Component p_97309_, int p_97310_) -
Uses of Component in net.minecraft.client.gui.screens.controls
Modifier and TypeFieldDescription(package private) final Component
KeyBindsList.CategoryEntry.name
private final Component
KeyBindsList.KeyEntry.name
ModifierConstructorDescriptionCategoryEntry
(Component p_193886_) (package private)
KeyEntry
(KeyMapping p_193916_, Component p_193917_) -
Uses of Component in net.minecraft.client.gui.screens.debug
Modifier and TypeFieldDescription(package private) final Component
GameModeSwitcherScreen.GameModeIcon.name
private static final Component
GameModeSwitcherScreen.SELECT_KEY
Modifier and TypeMethodDescription(package private) Component
GameModeSwitcherScreen.GameModeIcon.getName()
ModifierConstructorDescriptionprivate
GameModeIcon
(Component p_97594_, String p_97595_, ItemStack p_97596_) -
Uses of Component in net.minecraft.client.gui.screens.inventory
Modifier and TypeFieldDescription(package private) final Component
BookEditScreen.LineInfo.asComponent
private static final Component
AbstractCommandBlockEditScreen.COMMAND_LABEL
private static final Component
StructureBlockEditScreen.CUSTOM_DATA_LABEL
private static final Component
MerchantScreen.DEPRECATED_TOOLTIP
private static final Component
StructureBlockEditScreen.DETECT_SIZE_LABEL
private static final Component
BookEditScreen.EDIT_TITLE_LABEL
private static final Component
JigsawBlockEditScreen.FINAL_STATE_LABEL
private static final Component
BookEditScreen.FINALIZE_WARNING_LABEL
private static final Component
StructureBlockEditScreen.INCLUDE_ENTITIES_LABEL
private static final Component
StructureBlockEditScreen.INTEGRITY_LABEL
private static final Component
JigsawBlockEditScreen.JOINT_LABEL
private static final Component
MerchantScreen.LEVEL_SEPARATOR
private static final Component
JigsawBlockEditScreen.NAME_LABEL
private static final Component
StructureBlockEditScreen.NAME_LABEL
private final Component
BookEditScreen.ownerText
private Component
BookEditScreen.pageMsg
private Component
BookViewScreen.pageMsg
protected final Component
AbstractContainerScreen.playerInventoryTitle
private static final Component
JigsawBlockEditScreen.POOL_LABEL
private static final Component
StructureBlockEditScreen.POSITION_LABEL
private static final Component
AbstractCommandBlockEditScreen.PREVIOUS_OUTPUT_LABEL
private static final Component
BeaconScreen.PRIMARY_EFFECT_LABEL
private static final Component
BeaconScreen.SECONDARY_EFFECT_LABEL
private static final Component
AbstractCommandBlockEditScreen.SET_COMMAND_LABEL
private static final Component
StructureBlockEditScreen.SHOW_AIR_LABEL
private static final Component
StructureBlockEditScreen.SHOW_BOUNDING_BOX_LABEL
private static final Component
StructureBlockEditScreen.SIZE_LABEL
private static final Component
JigsawBlockEditScreen.TARGET_LABEL
private static final Component
AnvilScreen.TOO_EXPENSIVE_TEXT
private Component
BeaconScreen.BeaconPowerButton.tooltip
private static final Component
MerchantScreen.TRADES_LABEL
private static final Component
CreativeModeInventoryScreen.TRASH_SLOT_TOOLTIP
Modifier and TypeMethodDescriptionprivate Component
EffectRenderingInventoryScreen.getEffectName
(MobEffectInstance p_194001_) ModifierConstructorDescriptionAbstractContainerScreen
(T p_97741_, Inventory p_97742_, Component p_97743_) AbstractFurnaceScreen
(T p_97825_, AbstractFurnaceRecipeBookComponent p_97826_, Inventory p_97827_, Component p_97828_, ResourceLocation p_97829_) AnvilScreen
(AnvilMenu p_97874_, Inventory p_97875_, Component p_97876_) BeaconScreen
(BeaconMenu p_97912_, Inventory p_97913_, Component p_97914_) protected
BeaconScreenButton
(int p_169654_, int p_169655_, Component p_169656_) protected
BeaconSpriteScreenButton
(int p_169663_, int p_169664_, int p_169665_, int p_169666_, Component p_169667_) BlastFurnaceScreen
(BlastFurnaceMenu p_98045_, Inventory p_98046_, Component p_98047_) BrewingStandScreen
(BrewingStandMenu p_98332_, Inventory p_98333_, Component p_98334_) CartographyTableScreen
(CartographyTableMenu p_98349_, Inventory p_98350_, Component p_98351_) ContainerScreen
(ChestMenu p_98409_, Inventory p_98410_, Component p_98411_) CraftingScreen
(CraftingMenu p_98448_, Inventory p_98449_, Component p_98450_) DispenserScreen
(DispenserMenu p_98685_, Inventory p_98686_, Component p_98687_) EffectRenderingInventoryScreen
(T p_98701_, Inventory p_98702_, Component p_98703_) EnchantmentScreen
(EnchantmentMenu p_98754_, Inventory p_98755_, Component p_98756_) FurnaceScreen
(FurnaceMenu p_98776_, Inventory p_98777_, Component p_98778_) GrindstoneScreen
(GrindstoneMenu p_98782_, Inventory p_98783_, Component p_98784_) HopperScreen
(HopperMenu p_98798_, Inventory p_98799_, Component p_98800_) ItemCombinerScreen
(T p_98901_, Inventory p_98902_, Component p_98903_, ResourceLocation p_98904_) LecternScreen
(LecternMenu p_99020_, Inventory p_99021_, Component p_99022_) LoomScreen
(LoomMenu p_99075_, Inventory p_99076_, Component p_99077_) MerchantScreen
(MerchantMenu p_99123_, Inventory p_99124_, Component p_99125_) ShulkerBoxScreen
(ShulkerBoxMenu p_99240_, Inventory p_99241_, Component p_99242_) SmithingScreen
(SmithingMenu p_99290_, Inventory p_99291_, Component p_99292_) SmokerScreen
(SmokerMenu p_99300_, Inventory p_99301_, Component p_99302_) StonecutterScreen
(StonecutterMenu p_99310_, Inventory p_99311_, Component p_99312_) -
Uses of Component in net.minecraft.client.gui.screens.multiplayer
Modifier and TypeFieldDescription(package private) static final Component
ServerSelectionList.CANT_CONNECT_TEXT
(package private) static final Component
ServerSelectionList.CANT_RESOLVE_TEXT
private final Component
WarningScreen.check
private static final Component
Realms32bitWarningScreen.CHECK
private static final Component
SafetyScreen.CHECK
private final Component
WarningScreen.content
private static final Component
Realms32bitWarningScreen.CONTENT
private static final Component
SafetyScreen.CONTENT
private static final Component
ServerSelectionList.NetworkServerEntry.HIDDEN_ADDRESS_TEXT
(package private) static final Component
ServerSelectionList.INCOMPATIBLE_TOOLTIP
private static final Component
ServerSelectionList.NetworkServerEntry.LAN_SERVER_HEADER
private final Component
WarningScreen.narration
private static final Component
Realms32bitWarningScreen.NARRATION
private static final Component
SafetyScreen.NARRATION
(package private) static final Component
ServerSelectionList.NO_CONNECTION_TOOLTIP
(package private) static final Component
ServerSelectionList.PINGING_TOOLTIP
(package private) static final Component
ServerSelectionList.SCANNING_LABEL
private static final Component
Realms32bitWarningScreen.TITLE
private static final Component
SafetyScreen.TITLE
private final Component
WarningScreen.titleComponent
Modifier and TypeMethodDescriptionServerSelectionList.LANHeader.getNarration()
ServerSelectionList.NetworkServerEntry.getNarration()
ServerSelectionList.OnlineServerEntry.getNarration()
WarningScreen.getNarrationMessage()
Modifier and TypeMethodDescriptionvoid
JoinMultiplayerScreen.setToolTip
(List<Component> p_99708_) -
Uses of Component in net.minecraft.client.gui.screens.packs
Modifier and TypeFieldDescription(package private) static final Component
PackSelectionScreen.DIRECTORY_BUTTON_TOOLTIP
private static final Component
PackSelectionScreen.DRAG_AND_DROP
(package private) static final Component
TransferableSelectionList.INCOMPATIBLE_CONFIRM_TITLE
(package private) static final Component
TransferableSelectionList.INCOMPATIBLE_TITLE
private final Component
TransferableSelectionList.title
Modifier and TypeMethodDescriptionPackSelectionModel.Entry.getDescription()
PackSelectionModel.EntryBase.getDescription()
default Component
PackSelectionModel.Entry.getExtendedDescription()
TransferableSelectionList.PackEntry.getNarration()
PackSelectionModel.Entry.getTitle()
PackSelectionModel.EntryBase.getTitle()
Modifier and TypeMethodDescriptionprivate static MultiLineLabel
TransferableSelectionList.PackEntry.cacheDescription
(Minecraft p_100110_, Component p_100111_) private static FormattedCharSequence
ModifierConstructorDescriptionPackSelectionScreen
(Screen p_99984_, PackRepository p_99985_, Consumer<PackRepository> p_99986_, File p_99987_, Component p_99988_) TransferableSelectionList
(Minecraft p_100058_, int p_100059_, int p_100060_, Component p_100061_) -
Uses of Component in net.minecraft.client.gui.screens.recipebook
Modifier and TypeFieldDescriptionprivate static final Component
RecipeBookComponent.ALL_RECIPES_TOOLTIP
private static final Component
BlastingRecipeBookComponent.FILTER_NAME
private static final Component
SmeltingRecipeBookComponent.FILTER_NAME
private static final Component
SmokingRecipeBookComponent.FILTER_NAME
private static final Component
RecipeButton.MORE_RECIPES_TOOLTIP
private static final Component
RecipeBookComponent.ONLY_CRAFTABLES_TOOLTIP
private static final Component
RecipeBookComponent.SEARCH_HINT
Modifier and TypeMethodDescriptionprivate Component
RecipeBookComponent.getFilterButtonTooltip()
protected Component
BlastingRecipeBookComponent.getRecipeFilterName()
protected Component
RecipeBookComponent.getRecipeFilterName()
protected Component
SmeltingRecipeBookComponent.getRecipeFilterName()
protected Component
SmokingRecipeBookComponent.getRecipeFilterName()
-
Uses of Component in net.minecraft.client.gui.screens.social
Modifier and TypeFieldDescriptionprivate static final Component
PlayerEntry.BLOCKED
private static final Component
PlayerEntry.BLOCKED_OFFLINE
private static final Component
SocialInteractionsScreen.BLOCKING_HINT
private static final Component
SocialInteractionsScreen.EMPTY_BLOCKED
private static final Component
SocialInteractionsScreen.EMPTY_HIDDEN
(package private) static final Component
SocialInteractionsScreen.EMPTY_SEARCH
private static final Component
PlayerEntry.HIDDEN
private static final Component
PlayerEntry.HIDDEN_OFFLINE
(package private) final Component
PlayerEntry.hideText
private static final Component
PlayerEntry.OFFLINE
private static final Component
SocialInteractionsScreen.SEARCH_HINT
private Component
SocialInteractionsScreen.serverLabel
(package private) final Component
PlayerEntry.showText
private static final Component
SocialInteractionsScreen.TAB_ALL
private static final Component
SocialInteractionsScreen.TAB_ALL_SELECTED
private static final Component
SocialInteractionsScreen.TAB_BLOCKED
private static final Component
SocialInteractionsScreen.TAB_BLOCKED_SELECTED
private static final Component
SocialInteractionsScreen.TAB_HIDDEN
private static final Component
SocialInteractionsScreen.TAB_HIDDEN_SELECTED
Modifier and TypeMethodDescriptionSocialInteractionsScreen.getNarrationMessage()
private Component
PlayerEntry.getStatusComponent()
Modifier and TypeMethodDescriptionprivate void
PlayerEntry.onHiddenOrShown
(boolean p_100597_, Component p_100598_) -
Uses of Component in net.minecraft.client.gui.screens.worldselection
Modifier and TypeFieldDescriptionprivate static final Component
WorldGenSettingsComponent.AMPLIFIED_HELP_TEXT
private static final Component
CreateWorldScreen.COMMANDS_INFO
private static final Component
WorldGenSettingsComponent.CUSTOM_WORLD_DESCRIPTION
private final Component
WorldPreset.description
private final Component
CreateWorldScreen.SelectedGameMode.displayName
(package private) static final Component
WorldSelectionList.FROM_NEWER_TOOLTIP_1
(package private) static final Component
WorldSelectionList.FROM_NEWER_TOOLTIP_2
private static final Component
CreateWorldScreen.GAME_MODEL_LABEL
private Component
CreateWorldScreen.gameModeHelp1
private Component
CreateWorldScreen.gameModeHelp2
(package private) final Component
EditGameRulesScreen.CategoryRuleEntry.label
private static final Component
WorldGenSettingsComponent.MAP_FEATURES_INFO
private static final Component
CreateWorldScreen.NAME_LABEL
private static final Component
EditWorldScreen.NAME_LABEL
private static final Component
CreateWorldScreen.OUTPUT_DIR_INFO
private static final Component
CreateWorldScreen.SEED_INFO
private static final Component
CreateWorldScreen.SEED_LABEL
private static final Component
WorldGenSettingsComponent.SELECT_FILE_PROMPT
(package private) static final Component
WorldSelectionList.SNAPSHOT_TOOLTIP_1
(package private) static final Component
WorldSelectionList.SNAPSHOT_TOOLTIP_2
(package private) static final Component
WorldSelectionList.WORLD_LOCKED_TOOLTIP
(package private) static final Component
WorldSelectionList.WORLD_REQUIRES_CONVERSION
Modifier and TypeMethodDescriptionWorldPreset.description()
CreateWorldScreen.SelectedGameMode.getDisplayName()
WorldSelectionList.WorldListEntry.getNarration()
Modifier and TypeMethodDescriptionEditGameRulesScreen.EntryFactory.create
(Component p_101155_, List<FormattedCharSequence> p_101156_, String p_101157_, T p_101158_) ModifierConstructorDescriptionBooleanRuleEntry
(Component p_101101_, List<FormattedCharSequence> p_101102_, String p_101103_, GameRules.BooleanValue p_101104_) CategoryRuleEntry
(Component p_101141_) GameRuleEntry
(List<FormattedCharSequence> p_101164_, Component p_101165_) IntegerRuleEntry
(Component p_101175_, List<FormattedCharSequence> p_101176_, String p_101177_, GameRules.IntegerValue p_101178_) WorldPreset
(Component displayName) -
Uses of Component in net.minecraft.client.gui.spectator
Modifier and TypeFieldDescription(package private) static final Component
SpectatorMenu.CLOSE_MENU_TEXT
private final Component
PlayerMenuItem.name
(package private) static final Component
SpectatorMenu.NEXT_PAGE_TEXT
(package private) static final Component
SpectatorMenu.PREVIOUS_PAGE_TEXT
private static final Component
RootSpectatorMenuCategory.PROMPT_TEXT
-
Uses of Component in net.minecraft.client.gui.spectator.categories
Modifier and TypeFieldDescriptionprivate static final Component
TeleportToPlayerMenuCategory.TELEPORT_PROMPT
private static final Component
TeleportToTeamMenuCategory.TELEPORT_PROMPT
private static final Component
TeleportToPlayerMenuCategory.TELEPORT_TEXT
private static final Component
TeleportToTeamMenuCategory.TELEPORT_TEXT
-
Uses of Component in net.minecraft.client.multiplayer
Modifier and TypeFieldDescriptionprivate static final Component
ServerStatusPinger.CANT_CONNECT_MESSAGE
private static final Component
ClientPacketListener.GENERIC_DISCONNECT_MESSAGE
ServerData.motd
private final Component
ServerData.ServerPackStatus.name
ServerData.status
private Component
PlayerInfo.tabListDisplayName
ServerData.version
Modifier and TypeFieldDescriptionServerData.playerList
ClientHandshakePacketListenerImpl.updateStatus
Modifier and TypeMethodDescriptionprivate Component
ClientHandshakePacketListenerImpl.authenticateServer
(String p_104532_) (package private) static Component
ServerStatusPinger.formatPlayerCount
(int p_105467_, int p_105468_) ServerData.ServerPackStatus.getName()
PlayerInfo.getTabListDisplayName()
private static Component
ClientPacketListener.preparePackPrompt
(Component p_171760_, Component p_171761_) Modifier and TypeMethodDescriptionvoid
ClientHandshakePacketListenerImpl.onDisconnect
(Component p_104543_) void
ClientPacketListener.onDisconnect
(Component p_104954_) (package private) void
ServerStatusPinger.onPingFailed
(Component p_171815_, ServerData p_171816_) private static Component
ClientPacketListener.preparePackPrompt
(Component p_171760_, Component p_171761_) void
PlayerInfo.setTabListDisplayName
(Component p_105324_) ModifierConstructorDescriptionClientHandshakePacketListenerImpl
(Connection p_104526_, Minecraft p_104527_, Screen p_104528_, Consumer<Component> p_104529_) -
Uses of Component in net.minecraft.client.player
Modifier and TypeMethodDescriptionvoid
LocalPlayer.displayClientMessage
(Component p_108696_, boolean p_108697_) void
LocalPlayer.sendMessage
(Component p_108693_, UUID p_108694_) void
RemotePlayer.sendMessage
(Component p_108775_, UUID p_108776_) -
Uses of Component in net.minecraft.client.renderer.entity
Modifier and TypeMethodDescriptionprotected void
EntityRenderer.renderNameTag
(T p_114498_, Component p_114499_, PoseStack p_114500_, MultiBufferSource p_114501_, int p_114502_) protected void
ItemFrameRenderer.renderNameTag
(T p_115083_, Component p_115084_, PoseStack p_115085_, MultiBufferSource p_115086_, int p_115087_) -
Uses of Component in net.minecraft.client.renderer.entity.player
Modifier and TypeMethodDescriptionprotected void
PlayerRenderer.renderNameTag
(AbstractClientPlayer p_117808_, Component p_117809_, PoseStack p_117810_, MultiBufferSource p_117811_, int p_117812_) -
Uses of Component in net.minecraft.client.resources
Modifier and TypeFieldDescriptionprivate static final Component
ClientPackSource.APPLYING_PACK_TEXT
-
Uses of Component in net.minecraft.client.server
Modifier and TypeMethodDescriptionIntegratedPlayerList.canPlayerLogin
(SocketAddress p_120007_, com.mojang.authlib.GameProfile p_120008_) -
Uses of Component in net.minecraft.client.sounds
-
Uses of Component in net.minecraft.client.tutorial
Modifier and TypeFieldDescriptionprivate static final Component
CraftPlanksTutorialStep.CRAFT_DESCRIPTION
private static final Component
CraftPlanksTutorialStep.CRAFT_TITLE
private static final Component
FindTreeTutorialStepInstance.DESCRIPTION
private static final Component
OpenInventoryTutorialStep.DESCRIPTION
private static final Component
PunchTreeTutorialStepInstance.DESCRIPTION
private static final Component
MovementTutorialStepInstance.LOOK_DESCRIPTION
private static final Component
MovementTutorialStepInstance.LOOK_TITLE
private static final Component
MovementTutorialStepInstance.MOVE_DESCRIPTION
private static final Component
MovementTutorialStepInstance.MOVE_TITLE
private static final Component
FindTreeTutorialStepInstance.TITLE
private static final Component
OpenInventoryTutorialStep.TITLE
private static final Component
PunchTreeTutorialStepInstance.TITLE
-
Uses of Component in net.minecraft.commands
Modifier and TypeFieldDescriptionprivate final Component
CommandSourceStack.displayName
private final Component
CommandRuntimeException.message
Modifier and TypeMethodDescriptionCommandRuntimeException.getComponent()
CommandSourceStack.getDisplayName()
Modifier and TypeMethodDescriptionprivate void
CommandSourceStack.broadcastToAdmins
(Component p_81367_) void
CommandSourceStack.sendFailure
(Component p_81353_) void
CommandSource.sendMessage
(Component p_80166_, UUID p_80167_) void
CommandSourceStack.sendSuccess
(Component p_81355_, boolean p_81356_) ModifierConstructorDescriptionCommandRuntimeException
(Component p_79225_) CommandSourceStack
(CommandSource p_81302_, Vec3 p_81303_, Vec2 p_81304_, ServerLevel p_81305_, int p_81306_, String p_81307_, Component p_81308_, MinecraftServer p_81309_, Entity p_81310_) protected
CommandSourceStack
(CommandSource p_81312_, Vec3 p_81313_, Vec2 p_81314_, ServerLevel p_81315_, int p_81316_, String p_81317_, Component p_81318_, MinecraftServer p_81319_, Entity p_81320_, boolean p_81321_, com.mojang.brigadier.ResultConsumer<CommandSourceStack> p_81322_, EntityAnchorArgument.Anchor p_81323_) -
Uses of Component in net.minecraft.commands.arguments
Modifier and TypeMethodDescriptionstatic Component
ComponentArgument.getComponent
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_87118_, String p_87119_) static Component
MessageArgument.getMessage
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_96836_, String p_96837_) ComponentArgument.parse
(com.mojang.brigadier.StringReader p_87116_) MessageArgument.Message.toComponent
(CommandSourceStack p_96850_, boolean p_96851_) MessageArgument.Part.toComponent
(CommandSourceStack p_96861_) -
Uses of Component in net.minecraft.commands.arguments.selector
-
Uses of Component in net.minecraft.commands.arguments.selector.options
Modifier and TypeMethodDescriptionstatic void
EntitySelectorOptions.register
(String p_121454_, EntitySelectorOptions.Modifier p_121455_, Predicate<EntitySelectorParser> p_121456_, Component p_121457_) ModifierConstructorDescription(package private)
Option
(EntitySelectorOptions.Modifier p_121569_, Predicate<EntitySelectorParser> p_121570_, Component p_121571_) -
Uses of Component in net.minecraft.nbt
Modifier and TypeMethodDescriptionprotected static Component
TextComponentTagVisitor.handleEscapePretty
(String p_178254_) static Component
NbtUtils.toPrettyComponent
(Tag p_178062_) -
Uses of Component in net.minecraft.network
Modifier and TypeFieldDescriptionprivate Component
Connection.disconnectedReason
private static final Component
RateKickingConnection.EXCEED_REASON
Modifier and TypeMethodDescriptionConnection.getDisconnectedReason()
FriendlyByteBuf.readComponent()
Modifier and TypeMethodDescriptionvoid
Connection.disconnect
(Component p_129508_) void
PacketListener.onDisconnect
(Component p_130552_) FriendlyByteBuf.writeComponent
(Component p_130084_) -
Uses of Component in net.minecraft.network.chat
Modifier and TypeClassDescriptionclass
class
class
static class
static class
static class
class
class
class
class
Modifier and TypeFieldDescriptionstatic final Component
CommonComponents.CONNECT_FAILED
static final Component
ComponentUtils.DEFAULT_NO_STYLE_SEPARATOR
static final Component
ComponentUtils.DEFAULT_SEPARATOR
static final Component
TextComponent.EMPTY
static final Component
CommonComponents.GUI_BACK
static final Component
CommonComponents.GUI_CANCEL
static final Component
CommonComponents.GUI_DONE
static final Component
CommonComponents.GUI_NO
static final Component
CommonComponents.GUI_PROCEED
static final Component
CommonComponents.GUI_YES
final Component
HoverEvent.EntityTooltipInfo.name
static final Component
CommonComponents.NARRATION_SEPARATOR
static final Component
CommonComponents.NEW_LINE
static final Component
CommonComponents.OPTION_OFF
static final Component
CommonComponents.OPTION_ON
Modifier and TypeFieldDescriptionKeybindComponent.keyResolver
HoverEvent.Action.legacyArgDeserializer
HoverEvent.EntityTooltipInfo.linesCache
KeybindComponent.nameResolver
NbtComponent.separator
SelectorComponent.separator
static final HoverEvent.Action<Component>
HoverEvent.Action.SHOW_TEXT
BaseComponent.siblings
Modifier and TypeMethodDescriptionstatic <T extends Comparable<T>>
ComponentComponentUtils.formatAndSortList
(Collection<T> p_130746_, Function<T, Component> p_130747_) static Component
ComponentUtils.formatList
(Collection<? extends Component> p_178434_, Component p_178435_) static <T> Component
ComponentUtils.formatList
(Collection<? extends T> p_178441_, Function<T, Component> p_178442_) static Component
ComponentUtils.formatList
(Collection<String> p_130744_) static Component
ComponentUtils.fromMessage
(com.mojang.brigadier.Message p_130730_) static Component
ComponentUtils.getDisplayName
(com.mojang.authlib.GameProfile p_130728_) private Component
KeybindComponent.getNestedComponent()
static Component
CommonComponents.joinLines
(Collection<? extends Component> p_178392_) static Component
static Component
Component.nullToEmpty
(String p_130675_) static Component
CommonComponents.optionStatus
(boolean p_130667_) Modifier and TypeMethodDescriptionSelectorComponent.getSeparator()
BaseComponent.getSiblings()
Component.getSiblings()
HoverEvent.EntityTooltipInfo.getTooltipLines()
Component.Serializer.parseSeparator
(Type p_178416_, com.google.gson.JsonDeserializationContext p_178417_, com.google.gson.JsonObject p_178418_) Component.toFlatList
(Style p_178406_) Modifier and TypeMethodDescriptionstatic HoverEvent.EntityTooltipInfo
private static HoverEvent.ItemStackInfo
HoverEvent.Action.deserializeFromLegacy
(Component p_130855_) static Component
ComponentUtils.formatList
(Collection<? extends Component> p_178434_, Component p_178435_) static <T> MutableComponent
ComponentUtils.formatList
(Collection<? extends T> p_178437_, Component p_178438_, Function<T, Component> p_178439_) static MutableComponent
CommonComponents.joinForNarration
(Component p_178399_, Component p_178400_) static Component
static MutableComponent
CommonComponents.optionNameValue
(Component p_178394_, Component p_178395_) static MutableComponent
CommonComponents.optionStatus
(Component p_130664_, boolean p_130665_) com.google.gson.JsonElement
Component.Serializer.serialize
(Component p_130706_, Type p_130707_, com.google.gson.JsonSerializationContext p_130708_) static String
static com.google.gson.JsonElement
Component.Serializer.toJsonTree
(Component p_130717_) static MutableComponent
ComponentUtils.updateForEntity
(CommandSourceStack p_130732_, Component p_130733_, Entity p_130734_, int p_130735_) static MutableComponent
ComponentUtils.wrapInSquareBrackets
(Component p_130749_) Modifier and TypeMethodDescriptionstatic <T extends Comparable<T>>
ComponentComponentUtils.formatAndSortList
(Collection<T> p_130746_, Function<T, Component> p_130747_) static Component
ComponentUtils.formatList
(Collection<? extends Component> p_178434_, Component p_178435_) static <T> Component
ComponentUtils.formatList
(Collection<? extends T> p_178441_, Function<T, Component> p_178442_) 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_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 Component
CommonComponents.joinLines
(Collection<? extends Component> p_178392_) private void
Component.Serializer.serializeSeparator
(com.google.gson.JsonSerializationContext p_178412_, com.google.gson.JsonObject p_178413_, Optional<Component> p_178414_) static void
KeybindComponent.setKeyResolver
(Function<String, Supplier<Component>> p_130920_) static Optional<MutableComponent>
ComponentUtils.updateForEntity
(CommandSourceStack p_178425_, Optional<Component> p_178426_, Entity p_178427_, int p_178428_) ModifierConstructorDescriptionEntityTooltipInfo
(EntityType<?> p_130876_, UUID p_130877_, Component p_130878_) ModifierConstructorDescriptionBlockNbtComponent
(String p_178482_, boolean p_178483_, String p_178484_, Optional<Component> p_178485_) private
BlockNbtComponent
(String p_178475_, NbtPathArgument.NbtPath p_178476_, boolean p_178477_, String p_178478_, Coordinates p_178479_, Optional<Component> p_178480_) EntityNbtComponent
(String p_178494_, boolean p_178495_, String p_178496_, Optional<Component> p_178497_) private
EntityNbtComponent
(String p_178487_, NbtPathArgument.NbtPath p_178488_, boolean p_178489_, String p_178490_, EntitySelector p_178491_, Optional<Component> p_178492_) NbtComponent
(String p_178454_, boolean p_178455_, Optional<Component> p_178456_) protected
NbtComponent
(String p_178449_, NbtPathArgument.NbtPath p_178450_, boolean p_178451_, Optional<Component> p_178452_) SelectorComponent
(String p_178516_, Optional<Component> p_178517_) StorageNbtComponent
(String p_178505_, boolean p_178506_, ResourceLocation p_178507_, Optional<Component> p_178508_) StorageNbtComponent
(String p_178499_, NbtPathArgument.NbtPath p_178500_, boolean p_178501_, ResourceLocation p_178502_, Optional<Component> p_178503_) -
Uses of Component in net.minecraft.network.protocol.game
Modifier and TypeFieldDescriptionprivate final Component
ClientboundPlayerInfoPacket.PlayerUpdate.displayName
private final Component
ClientboundSetObjectivePacket.displayName
private final Component
ClientboundSetPlayerTeamPacket.Parameters.displayName
private final Component
ClientboundTabListPacket.footer
private final Component
ClientboundTabListPacket.header
private final Component
ClientboundChatPacket.message
private final Component
ClientboundPlayerCombatKillPacket.message
private final Component
ClientboundBossEventPacket.AddOperation.name
private final Component
ClientboundBossEventPacket.UpdateNameOperation.name
private final Component
ClientboundSetPlayerTeamPacket.Parameters.playerPrefix
private final Component
ClientboundSetPlayerTeamPacket.Parameters.playerSuffix
private final Component
ClientboundResourcePackPacket.prompt
private final Component
ClientboundDisconnectPacket.reason
private final Component
ClientboundSetActionBarTextPacket.text
private final Component
ClientboundSetSubtitleTextPacket.text
private final Component
ClientboundSetTitleTextPacket.text
private final Component
ClientboundOpenScreenPacket.title
Modifier and TypeMethodDescriptionClientboundPlayerInfoPacket.PlayerUpdate.getDisplayName()
ClientboundSetObjectivePacket.getDisplayName()
ClientboundSetPlayerTeamPacket.Parameters.getDisplayName()
ClientboundTabListPacket.getFooter()
ClientboundTabListPacket.getHeader()
ClientboundChatPacket.getMessage()
ClientboundPlayerCombatKillPacket.getMessage()
ClientboundSetPlayerTeamPacket.Parameters.getPlayerPrefix()
ClientboundSetPlayerTeamPacket.Parameters.getPlayerSuffix()
ClientboundResourcePackPacket.getPrompt()
ClientboundDisconnectPacket.getReason()
ClientboundSetActionBarTextPacket.getText()
ClientboundSetSubtitleTextPacket.getText()
ClientboundSetTitleTextPacket.getText()
ClientboundOpenScreenPacket.getTitle()
(package private) static Component
ClientboundPlayerInfoPacket.readDisplayName
(FriendlyByteBuf p_179089_) Modifier and TypeMethodDescriptiondefault void
ClientboundBossEventPacket.Handler.add
(UUID p_178689_, Component p_178690_, float p_178691_, BossEvent.BossBarColor p_178692_, BossEvent.BossBarOverlay p_178693_, boolean p_178694_, boolean p_178695_, boolean p_178696_) default void
ClientboundBossEventPacket.Handler.updateName
(UUID p_178687_, Component p_178688_) (package private) static void
ClientboundPlayerInfoPacket.writeDisplayName
(FriendlyByteBuf p_179086_, Component p_179087_) ModifierConstructorDescriptionClientboundChatPacket
(Component p_131826_, ChatType p_131827_, UUID p_131828_) ClientboundDisconnectPacket
(Component p_132078_) ClientboundOpenScreenPacket
(int p_132616_, MenuType<?> p_132617_, Component p_132618_) ClientboundPlayerCombatKillPacket
(int p_179062_, int p_179063_, Component p_179064_) ClientboundPlayerCombatKillPacket
(CombatTracker p_179066_, Component p_179067_) ClientboundResourcePackPacket
(String p_179182_, String p_179183_, boolean p_179184_, Component p_179185_) ClientboundSetActionBarTextPacket
(Component p_179203_) ClientboundSetSubtitleTextPacket
(Component p_179378_) ClientboundSetTitleTextPacket
(Component p_179392_) ClientboundTabListPacket
(Component p_179430_, Component p_179431_) PlayerUpdate
(com.mojang.authlib.GameProfile p_179141_, int p_179142_, GameType p_179143_, Component p_179144_) (package private)
UpdateNameOperation
(Component p_178727_) -
Uses of Component in net.minecraft.network.protocol.login
-
Uses of Component in net.minecraft.network.protocol.status
-
Uses of Component in net.minecraft.network.syncher
Modifier and TypeFieldDescriptionstatic final EntityDataSerializer<Component>
EntityDataSerializers.COMPONENT
static final EntityDataSerializer<Optional<Component>>
EntityDataSerializers.OPTIONAL_COMPONENT
-
Uses of Component in net.minecraft.realms
Modifier and TypeFieldDescription(package private) final Component
RepeatedNarrator.Params.narration
private final Component
DisconnectedRealmsScreen.reason
private final Component
RealmsLabel.text
Modifier and TypeMethodDescriptionRealmsScreen.createLabelNarration()
DisconnectedRealmsScreen.getNarrationMessage()
RealmsLabel.getText()
ModifierConstructorDescriptionDisconnectedRealmsScreen
(Screen p_120653_, Component p_120654_, Component p_120655_) (package private)
RealmsLabel
(Component p_120736_, int p_120737_, int p_120738_, int p_120739_) RealmsScreen
(Component p_175072_) -
Uses of Component in net.minecraft.server
Modifier and TypeFieldDescriptionprivate static final Component
ServerFunctionManager.NO_RECURSIVE_TRACES
Modifier and TypeMethodDescriptionvoid
MinecraftServer.sendMessage
(Component p_129876_, UUID p_129877_) -
Uses of Component in net.minecraft.server.bossevents
Modifier and TypeMethodDescriptionCustomBossEvents.create
(ResourceLocation p_136300_, Component p_136301_) -
Uses of Component in net.minecraft.server.commands
Modifier and TypeMethodDescriptionprivate static Component
EmoteCommands.createMessage
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_136990_, String p_136991_) Modifier and TypeMethodDescriptionprivate static int
ScoreboardCommand.addObjective
(CommandSourceStack p_138503_, String p_138504_, ObjectiveCriteria p_138505_, Component p_138506_) private static int
BanIpCommands.banIp
(CommandSourceStack p_136540_, String p_136541_, Component p_136542_) private static int
BanIpCommands.banIpOrName
(CommandSourceStack p_136534_, String p_136535_, Component p_136536_) private static int
BanPlayerCommands.banPlayers
(CommandSourceStack p_136565_, Collection<com.mojang.authlib.GameProfile> p_136566_, Component p_136567_) private static int
BossBarCommands.createBar
(CommandSourceStack p_136592_, ResourceLocation p_136593_, Component p_136594_) private static int
TeamCommand.createTeam
(CommandSourceStack p_138914_, String p_138915_, Component p_138916_) private static int
KickCommand.kickPlayers
(CommandSourceStack p_137802_, Collection<ServerPlayer> p_137803_, Component p_137804_) private static int
RaidCommand.playSound
(CommandSourceStack p_180478_, Component p_180479_) void
DebugCommand.Tracer.sendMessage
(Component p_180095_, UUID p_180096_) private static int
MsgCommand.sendMessage
(CommandSourceStack p_138065_, Collection<ServerPlayer> p_138066_, Component p_138067_) private static int
TeamMsgCommand.sendMessage
(CommandSourceStack p_139004_, Component p_139005_) private static int
ScoreboardCommand.setDisplayName
(CommandSourceStack p_138492_, Objective p_138493_, Component p_138494_) private static int
TeamCommand.setDisplayName
(CommandSourceStack p_138903_, PlayerTeam p_138904_, Component p_138905_) private static int
BossBarCommands.setName
(CommandSourceStack p_136615_, CustomBossEvent p_136616_, Component p_136617_) private static int
TeamCommand.setPrefix
(CommandSourceStack p_138934_, PlayerTeam p_138935_, Component p_138936_) private static int
TeamCommand.setSuffix
(CommandSourceStack p_138947_, PlayerTeam p_138948_, Component p_138949_) private static int
TitleCommand.showTitle
(CommandSourceStack p_142781_, Collection<ServerPlayer> p_142782_, Component p_142783_, String p_142784_, Function<Component, Packet<?>> p_142785_) Modifier and TypeMethodDescriptionprivate static int
ListPlayersCommand.format
(CommandSourceStack p_137827_, Function<ServerPlayer, Component> p_137828_) private static int
TitleCommand.showTitle
(CommandSourceStack p_142781_, Collection<ServerPlayer> p_142782_, Component p_142783_, String p_142784_, Function<Component, Packet<?>> p_142785_) -
Uses of Component in net.minecraft.server.commands.data
Modifier and TypeMethodDescriptionBlockDataAccessor.getModifiedSuccess()
DataAccessor.getModifiedSuccess()
EntityDataAccessor.getModifiedSuccess()
StorageDataAccessor.getModifiedSuccess()
BlockDataAccessor.getPrintSuccess
(NbtPathArgument.NbtPath p_139301_, double p_139302_, int p_139303_) BlockDataAccessor.getPrintSuccess
(Tag p_139309_) DataAccessor.getPrintSuccess
(NbtPathArgument.NbtPath p_139320_, double p_139321_, int p_139322_) DataAccessor.getPrintSuccess
(Tag p_139324_) EntityDataAccessor.getPrintSuccess
(NbtPathArgument.NbtPath p_139513_, double p_139514_, int p_139515_) EntityDataAccessor.getPrintSuccess
(Tag p_139521_) StorageDataAccessor.getPrintSuccess
(NbtPathArgument.NbtPath p_139550_, double p_139551_, int p_139552_) StorageDataAccessor.getPrintSuccess
(Tag p_139558_) -
Uses of Component in net.minecraft.server.dedicated
Modifier and TypeMethodDescriptionDedicatedServer.getResourcePackPrompt()
private static Component
DedicatedServer.parseResourcePackPrompt
(DedicatedServerSettings p_142868_) Modifier and TypeMethodDescriptionvoid
DedicatedServer.sendMessage
(Component message, UUID p_108776_) -
Uses of Component in net.minecraft.server.level
Modifier and TypeMethodDescriptionvoid
ServerPlayer.displayClientMessage
(Component p_9154_, boolean p_9155_) void
ServerPlayer.sendMessage
(Component p_9144_, UUID p_9145_) void
ServerPlayer.sendMessage
(Component p_9147_, ChatType p_9148_, UUID p_9149_) void
ServerPlayer.sendTexturePack
(String p_143409_, String p_143410_, boolean p_143411_, Component p_143412_) void
ModifierConstructorDescriptionServerBossEvent
(Component p_8300_, BossEvent.BossBarColor p_8301_, BossEvent.BossBarOverlay p_8302_) -
Uses of Component in net.minecraft.server.network
Modifier and TypeFieldDescriptionprivate static final Component
ServerStatusPacketListenerImpl.DISCONNECT_REASON
private static final Component
ServerHandshakePacketListenerImpl.IGNORE_STATUS_REASON
Modifier and TypeMethodDescriptionvoid
ServerGamePacketListenerImpl.disconnect
(Component p_9943_) void
ServerLoginPacketListenerImpl.disconnect
(Component p_10054_) void
MemoryServerHandshakePacketListenerImpl.onDisconnect
(Component p_9695_) void
ServerGamePacketListenerImpl.onDisconnect
(Component p_9825_) void
ServerHandshakePacketListenerImpl.onDisconnect
(Component p_9973_) void
ServerLoginPacketListenerImpl.onDisconnect
(Component p_10043_) void
ServerStatusPacketListenerImpl.onDisconnect
(Component p_10091_) -
Uses of Component in net.minecraft.server.packs.metadata.pack
ModifierConstructorDescriptionPackMetadataSection
(Component p_10371_, int p_10372_) PackMetadataSection
(Component p_10371_, int p_10372_, Map<PackType, Integer> packTypeVersions) -
Uses of Component in net.minecraft.server.packs.repository
Modifier and TypeFieldDescriptionprivate final Component
PackCompatibility.confirmation
private final Component
Pack.description
private final Component
PackCompatibility.description
private final Component
Pack.title
Modifier and TypeMethodDescriptionPack.getChatLink
(boolean p_10438_) PackCompatibility.getConfirmation()
Pack.getDescription()
PackCompatibility.getDescription()
Pack.getTitle()
Modifier and TypeMethodDescriptiondefault Pack
Pack.PackConstructor.create
(String p_143874_, Component p_143875_, boolean p_143876_, Supplier<PackResources> p_143877_, PackMetadataSection p_143878_, Pack.Position p_143879_, PackSource p_143880_) Deprecated.Pack.PackConstructor.create
(String p_143874_, Component p_143875_, boolean p_143876_, Supplier<PackResources> p_143877_, PackMetadataSection p_143878_, Pack.Position p_143879_, PackSource p_143880_, boolean hidden) ModifierConstructorDescriptionPack
(String p_10420_, boolean p_10421_, Supplier<PackResources> p_10422_, Component p_10423_, Component p_10424_, PackCompatibility p_10425_, Pack.Position p_10426_, boolean p_10427_, PackSource p_10428_) Deprecated.Pack
(String p_10420_, boolean p_10421_, Supplier<PackResources> p_10422_, Component p_10423_, Component p_10424_, PackCompatibility p_10425_, Pack.Position p_10426_, boolean p_10427_, PackSource p_10428_, boolean hidden) Pack
(String p_143865_, Component p_143866_, boolean p_143867_, Supplier<PackResources> p_143868_, PackMetadataSection p_143869_, PackType p_143870_, Pack.Position p_143871_, PackSource p_143872_) Deprecated.Pack
(String p_143865_, Component p_143866_, boolean p_143867_, Supplier<PackResources> p_143868_, PackMetadataSection p_143869_, PackType p_143870_, Pack.Position p_143871_, PackSource p_143872_, boolean hidden) -
Uses of Component in net.minecraft.server.players
Modifier and TypeMethodDescriptionPlayerList.canPlayerLogin
(SocketAddress p_11257_, com.mojang.authlib.GameProfile p_11258_) abstract Component
BanListEntry.getDisplayName()
IpBanListEntry.getDisplayName()
UserBanListEntry.getDisplayName()
Modifier and TypeMethodDescriptionvoid
PlayerList.broadcastMessage
(Component p_143992_, Function<ServerPlayer, Component> p_143993_, ChatType p_143994_, UUID p_143995_) void
PlayerList.broadcastMessage
(Component p_11265_, ChatType p_11266_, UUID p_11267_) void
PlayerList.broadcastToAllExceptTeam
(Player p_11279_, Component p_11280_) void
PlayerList.broadcastToTeam
(Player p_11250_, Component p_11251_) Modifier and TypeMethodDescriptionvoid
PlayerList.broadcastMessage
(Component p_143992_, Function<ServerPlayer, Component> p_143993_, ChatType p_143994_, UUID p_143995_) -
Uses of Component in net.minecraft.server.rcon
Modifier and TypeMethodDescriptionvoid
RconConsoleSource.sendMessage
(Component p_11509_, UUID p_11510_) -
Uses of Component in net.minecraft.stats
-
Uses of Component in net.minecraft.util
Modifier and TypeMethodDescriptionvoid
ProgressListener.progressStage
(Component p_14214_) void
ProgressListener.progressStart
(Component p_14213_) void
ProgressListener.progressStartNoAbort
(Component p_14212_) -
Uses of Component in net.minecraft.util.worldupdate
-
Uses of Component in net.minecraft.world
Modifier and TypeFieldDescriptionprotected Component
BossEvent.name
private final Component
SimpleMenuProvider.title
Modifier and TypeMethodDescriptiondefault Component
Nameable.getCustomName()
Difficulty.getDisplayName()
MenuProvider.getDisplayName()
default Component
Nameable.getDisplayName()
SimpleMenuProvider.getDisplayName()
BossEvent.getName()
Nameable.getName()
ModifierConstructorDescriptionBossEvent
(UUID p_18849_, Component p_18850_, BossEvent.BossBarColor p_18851_, BossEvent.BossBarOverlay p_18852_) SimpleMenuProvider
(MenuConstructor p_19202_, Component p_19203_) -
Uses of Component in net.minecraft.world.damagesource
Modifier and TypeMethodDescriptionCombatEntry.getAttackerName()
CombatTracker.getDeathMessage()
BadRespawnPointDamage.getLocalizedDeathMessage
(LivingEntity p_19247_) DamageSource.getLocalizedDeathMessage
(LivingEntity p_19343_) EntityDamageSource.getLocalizedDeathMessage
(LivingEntity p_19397_) IndirectEntityDamageSource.getLocalizedDeathMessage
(LivingEntity p_19410_) -
Uses of Component in net.minecraft.world.effect
-
Uses of Component in net.minecraft.world.entity
Modifier and TypeFieldDescriptionprivate Component
EntityType.description
private final Component
HumanoidArm.name
Modifier and TypeFieldDescriptionprivate static final EntityDataAccessor<Optional<Component>>
Entity.DATA_CUSTOM_NAME
Modifier and TypeMethodDescriptionEntity.getCustomName()
EntityType.getDescription()
Entity.getDisplayName()
Entity.getName()
HumanoidArm.getName()
protected Component
Entity.getTypeName()
private static Component
Entity.removeAction
(Component p_20141_) Modifier and TypeMethodDescriptionEntityType.create
(ServerLevel p_20656_, CompoundTag p_20657_, Component p_20658_, Player p_20659_, BlockPos p_20660_, MobSpawnType p_20661_, boolean p_20662_, boolean p_20663_) private static Component
Entity.removeAction
(Component p_20141_) void
Entity.sendMessage
(Component p_20055_, UUID p_20056_) void
Entity.setCustomName
(Component p_20053_) EntityType.spawn
(ServerLevel p_20601_, CompoundTag p_20602_, Component p_20603_, Player p_20604_, BlockPos p_20605_, MobSpawnType p_20606_, boolean p_20607_, boolean p_20608_) -
Uses of Component in net.minecraft.world.entity.boss.wither
-
Uses of Component in net.minecraft.world.entity.item
-
Uses of Component in net.minecraft.world.entity.monster
-
Uses of Component in net.minecraft.world.entity.npc
-
Uses of Component in net.minecraft.world.entity.player
Modifier and TypeFieldDescriptionprivate Component
Player.displayname
private final Component
Player.BedSleepingProblem.message
private final Component
PlayerModelPart.name
Modifier and TypeMethodDescriptionPlayer.getDisplayName()
Player.BedSleepingProblem.getMessage()
Inventory.getName()
Player.getName()
PlayerModelPart.getName()
Modifier and TypeMethodDescriptionvoid
Player.displayClientMessage
(Component p_36216_, boolean p_36217_) -
Uses of Component in net.minecraft.world.entity.raid
-
Uses of Component in net.minecraft.world.entity.vehicle
Modifier and TypeFieldDescription(package private) static final EntityDataAccessor<Component>
MinecartCommandBlock.DATA_ID_LAST_OUTPUT
-
Uses of Component in net.minecraft.world.item
Modifier and TypeMethodDescriptionprivate static Component
FireworkStarItem.appendColors
(MutableComponent p_41260_, int[] p_41261_) private static Component
FireworkStarItem.getColorName
(int p_41250_) Item.getDescription()
CreativeModeTab.getDisplayName()
ItemStack.getDisplayName()
ItemStack.getHoverName()
Modifier and TypeMethodDescriptionprivate static Collection<Component>
ItemStack.expandBlockState
(String p_41762_) ItemStack.getTooltipLines
(Player p_41652_, TooltipFlag p_41653_) Modifier and TypeMethodDescriptionstatic void
ItemStack.appendEnchantmentNames
(List<Component> p_41710_, ListTag p_41711_) void
AirItem.appendHoverText
(ItemStack p_40372_, Level p_40373_, List<Component> p_40374_, TooltipFlag p_40375_) void
BannerItem.appendHoverText
(ItemStack p_40538_, Level p_40539_, List<Component> p_40540_, TooltipFlag p_40541_) void
BannerPatternItem.appendHoverText
(ItemStack p_40551_, Level p_40552_, List<Component> p_40553_, TooltipFlag p_40554_) void
BlockItem.appendHoverText
(ItemStack p_40572_, Level p_40573_, List<Component> p_40574_, TooltipFlag p_40575_) void
BundleItem.appendHoverText
(ItemStack p_150749_, Level p_150750_, List<Component> p_150751_, TooltipFlag p_150752_) void
CrossbowItem.appendHoverText
(ItemStack p_40880_, Level p_40881_, List<Component> p_40882_, TooltipFlag p_40883_) void
EnchantedBookItem.appendHoverText
(ItemStack p_41157_, Level p_41158_, List<Component> p_41159_, TooltipFlag p_41160_) void
FireworkRocketItem.appendHoverText
(ItemStack p_41211_, Level p_41212_, List<Component> p_41213_, TooltipFlag p_41214_) static void
FireworkStarItem.appendHoverText
(CompoundTag p_41257_, List<Component> p_41258_) void
FireworkStarItem.appendHoverText
(ItemStack p_41252_, Level p_41253_, List<Component> p_41254_, TooltipFlag p_41255_) void
Item.appendHoverText
(ItemStack p_41421_, Level p_41422_, List<Component> p_41423_, TooltipFlag p_41424_) void
LingeringPotionItem.appendHoverText
(ItemStack p_42838_, Level p_42839_, List<Component> p_42840_, TooltipFlag p_42841_) void
MapItem.appendHoverText
(ItemStack p_42880_, Level p_42881_, List<Component> p_42882_, TooltipFlag p_42883_) void
MobBucketItem.appendHoverText
(ItemStack p_151155_, Level p_151156_, List<Component> p_151157_, TooltipFlag p_151158_) void
PotionItem.appendHoverText
(ItemStack p_42988_, Level p_42989_, List<Component> p_42990_, TooltipFlag p_42991_) void
RecordItem.appendHoverText
(ItemStack p_43043_, Level p_43044_, List<Component> p_43045_, TooltipFlag p_43046_) void
ShieldItem.appendHoverText
(ItemStack p_43094_, Level p_43095_, List<Component> p_43096_, TooltipFlag p_43097_) void
TippedArrowItem.appendHoverText
(ItemStack p_43359_, Level p_43360_, List<Component> p_43361_, TooltipFlag p_43362_) void
WrittenBookItem.appendHoverText
(ItemStack p_43457_, Level p_43458_, List<Component> p_43459_, TooltipFlag p_43460_) static void
BannerItem.appendHoverTextFromBannerBlockEntityTag
(ItemStack p_40543_, List<Component> p_40544_) -
Uses of Component in net.minecraft.world.item.alchemy
Modifier and TypeMethodDescriptionstatic void
PotionUtils.addPotionTooltip
(ItemStack p_43556_, List<Component> p_43557_, float p_43558_) -
Uses of Component in net.minecraft.world.item.enchantment
-
Uses of Component in net.minecraft.world.item.trading
Modifier and TypeMethodDescriptiondefault void
Merchant.openTradingScreen
(Player p_45302_, Component p_45303_, int p_45304_) -
Uses of Component in net.minecraft.world.level
Modifier and TypeFieldDescriptionprivate static final Component
BaseCommandBlock.DEFAULT_NAME
private Component
BaseCommandBlock.lastOutput
private final Component
GameType.longName
private Component
BaseCommandBlock.name
private final Component
GameType.shortName
Modifier and TypeMethodDescriptionBaseCommandBlock.getLastOutput()
GameType.getLongDisplayName()
BaseCommandBlock.getName()
GameType.getShortDisplayName()
Modifier and TypeMethodDescriptionvoid
BaseCommandBlock.sendMessage
(Component p_45426_, UUID p_45427_) void
BaseCommandBlock.setLastOutput
(Component p_45434_) void
-
Uses of Component in net.minecraft.world.level.block
Modifier and TypeFieldDescriptionprivate static final Component
AnvilBlock.CONTAINER_TITLE
private static final Component
CartographyTableBlock.CONTAINER_TITLE
private static final Component
CraftingTableBlock.CONTAINER_TITLE
private static final Component
EnderChestBlock.CONTAINER_TITLE
private static final Component
GrindstoneBlock.CONTAINER_TITLE
private static final Component
LoomBlock.CONTAINER_TITLE
private static final Component
SmithingTableBlock.CONTAINER_TITLE
private static final Component
StonecutterBlock.CONTAINER_TITLE
private final Component
Mirror.symbol
Modifier and TypeMethodDescriptionvoid
Block.appendHoverText
(ItemStack p_49816_, BlockGetter p_49817_, List<Component> p_49818_, TooltipFlag p_49819_) void
ShulkerBoxBlock.appendHoverText
(ItemStack p_56193_, BlockGetter p_56194_, List<Component> p_56195_, TooltipFlag p_56196_) -
Uses of Component in net.minecraft.world.level.block.entity
Modifier and TypeFieldDescriptionprivate final Component[]
SignBlockEntity.filteredMessages
private final Component[]
SignBlockEntity.messages
private Component
BannerBlockEntity.name
private Component
BaseContainerBlockEntity.name
private Component
BeaconBlockEntity.name
private Component
EnchantmentTableBlockEntity.name
Modifier and TypeMethodDescriptionprivate Component
SignBlockEntity.deserializeTextSafe
(String p_155721_) BannerBlockEntity.getCustomName()
BaseContainerBlockEntity.getCustomName()
EnchantmentTableBlockEntity.getCustomName()
protected Component
BarrelBlockEntity.getDefaultName()
protected abstract Component
BaseContainerBlockEntity.getDefaultName()
protected Component
BlastFurnaceBlockEntity.getDefaultName()
protected Component
BrewingStandBlockEntity.getDefaultName()
protected Component
ChestBlockEntity.getDefaultName()
protected Component
DispenserBlockEntity.getDefaultName()
protected Component
DropperBlockEntity.getDefaultName()
protected Component
FurnaceBlockEntity.getDefaultName()
protected Component
HopperBlockEntity.getDefaultName()
protected Component
ShulkerBoxBlockEntity.getDefaultName()
protected Component
SmokerBlockEntity.getDefaultName()
BaseContainerBlockEntity.getDisplayName()
BeaconBlockEntity.getDisplayName()
LecternBlockEntity.getDisplayName()
SignBlockEntity.getMessage
(int p_155707_, boolean p_155708_) private Component[]
SignBlockEntity.getMessages
(boolean p_155725_) BannerBlockEntity.getName()
BaseContainerBlockEntity.getName()
EnchantmentTableBlockEntity.getName()
JigsawBlockEntity.JointType.getTranslatedName()
private Component
Modifier and TypeMethodDescriptionstatic boolean
void
BannerBlockEntity.setCustomName
(Component p_58502_) void
BaseContainerBlockEntity.setCustomName
(Component p_58639_) void
BeaconBlockEntity.setCustomName
(Component p_58682_) void
EnchantmentTableBlockEntity.setCustomName
(Component p_59273_) void
SignBlockEntity.setMessage
(int p_59733_, Component p_59734_) void
SignBlockEntity.setMessage
(int p_155703_, Component p_155704_, Component p_155705_) Modifier and TypeMethodDescriptionSignBlockEntity.getRenderMessages
(boolean p_155718_, Function<Component, FormattedCharSequence> p_155719_) -
Uses of Component in net.minecraft.world.level.block.state.properties
-
Uses of Component in net.minecraft.world.level.saveddata.maps
Modifier and TypeFieldDescriptionprivate final Component
MapBanner.name
private final Component
MapDecoration.name
Modifier and TypeMethodDescriptionprivate void
MapItemSavedData.addDecoration
(MapDecoration.Type p_77938_, LevelAccessor p_77939_, String p_77940_, double p_77941_, double p_77942_, double p_77943_, Component p_77944_) ModifierConstructorDescriptionMapDecoration
(MapDecoration.Type p_77797_, byte p_77798_, byte p_77799_, byte p_77800_, Component p_77801_) -
Uses of Component in net.minecraft.world.level.storage
Modifier and TypeMethodDescriptionprivate Component
LevelSummary.createInfo()
LevelSummary.getInfo()
-
Uses of Component in net.minecraft.world.level.storage.loot.functions
Modifier and TypeMethodDescriptionstatic UnaryOperator<Component>
SetNameFunction.createResolver
(LootContext p_81140_, LootContext.EntityTarget p_81141_) Modifier and TypeMethodDescriptionstatic LootItemConditionalFunction.Builder<?>
static LootItemConditionalFunction.Builder<?>
SetNameFunction.setName
(Component p_165460_, LootContext.EntityTarget p_165461_) ModifierConstructorDescription(package private)
SetNameFunction
(LootItemCondition[] p_81127_, Component p_81128_, LootContext.EntityTarget p_81129_) ModifierConstructorDescriptionSetLoreFunction
(LootItemCondition[] p_81083_, boolean p_81084_, List<Component> p_81085_, LootContext.EntityTarget p_81086_) -
Uses of Component in net.minecraft.world.scores
Modifier and TypeFieldDescriptionprivate Component
Objective.displayName
private Component
PlayerTeam.displayName
private Component
Objective.formattedDisplayName
private Component
PlayerTeam.playerPrefix
private Component
PlayerTeam.playerSuffix
Modifier and TypeMethodDescriptionprivate Component
Objective.createFormattedDisplayName()
Objective.getDisplayName()
PlayerTeam.getDisplayName()
Team.CollisionRule.getDisplayName()
Team.Visibility.getDisplayName()
Objective.getFormattedDisplayName()
PlayerTeam.getPlayerPrefix()
PlayerTeam.getPlayerSuffix()
Modifier and TypeMethodDescriptionScoreboard.addObjective
(String p_83437_, ObjectiveCriteria p_83438_, Component p_83439_, ObjectiveCriteria.RenderType p_83440_) static MutableComponent
PlayerTeam.formatNameForTeam
(Team p_83349_, Component p_83350_) PlayerTeam.getFormattedName
(Component p_83369_) abstract MutableComponent
Team.getFormattedName
(Component p_83538_) void
Objective.setDisplayName
(Component p_83317_) void
PlayerTeam.setDisplayName
(Component p_83354_) void
PlayerTeam.setPlayerPrefix
(Component p_83361_) void
PlayerTeam.setPlayerSuffix
(Component p_83366_) ModifierConstructorDescriptionObjective
(Scoreboard p_83308_, String p_83309_, ObjectiveCriteria p_83310_, Component p_83311_, ObjectiveCriteria.RenderType p_83312_) -
Uses of Component in net.minecraftforge.client
Modifier and TypeMethodDescriptionvoid
ClientCommandSourceStack.sendSuccess
(Component message, boolean sendToAdmins) Sends a success message without attempting to get the server side list of adminsModifierConstructorDescriptionClientCommandSourceStack
(CommandSource source, Vec3 position, Vec2 rotation, int permission, String plainTextName, Component displayName, Entity executing) -
Uses of Component in net.minecraftforge.client.event
Modifier and TypeFieldDescriptionstatic final Component
ScreenshotEvent.DEFAULT_CANCEL_REASON
private Component
ClientChatReceivedEvent.message
private Component
RenderNameplateEvent.nameplateContent
private final Component
RenderNameplateEvent.originalContent
private Component
ScreenshotEvent.resultMessage
Modifier and TypeMethodDescriptionScreenshotEvent.getCancelMessage()
RenderNameplateEvent.getContent()
The content being rendered on the name plate/tagClientChatReceivedEvent.getMessage()
RenderNameplateEvent.getOriginalContent()
The original content being rendered on the name plate/tagScreenshotEvent.getResultMessage()
Modifier and TypeMethodDescriptionvoid
RenderNameplateEvent.setContent
(Component contents) Sets the content that is to be rendered on the name plate/tagvoid
ClientChatReceivedEvent.setMessage
(Component message) void
ScreenshotEvent.setResultMessage
(Component resultMessage) ModifierConstructorDescriptionClientChatReceivedEvent
(ChatType type, Component message, UUID senderUUID) RenderNameplateEvent
(Entity entity, Component content, EntityRenderer<?> entityRenderer, PoseStack poseStack, MultiBufferSource multiBufferSource, int packedLight, float partialTick) -
Uses of Component in net.minecraftforge.client.gui
Modifier and TypeFieldDescriptionprivate Component
LoadingErrorScreen.errorHeader
private final Component
LoadingErrorScreen.LoadingEntryList.LoadingMessageEntry.message
private final Component
ModMismatchDisconnectedScreen.reason
private Component
LoadingErrorScreen.warningHeader
Modifier and TypeMethodDescription(package private) Component
ModListScreen.SortType.getButtonText()
LoadingErrorScreen.LoadingEntryList.LoadingMessageEntry.getNarration()
Modifier and TypeMethodDescriptionprivate void
LoadingErrorScreen.drawMultiLineCenteredString
(PoseStack poseStack, Font fr, Component str, int x, int y) ModifierConstructorDescription(package private)
LoadingMessageEntry
(Component message) (package private)
LoadingMessageEntry
(Component message, boolean center) ModMismatchDisconnectedScreen
(Screen parentScreen, Component title, Component reason, ConnectionData.ModMismatchData modMismatchData) -
Uses of Component in net.minecraftforge.client.gui.widget
Modifier and TypeFieldDescriptionSlider.dispString
Deprecated, for removal: This API element is subject to removal in a future version.protected Component
ForgeSlider.prefix
protected Component
ForgeSlider.suffix
Slider.suffix
Deprecated, for removal: This API element is subject to removal in a future version.ModifierConstructorDescriptionExtendedButton
(int xPos, int yPos, int width, int height, Component displayString, Button.OnPress handler) ForgeSlider
(int x, int y, int width, int height, Component prefix, Component suffix, double minValue, double maxValue, double currentValue, boolean drawString) Overload withstepSize
set to 1, useful for sliders with whole number values.ForgeSlider
(int x, int y, int width, int height, Component prefix, Component suffix, double minValue, double maxValue, double currentValue, double stepSize, int precision, boolean drawString) Slider
(int xPos, int yPos, int width, int height, Component prefix, Component suf, double minVal, double maxVal, double currentVal, boolean showDec, boolean drawStr, Button.OnPress handler) Deprecated, for removal: This API element is subject to removal in a future version.Slider
(int xPos, int yPos, int width, int height, Component prefix, Component suf, double minVal, double maxVal, double currentVal, boolean showDec, boolean drawStr, Button.OnPress handler, Slider.ISlider par) Deprecated, for removal: This API element is subject to removal in a future version.Slider
(int xPos, int yPos, Component displayStr, double minVal, double maxVal, double currentVal, Button.OnPress handler, Slider.ISlider par) Deprecated, for removal: This API element is subject to removal in a future version.UnicodeGlyphButton
(int xPos, int yPos, int width, int height, Component displayString, String glyph, float glyphScale, Button.OnPress handler) -
Uses of Component in net.minecraftforge.client.settings
Modifier and TypeMethodDescriptionabstract Component
KeyModifier.getCombinedName
(InputConstants.Key key, Supplier<Component> defaultLogic) Modifier and TypeMethodDescriptionabstract Component
KeyModifier.getCombinedName
(InputConstants.Key key, Supplier<Component> defaultLogic) -
Uses of Component in net.minecraftforge.common
Modifier and TypeMethodDescriptionstatic Component
ForgeHooks.newChatWithLinks
(String string) static Component
ForgeHooks.newChatWithLinks
(String string, boolean allowMissingHeader) static Component
ForgeHooks.onServerChatEvent
(ServerGamePacketListenerImpl net, String raw, Component comp) Deprecated.Modifier and TypeMethodDescriptionstatic Component
ForgeHooks.onServerChatEvent
(ServerGamePacketListenerImpl net, String raw, Component comp) Deprecated.static ServerChatEvent
ForgeHooks.onServerChatEvent
(ServerGamePacketListenerImpl net, String raw, Component comp, String filtered, Component filteredComp) -
Uses of Component in net.minecraftforge.common.command
Modifier and TypeMethodDescriptionIEntitySelectorType.getSuggestionTooltip()
Returns anComponent
containing a short description for this selector type. -
Uses of Component in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault Component
IForgeItem.getHighlightTip
(ItemStack item, Component displayName) Allow the item one last chance to modify its name used for the tool highlight useful for adding something extra that can't be removed by a user in the displayed name, such as a mode of operation.default Component
IForgeItemStack.getHighlightTip
(Component displayName) Allow the item one last chance to modify its name used for the tool highlight useful for adding something extra that can't be removed by a user in the displayed name, such as a mode of operation.Modifier and TypeMethodDescriptiondefault Component
IForgeItem.getHighlightTip
(ItemStack item, Component displayName) Allow the item one last chance to modify its name used for the tool highlight useful for adding something extra that can't be removed by a user in the displayed name, such as a mode of operation.default Component
IForgeItemStack.getHighlightTip
(Component displayName) Allow the item one last chance to modify its name used for the tool highlight useful for adding something extra that can't be removed by a user in the displayed name, such as a mode of operation. -
Uses of Component in net.minecraftforge.common.util
Modifier and TypeMethodDescriptionvoid
FakePlayer.FakePlayerNetHandler.disconnect
(Component message) void
FakePlayer.displayClientMessage
(Component chatComponent, boolean actionBar) void
FakePlayer.FakePlayerNetHandler.onDisconnect
(Component message) void
FakePlayer.sendMessage
(Component component, UUID senderUUID) -
Uses of Component in net.minecraftforge.common.world
-
Uses of Component in net.minecraftforge.debug
Modifier and TypeFieldDescriptionprivate static final PermissionNode<Component>
PermissionTest.componentPerm
-
Uses of Component in net.minecraftforge.debug.chat
Modifier and TypeMethodDescriptionEntitySelectorTest.ExampleCustomSelector.getSuggestionTooltip()
-
Uses of Component in net.minecraftforge.debug.client
Modifier and TypeMethodDescriptionvoid
CustomTooltipTest.CustomItemWithTooltip.appendHoverText
(ItemStack stack, Level level, List<Component> components, TooltipFlag flag) -
Uses of Component in net.minecraftforge.debug.misc
ModifierConstructorDescriptionTestGui
(ContainerTypeTest.TestContainer container, Inventory inv, Component name) -
Uses of Component in net.minecraftforge.debug.recipe.recipebook
ModifierConstructorDescriptionRecipeBookTestScreen
(RecipeBookTestMenu menu, Inventory inv, Component title) -
Uses of Component in net.minecraftforge.event
Modifier and TypeFieldDescriptionprivate Component
ServerChatEvent.component
private Component
ServerChatEvent.filteredComponent
Modifier and TypeMethodDescriptionServerChatEvent.getComponent()
ServerChatEvent.getFilteredComponent()
static Component
ForgeEventFactory.getPlayerDisplayName
(Player player, Component username) static Component
ForgeEventFactory.getPlayerTabListDisplayName
(Player player) static Component
ForgeEventFactory.onClientChat
(ChatType type, Component message, UUID senderUUID) Modifier and TypeMethodDescriptionstatic Component
ForgeEventFactory.getPlayerDisplayName
(Player player, Component username) static Component
ForgeEventFactory.onClientChat
(ChatType type, Component message, UUID senderUUID) void
ServerChatEvent.setComponent
(Component e) void
ServerChatEvent.setFilteredComponent
(Component e) Modifier and TypeMethodDescriptionstatic ItemTooltipEvent
ForgeEventFactory.onItemTooltip
(ItemStack itemStack, Player entityPlayer, List<Component> list, TooltipFlag flags) ModifierConstructorDescriptionServerChatEvent
(ServerPlayer player, String message, Component component) Deprecated.ServerChatEvent
(ServerPlayer player, String message, Component component, String filteredMessage, Component filteredComponent) -
Uses of Component in net.minecraftforge.event.entity.player
Modifier and TypeFieldDescriptionprivate Component
PlayerEvent.NameFormat.displayname
private Component
PlayerEvent.TabListNameFormat.displayName
private final Component
PlayerEvent.NameFormat.username
Modifier and TypeMethodDescriptionPlayerEvent.NameFormat.getDisplayname()
PlayerEvent.TabListNameFormat.getDisplayName()
PlayerEvent.NameFormat.getUsername()
Modifier and TypeMethodDescriptionvoid
PlayerEvent.NameFormat.setDisplayname
(Component displayname) void
PlayerEvent.TabListNameFormat.setDisplayName
(Component displayName) ModifierConstructorDescriptionItemTooltipEvent
(ItemStack itemStack, Player entityPlayer, List<Component> list, TooltipFlag flags) This event is fired inItemStack.getTooltipLines(Player, TooltipFlag)
, which in turn is called from it's respective GUIContainer. -
Uses of Component in net.minecraftforge.fluids
Modifier and TypeMethodDescriptionFluidAttributes.getDisplayName
(FluidStack stack) Returns the localized name of this fluid.FluidStack.getDisplayName()
-
Uses of Component in net.minecraftforge.network
ModifierConstructorDescriptionprivate
OpenContainer
(int id, int windowId, Component name, FriendlyByteBuf additionalData) (package private)
OpenContainer
(MenuType<?> id, int windowId, Component name, FriendlyByteBuf additionalData) -
Uses of Component in net.minecraftforge.server.command
Modifier and TypeMethodDescriptionprivate static <T> int
TrackCommand.TrackResults.execute
(CommandSourceStack source, TimeTracker<T> tracker, Function<ForgeTimings<T>, Component> toString) -
Uses of Component in net.minecraftforge.server.permission.nodes
Modifier and TypeFieldDescriptionprivate Component
PermissionNode.description
private Component
PermissionNode.readableName
Modifier and TypeFieldDescriptionstatic final PermissionType<Component>
PermissionTypes.COMPONENT
Modifier and TypeMethodDescriptionPermissionNode.getDescription()
PermissionNode.getReadableName()
Modifier and TypeMethodDescriptionPermissionNode.setInformation
(Component readableName, Component description) Allows you to set a human-readable name & description for your Permission.