Uses of Interface
net.minecraft.network.chat.Component
Packages that use Component
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
Extension interfaces for
client-only classes.-
Uses of Component in com.mojang.blaze3d.platform
Fields in com.mojang.blaze3d.platform with type parameters of type ComponentModifier and TypeFieldDescriptionprivate final LazyLoadedValue<Component> InputConstants.Key.displayName(package private) final BiFunction<Integer, String, Component> InputConstants.Type.displayTextSupplierMethods in com.mojang.blaze3d.platform that return ComponentConstructor parameters in com.mojang.blaze3d.platform with type arguments of type Component -
Uses of Component in com.mojang.realmsclient
Fields in com.mojang.realmsclient declared as ComponentModifier and TypeFieldDescriptionprivate static final ComponentRealmsMainScreen.CONFIGURE_SERVER_TEXTprivate static final ComponentRealmsMainScreen.INCOMPATIBLE_POPUP_TITLEprivate static final ComponentRealmsMainScreen.INCOMPATIBLE_RELEASE_TYPE_POPUP_MESSAGEprivate static final ComponentRealmsMainScreen.LEAVE_SERVER_TEXTprivate static final ComponentRealmsMainScreen.LOADING_TEXTprivate static final ComponentRealmsMainScreen.NO_PENDING_INVITESprivate static final ComponentRealmsMainScreen.NO_REALMS_TEXTprivate static final ComponentRealmsMainScreen.ServerEntry.ONLINE_PLAYERS_TOOLTIP_HEADERprivate static final ComponentRealmsMainScreen.PENDING_INVITESprivate static final ComponentRealmsMainScreen.PLAY_TEXT(package private) static final ComponentRealmsMainScreen.SERVER_CLOSED_TOOLTIP(package private) static final ComponentRealmsMainScreen.SERVER_EXPIRED_TOOLTIP(package private) static final ComponentRealmsMainScreen.SERVER_EXPIRES_IN_DAY_TOOLTIP(package private) static final ComponentRealmsMainScreen.SERVER_EXPIRES_SOON_TOOLTIP(package private) static final ComponentRealmsMainScreen.SERVER_OPEN_TOOLTIP(package private) static final ComponentRealmsMainScreen.SERVER_UNITIALIZED_TEXTprivate static final ComponentRealmsMainScreen.AvailableSnapshotEntry.START_SNAPSHOT_REALM(package private) static final ComponentRealmsMainScreen.SUBSCRIPTION_EXPIRED_TEXTprivate static final ComponentRealmsMainScreen.SUBSCRIPTION_RENEW_TEXTprivate final ComponentRealmsMainScreen.NotificationMessageEntry.textprivate static final ComponentRealmsMainScreen.TITLE(package private) static final ComponentRealmsMainScreen.TRIAL_EXPIRED_TEXT(package private) static final ComponentRealmsMainScreen.UNITIALIZED_WORLD_NARRATIONMethods in com.mojang.realmsclient that return ComponentModifier and TypeMethodDescriptionRealmsMainScreen.AvailableSnapshotEntry.getNarration()RealmsMainScreen.ButtonEntry.getNarration()RealmsMainScreen.EmptyEntry.getNarration()RealmsMainScreen.NotificationMessageEntry.getNarration()RealmsMainScreen.ParentEntry.getNarration()RealmsMainScreen.ServerEntry.getNarration()RealmsMainScreen.getNarrationMessage()static ComponentRealmsMainScreen.getVersionComponent(String p_307541_, boolean p_307256_) static ComponentRealmsMainScreen.getVersionComponent(String p_307429_, int p_307536_) Methods in com.mojang.realmsclient with parameters of type ComponentModifier and TypeMethodDescriptionprivate static voidRealmsMainScreen.confirmToPlay(RealmsServer p_305792_, Screen p_306263_, Component p_305782_, Component p_306311_, Component p_306238_) protected intRealmsMainScreen.Entry.versionTextX(int p_306042_, int p_306287_, Component p_305839_) Method parameters in com.mojang.realmsclient with type arguments of type ComponentModifier and TypeMethodDescriptionprivate voidRealmsMainScreen.Entry.drawRealmStatus(GuiGraphics p_306047_, int p_306257_, int p_306190_, int p_306269_, int p_306067_, ResourceLocation p_306301_, Supplier<Component> p_306129_) Constructors in com.mojang.realmsclient with parameters of type ComponentModifierConstructorDescriptionprotectedCrossButton(Button.OnPress p_275420_, Component p_275193_) NotificationButton(Component p_296209_, ResourceLocation p_295363_, Button.OnPress p_294154_) NotificationMessageEntry(Component p_275215_, int p_302495_, RealmsNotification p_275494_) -
Uses of Component in com.mojang.realmsclient.client
Fields in com.mojang.realmsclient.client declared as ComponentModifier and TypeFieldDescriptionstatic final ComponentRealmsError.NO_MESSAGEprivate final ComponentRealmsError.CustomError.payloadThe field for thepayloadrecord component.static final ComponentRealmsError.CustomError.RETRY_MESSAGEMethods in com.mojang.realmsclient.client that return ComponentModifier and TypeMethodDescriptionRealmsError.AuthenticationError.errorMessage()RealmsError.CustomError.errorMessage()RealmsError.errorMessage()RealmsError.ErrorWithJsonPayload.errorMessage()RealmsError.ErrorWithRawPayload.errorMessage()RealmsError.CustomError.payload()Returns the value of thepayloadrecord component.Constructors in com.mojang.realmsclient.client with parameters of type ComponentModifierConstructorDescriptionCustomError(int httpCode, Component payload) Creates an instance of aCustomErrorrecord class. -
Uses of Component in com.mojang.realmsclient.dto
Fields in com.mojang.realmsclient.dto declared as ComponentModifier and TypeFieldDescription(package private) static final ComponentRealmsNotification.BUTTON_TEXT_FALLBACKMethods in com.mojang.realmsclient.dto that return ComponentModifier and TypeMethodDescriptionRealmsText.createComponent()RealmsText.createComponent(Component p_275681_) RealmsNotification.VisitUrl.getMessage()Methods in com.mojang.realmsclient.dto with parameters of type Component -
Uses of Component in com.mojang.realmsclient.gui
Fields in com.mojang.realmsclient.gui declared as ComponentModifier and TypeFieldDescription(package private) static final ComponentRealmsWorldSlotButton.MINIGAMEprivate static final ComponentRealmsWorldSlotButton.SLOT_ACTIVE_TOOLTIPprivate static final ComponentRealmsWorldSlotButton.SWITCH_TO_MINIGAME_SLOT_TOOLTIPprivate static final ComponentRealmsWorldSlotButton.SWITCH_TO_WORLD_SLOT_TOOLTIP -
Uses of Component in com.mojang.realmsclient.gui.screens
Fields in com.mojang.realmsclient.gui.screens declared as ComponentModifier and TypeFieldDescription(package private) static final ComponentRealmsPendingInvitesScreen.ACCEPT_INVITEprivate static final ComponentRealmsResetWorldScreen.ADVENTURES_TITLEprivate final ComponentRealmsResetNormalWorldScreen.buttonTitleprivate static final ComponentAddRealmPopupScreen.CLOSE_TEXTprivate static final ComponentRealmsSelectFileToUploadScreen.COMMANDS_TEXTprivate static final ComponentRealmsResetWorldScreen.CREATE_REALM_SUBTITLEprivate static final ComponentRealmsCreateRealmScreen.CREATE_REALM_TEXTprivate static final ComponentRealmsResetWorldScreen.CREATE_REALM_TITLEstatic final ComponentRealmsResetWorldScreen.CREATE_WORLD_RESET_TASK_TITLEprivate static final ComponentRealmsResetWorldScreen.CREATE_WORLD_SUBTITLEprivate static final ComponentRealmsResetWorldScreen.CREATE_WORLD_TITLEprivate static final ComponentRealmsSubscriptionInfoScreen.DAYS_LEFT_LABELprivate ComponentRealmsSubscriptionInfoScreen.daysLeftprivate static final ComponentRealmsBackupInfoScreen.BackupInfoListEntry.DESCRIPTIONprivate static final ComponentRealmsCreateRealmScreen.DESCRIPTION_LABELprivate static final ComponentRealmsSettingsScreen.DESCRIPTION_LABELprivate final ComponentRealmsGenericErrorScreen.ErrorMessage.detailThe field for thedetailrecord component.private static final ComponentRealmsBackupScreen.DOWNLOAD_LATESTprivate final ComponentRealmsDownloadLatestWorldScreen.downloadTitleprivate static final ComponentRealmsBackupInfoScreen.BackupInfoListEntry.ENABLED_PACKprivate ComponentRealmsDownloadLatestWorldScreen.errorMessageprivate Component[]RealmsUploadScreen.errorMessageprivate static final ComponentRealmsResetWorldScreen.EXPERIENCES_TITLEprivate static final ComponentRealmsBackupInfoScreen.BackupInfoListEntry.GAME_DIFFICULTYprivate static final ComponentRealmsBackupInfoScreen.BackupInfoListEntry.GAME_MODEprivate static final ComponentRealmsBackupInfoScreen.BackupInfoListEntry.GAME_SERVER_VERSIONprivate static final ComponentRealmsSelectFileToUploadScreen.HARDCORE_TEXT(package private) static final ComponentRealmsBackupScreen.HAS_CHANGES_TOOLTIPprivate final ComponentRealmsSelectFileToUploadScreen.Entry.idprivate static final ComponentRealmsClientOutdatedScreen.INCOMPATIBLE_CLIENT_VERSIONprivate static final ComponentRealmsClientOutdatedScreen.INCOMPATIBLE_TITLEprivate final ComponentRealmsSelectFileToUploadScreen.Entry.infoprivate static final ComponentRealmsPopups.INFOprivate static final ComponentRealmsResetWorldScreen.INSPIRATION_TITLEprivate static final ComponentRealmsInviteScreen.INVITING_PLAYER_TEXTprivate final Component[]RealmsBrokenWorldScreen.messageprivate ComponentRealmsInviteScreen.messageprivate static final ComponentRealmsParentalConsentScreen.MESSAGEprivate static final ComponentRealmsBackupInfoScreen.BackupInfoListEntry.NAMEprivate static final ComponentRealmsCreateRealmScreen.NAME_LABELprivate static final ComponentRealmsInviteScreen.NAME_LABELprivate static final ComponentRealmsSettingsScreen.NAME_LABELprivate static final ComponentRealmsSlotOptionsScreen.NAME_LABELprivate static final ComponentRealmsBackupScreen.NO_BACKUPS_LABELprivate static final ComponentRealmsPendingInvitesScreen.NO_PENDING_INVITES_TEXTprivate static final ComponentRealmsInviteScreen.NO_SUCH_PLAYER_ERROR_TEXTprivate static final ComponentRealmsPlayerScreen.Entry.NORMAL_USER_TEXTprivate static final ComponentRealmsPlayerScreen.Entry.OP_TEXTprivate static final ComponentRealmsClientOutdatedScreen.OUTDATED_STABLE_VERSIONprivate static final ComponentAddRealmPopupScreen.POPUP_TEXTprivate static final ComponentRealmsSelectWorldTemplateScreen.PUBLISHER_BUTTON_NAMEprivate static final ComponentRealmsSelectWorldTemplateScreen.Entry.PUBLISHER_LINK_TOOLTIP(package private) static final ComponentRealmsPlayerScreen.QUESTION_TITLEprivate static final ComponentRealmsSubscriptionInfoScreen.RECURRING_INFO(package private) static final ComponentRealmsPendingInvitesScreen.REJECT_INVITEprivate static final ComponentRealmsPlayerScreen.Entry.REMOVE_TEXTprivate static final ComponentRealmsResetWorldScreen.RESET_WORLD_RESET_TASK_TITLEprivate static final ComponentRealmsResetWorldScreen.RESET_WORLD_SUBTITLEprivate static final ComponentRealmsResetWorldScreen.RESET_WORLD_TITLEprivate final ComponentRealmsResetWorldScreen.resetTaskTitle(package private) static final ComponentRealmsBackupScreen.RESTORE_TOOLTIPprivate static final ComponentRealmsBackupInfoScreen.BackupInfoListEntry.SEEDprivate static final ComponentRealmsResetNormalWorldScreen.SEED_LABELprivate static final ComponentRealmsSelectWorldTemplateScreen.SELECT_BUTTON_NAMEprivate static final ComponentRealmsConfigureWorldScreen.SERVER_CLOSED_TOOLTIPprivate static final ComponentRealmsConfigureWorldScreen.SERVER_EXPIRED_TOOLTIPprivate static final ComponentRealmsConfigureWorldScreen.SERVER_EXPIRING_IN_DAY_TOOLTIPprivate static final ComponentRealmsConfigureWorldScreen.SERVER_EXPIRING_SOON_TOOLTIPprivate static final ComponentRealmsConfigureWorldScreen.SERVER_OPEN_TOOLTIP(package private) static final ComponentRealmsSlotOptionsScreen.SPAWN_PROTECTION_TEXTprivate ComponentRealmsSubscriptionInfoScreen.startDateprivate ComponentRealmsDownloadLatestWorldScreen.statusprivate ComponentRealmsUploadScreen.statusprivate static final ComponentRealmsSubscriptionInfoScreen.SUBSCRIPTION_EXPIRED_TEXTprivate static final ComponentRealmsSubscriptionInfoScreen.SUBSCRIPTION_LESS_THAN_A_DAY_TEXTprivate static final ComponentRealmsSubscriptionInfoScreen.SUBSCRIPTION_START_LABELprivate static final ComponentRealmsSubscriptionInfoScreen.SUBSCRIPTION_TITLEprivate final ComponentRealmsResetWorldScreen.subtitleprivate static final ComponentRealmsBackupInfoScreen.BackupInfoListEntry.TEMPLATE_NAMEprivate static final ComponentRealmsTermsScreen.TERMS_LINK_TEXTprivate static final ComponentRealmsTermsScreen.TERMS_STATIC_TEXTprivate static final ComponentRealmsSubscriptionInfoScreen.TIME_LEFT_LABELprivate final ComponentRealmsGenericErrorScreen.ErrorMessage.titleThe field for thetitlerecord component.private ComponentRealmsLongRunningMcoTaskScreen.titleprivate static final ComponentRealmsBackupInfoScreen.TITLEprivate static final ComponentRealmsBackupScreen.TITLEprivate static final ComponentRealmsConfigureWorldScreen.TITLEprivate static final ComponentRealmsInviteScreen.TITLEprivate static final ComponentRealmsPlayerScreen.TITLEstatic final ComponentRealmsResetNormalWorldScreen.TITLEstatic final ComponentRealmsSelectFileToUploadScreen.TITLEprivate static final ComponentRealmsTermsScreen.TITLEprivate final ComponentRealmsConfirmScreen.title1private final ComponentRealmsConfirmScreen.title2private ComponentRealmsConfigureWorldScreen.toolTip(package private) ComponentRealmsPendingInvitesScreen.toolTipprivate static final ComponentRealmsSelectWorldTemplateScreen.TRAILER_BUTTON_NAMEprivate static final ComponentRealmsSelectWorldTemplateScreen.Entry.TRAILER_LINK_TOOLTIPprivate static final ComponentRealmsSelectFileToUploadScreen.UNABLE_TO_LOAD_WORLDprivate static final ComponentRealmsBackupInfoScreen.BackupInfoListEntry.UNDEFINEDprivate static final ComponentRealmsBackupInfoScreen.UNKNOWNprivate static final ComponentRealmsSubscriptionInfoScreen.UNKNOWNprivate static final ComponentRealmsClientOutdatedScreen.UNSUPPORTED_SNAPSHOT_VERSIONprivate static final ComponentRealmsBackupInfoScreen.BackupInfoListEntry.UPLOADEDprivate static final ComponentRealmsUploadScreen.VERIFYING_TEXTprivate Component[]RealmsSelectWorldTemplateScreen.warningprivate static final ComponentRealmsPopups.WARNINGprivate static final ComponentRealmsConfigureWorldScreen.WORLD_LIST_TITLEprivate static final ComponentRealmsResetWorldScreen.WORLD_TEMPLATES_TITLE(package private) static final ComponentRealmsSelectFileToUploadScreen.WORLD_TEXTprivate static final ComponentRealmsBackupInfoScreen.BackupInfoListEntry.WORLD_TYPEMethods in com.mojang.realmsclient.gui.screens that return ComponentModifier and TypeMethodDescription(package private) ComponentRealmsBackupInfoScreen.checkForSpecificMetadata(String p_88068_, String p_88069_) private ComponentRealmsDownloadLatestWorldScreen.createProgressNarrationMessage()private ComponentRealmsUploadScreen.createProgressNarrationMessage()private ComponentRealmsSubscriptionInfoScreen.daysLeftPresentation(int p_89984_) RealmsGenericErrorScreen.ErrorMessage.detail()Returns the value of thedetailrecord component.private ComponentRealmsBackupInfoScreen.gameDifficultyMetadata(String p_88074_) private ComponentRealmsBackupInfoScreen.gameModeMetadata(String p_88076_) (package private) static ComponentRealmsSelectFileToUploadScreen.gameModeName(LevelSummary p_89535_) private ComponentRealmsClientOutdatedScreen.getErrorMessage()RealmsBackupInfoScreen.BackupInfoListEntry.getNarration()RealmsPendingInvitesScreen.Entry.getNarration()RealmsSelectFileToUploadScreen.Entry.getNarration()RealmsSelectWorldTemplateScreen.Entry.getNarration()RealmsBrokenWorldScreen.getNarrationMessage()RealmsGenericErrorScreen.getNarrationMessage()RealmsParentalConsentScreen.getNarrationMessage()RealmsResetWorldScreen.getNarrationMessage()RealmsSelectFileToUploadScreen.getNarrationMessage()RealmsSelectWorldTemplateScreen.getNarrationMessage()RealmsSlotOptionsScreen.getNarrationMessage()RealmsSubscriptionInfoScreen.getNarrationMessage()RealmsTermsScreen.getNarrationMessage()private static ComponentRealmsSubscriptionInfoScreen.localPresentation(long p_182539_) RealmsGenericErrorScreen.ErrorMessage.title()Returns the value of thetitlerecord component.private ComponentRealmsBackupInfoScreen.BackupInfoListEntry.translateKey(String p_287652_) Methods in com.mojang.realmsclient.gui.screens with parameters of type ComponentModifier and TypeMethodDescriptionprivate CycleButton.OnValueChange<Boolean> RealmsSlotOptionsScreen.confirmDangerousOption(Component p_231324_, Consumer<Boolean> p_231325_) private static RealmsGenericErrorScreen.ErrorMessageRealmsGenericErrorScreen.errorMessage(Component p_289003_) private static RealmsGenericErrorScreen.ErrorMessageRealmsGenericErrorScreen.errorMessage(Component p_289010_, Component p_289015_) static PopupScreenRealmsPopups.infoPopupScreen(Screen p_345107_, Component p_344859_, Consumer<PopupScreen> p_345991_) private voidRealmsUploadScreen.setErrorMessage(Component... p_90113_) voidvoidRealmsSelectWorldTemplateScreen.setWarning(Component... p_89683_) private voidRealmsInviteScreen.showMessage(Component p_289685_) static PopupScreenRealmsPopups.warningAcknowledgePopupScreen(Screen p_345088_, Component p_344868_, Consumer<PopupScreen> p_344792_) static PopupScreenRealmsPopups.warningPopupScreen(Screen p_345623_, Component p_346338_, Consumer<PopupScreen> p_345246_) Method parameters in com.mojang.realmsclient.gui.screens with type arguments of type ComponentModifier and TypeMethodDescriptionprivate voidRealmsConfigureWorldScreen.drawRealmStatus(GuiGraphics p_299311_, int p_298280_, int p_298913_, int p_299030_, int p_299045_, ResourceLocation p_299141_, Supplier<Component> p_298702_) Constructors in com.mojang.realmsclient.gui.screens with parameters of type ComponentModifierConstructorDescription(package private)ErrorMessage(Component title, Component detail) Creates an instance of aErrorMessagerecord class.(package private)FrameButton(Font p_335556_, 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_) RealmsPendingInvitesScreen(Screen p_279260_, Component p_279122_) RealmsResetNormalWorldScreen(Consumer<WorldGenerationInfo> p_167438_, Component p_167439_) RealmsResetWorldScreen(Screen p_306282_, RealmsServer p_306292_, int p_305906_, Component p_306014_, Component p_306028_, int p_306044_, Component p_306316_, RealmCreationTask p_320691_, Runnable p_306029_) privateRealmsResetWorldScreen(Screen p_89329_, RealmsServer p_89330_, int p_300857_, Component p_301121_, Component p_300859_, int p_300978_, Component p_300942_, Runnable p_89331_) 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
Fields in com.mojang.realmsclient.util declared as ComponentModifier and TypeFieldDescriptionprivate final ComponentLevelType.nameprivate static final ComponentRealmsUtil.RIGHT_NOWMethods in com.mojang.realmsclient.util that return ComponentModifier and TypeMethodDescriptionstatic ComponentRealmsUtil.convertToAgePresentation(long p_287679_) static ComponentRealmsUtil.convertToAgePresentationFromInstant(Date p_287698_) LevelType.getName() -
Uses of Component in com.mojang.realmsclient.util.task
Fields in com.mojang.realmsclient.util.task declared as ComponentModifier and TypeFieldDescriptionprivate static final ComponentGetServerDetailsTask.APPLYING_PACK_TEXTprivate final ComponentResettingWorldTask.titleprivate static final ComponentCloseServerTask.TITLEprivate static final ComponentConnectTask.TITLEprivate static final ComponentCreateSnapshotRealmTask.TITLEprivate static final ComponentDownloadTask.TITLEprivate static final ComponentGetServerDetailsTask.TITLEprivate static final ComponentOpenServerTask.TITLEprivate static final ComponentRealmCreationTask.TITLEprivate static final ComponentRestoreTask.TITLEprivate static final ComponentSwitchMinigameTask.TITLEprivate static final ComponentSwitchSlotTask.TITLEMethods in com.mojang.realmsclient.util.task that return ComponentModifier and TypeMethodDescriptionCloseServerTask.getTitle()ConnectTask.getTitle()CreateSnapshotRealmTask.getTitle()DownloadTask.getTitle()GetServerDetailsTask.getTitle()abstract ComponentLongRunningTask.getTitle()OpenServerTask.getTitle()RealmCreationTask.getTitle()ResettingWorldTask.getTitle()RestoreTask.getTitle()SwitchMinigameTask.getTitle()SwitchSlotTask.getTitle()Methods in com.mojang.realmsclient.util.task with parameters of type ComponentConstructors in com.mojang.realmsclient.util.task with parameters of type ComponentModifierConstructorDescriptionResettingGeneratedWorldTask(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
Fields in net.minecraft.advancements declared as ComponentModifier and TypeFieldDescriptionprivate final ComponentDisplayInfo.descriptionprivate final ComponentAdvancementType.displayNameprivate final ComponentDisplayInfo.titleFields in net.minecraft.advancements with type parameters of type ComponentMethods in net.minecraft.advancements that return ComponentModifier and TypeMethodDescriptionprivate static ComponentAdvancement.decorateName(DisplayInfo p_301019_) DisplayInfo.getDescription()AdvancementType.getDisplayName()AdvancementProgress.getProgressText()DisplayInfo.getTitle()static ComponentAdvancement.name(AdvancementHolder p_300875_) Methods in net.minecraft.advancements that return types with arguments of type ComponentModifier and TypeMethodDescriptionAdvancement.name()Returns the value of thenamerecord component.Methods in net.minecraft.advancements with parameters of type ComponentModifier and TypeMethodDescriptionAdvancement.Builder.display(ItemStack p_312724_, Component p_138373_, Component p_138374_, ResourceLocation p_138375_, AdvancementType p_312711_, boolean p_138377_, boolean p_138378_, boolean p_138379_) Advancement.Builder.display(ItemLike p_311787_, Component p_138364_, Component p_138365_, ResourceLocation p_138366_, AdvancementType p_312847_, boolean p_138368_, boolean p_138369_, boolean p_138370_) Constructors in net.minecraft.advancements with parameters of type ComponentModifierConstructorDescriptionDisplayInfo(ItemStack p_14969_, Component p_14970_, Component p_14971_, Optional<ResourceLocation> p_312452_, AdvancementType p_312497_, boolean p_14974_, boolean p_14975_, boolean p_14976_) -
Uses of Component in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon declared as ComponentModifier and TypeFieldDescriptionprivate final ComponentItemWrittenBookPredicate.PagePredicate.contentsThe field for thecontentsrecord component.Fields in net.minecraft.advancements.critereon with type parameters of type ComponentModifier and TypeFieldDescriptionprivate final Optional<CollectionPredicate<Filterable<Component>, ItemWrittenBookPredicate.PagePredicate>> ItemWrittenBookPredicate.pagesThe field for thepagesrecord component.Methods in net.minecraft.advancements.critereon that return ComponentModifier and TypeMethodDescriptionItemWrittenBookPredicate.PagePredicate.contents()Returns the value of thecontentsrecord component.Methods in net.minecraft.advancements.critereon that return types with arguments of type ComponentModifier and TypeMethodDescriptionItemWrittenBookPredicate.pages()Returns the value of thepagesrecord component.Method parameters in net.minecraft.advancements.critereon with type arguments of type ComponentModifier and TypeMethodDescriptionbooleanItemWrittenBookPredicate.PagePredicate.test(Filterable<Component> p_340820_) Constructors in net.minecraft.advancements.critereon with parameters of type ComponentModifierConstructorDescriptionPagePredicate(Component contents) Creates an instance of aPagePredicaterecord class.Constructor parameters in net.minecraft.advancements.critereon with type arguments of type ComponentModifierConstructorDescriptionItemWrittenBookPredicate(Optional<CollectionPredicate<Filterable<Component>, ItemWrittenBookPredicate.PagePredicate>> pages, Optional<String> author, Optional<String> title, MinMaxBounds.Ints generation, Optional<Boolean> resolved) Creates an instance of aItemWrittenBookPredicaterecord class. -
Uses of Component in net.minecraft.client
Fields in net.minecraft.client declared as ComponentModifier and TypeFieldDescriptionprivate static final Componentprivate static final Componentprivate static final Componentprivate static final Componentprivate static final ComponentOptions.ACCESSIBILITY_TOOLTIP_FOV_EFFECTprivate static final Componentprivate static final Componentprivate static final Componentprivate static final Componentprivate static final Componentprivate static final Componentprivate static final ComponentOptions.ALLOW_SERVER_LISTING_TOOLTIP(package private) final ComponentOptionInstance.captionprivate static final ComponentGuiMessageTag.CHAT_ERROR_TEXTprivate static final ComponentGuiMessageTag.CHAT_MODIFIED_TEXTprivate static final ComponentGuiMessageTag.CHAT_NOT_SECURE_TEXTprivate static final ComponentOptions.CHAT_TOOLTIP_HIDE_MATCHED_NAMESprivate static final ComponentOptions.CHAT_TOOLTIP_ONLY_SHOW_SECUREprivate final ComponentGuiMessage.contentThe field for thecontentrecord component.private static final ComponentOptions.DIRECTIONAL_AUDIO_TOOLTIP_OFFprivate static final ComponentOptions.DIRECTIONAL_AUDIO_TOOLTIP_ONprivate static final ComponentOptions.GRAPHICS_TOOLTIP_FABULOUSprivate static final ComponentOptions.GRAPHICS_TOOLTIP_FANCYprivate static final ComponentOptions.GRAPHICS_TOOLTIP_FAST(package private) static final ComponentMinecraft.ChatStatus.INFO_DISABLED_BY_PROFILEprivate static final Componentprivate final ComponentMinecraft.ChatStatus.messageprivate static final ComponentOptions.MOVEMENT_HOLDprivate static final ComponentOptions.MOVEMENT_TOGGLEprivate final ComponentNarratorStatus.namestatic final ComponentGameNarrator.NO_TITLEprivate static final ComponentOptions.PRIORITIZE_CHUNK_TOOLTIP_NEARBYprivate static final ComponentOptions.PRIORITIZE_CHUNK_TOOLTIP_NONEprivate static final Componentprivate static final ComponentOptions.REALMS_NOTIFICATIONS_TOOLTIPprivate static final ComponentMinecraft.SOCIAL_INTERACTIONS_NOT_AVAILABLEprivate static final ComponentGuiMessageTag.SYSTEM_TEXTprivate static final ComponentGuiMessageTag.SYSTEM_TEXT_SINGLE_PLAYERprivate static final ComponentOptions.TELEMETRY_TOOLTIPprivate final ComponentGuiMessageTag.textThe field for thetextrecord component.Fields in net.minecraft.client with type parameters of type ComponentMethods in net.minecraft.client that return ComponentModifier and TypeMethodDescriptionGuiMessage.content()Returns the value of thecontentrecord component.static ComponentOptions.genericValueLabel(Component p_231901_, int p_231902_) static ComponentOptions.genericValueLabel(Component p_231922_, Component p_231923_) static ComponentOptions.genericValueOrOffLabel(Component p_348615_, int p_348682_) Minecraft.ChatStatus.getMessage()NarratorStatus.getName()KeyMapping.getTranslatedKeyMessage()private ComponentMinecraft.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_) private static ComponentOptions.percentValueLabel(Component p_231898_, double p_231899_) private static ComponentOptions.percentValueOrOffLabel(Component p_341700_, double p_341691_) private static ComponentOptions.pixelValueLabel(Component p_231953_, int p_231954_) GuiMessageTag.text()Returns the value of thetextrecord component.Methods in net.minecraft.client that return types with arguments of type ComponentMethods in net.minecraft.client with parameters of type ComponentModifier and TypeMethodDescriptionprivate voidMinecraft.addResourcePackLoadFailToast(Component p_273566_) static <T> OptionInstance.TooltipSupplier<T> OptionInstance.cachedConstantTooltip(Component p_231536_) voidMinecraft.clearResourcePacksOnError(Throwable p_91242_, Component p_91243_, Minecraft.GameLoadCookie p_299892_) private voidKeyboardHandler.debugComponent(ChatFormatting p_167825_, Component p_167826_) private voidKeyboardHandler.debugFeedbackComponent(Component p_167823_) static ComponentOptions.genericValueLabel(Component p_231901_, int p_231902_) static ComponentOptions.genericValueLabel(Component p_231922_, Component p_231923_) static ComponentOptions.genericValueOrOffLabel(Component p_348615_, int p_348682_) private static ComponentOptions.percentValueLabel(Component p_231898_, double p_231899_) private static ComponentOptions.percentValueOrOffLabel(Component p_341700_, double p_341691_) private static ComponentOptions.pixelValueLabel(Component p_231953_, int p_231954_) voidvoidvoidMethod parameters in net.minecraft.client with type arguments of type ComponentModifier and TypeMethodDescriptionprivate static voidScreenshot._grab(File p_92306_, String p_92307_, RenderTarget p_92310_, Consumer<Component> p_92311_) booleanMinecraft.debugClientMetricsStart(Consumer<Component> p_167947_) static voidScreenshot.grab(File p_92290_, RenderTarget p_92293_, Consumer<Component> p_92294_) static voidScreenshot.grab(File p_92296_, String p_92297_, RenderTarget p_92300_, Consumer<Component> p_92301_) Constructors in net.minecraft.client with parameters of type ComponentModifierConstructorDescriptionprivateChatStatus(Component p_168033_) GuiMessage(int addedTime, Component content, MessageSignature signature, GuiMessageTag tag) Creates an instance of aGuiMessagerecord class.GuiMessageTag(int indicatorColor, GuiMessageTag.Icon icon, Component text, String logTag) Creates an instance of aGuiMessageTagrecord class. -
Uses of Component in net.minecraft.client.gui
Fields in net.minecraft.client.gui declared as ComponentModifier and TypeFieldDescriptionprivate static final Componentprivate Componentprivate static final ComponentGui.SAVING_TEXTprivate ComponentGui.subtitleprivate ComponentGui.titleMethods in net.minecraft.client.gui with parameters of type ComponentModifier and TypeMethodDescriptionvoidGuiGraphics.drawCenteredString(Font p_282901_, Component p_282456_, int p_283083_, int p_282276_, int p_281457_) intFont.drawInBatch(Component p_273032_, float p_273249_, float p_273594_, int p_273714_, boolean p_273050_, org.joml.Matrix4f p_272974_, MultiBufferSource p_273695_, Font.DisplayMode p_272782_, int p_272603_, int p_273632_) intGuiGraphics.drawString(Font p_281653_, Component p_283140_, int p_283102_, int p_282347_, int p_281429_) intGuiGraphics.drawString(Font p_281547_, Component p_282131_, int p_282857_, int p_281250_, int p_282195_, boolean p_282791_) intGuiGraphics.drawStringWithBackdrop(Font p_348650_, Component p_348614_, int p_348465_, int p_348495_, int p_348581_, int p_348666_) voidGuiGraphics.renderTooltip(Font p_282269_, Component p_282572_, int p_282044_, int p_282545_) voidGui.setNowPlaying(Component p_93056_) voidGui.setOverlayMessage(Component p_93064_, boolean p_93065_) voidGui.setSubtitle(Component p_168712_) voidMethod parameters in net.minecraft.client.gui with type arguments of type ComponentModifier and TypeMethodDescriptionvoidGuiGraphics.renderComponentTooltip(Font p_282739_, List<Component> p_281832_, int p_282191_, int p_282446_) voidGuiGraphics.renderTooltip(Font p_283128_, List<Component> p_282716_, Optional<TooltipComponent> p_281682_, int p_283678_, int p_281696_) voidGuiGraphics.renderTooltip(Font font, List<Component> textComponents, Optional<TooltipComponent> tooltipComponent, ItemStack stack, int mouseX, int mouseY) -
Uses of Component in net.minecraft.client.gui.components
Fields in net.minecraft.client.gui.components declared as ComponentModifier and TypeFieldDescriptionprivate static final ComponentChatComponent.DELETED_CHAT_MESSAGEprivate ComponentPlayerTabOverlay.footerprivate final ComponentPlayerTabOverlay.ScoreDisplayEntry.formattedScoreThe field for theformattedScorerecord component.private ComponentPlayerTabOverlay.headerprivate ComponentEditBox.hintprivate ComponentAbstractWidget.messageprivate final ComponentButton.Builder.messageprivate final ComponentCheckbox.Builder.messageprivate final ComponentMultiLineTextWidget.CacheKey.messageThe field for themessagerecord component.private final ComponentPlainTextButton.messageprivate ComponentPopupScreen.Builder.messageprivate final ComponentPopupScreen.ButtonOption.messageThe field for themessagerecord component.private final ComponentPopupScreen.messageprivate final ComponentSpriteIconButton.Builder.messageprivate final ComponentTooltip.messageprivate final ComponentCycleButton.nameprivate final ComponentPlayerTabOverlay.ScoreDisplayEntry.nameThe field for thenamerecord component.private final ComponentTooltip.narrationprivate final ComponentMultiLineEditBox.placeholderprivate final ComponentSubtitleOverlay.Subtitle.textprivate final ComponentPopupScreen.Builder.titleprivate final ComponentPlainTextButton.underlinedMessageprivate static final ComponentObjectSelectionList.USAGE_NARRATIONFields in net.minecraft.client.gui.components with type parameters of type ComponentModifier and TypeFieldDescriptionCycleButton.Builder.valueStringifierCycleButton.valueStringifierMethods in net.minecraft.client.gui.components that return ComponentModifier and TypeMethodDescriptionprivate ComponentCycleButton.createLabelForValue(T p_168911_) private ComponentPlayerTabOverlay.decorateName(PlayerInfo p_94552_, MutableComponent p_94553_) PlayerTabOverlay.ScoreDisplayEntry.formattedScore()Returns the value of theformattedScorerecord component.AbstractWidget.getMessage()PlayerTabOverlay.getNameForDisplay(PlayerInfo p_94550_) abstract ComponentObjectSelectionList.Entry.getNarration()CommandSuggestions.getNarrationMessage()(package private) ComponentCommandSuggestions.SuggestionsList.getNarrationMessage()PopupScreen.getNarrationMessage()SubtitleOverlay.Subtitle.getText()CommandSuggestions.getUsageNarration()MultiLineTextWidget.CacheKey.message()Returns the value of themessagerecord component.PopupScreen.ButtonOption.message()Returns the value of themessagerecord component.PlayerTabOverlay.ScoreDisplayEntry.name()Returns the value of thenamerecord component.Methods in net.minecraft.client.gui.components with parameters of type ComponentModifier and TypeMethodDescriptionPopupScreen.Builder.addButton(Component p_304733_, Consumer<PopupScreen> p_304537_) voidChatComponent.addMessage(Component p_93786_) voidChatComponent.addMessage(Component p_241484_, MessageSignature p_241323_, GuiMessageTag p_241297_) static CycleButton.Builder<Boolean> CycleButton.booleanBuilder(Component p_168897_, Component p_168898_) static Button.BuilderButton.builder(Component p_254439_, Button.OnPress p_254567_) static Checkbox.Builderstatic SpriteIconButton.BuilderSpriteIconButton.builder(Component p_294639_, Button.OnPress p_295155_, boolean p_295622_) private FormattedCharSequenceCycleButton.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_) CycleButton.Builder.create(Component p_332061_, CycleButton.OnValueChange<T> p_332055_) static MultiLineLabelstatic MultiLineLabelstatic MultiLineLabelstatic MultiLineLabelstatic Tooltipstatic Tooltipprivate intCheckbox.getAdjustedWidth(int p_352963_, Component p_352934_, Font p_352953_) (package private) static intCheckbox.getDefaultWidth(Component p_352957_, Font p_352937_) static voidAbstractWidget.renderScrollingString(GuiGraphics p_281620_, Font p_282651_, Component p_281467_, int p_283621_, int p_282084_, int p_283398_, int p_281938_, int p_283471_) static voidAbstractWidget.renderScrollingString(GuiGraphics p_296355_, Font p_295317_, Component p_294875_, int p_294289_, int p_295475_, int p_294243_, int p_296428_, int p_294696_, int p_295687_) voidvoidvoidvoidAbstractWidget.setMessage(Component p_93667_) PopupScreen.Builder.setMessage(Component p_304550_) static List<FormattedCharSequence> Tooltip.splitTooltip(Minecraft p_259133_, Component p_260172_) static MutableComponentAbstractWidget.wrapDefaultNarrationMessage(Component p_168800_) Method parameters in net.minecraft.client.gui.components with type arguments of type ComponentConstructors in net.minecraft.client.gui.components with parameters of type ComponentModifierConstructorDescriptionAbstractButton(int p_93365_, int p_93366_, int p_93367_, int p_93368_, Component p_93369_) AbstractContainerWidget(int p_313730_, int p_313819_, int p_313847_, int p_313718_, Component p_313894_) AbstractScrollWidget(int p_240025_, int p_240026_, int p_240027_, int p_240028_, Component p_240029_) AbstractSliderButton(int p_93579_, int p_93580_, int p_93581_, int p_93582_, Component p_93583_, double p_93584_) AbstractStringWidget(int p_270910_, int p_270297_, int p_270088_, int p_270842_, Component p_270063_, Font p_270327_) AbstractWidget(int p_93629_, int p_93630_, int p_93631_, int p_93632_, Component p_93633_) Builder(Component p_254097_, Button.OnPress p_253761_) (package private)Builder(Component p_294568_, Button.OnPress p_294520_, boolean p_294559_) protectedButton(int p_259075_, int p_259271_, int p_260232_, int p_260028_, Component p_259351_, Button.OnPress p_260152_, Button.CreateNarration p_259552_) (package private)ButtonOption(Component message, Consumer<PopupScreen> action) Creates an instance of aButtonOptionrecord class.(package private)CacheKey(Component message, int maxWidth, OptionalInt maxRows) Creates an instance of aCacheKeyrecord class.protectedCenteredIcon(int p_295914_, int p_294852_, Component p_295609_, int p_294922_, int p_296462_, ResourceLocation p_295554_, Button.OnPress p_294427_, Button.CreateNarration p_330653_) (package private)Checkbox(int p_93826_, int p_93827_, int p_352958_, Component p_93830_, Font p_309061_, boolean p_93831_, Checkbox.OnValueChange p_309172_) (package private)CycleButton(int p_232484_, int p_232485_, int p_232486_, int p_232487_, Component p_232488_, Component p_232489_, int p_232490_, T p_232491_, CycleButton.ValueListSupplier<T> p_232492_, Function<T, Component> p_232493_, Function<CycleButton<T>, MutableComponent> p_232494_, CycleButton.OnValueChange<T> p_232495_, OptionInstance.TooltipSupplier<T> p_232496_, boolean p_232497_) EditBox(Font p_94106_, int p_94107_, int p_94108_, int p_94109_, int p_94110_, EditBox p_94111_, Component p_94112_) FittingMultiLineTextWidget(int p_289785_, int p_289777_, int p_289760_, int p_289801_, Component p_289788_, Font p_289781_) FocusableTextWidget(int p_295441_, Component p_296440_, Font p_296307_) FocusableTextWidget(int p_331308_, Component p_330271_, Font p_330898_, boolean p_332016_, int p_331228_) FocusableTextWidget(int p_295671_, Component p_295867_, Font p_294548_, int p_330770_) ImageButton(int p_169011_, int p_169012_, int p_169013_, int p_169014_, WidgetSprites p_294960_, Button.OnPress p_169018_, Component p_294919_) ImageButton(int p_94269_, int p_94270_, WidgetSprites p_295749_, Button.OnPress p_94277_, Component p_294787_) 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_) LoadingDotsWidget(Font p_295952_, Component p_295297_) MultiLineEditBox(Font p_239008_, int p_239009_, int p_239010_, int p_239011_, int p_239012_, Component p_239013_, Component p_239014_) MultiLineTextWidget(int p_270325_, int p_270355_, Component p_270069_, Font p_270673_) MultiLineTextWidget(Component p_270532_, Font p_270639_) PlainTextButton(int p_211755_, int p_211756_, int p_211757_, int p_211758_, Component p_211759_, Button.OnPress p_211760_, Font p_211761_) (package private)PopupScreen(Screen p_304589_, int p_304486_, ResourceLocation p_304853_, Component p_304839_, Component p_304571_, List<PopupScreen.ButtonOption> p_304767_, Runnable p_304826_) (package private)ScoreDisplayEntry(Component name, int score, Component formattedScore, int scoreWidth) Creates an instance of aScoreDisplayEntryrecord class.(package private)SpriteIconButton(int p_294218_, int p_294461_, Component p_294760_, int p_296342_, int p_296291_, ResourceLocation p_294131_, Button.OnPress p_295667_, Button.CreateNarration p_332100_) StringWidget(int p_268199_, int p_268137_, int p_268178_, int p_268169_, Component p_268285_, Font p_268047_) StringWidget(int p_268183_, int p_268082_, Component p_268069_, Font p_268121_) StringWidget(Component p_268211_, Font p_267963_) protectedTextAndIcon(int p_296442_, int p_294340_, Component p_296265_, int p_294900_, int p_295900_, ResourceLocation p_296097_, Button.OnPress p_295566_, Button.CreateNarration p_330735_) privateConstructor parameters in net.minecraft.client.gui.components with type arguments of type ComponentModifierConstructorDescription(package private)CycleButton(int p_232484_, int p_232485_, int p_232486_, int p_232487_, Component p_232488_, Component p_232489_, int p_232490_, T p_232491_, CycleButton.ValueListSupplier<T> p_232492_, Function<T, Component> p_232493_, Function<CycleButton<T>, MutableComponent> p_232494_, CycleButton.OnValueChange<T> p_232495_, OptionInstance.TooltipSupplier<T> p_232496_, boolean p_232497_) -
Uses of Component in net.minecraft.client.gui.components.tabs
Fields in net.minecraft.client.gui.components.tabs declared as ComponentModifier and TypeFieldDescriptionprivate final ComponentGridLayoutTab.titleprivate static final ComponentTabNavigationBar.USAGE_NARRATIONMethods in net.minecraft.client.gui.components.tabs that return ComponentConstructors in net.minecraft.client.gui.components.tabs with parameters of type Component -
Uses of Component in net.minecraft.client.gui.components.toasts
Fields in net.minecraft.client.gui.components.toasts declared as ComponentModifier and TypeFieldDescriptionprivate static final ComponentRecipeToast.DESCRIPTION_TEXTprivate final ComponentTutorialToast.messageprivate ComponentSystemToast.titleprivate final ComponentTutorialToast.titleprivate static final ComponentRecipeToast.TITLE_TEXTMethods in net.minecraft.client.gui.components.toasts with parameters of type ComponentModifier and TypeMethodDescriptionstatic voidSystemToast.add(ToastComponent p_94856_, SystemToast.SystemToastId p_314591_, Component p_94858_, Component p_94859_) static voidSystemToast.addOrUpdate(ToastComponent p_94870_, SystemToast.SystemToastId p_314579_, Component p_94872_, Component p_94873_) static SystemToastSystemToast.multiline(Minecraft p_94848_, SystemToast.SystemToastId p_314435_, Component p_94850_, Component p_94851_) private static com.google.common.collect.ImmutableList<FormattedCharSequence> SystemToast.nullToEmpty(Component p_94861_) voidConstructors in net.minecraft.client.gui.components.toasts with parameters of type ComponentModifierConstructorDescriptionprivateSystemToast(SystemToast.SystemToastId p_314467_, Component p_94828_, List<FormattedCharSequence> p_94829_, int p_94830_) SystemToast(SystemToast.SystemToastId p_314596_, 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.layouts
Methods in net.minecraft.client.gui.layouts with parameters of type ComponentModifier and TypeMethodDescriptionvoidHeaderAndFooterLayout.addTitleHeader(Component p_330525_, Font p_330590_) static LayoutCommonLayouts.labeledElement(Font p_300005_, LayoutElement p_299827_, Component p_299870_) static LayoutCommonLayouts.labeledElement(Font p_300013_, LayoutElement p_299865_, Component p_300008_, Consumer<LayoutSettings> p_299888_) -
Uses of Component in net.minecraft.client.gui.narration
Methods in net.minecraft.client.gui.narration with parameters of type ComponentModifier and TypeMethodDescriptiondefault voidNarrationElementOutput.add(NarratedElementType p_169147_, Component p_169148_) default voidNarrationElementOutput.add(NarratedElementType p_169150_, Component... p_169151_) static NarrationThunk<?> Method parameters in net.minecraft.client.gui.narration with type arguments of type Component -
Uses of Component in net.minecraft.client.gui.screens
Fields in net.minecraft.client.gui.screens declared as ComponentModifier and TypeFieldDescriptionstatic final ComponentConnectScreen.ABORT_CONNECTIONprivate static final ComponentPauseScreen.ADVANCEMENTSprivate static final ComponentShareToLanScreen.ALLOW_COMMANDS_LABELprivate static final ComponentCreditsAndAttributionScreen.ATTRIBUTION_BUTTONprivate static final ComponentCreateBuffetWorldScreen.BIOME_SELECT_INFOprivate static final ComponentRecoverWorldDataScreen.BUGTRACKER_BUTTONprivate final ComponentGenericWaitingScreen.buttonLabelprivate final ComponentDisconnectedScreen.buttonTextprivate final ComponentDeathScreen.causeOfDeathprivate ComponentCreateFlatWorldScreen.columnHeightprivate ComponentCreateFlatWorldScreen.columnType(package private) final ComponentConnectScreen.connectFailedTitleprivate static final ComponentConfirmLinkScreen.COPY_BUTTON_TEXTprivate static final ComponentTitleScreen.COPYRIGHT_TEXTprivate static final ComponentCreditsAndAttributionScreen.CREDITS_BUTTONprivate ComponentDeathScreen.deathScoreprivate final ComponentBackupConfirmScreen.descriptionprivate static final ComponentRecoverWorldDataScreen.DONE_FAILEDprivate static final ComponentRecoverWorldDataScreen.DONE_SUCCESSprivate static final ComponentRecoverWorldDataScreen.DONE_TITLEprivate static final ComponentReceivingLevelScreen.DOWNLOADING_TERRAIN_TEXTprivate static final ComponentDirectJoinServerScreen.ENTER_IP_LABELprivate static final ComponentPauseScreen.FEEDBACK_SUBSCREENprivate static final ComponentPauseScreen.GAMEprivate static final ComponentShareToLanScreen.GAME_MODE_LABELprivate ComponentProgressScreen.headerprivate static final ComponentShareToLanScreen.INFO_TEXTprivate static final ComponentShareToLanScreen.INVALID_PORTprivate static final ComponentEditServerScreen.IP_LABELprivate static final ComponentCreditsAndAttributionScreen.LICENSES_BUTTONprivate ComponentPresetFlatWorldScreen.listTextprivate final ComponentConfirmScreen.messageprivate final ComponentErrorScreen.messageprivate final ComponentNoticeWithLinkScreen.messageprivate final ComponentRecoverWorldDataScreen.messageprivate static final ComponentOutOfMemoryScreen.MESSAGEprivate final ComponentAlertScreen.messageTextprivate final ComponentGenericWaitingScreen.messageTextprivate static final ComponentRecoverWorldDataScreen.MISSING_FILE(package private) final ComponentCreateBuffetWorldScreen.BiomeList.Entry.nameprivate final ComponentPresetFlatWorldScreen.PresetsList.Entry.namestatic final ComponentBanNoticeScreens.NAME_BAN_TITLEprivate static final ComponentEditServerScreen.NAME_LABELprivate static final ComponentRecoverWorldDataScreen.NO_FALLBACK_TOOLTIPprivate static final ComponentRecoverWorldDataScreen.NO_ISSUESprotected ComponentConfirmScreen.noButtonprivate final ComponentAlertScreen.okButtonprivate static final ComponentAccessibilityOnboardingScreen.ONBOARDING_NARRATOR_MESSAGEprivate static final ComponentDisconnectedScreen.OPEN_REPORT_DIR_TITLEprivate static final ComponentPauseScreen.OPTIONSprivate static final ComponentPauseScreen.PAUSEDprivate static final ComponentBanNoticeScreens.PERMANENT_BAN_TITLEprivate static final ComponentPauseScreen.PLAYER_REPORTINGprivate static final ComponentShareToLanScreen.PORT_INFO_TEXTprivate static final ComponentShareToLanScreen.PORT_UNAVAILABLEprivate static final ComponentPauseScreen.REPORT_BUGSprivate static final ComponentDisconnectedScreen.REPORT_TO_SERVER_TITLEprivate static final ComponentRecoverWorldDataScreen.RESTORE_BUTTONprivate static final ComponentPauseScreen.RETURN_TO_GAMEprivate static final ComponentPauseScreen.RETURN_TO_MENUprivate static final ComponentPauseScreen.SAVING_LEVELprivate static final ComponentWinScreen.SECTION_HEADINGprivate static final ComponentPauseScreen.SEND_FEEDBACKprivate static final ComponentPauseScreen.SERVER_LINKSprivate static final ComponentPauseScreen.SHARE_TO_LANprivate ComponentPresetFlatWorldScreen.shareTextprivate static final ComponentBanNoticeScreens.SKIN_BAN_DESCRIPTIONprivate static final ComponentBanNoticeScreens.SKIN_BAN_TITLEprivate ComponentProgressScreen.stageprivate static final ComponentPauseScreen.STATSprivate ComponentConnectScreen.statusprivate static final ComponentNoticeWithLinkScreen.SYMLINK_PACK_MESSAGE_TEXTprivate static final ComponentNoticeWithLinkScreen.SYMLINK_PACK_TITLEprivate static final ComponentNoticeWithLinkScreen.SYMLINK_WORLD_MESSAGE_TEXTprivate static final ComponentNoticeWithLinkScreen.SYMLINK_WORLD_TITLEprivate static final ComponentBanNoticeScreens.TEMPORARY_BAN_TITLEprotected final ComponentScreen.titleprivate static final ComponentAccessibilityOnboardingScreen.TITLEprivate static final ComponentCreditsAndAttributionScreen.TITLEprivate static final ComponentOutOfMemoryScreen.TITLEprivate static final ComponentPauseScreen.FeedbackSubScreen.TITLEprivate static final ComponentRecoverWorldDataScreen.TITLEprivate static final ComponentTitleScreen.TITLEprivate static final ComponentDisconnectedScreen.TO_SERVER_LISTprivate static final ComponentDisconnectedScreen.TO_TITLEstatic final ComponentConnectScreen.UNKNOWN_HOST_MESSAGEstatic final ComponentPresetFlatWorldScreen.UNKNOWN_PRESETprivate static final ComponentScreen.USAGE_NARRATIONprivate static final ComponentChatScreen.USAGE_TEXTprivate static final ComponentConfirmLinkScreen.WARNING_TEXTprotected ComponentConfirmScreen.yesButtonMethods in net.minecraft.client.gui.screens that return ComponentModifier and TypeMethodDescriptionprivate ComponentRecoverWorldDataScreen.buildInfo(LevelStorageSource.LevelStorageAccess p_307659_, boolean p_307410_, Exception p_307637_) private static ComponentBanNoticeScreens.getBanDurationText(com.mojang.authlib.minecraft.BanDetails p_299833_) private static ComponentBanNoticeScreens.getBannedScreenText(com.mojang.authlib.minecraft.BanDetails p_299924_) private static ComponentBanNoticeScreens.getBannedTitle(com.mojang.authlib.minecraft.BanDetails p_299957_) private static ComponentBanNoticeScreens.getBanReasonText(com.mojang.authlib.minecraft.BanDetails p_299989_) private static ComponentBanNoticeScreens.getBanStatusText(com.mojang.authlib.minecraft.BanDetails p_299862_) private ComponentLevelLoadingScreen.getFormattedProgress()private ComponentTitleScreen.getMultiplayerDisabledReason()CreateBuffetWorldScreen.BiomeList.Entry.getNarration()CreateFlatWorldScreen.DetailsList.Entry.getNarration()PresetFlatWorldScreen.PresetsList.Entry.getNarration()AlertScreen.getNarrationMessage()ConfirmScreen.getNarrationMessage()DisconnectedScreen.getNarrationMessage()GenericWaitingScreen.getNarrationMessage()NoticeWithLinkScreen.getNarrationMessage()RecoverWorldDataScreen.getNarrationMessage()Screen.getNarrationMessage()Screen.getTitle()protected ComponentScreen.getUsageNarration()private ComponentShareToLanScreen.tryParsePort(String p_259426_) Methods in net.minecraft.client.gui.screens that return types with arguments of type ComponentModifier and TypeMethodDescriptionScreen.getTooltipFromItem(Minecraft p_281881_, ItemStack p_282833_) Methods in net.minecraft.client.gui.screens with parameters of type ComponentModifier and TypeMethodDescriptionprivate voidWinScreen.addCreditsLine(Component p_169473_, boolean p_169474_) static <T extends AbstractContainerMenu>
voidstatic GenericWaitingScreenGenericWaitingScreen.createCompleted(Component p_240291_, Component p_240292_, Component p_240293_, Runnable p_240294_) static GenericWaitingScreenGenericWaitingScreen.createWaiting(Component p_240310_, Component p_240311_, Runnable p_240312_) default voidMenuScreens.ScreenConstructor.fromPacket(Component p_96210_, MenuType<T> p_96211_, Minecraft p_96212_, int p_96213_) private static ButtonPauseScreen.openLinkButton(Screen p_350313_, Component p_262593_, URI p_352111_) private ButtonPauseScreen.openScreenButton(Component p_262567_, Supplier<Screen> p_262581_) voidProgressScreen.progressStage(Component p_96525_) voidProgressScreen.progressStart(Component p_96523_) voidProgressScreen.progressStartNoAbort(Component p_96520_) voidScreen.setTooltipForNextRenderPass(Component p_259986_) private voidConnectScreen.updateStatus(Component p_95718_) Constructors in net.minecraft.client.gui.screens with parameters of type ComponentModifierConstructorDescriptionAlertScreen(Runnable p_95519_, Component p_95520_, Component p_95521_) AlertScreen(Runnable p_239327_, Component p_239328_, Component p_239329_, Component p_239330_, boolean p_239331_) BackupConfirmScreen(Runnable p_307341_, BackupConfirmScreen.Listener p_95544_, Component p_95545_, Component p_95546_, boolean p_95547_) ConfirmLinkScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_238329_, Component p_238330_, String p_238331_, boolean p_238332_) ConfirmLinkScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_352448_, Component p_352313_, URI p_352270_, boolean p_352104_) ConfirmLinkScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_240191_, Component p_240192_, Component p_240193_, String p_240194_, Component p_240195_, boolean p_240196_) ConfirmLinkScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_352145_, Component p_352090_, Component p_352169_, URI p_352197_, Component p_352365_, boolean p_352117_) 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_) privateConnectScreen(Screen p_279215_, Component p_279228_) DeathScreen(Component p_95911_, boolean p_95912_) DisconnectedScreen(Screen p_95993_, Component p_95994_, Component p_95995_) DisconnectedScreen(Screen p_279153_, Component p_279183_, Component p_279332_, Component p_279257_) DisconnectedScreen(Screen p_350975_, Component p_350733_, DisconnectionDetails p_350337_) DisconnectedScreen(Screen p_350946_, Component p_350644_, DisconnectionDetails p_350268_, Component p_350948_) ErrorScreen(Component p_96049_, Component p_96050_) GenericMessageScreen(Component p_331916_) protectedGenericWaitingScreen(Component p_240300_, Component p_240301_, Component p_240302_, Runnable p_240303_, int p_240304_) NoticeWithLinkScreen(Component p_294500_, Component p_296071_, URI p_352316_, Runnable p_307469_) protectedTitleConfirmScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_273707_, Component p_273255_, Component p_273747_, Component p_273434_, Component p_273416_) -
Uses of Component in net.minecraft.client.gui.screens.achievement
Fields in net.minecraft.client.gui.screens.achievement declared as ComponentModifier and TypeFieldDescriptionprivate static final ComponentStatsScreen.GENERAL_BUTTONprivate static final ComponentStatsScreen.ITEMS_BUTTONprivate final ComponentStatsScreen.MobsStatisticsList.MobRow.killedByprivate final ComponentStatsScreen.MobsStatisticsList.MobRow.killsprivate final ComponentStatsScreen.MobsStatisticsList.MobRow.mobNameprivate static final ComponentStatsScreen.MOBS_BUTTON(package private) static final ComponentStatsScreen.NO_VALUE_DISPLAYprivate static final ComponentStatsScreen.PENDING_TEXTprivate final ComponentStatsScreen.GeneralStatisticsList.Entry.statDisplayprivate static final ComponentStatsScreen.TITLEMethods in net.minecraft.client.gui.screens.achievement that return ComponentModifier and TypeMethodDescriptionStatsScreen.GeneralStatisticsList.Entry.getNarration()StatsScreen.ItemStatisticsList.ItemRow.getNarration()StatsScreen.MobsStatisticsList.MobRow.getNarration() -
Uses of Component in net.minecraft.client.gui.screens.advancements
Fields in net.minecraft.client.gui.screens.advancements declared as ComponentModifier and TypeFieldDescriptionprivate static final ComponentAdvancementsScreen.NO_ADVANCEMENTS_LABELprivate final ComponentAdvancementTab.titleprivate static final ComponentAdvancementsScreen.TITLEprivate static final ComponentAdvancementsScreen.VERY_SAD_LABELMethods in net.minecraft.client.gui.screens.advancements that return ComponentMethods in net.minecraft.client.gui.screens.advancements with parameters of type ComponentModifier and TypeMethodDescriptionprivate List<FormattedText> AdvancementWidget.findOptimalLines(Component p_97309_, int p_97310_) -
Uses of Component in net.minecraft.client.gui.screens.debug
Fields in net.minecraft.client.gui.screens.debug declared as ComponentModifier and TypeFieldDescription(package private) final ComponentGameModeSwitcherScreen.GameModeIcon.nameprivate static final ComponentGameModeSwitcherScreen.SELECT_KEYMethods in net.minecraft.client.gui.screens.debug that return ComponentModifier and TypeMethodDescription(package private) ComponentGameModeSwitcherScreen.GameModeIcon.getName()Constructors in net.minecraft.client.gui.screens.debug with parameters of type ComponentModifierConstructorDescriptionprivateGameModeIcon(Component p_97594_, String p_97595_, ItemStack p_97596_) -
Uses of Component in net.minecraft.client.gui.screens.inventory
Fields in net.minecraft.client.gui.screens.inventory declared as ComponentModifier and TypeFieldDescription(package private) final ComponentBookEditScreen.LineInfo.asComponentprivate static final ComponentAbstractCommandBlockEditScreen.COMMAND_LABELprivate static final ComponentStructureBlockEditScreen.CUSTOM_DATA_LABELprivate static final ComponentMerchantScreen.DEPRECATED_TOOLTIPprivate static final ComponentStructureBlockEditScreen.DETECT_SIZE_LABELprivate static final ComponentCrafterScreen.DISABLED_SLOT_TOOLTIPprivate static final ComponentBookEditScreen.EDIT_TITLE_LABELprivate static final ComponentSmithingScreen.ERROR_TOOLTIPprivate static final ComponentJigsawBlockEditScreen.FINAL_STATE_LABELprivate static final ComponentBookEditScreen.FINALIZE_WARNING_LABELprivate static final ComponentStructureBlockEditScreen.INCLUDE_ENTITIES_LABELprivate static final ComponentStructureBlockEditScreen.INTEGRITY_LABELprivate static final ComponentJigsawBlockEditScreen.JOINT_LABELprivate static final ComponentSmithingScreen.MISSING_TEMPLATE_TOOLTIPprivate static final ComponentJigsawBlockEditScreen.NAME_LABELprivate static final ComponentStructureBlockEditScreen.NAME_LABELprivate final ComponentBookEditScreen.ownerTextprivate ComponentBookEditScreen.pageMsgprivate ComponentBookViewScreen.pageMsgprivate static final ComponentJigsawBlockEditScreen.PLACEMENT_PRIORITY_LABELprivate static final ComponentJigsawBlockEditScreen.PLACEMENT_PRIORITY_TOOLTIPprotected final ComponentAbstractContainerScreen.playerInventoryTitleprivate static final ComponentJigsawBlockEditScreen.POOL_LABELprivate static final ComponentStructureBlockEditScreen.POSITION_LABELprivate static final ComponentAbstractCommandBlockEditScreen.PREVIOUS_OUTPUT_LABELprivate static final ComponentBeaconScreen.PRIMARY_EFFECT_LABELprivate static final ComponentBeaconScreen.SECONDARY_EFFECT_LABELprivate static final ComponentJigsawBlockEditScreen.SELECTION_PRIORITY_LABELprivate static final ComponentJigsawBlockEditScreen.SELECTION_PRIORITY_TOOLTIPprivate static final ComponentAbstractCommandBlockEditScreen.SET_COMMAND_LABELprivate static final ComponentStructureBlockEditScreen.SHOW_AIR_LABELprivate static final ComponentStructureBlockEditScreen.SHOW_BOUNDING_BOX_LABELprivate static final ComponentStructureBlockEditScreen.SIZE_LABELprivate static final ComponentJigsawBlockEditScreen.TARGET_LABELprivate static final ComponentAnvilScreen.TOO_EXPENSIVE_TEXTprivate static final ComponentMerchantScreen.TRADES_LABELprivate static final ComponentCreativeModeInventoryScreen.TRASH_SLOT_TOOLTIPFields in net.minecraft.client.gui.screens.inventory with type parameters of type ComponentModifier and TypeFieldDescriptionBookViewScreen.BookAccess.pagesThe field for thepagesrecord component.Methods in net.minecraft.client.gui.screens.inventory that return ComponentModifier and TypeMethodDescriptionprivate ComponentEffectRenderingInventoryScreen.getEffectName(MobEffectInstance p_194001_) protected ComponentAbstractCommandBlockEditScreen.getUsageNarration()Methods in net.minecraft.client.gui.screens.inventory that return types with arguments of type ComponentModifier and TypeMethodDescriptionAbstractContainerScreen.getTooltipFromContainerItem(ItemStack p_283689_) CreativeModeInventoryScreen.getTooltipFromContainerItem(ItemStack p_281769_) BookViewScreen.BookAccess.pages()Returns the value of thepagesrecord component.Constructors in net.minecraft.client.gui.screens.inventory with parameters of type ComponentModifierConstructorDescriptionAbstractContainerScreen(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_, ResourceLocation p_296257_, ResourceLocation p_295751_) AbstractSignEditScreen(SignBlockEntity p_277792_, boolean p_277607_, boolean p_278039_, Component p_277393_) AnvilScreen(AnvilMenu p_97874_, Inventory p_97875_, Component p_97876_) BeaconScreen(BeaconMenu p_97912_, Inventory p_97913_, Component p_97914_) protectedBeaconScreenButton(int p_169654_, int p_169655_, Component p_169656_) protectedBeaconSpriteScreenButton(int p_169663_, int p_169664_, ResourceLocation p_294501_, 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_) CrafterScreen(CrafterMenu p_307225_, Inventory p_307403_, Component p_307629_) 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_) Constructor parameters in net.minecraft.client.gui.screens.inventory with type arguments of type ComponentModifierConstructorDescriptionBookAccess(List<Component> pages) Creates an instance of aBookAccessrecord class. -
Uses of Component in net.minecraft.client.gui.screens.multiplayer
Fields in net.minecraft.client.gui.screens.multiplayer declared as ComponentModifier and TypeFieldDescription(package private) static final ComponentServerSelectionList.CANT_CONNECT_TEXT(package private) static final ComponentServerSelectionList.CANT_RESOLVE_TEXTprivate final ComponentWarningScreen.checkprivate static final ComponentSafetyScreen.CHECKprivate static final ComponentSafetyScreen.CONTENTprivate static final ComponentServerSelectionList.NetworkServerEntry.HIDDEN_ADDRESS_TEXT(package private) static final ComponentServerSelectionList.INCOMPATIBLE_STATUSprivate static final ComponentServerSelectionList.NetworkServerEntry.LAN_SERVER_HEADERprivate final ComponentWarningScreen.messageprivate final ComponentWarningScreen.narrationprivate static final ComponentSafetyScreen.NARRATION(package private) static final ComponentServerSelectionList.NO_CONNECTION_STATUS(package private) static final ComponentServerSelectionList.ONLINE_STATUS(package private) static final ComponentServerSelectionList.PINGING_STATUS(package private) static final ComponentServerSelectionList.SCANNING_LABELprivate ComponentServerSelectionList.OnlineServerEntry.statusIconTooltipprivate static final ComponentSafetyScreen.TITLEprivate static final ComponentServerLinksScreen.TITLEFields in net.minecraft.client.gui.screens.multiplayer with type parameters of type ComponentMethods in net.minecraft.client.gui.screens.multiplayer that return ComponentModifier and TypeMethodDescriptionServerSelectionList.LANHeader.getNarration()ServerSelectionList.NetworkServerEntry.getNarration()ServerSelectionList.OnlineServerEntry.getNarration()WarningScreen.getNarrationMessage()ServerSelectionList.NetworkServerEntry.getServerNarration()Constructors in net.minecraft.client.gui.screens.multiplayer with parameters of type ComponentModifierConstructorDescriptionServerReconfigScreen(Component p_294744_, Connection p_294619_) protectedWarningScreen(Component p_239894_, Component p_239895_, Component p_239896_) protectedWarningScreen(Component p_232852_, Component p_232853_, Component p_232854_, Component p_232855_) -
Uses of Component in net.minecraft.client.gui.screens.options
Fields in net.minecraft.client.gui.screens.options declared as ComponentModifier and TypeFieldDescriptionprivate static final ComponentOptionsScreen.ACCESSIBILITYprivate static final ComponentVideoSettingsScreen.BUTTON_ACCEPTprivate static final ComponentVideoSettingsScreen.BUTTON_CANCELprivate static final ComponentOptionsScreen.CHATprivate static final ComponentOptionsScreen.CONTROLSprivate static final ComponentOptionsScreen.CREDITS_AND_ATTRIBUTIONprivate static final ComponentVideoSettingsScreen.FABULOUSprivate final ComponentLanguageSelectScreen.LanguageSelectionList.Entry.languageprivate static final ComponentOptionsScreen.LANGUAGE(package private) final ComponentUnsupportedGraphicsWarningScreen.ButtonOption.messageprivate final ComponentUnsupportedGraphicsWarningScreen.narrationMessageprivate static final ComponentOptionsScreen.RESOURCEPACKprivate static final ComponentOptionsScreen.SKIN_CUSTOMIZATIONprivate static final ComponentOptionsScreen.SOUNDSprivate static final ComponentOptionsScreen.TELEMETRYstatic final ComponentAccessibilityOptionsScreen.TITLEprivate static final ComponentChatOptionsScreen.TITLEprivate static final ComponentMouseSettingsScreen.TITLEprivate static final ComponentOnlineOptionsScreen.TITLEprivate static final ComponentOptionsScreen.TITLEprivate static final ComponentSkinCustomizationScreen.TITLEprivate static final ComponentSoundOptionsScreen.TITLEprivate static final ComponentVideoSettingsScreen.TITLEprivate static final ComponentOptionsScreen.VIDEOprivate static final ComponentLanguageSelectScreen.WARNING_LABELprivate static final ComponentVideoSettingsScreen.WARNING_MESSAGEprivate static final ComponentVideoSettingsScreen.WARNING_TITLEFields in net.minecraft.client.gui.screens.options with type parameters of type ComponentMethods in net.minecraft.client.gui.screens.options that return ComponentModifier and TypeMethodDescriptionLanguageSelectScreen.LanguageSelectionList.Entry.getNarration()UnsupportedGraphicsWarningScreen.getNarrationMessage()Methods in net.minecraft.client.gui.screens.options with parameters of type ComponentModifier and TypeMethodDescriptionprivate ButtonOptionsScreen.openScreenButton(Component p_345646_, Supplier<Screen> p_345565_) Constructors in net.minecraft.client.gui.screens.options with parameters of type ComponentModifierConstructorDescriptionButtonOption(Component p_346062_, Button.OnPress p_345795_) OptionsSubScreen(Screen p_345104_, Options p_346116_, Component p_344987_) protectedUnsupportedGraphicsWarningScreen(Component p_344923_, List<Component> p_344787_, com.google.common.collect.ImmutableList<UnsupportedGraphicsWarningScreen.ButtonOption> p_346327_) Constructor parameters in net.minecraft.client.gui.screens.options with type arguments of type ComponentModifierConstructorDescriptionprotectedUnsupportedGraphicsWarningScreen(Component p_344923_, List<Component> p_344787_, com.google.common.collect.ImmutableList<UnsupportedGraphicsWarningScreen.ButtonOption> p_346327_) -
Uses of Component in net.minecraft.client.gui.screens.options.controls
Fields in net.minecraft.client.gui.screens.options.controls declared as ComponentModifier and TypeFieldDescription(package private) final ComponentKeyBindsList.CategoryEntry.nameprivate final ComponentKeyBindsList.KeyEntry.nameprivate static final ComponentKeyBindsList.KeyEntry.RESET_BUTTON_TITLEprivate static final ComponentControlsScreen.TITLEprivate static final ComponentKeyBindsScreen.TITLEConstructors in net.minecraft.client.gui.screens.options.controls with parameters of type ComponentModifierConstructorDescriptionCategoryEntry(Component p_345224_) (package private)KeyEntry(KeyMapping p_345998_, Component p_345196_) -
Uses of Component in net.minecraft.client.gui.screens.packs
Fields in net.minecraft.client.gui.screens.packs declared as ComponentModifier and TypeFieldDescriptionprivate static final ComponentPackSelectionScreen.AVAILABLE_TITLEprivate static final ComponentPackSelectionScreen.DIRECTORY_BUTTON_TOOLTIPprivate static final ComponentPackSelectionScreen.DRAG_AND_DROP(package private) static final ComponentTransferableSelectionList.INCOMPATIBLE_CONFIRM_TITLE(package private) static final ComponentTransferableSelectionList.INCOMPATIBLE_TITLEprivate static final ComponentPackSelectionScreen.OPEN_PACK_FOLDER_TITLEprivate static final ComponentPackSelectionScreen.SELECTED_TITLEprivate final ComponentTransferableSelectionList.titleMethods in net.minecraft.client.gui.screens.packs that return ComponentModifier and TypeMethodDescriptionPackSelectionModel.Entry.getDescription()PackSelectionModel.EntryBase.getDescription()default ComponentPackSelectionModel.Entry.getExtendedDescription()TransferableSelectionList.PackEntry.getNarration()PackSelectionModel.Entry.getTitle()PackSelectionModel.EntryBase.getTitle()Methods in net.minecraft.client.gui.screens.packs with parameters of type ComponentModifier and TypeMethodDescriptionprivate static MultiLineLabelTransferableSelectionList.PackEntry.cacheDescription(Minecraft p_100110_, Component p_100111_) private static FormattedCharSequenceConstructors in net.minecraft.client.gui.screens.packs with parameters of type ComponentModifierConstructorDescriptionPackSelectionScreen(PackRepository p_275398_, Consumer<PackRepository> p_275659_, Path p_275522_, Component p_275337_) TransferableSelectionList(Minecraft p_265029_, PackSelectionScreen p_265777_, int p_265774_, int p_265153_, Component p_265124_) -
Uses of Component in net.minecraft.client.gui.screens.recipebook
Fields in net.minecraft.client.gui.screens.recipebook declared as ComponentModifier and TypeFieldDescriptionprivate static final ComponentRecipeBookComponent.ALL_RECIPES_TOOLTIPprivate static final ComponentBlastingRecipeBookComponent.FILTER_NAMEprivate static final ComponentSmeltingRecipeBookComponent.FILTER_NAMEprivate static final ComponentSmokingRecipeBookComponent.FILTER_NAMEprivate static final ComponentRecipeButton.MORE_RECIPES_TOOLTIPprivate static final ComponentRecipeBookComponent.ONLY_CRAFTABLES_TOOLTIPprivate static final ComponentRecipeBookComponent.SEARCH_HINTMethods in net.minecraft.client.gui.screens.recipebook that return ComponentModifier and TypeMethodDescriptionprotected ComponentBlastingRecipeBookComponent.getRecipeFilterName()protected ComponentRecipeBookComponent.getRecipeFilterName()protected ComponentSmeltingRecipeBookComponent.getRecipeFilterName()protected ComponentSmokingRecipeBookComponent.getRecipeFilterName()Methods in net.minecraft.client.gui.screens.recipebook that return types with arguments of type Component -
Uses of Component in net.minecraft.client.gui.screens.reporting
Fields in net.minecraft.client.gui.screens.reporting declared as ComponentModifier and TypeFieldDescriptionprivate static final ComponentAbstractReportScreen.ATTESTATION_CHECKBOXprivate static final ComponentChatSelectionScreen.CONTEXT_INFOprivate static final ComponentAbstractReportScreen.DESCRIBE_PLACEHOLDERprivate static final ComponentAbstractReportScreen.DiscardReportWarningScreen.DISCARDprivate static final ComponentAbstractReportScreen.DiscardReportWarningScreen.DRAFTprivate final ComponentChatSelectionScreen.ChatSelectionList.MessageHeadingEntry.headingprivate static final ComponentAbstractReportScreen.DiscardReportWarningScreen.MESSAGEprivate static final ComponentReportPlayerScreen.MESSAGEprotected static final ComponentAbstractReportScreen.MORE_COMMENTS_LABELprivate static final ComponentAbstractReportScreen.MORE_COMMENTS_NARRATIONprivate final ComponentChatSelectionScreen.ChatSelectionList.MessageEntry.narrationprotected static final ComponentAbstractReportScreen.OBSERVED_WHAT_LABELprivate static final ComponentReportReasonSelectionScreen.READ_INFO_LABELprivate static final ComponentReportReasonSelectionScreen.REASON_DESCRIPTIONprivate static final ComponentReportReasonSelectionScreen.REASON_TITLEprivate static final ComponentReportPlayerScreen.REPORT_CHATprivate static final ComponentAbstractReportScreen.REPORT_ERROR_TITLEprivate static final ComponentReportPlayerScreen.REPORT_NAMEprivate static final ComponentAbstractReportScreen.REPORT_SEND_GENERIC_ERRORprivate static final ComponentAbstractReportScreen.REPORT_SENDING_TITLEprivate static final ComponentAbstractReportScreen.REPORT_SENT_MESSAGEprivate static final ComponentAbstractReportScreen.REPORT_SENT_TITLEprivate static final ComponentReportPlayerScreen.REPORT_SKINprivate static final ComponentAbstractReportScreen.DiscardReportWarningScreen.RETURNprivate static final ComponentChatReportScreen.SELECT_CHAT_MESSAGEprotected static final ComponentAbstractReportScreen.SELECT_REASONprotected static final ComponentAbstractReportScreen.SEND_REPORTprivate final ComponentChatSelectionScreen.ChatSelectionList.DividerEntry.textprivate static final ComponentAbstractReportScreen.DiscardReportWarningScreen.TITLEprivate static final ComponentChatReportScreen.TITLEprivate static final ComponentChatSelectionScreen.TITLEprivate static final ComponentNameReportScreen.TITLEprivate static final ComponentReportPlayerScreen.TITLEprivate static final ComponentSkinReportScreen.TITLEMethods in net.minecraft.client.gui.screens.reporting that return ComponentModifier and TypeMethodDescriptionChatSelectionScreen.ChatSelectionList.DividerEntry.getNarration()ChatSelectionScreen.ChatSelectionList.Entry.getNarration()ChatSelectionScreen.ChatSelectionList.MessageEntry.getNarration()ReportReasonSelectionScreen.ReasonSelectionList.Entry.getNarration()ChatSelectionScreen.getNarrationMessage()ReportPlayerScreen.getNarrationMessage()Methods in net.minecraft.client.gui.screens.reporting with parameters of type ComponentModifier and TypeMethodDescriptionvoidChatSelectionLogFiller.Output.acceptDivider(Component p_239557_) voidChatSelectionScreen.ChatSelectionList.acceptDivider(Component p_239876_) private voidAbstractReportScreen.displayReportSendError(Component p_299983_) Constructors in net.minecraft.client.gui.screens.reporting with parameters of type ComponentModifierConstructorDescriptionprotectedAbstractReportScreen(Component p_299999_, Screen p_300006_, ReportingContext p_299904_, B p_299834_) DividerEntry(Component p_239672_) MessageEntry(int p_240650_, Component p_240525_, Component p_240539_, GuiMessageTag p_240551_, boolean p_240596_, boolean p_240615_) MessageHeadingEntry(com.mojang.authlib.GameProfile p_240080_, Component p_240081_, boolean p_240082_) -
Uses of Component in net.minecraft.client.gui.screens.social
Fields in net.minecraft.client.gui.screens.social declared as ComponentModifier and TypeFieldDescriptionprivate static final ComponentPlayerEntry.BLOCKEDprivate static final ComponentPlayerEntry.BLOCKED_OFFLINEprivate static final ComponentSocialInteractionsScreen.BLOCKING_HINTprivate static final ComponentSocialInteractionsScreen.EMPTY_BLOCKEDprivate static final ComponentSocialInteractionsScreen.EMPTY_HIDDEN(package private) static final ComponentSocialInteractionsScreen.EMPTY_SEARCHprivate static final ComponentPlayerEntry.HIDDENprivate static final ComponentPlayerEntry.HIDDEN_OFFLINEprivate static final ComponentPlayerEntry.HIDE_TEXT_TOOLTIPprivate static final ComponentPlayerEntry.OFFLINEprivate static final ComponentPlayerEntry.REPORT_DISABLED_TOOLTIPprivate static final ComponentPlayerEntry.REPORT_PLAYER_TOOLTIPprivate static final ComponentSocialInteractionsScreen.SEARCH_HINTprivate ComponentSocialInteractionsScreen.serverLabelprivate static final ComponentPlayerEntry.SHOW_TEXT_TOOLTIPprivate static final ComponentSocialInteractionsScreen.TAB_ALLprivate static final ComponentSocialInteractionsScreen.TAB_ALL_SELECTEDprivate static final ComponentSocialInteractionsScreen.TAB_BLOCKEDprivate static final ComponentSocialInteractionsScreen.TAB_BLOCKED_SELECTEDprivate static final ComponentSocialInteractionsScreen.TAB_HIDDENprivate static final ComponentSocialInteractionsScreen.TAB_HIDDEN_SELECTEDprivate static final ComponentSocialInteractionsScreen.TITLEMethods in net.minecraft.client.gui.screens.social that return ComponentModifier and TypeMethodDescriptionSocialInteractionsScreen.getNarrationMessage()private ComponentPlayerEntry.getStatusComponent()Methods in net.minecraft.client.gui.screens.social with parameters of type ComponentModifier and TypeMethodDescriptionprivate voidPlayerEntry.onHiddenOrShown(boolean p_100597_, Component p_100598_) -
Uses of Component in net.minecraft.client.gui.screens.telemetry
Fields in net.minecraft.client.gui.screens.telemetry declared as ComponentModifier and TypeFieldDescriptionprivate static final ComponentTelemetryInfoScreen.BUTTON_GIVE_FEEDBACKprivate static final ComponentTelemetryInfoScreen.BUTTON_PRIVACY_STATEMENTprivate static final ComponentTelemetryInfoScreen.BUTTON_VIEW_DATAprivate static final ComponentTelemetryInfoScreen.CHECKBOX_OPT_INprivate static final ComponentTelemetryInfoScreen.DESCRIPTIONprivate final ComponentTelemetryEventWidget.Content.narrationThe field for thenarrationrecord component.private static final ComponentTelemetryEventWidget.PROPERTY_TITLEprivate static final ComponentTelemetryInfoScreen.TITLEMethods in net.minecraft.client.gui.screens.telemetry that return ComponentModifier and TypeMethodDescriptionTelemetryInfoScreen.getNarrationMessage()private ComponentTelemetryEventWidget.grayOutIfDisabled(Component p_308894_, boolean p_308910_) TelemetryEventWidget.Content.narration()Returns the value of thenarrationrecord component.Methods in net.minecraft.client.gui.screens.telemetry with parameters of type ComponentModifier and TypeMethodDescriptionvoidvoidvoidprivate ComponentTelemetryEventWidget.grayOutIfDisabled(Component p_308894_, boolean p_308910_) Constructors in net.minecraft.client.gui.screens.telemetry with parameters of type Component -
Uses of Component in net.minecraft.client.gui.screens.worldselection
Fields in net.minecraft.client.gui.screens.worldselection declared as ComponentModifier and TypeFieldDescriptionprivate static final ComponentCreateWorldScreen.GameTab.ALLOW_COMMANDS(package private) static final ComponentCreateWorldScreen.ALLOW_COMMANDS_INFOprivate static final ComponentCreateWorldScreen.WorldTab.AMPLIFIED_HELP_TEXTprivate static final ComponentEditWorldScreen.BACKUP_BUTTONprivate static final ComponentEditWorldScreen.BACKUP_FOLDER_BUTTONprivate static final ComponentCreateWorldScreen.WorldTab.BONUS_CHESTprivate static final ComponentWorldCreationUiState.WorldTypeEntry.CUSTOM_WORLD_DESCRIPTIONprivate static final ComponentCreateWorldScreen.MoreTab.DATA_PACKS_LABELprivate static final ComponentWorldCreationUiState.DEFAULT_WORLD_NAMEprivate static final ComponentConfirmExperimentalFeaturesScreen.DETAILS_BUTTONfinal ComponentWorldCreationUiState.SelectedGameMode.displayName(package private) static final ComponentCreateWorldScreen.EXPERIMENTS_LABELprivate static final ComponentEditWorldScreen.FOLDER_BUTTON(package private) static final ComponentWorldSelectionList.FROM_NEWER_TOOLTIP_1(package private) static final ComponentWorldSelectionList.FROM_NEWER_TOOLTIP_2(package private) static final ComponentCreateWorldScreen.GAME_MODEL_LABELprivate static final ComponentCreateWorldScreen.MoreTab.GAME_RULES_LABELprivate static final ComponentCreateWorldScreen.WorldTab.GENERATE_STRUCTURESprivate static final ComponentCreateWorldScreen.WorldTab.GENERATE_STRUCTURES_INFO(package private) static final ComponentWorldSelectionList.INCOMPATIBLE_VERSION_TOOLTIPprivate ComponentSwitchGrid.SwitchBuilder.infoprivate final ComponentWorldCreationUiState.SelectedGameMode.infoprivate static final ComponentExperimentsScreen.INFO(package private) final ComponentEditGameRulesScreen.CategoryRuleEntry.labelprivate final ComponentSwitchGrid.SwitchBuilder.labelprivate static final ComponentWorldSelectionList.LoadingHeader.LOADING_LABELprivate final ComponentConfirmExperimentalFeaturesScreen.DetailsScreen.PackListEntry.messageprivate static final ComponentConfirmExperimentalFeaturesScreen.MESSAGE(package private) static final ComponentCreateWorldScreen.NAME_LABELprivate static final ComponentEditWorldScreen.NAME_LABELprivate static final ComponentEditWorldScreen.OPTIMIIZE_DESCRIPTIONprivate static final ComponentEditWorldScreen.OPTIMIZE_BUTTONprivate static final ComponentEditWorldScreen.OPTIMIZE_TITLEprivate final ComponentConfirmExperimentalFeaturesScreen.DetailsScreen.PackListEntry.packIdprivate static final ComponentCreateWorldScreen.PREPARING_WORLD_DATAprivate static final ComponentEditWorldScreen.RESET_ICON_BUTTONprivate static final ComponentEditWorldScreen.SAVE_BUTTON(package private) static final ComponentCreateWorldScreen.WorldTab.SEED_EMPTY_HINTprivate static final ComponentCreateWorldScreen.WorldTab.SEED_LABEL(package private) static final ComponentWorldSelectionList.SNAPSHOT_TOOLTIP_1(package private) static final ComponentWorldSelectionList.SNAPSHOT_TOOLTIP_2private static final ComponentConfirmExperimentalFeaturesScreen.DetailsScreen.TITLEprivate static final ComponentConfirmExperimentalFeaturesScreen.TITLEprivate static final ComponentCreateWorldScreen.GameTab.TITLEprivate static final ComponentCreateWorldScreen.MoreTab.TITLEprivate static final ComponentCreateWorldScreen.WorldTab.TITLEprivate static final ComponentEditGameRulesScreen.TITLEprivate static final ComponentExperimentsScreen.TITLE(package private) static final ComponentWorldSelectionList.WORLD_EXPERIMENTAL(package private) static final ComponentWorldSelectionList.WORLD_LOCKED_TOOLTIP(package private) static final ComponentWorldSelectionList.WORLD_REQUIRES_CONVERSIONMethods in net.minecraft.client.gui.screens.worldselection that return ComponentModifier and TypeMethodDescriptionWorldCreationUiState.WorldTypeEntry.describePreset()private static ComponentExperimentsScreen.getHumanReadableTitle(Pack p_270861_) WorldCreationUiState.SelectedGameMode.getInfo()ConfirmExperimentalFeaturesScreen.DetailsScreen.PackListEntry.getNarration()WorldSelectionList.LoadingHeader.getNarration()WorldSelectionList.WorldListEntry.getNarration()ConfirmExperimentalFeaturesScreen.getNarrationMessage()ExperimentsScreen.getNarrationMessage()Methods in net.minecraft.client.gui.screens.worldselection with parameters of type ComponentModifier and TypeMethodDescriptionSwitchGrid.Builder.addSwitch(Component p_268004_, BooleanSupplier p_268017_, Consumer<Boolean> p_268320_) EditGameRulesScreen.EntryFactory.create(Component p_101155_, List<FormattedCharSequence> p_101156_, String p_101157_, T p_101158_) private voidWorldSelectionList.handleLevelLoadFailure(Component p_233212_) private static voidCreateWorldScreen.queueLoadScreen(Minecraft p_232900_, Component p_232901_) Constructors in net.minecraft.client.gui.screens.worldselection with parameters of type ComponentModifierConstructorDescriptionBooleanRuleEntry(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_) (package private)PackListEntry(Component p_250724_, Component p_248883_, MultiLineLabel p_250949_) (package private)SwitchBuilder(Component p_268282_, BooleanSupplier p_268294_, Consumer<Boolean> p_268132_, int p_268250_) -
Uses of Component in net.minecraft.client.gui.spectator
Fields in net.minecraft.client.gui.spectator declared as ComponentModifier and TypeFieldDescription(package private) static final ComponentSpectatorMenu.CLOSE_MENU_TEXTprivate final ComponentPlayerMenuItem.name(package private) static final ComponentSpectatorMenu.NEXT_PAGE_TEXT(package private) static final ComponentSpectatorMenu.PREVIOUS_PAGE_TEXTprivate static final ComponentRootSpectatorMenuCategory.PROMPT_TEXTMethods in net.minecraft.client.gui.spectator that return Component -
Uses of Component in net.minecraft.client.gui.spectator.categories
Fields in net.minecraft.client.gui.spectator.categories declared as ComponentModifier and TypeFieldDescriptionprivate static final ComponentTeleportToPlayerMenuCategory.TELEPORT_PROMPTprivate static final ComponentTeleportToTeamMenuCategory.TELEPORT_PROMPTprivate static final ComponentTeleportToPlayerMenuCategory.TELEPORT_TEXTprivate static final ComponentTeleportToTeamMenuCategory.TELEPORT_TEXTMethods in net.minecraft.client.gui.spectator.categories that return Component -
Uses of Component in net.minecraft.client.multiplayer
Fields in net.minecraft.client.multiplayer declared as ComponentModifier and TypeFieldDescriptionprivate static final ComponentServerStatusPinger.CANT_CONNECT_MESSAGEprivate static final ComponentClientPacketListener.CHAT_VALIDATION_FAILED_ERRORprivate static final ComponentClientCommonPacketListenerImpl.GENERIC_DISCONNECT_MESSAGEprivate static final ComponentClientPacketListener.INVALID_PACKET(package private) final ComponentClientHandshakePacketListenerImpl.State.messageServerData.motdprivate final ComponentServerData.ServerPackStatus.nameprivate static final ComponentClientPacketListener.RECONFIGURE_SCREEN_MESSAGEServerData.statusprivate ComponentPlayerInfo.tabListDisplayNameprivate static final ComponentClientPacketListener.UNSECURE_SERVER_TOAST_TITLEprivate static final ComponentClientPacketListener.UNSERURE_SERVER_TOASTServerData.versionFields in net.minecraft.client.multiplayer with type parameters of type ComponentModifier and TypeFieldDescriptionprivate Map<ResourceLocation, Component> ClientConfigurationPacketListenerImpl.failureReasonsServerData.playerListClientHandshakePacketListenerImpl.updateStatusMethods in net.minecraft.client.multiplayer that return ComponentModifier and TypeMethodDescriptionprivate ComponentClientHandshakePacketListenerImpl.authenticateServer(String p_104532_) static ComponentServerStatusPinger.formatPlayerCount(int p_105467_, int p_105468_) ServerData.ServerPackStatus.getName()PlayerInfo.getTabListDisplayName()(package private) static ComponentClientCommonPacketListenerImpl.preparePackPrompt(Component p_296200_, Component p_295584_) Methods in net.minecraft.client.multiplayer with parameters of type ComponentModifier and TypeMethodDescriptionprivate ScreenClientCommonPacketListenerImpl.addOrUpdatePackPrompt(UUID p_314948_, URL p_315012_, String p_314981_, boolean p_315013_, Component p_314960_) ClientCommonPacketListenerImpl.createDisconnectionInfo(Component p_350683_, Throwable p_350813_) (package private) voidServerStatusPinger.onPingFailed(Component p_171815_, ServerData p_171816_) (package private) static ComponentClientCommonPacketListenerImpl.preparePackPrompt(Component p_296200_, Component p_295584_) voidPlayerInfo.setTabListDisplayName(Component p_105324_) ClientCommonPacketListenerImpl.PackConfirmScreen.update(Minecraft p_314946_, UUID p_314980_, URL p_314930_, String p_315003_, boolean p_314916_, Component p_314991_) Constructors in net.minecraft.client.multiplayer with parameters of type ComponentModifierConstructorDescription(package private)PackConfirmScreen(Minecraft p_314973_, Screen p_315016_, List<ClientCommonPacketListenerImpl.PackConfirmScreen.PendingRequest> p_314994_, boolean p_314923_, Component p_314940_) privateState(Component p_302239_, Set<ClientHandshakePacketListenerImpl.State> p_302236_) Constructor parameters in net.minecraft.client.multiplayer with type arguments of type ComponentModifierConstructorDescriptionClientHandshakePacketListenerImpl(Connection p_261697_, Minecraft p_261835_, ServerData p_261938_, Screen p_261783_, boolean p_261562_, Duration p_261673_, Consumer<Component> p_261945_, TransferState p_320762_) -
Uses of Component in net.minecraft.client.multiplayer.chat
Fields in net.minecraft.client.multiplayer.chat declared as ComponentModifier and TypeFieldDescriptionprivate static final ComponentChatListener.CHAT_VALIDATION_ERRORprivate final ComponentLoggedChatMessage.System.messageThe field for themessagerecord component.Methods in net.minecraft.client.multiplayer.chat that return ComponentModifier and TypeMethodDescriptionprivate ComponentLoggedChatMessage.Player.getTimeComponent()LoggedChatMessage.System.message()Returns the value of themessagerecord component.LoggedChatMessage.Player.toContentComponent()LoggedChatMessage.System.toContentComponent()LoggedChatMessage.toContentComponent()LoggedChatMessage.Player.toHeadingComponent()LoggedChatMessage.Player.toNarrationComponent()default ComponentLoggedChatMessage.toNarrationComponent()Methods in net.minecraft.client.multiplayer.chat with parameters of type ComponentModifier and TypeMethodDescriptionprivate static booleanChatTrustLevel.containsModifiedStyle(Component p_251011_) static ChatTrustLevelChatTrustLevel.evaluate(PlayerChatMessage p_248663_, Component p_248544_, Instant p_252024_) private ChatTrustLevelChatListener.evaluateTrustLevel(PlayerChatMessage p_251246_, Component p_250576_, Instant p_249995_) private UUIDChatListener.guessChatUUID(Component p_240595_) voidChatListener.handleDisguisedChatMessage(Component p_250375_, ChatType.Bound p_251256_) voidChatListener.handleSystemMessage(Component p_240522_, boolean p_240642_) private static booleanChatTrustLevel.isModified(PlayerChatMessage p_252093_, Component p_250811_) private voidChatListener.logSystemMessage(Component p_240609_, Instant p_240541_) private voidChatListener.narrateChatMessage(ChatType.Bound p_241352_, Component p_243262_) private booleanChatListener.showMessageToPlayer(ChatType.Bound p_251766_, PlayerChatMessage p_249430_, Component p_249231_, com.mojang.authlib.GameProfile p_249177_, boolean p_251638_, Instant p_249665_) static LoggedChatMessage.SystemConstructors in net.minecraft.client.multiplayer.chat with parameters of type Component -
Uses of Component in net.minecraft.client.multiplayer.chat.report
Fields in net.minecraft.client.multiplayer.chat.report declared as ComponentModifier and TypeFieldDescriptionprivate final ComponentReportReason.descriptionprivate static final ComponentAbuseReportSender.Services.HTTP_ERROR_TEXTprivate static final ComponentAbuseReportSender.Services.JSON_ERROR_TEXTprivate final ComponentReport.CannotBuildReason.messageThe field for themessagerecord component.private static final ComponentAbuseReportSender.Services.SERVICE_UNAVAILABLE_TEXTprivate final ComponentBanReason.titleprivate final ComponentReportReason.titleMethods in net.minecraft.client.multiplayer.chat.report that return ComponentModifier and TypeMethodDescriptionReportReason.description()private ComponentAbuseReportSender.Services.getErrorDescription(com.mojang.authlib.exceptions.MinecraftClientException p_240068_) private ComponentAbuseReportSender.Services.getHttpErrorDescription(com.mojang.authlib.exceptions.MinecraftClientHttpException p_239705_) Report.CannotBuildReason.message()Returns the value of themessagerecord component.BanReason.title()ReportReason.title()Constructors in net.minecraft.client.multiplayer.chat.report with parameters of type ComponentModifierConstructorDescriptionCannotBuildReason(Component message) Creates an instance of aCannotBuildReasonrecord class.SendException(Component p_239646_, Throwable p_239647_) -
Uses of Component in net.minecraft.client.player
Methods in net.minecraft.client.player with parameters of type ComponentModifier and TypeMethodDescriptionvoidLocalPlayer.displayClientMessage(Component p_108696_, boolean p_108697_) voidLocalPlayer.sendSystemMessage(Component p_234129_) voidRemotePlayer.sendSystemMessage(Component p_234163_) -
Uses of Component in net.minecraft.client.quickplay
Fields in net.minecraft.client.quickplay declared as ComponentModifier and TypeFieldDescriptionstatic final ComponentQuickPlay.ERROR_TITLEprivate static final ComponentQuickPlay.INVALID_IDENTIFIERprivate static final ComponentQuickPlay.REALM_CONNECTprivate static final ComponentQuickPlay.REALM_PERMISSIONprivate static final ComponentQuickPlay.TO_REALMS_LISTprivate static final ComponentQuickPlay.TO_TITLEprivate static final ComponentQuickPlay.TO_WORLD_LIST -
Uses of Component in net.minecraft.client.renderer.entity
Methods in net.minecraft.client.renderer.entity with parameters of type ComponentModifier and TypeMethodDescriptionprotected voidEntityRenderer.renderNameTag(T p_114498_, Component p_114499_, PoseStack p_114500_, MultiBufferSource p_114501_, int p_114502_, float p_316698_) protected voidItemFrameRenderer.renderNameTag(T p_316437_, Component p_115066_, PoseStack p_115067_, MultiBufferSource p_115068_, int p_115069_, float p_316131_) private Display.TextDisplay.CachedInfoDisplayRenderer.TextDisplayRenderer.splitLines(Component p_270823_, int p_270893_) -
Uses of Component in net.minecraft.client.renderer.entity.player
Methods in net.minecraft.client.renderer.entity.player with parameters of type ComponentModifier and TypeMethodDescriptionprotected voidPlayerRenderer.renderNameTag(AbstractClientPlayer p_117808_, Component p_117809_, PoseStack p_117810_, MultiBufferSource p_117811_, int p_117812_, float p_316461_) -
Uses of Component in net.minecraft.client.resources
Fields in net.minecraft.client.resources with type parameters of type ComponentMethods in net.minecraft.client.resources that return ComponentModifier and TypeMethodDescriptionprotected ComponentClientPackSource.getPackTitle(String p_250421_) Methods in net.minecraft.client.resources with parameters of type ComponentModifier and TypeMethodDescriptionprotected PackClientPackSource.createBuiltinPack(String p_250992_, Pack.ResourcesSupplier p_250814_, Component p_249835_) private static PackLocationInfoClientPackSource.createBuiltInPackLocation(String p_326492_, Component p_326472_) -
Uses of Component in net.minecraft.client.resources.language
Methods in net.minecraft.client.resources.language that return Component -
Uses of Component in net.minecraft.client.resources.server
Fields in net.minecraft.client.resources.server declared as Component -
Uses of Component in net.minecraft.client.server
Methods in net.minecraft.client.server that return ComponentModifier and TypeMethodDescriptionIntegratedPlayerList.canPlayerLogin(SocketAddress p_120007_, com.mojang.authlib.GameProfile p_120008_) -
Uses of Component in net.minecraft.client.sounds
Fields in net.minecraft.client.sounds declared as ComponentMethods in net.minecraft.client.sounds that return Component -
Uses of Component in net.minecraft.client.tutorial
Fields in net.minecraft.client.tutorial declared as ComponentModifier and TypeFieldDescriptionprivate static final ComponentCraftPlanksTutorialStep.CRAFT_DESCRIPTIONprivate static final ComponentCraftPlanksTutorialStep.CRAFT_TITLEprivate static final ComponentFindTreeTutorialStepInstance.DESCRIPTIONprivate static final ComponentOpenInventoryTutorialStep.DESCRIPTIONprivate static final ComponentPunchTreeTutorialStepInstance.DESCRIPTIONprivate static final ComponentMovementTutorialStepInstance.LOOK_DESCRIPTIONprivate static final ComponentMovementTutorialStepInstance.LOOK_TITLEprivate static final ComponentMovementTutorialStepInstance.MOVE_DESCRIPTIONprivate static final ComponentMovementTutorialStepInstance.MOVE_TITLEprivate static final ComponentFindTreeTutorialStepInstance.TITLEprivate static final ComponentOpenInventoryTutorialStep.TITLEprivate static final ComponentPunchTreeTutorialStepInstance.TITLEMethods in net.minecraft.client.tutorial that return Component -
Uses of Component in net.minecraft.commands
Fields in net.minecraft.commands declared as ComponentModifier and TypeFieldDescriptionprivate final ComponentCommandSourceStack.displayNameprivate final ComponentFunctionInstantiationException.messageComponentMethods in net.minecraft.commands that return ComponentModifier and TypeMethodDescriptionCommandSourceStack.getDisplayName()FunctionInstantiationException.messageComponent()Methods in net.minecraft.commands with parameters of type ComponentModifier and TypeMethodDescriptionprivate voidCommandSourceStack.broadcastToAdmins(Component p_81367_) voidCommandSourceStack.sendFailure(Component p_81353_) voidCommandSource.sendSystemMessage(Component p_230797_) voidCommandSourceStack.sendSystemMessage(Component p_243331_) Method parameters in net.minecraft.commands with type arguments of type ComponentModifier and TypeMethodDescriptionvoidCommandSourceStack.sendSuccess(Supplier<Component> p_288979_, boolean p_289007_) Constructors in net.minecraft.commands with parameters of type ComponentModifierConstructorDescriptionCommandSourceStack(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_) protectedCommandSourceStack(CommandSource p_282943_, Vec3 p_282023_, Vec2 p_282896_, ServerLevel p_282659_, int p_283075_, String p_282379_, Component p_282469_, MinecraftServer p_281590_, Entity p_281515_, boolean p_282415_, CommandResultCallback p_309630_, EntityAnchorArgument.Anchor p_282332_, CommandSigningContext p_283585_, TaskChainer p_282376_) FunctionInstantiationException(Component p_294836_) -
Uses of Component in net.minecraft.commands.arguments
Methods in net.minecraft.commands.arguments that return ComponentModifier and TypeMethodDescriptionstatic ComponentComponentArgument.getComponent(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_87118_, String p_87119_) static ComponentMessageArgument.getMessage(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_96836_, String p_96837_) ComponentArgument.parse(com.mojang.brigadier.StringReader p_87116_) (package private) ComponentMessageArgument.Message.resolveComponent(CommandSourceStack p_232197_) MessageArgument.Message.toComponent(CommandSourceStack p_96850_, boolean p_96851_) MessageArgument.Part.toComponent(CommandSourceStack p_96861_) -
Uses of Component in net.minecraft.commands.arguments.selector
Methods in net.minecraft.commands.arguments.selector that return Component -
Uses of Component in net.minecraft.commands.arguments.selector.options
Fields in net.minecraft.commands.arguments.selector.options declared as ComponentModifier and TypeFieldDescriptionprivate final ComponentEntitySelectorOptions.Option.descriptionThe field for thedescriptionrecord component.Methods in net.minecraft.commands.arguments.selector.options that return ComponentModifier and TypeMethodDescriptionEntitySelectorOptions.Option.description()Returns the value of thedescriptionrecord component.Methods in net.minecraft.commands.arguments.selector.options with parameters of type ComponentModifier and TypeMethodDescriptionstatic voidEntitySelectorOptions.register(String p_121454_, EntitySelectorOptions.Modifier p_121455_, Predicate<EntitySelectorParser> p_121456_, Component p_121457_) Constructors in net.minecraft.commands.arguments.selector.options with parameters of type ComponentModifierConstructorDescription(package private)Option(EntitySelectorOptions.Modifier modifier, Predicate<EntitySelectorParser> canUse, Component description) Creates an instance of aOptionrecord class. -
Uses of Component in net.minecraft.core.component
Fields in net.minecraft.core.component with type parameters of type ComponentModifier and TypeFieldDescriptionstatic final DataComponentType<Component> DataComponents.CUSTOM_NAMEstatic final DataComponentType<Component> DataComponents.ITEM_NAME -
Uses of Component in net.minecraft.data.metadata
Methods in net.minecraft.data.metadata with parameters of type ComponentModifier and TypeMethodDescriptionstatic PackMetadataGeneratorPackMetadataGenerator.forFeaturePack(PackOutput p_256281_, Component p_255661_) static PackMetadataGeneratorPackMetadataGenerator.forFeaturePack(PackOutput p_253903_, Component p_254497_, FeatureFlagSet p_253848_) -
Uses of Component in net.minecraft.nbt
Fields in net.minecraft.nbt declared as ComponentModifier and TypeFieldDescriptionprivate static final ComponentTextComponentTagVisitor.BYTE_ARRAY_TYPEprivate static final ComponentTextComponentTagVisitor.BYTE_TYPEprivate static final ComponentTextComponentTagVisitor.DOUBLE_TYPEprivate static final ComponentTextComponentTagVisitor.FLOAT_TYPEprivate static final ComponentTextComponentTagVisitor.FOLDEDprivate static final ComponentTextComponentTagVisitor.INT_TYPEprivate static final ComponentTextComponentTagVisitor.LONG_TYPEprivate static final ComponentTextComponentTagVisitor.SHORT_TYPEMethods in net.minecraft.nbt that return ComponentModifier and TypeMethodDescriptionprotected static ComponentTextComponentTagVisitor.handleEscapePretty(String p_178254_) static ComponentNbtUtils.toPrettyComponent(Tag p_178062_) -
Uses of Component in net.minecraft.network
Fields in net.minecraft.network declared as ComponentModifier and TypeFieldDescriptionprivate static final ComponentRateKickingConnection.EXCEED_REASONprivate final ComponentDisconnectionDetails.reasonThe field for thereasonrecord component.Methods in net.minecraft.network that return ComponentModifier and TypeMethodDescriptionDisconnectionDetails.reason()Returns the value of thereasonrecord component.Methods in net.minecraft.network with parameters of type ComponentModifier and TypeMethodDescriptiondefault DisconnectionDetailsPacketListener.createDisconnectionInfo(Component p_350812_, Throwable p_351028_) voidConnection.disconnect(Component p_129508_) Constructors in net.minecraft.network with parameters of type ComponentModifierConstructorDescriptionDisconnectionDetails(Component p_350943_) Creates an instance of aDisconnectionDetailsrecord class. -
Uses of Component in net.minecraft.network.chat
Classes in net.minecraft.network.chat that implement ComponentFields in net.minecraft.network.chat declared as ComponentModifier and TypeFieldDescription(package private) static final ComponentSignedMessageChain.DecodeException.CHAIN_BROKENprivate final ComponentThrowingComponent.componentstatic final ComponentCommonComponents.CONNECT_FAILEDprivate final ComponentOutgoingChatMessage.Disguised.contentThe field for thecontentrecord component.static final ComponentComponentUtils.DEFAULT_NO_STYLE_SEPARATORstatic final ComponentComponentUtils.DEFAULT_SEPARATORstatic final ComponentCommonComponents.ELLIPSISstatic final ComponentCommonComponents.EMPTY(package private) static final ComponentSignedMessageChain.DecodeException.EXPIRED_PROFILE_KEYstatic final ComponentCommonComponents.GUI_ACKNOWLEDGEstatic final ComponentCommonComponents.GUI_BACKstatic final ComponentCommonComponents.GUI_CANCELstatic final ComponentCommonComponents.GUI_CONTINUEstatic final ComponentCommonComponents.GUI_COPY_LINK_TO_CLIPBOARDstatic final ComponentCommonComponents.GUI_DISCONNECTstatic final ComponentCommonComponents.GUI_DONEstatic final ComponentCommonComponents.GUI_NOstatic final ComponentCommonComponents.GUI_OKstatic final ComponentCommonComponents.GUI_OPEN_IN_BROWSERstatic final ComponentCommonComponents.GUI_PROCEEDstatic final ComponentCommonComponents.GUI_TO_TITLEstatic final ComponentCommonComponents.GUI_YES(package private) static final ComponentSignedMessageChain.DecodeException.INVALID_SIGNATURE(package private) static final ComponentSignedMessageChain.DecodeException.MISSING_PROFILE_KEYprivate final ComponentChatType.Bound.nameThe field for thenamerecord component.static final ComponentCommonComponents.NARRATION_SEPARATORstatic final ComponentCommonComponents.NEW_LINEstatic final ComponentCommonComponents.OPTION_OFFstatic final ComponentCommonComponents.OPTION_ON(package private) static final ComponentSignedMessageChain.DecodeException.OUT_OF_ORDER_CHATstatic final ComponentCommonComponents.SPACEstatic final ComponentCommonComponents.TRANSFER_CONNECT_FAILEDprivate final ComponentPlayerChatMessage.unsignedContentThe field for theunsignedContentrecord component.Fields in net.minecraft.network.chat with type parameters of type ComponentModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Component> ComponentSerialization.CODECstatic final com.mojang.serialization.Codec<Component> ComponentSerialization.FLAT_CODECHoverEvent.EntityTooltipInfo.linesCacheHoverEvent.EntityTooltipInfo.namestatic final StreamCodec<RegistryFriendlyByteBuf, Optional<Component>> ComponentSerialization.OPTIONAL_STREAM_CODECstatic final HoverEvent.Action<Component> HoverEvent.Action.SHOW_TEXTMutableComponent.siblingsstatic final StreamCodec<RegistryFriendlyByteBuf, Component> ComponentSerialization.STREAM_CODECChatType.Bound.targetNameThe field for thetargetNamerecord component.static final StreamCodec<io.netty.buffer.ByteBuf, Component> ComponentSerialization.TRUSTED_CONTEXT_FREE_STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Optional<Component>> ComponentSerialization.TRUSTED_OPTIONAL_STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Component> ComponentSerialization.TRUSTED_STREAM_CODECMethods in net.minecraft.network.chat that return ComponentModifier and TypeMethodDescriptionFilterMask.applyWithFormatting(String p_251709_) OutgoingChatMessage.content()OutgoingChatMessage.Disguised.content()Returns the value of thecontentrecord component.OutgoingChatMessage.Player.content()ChatDecorator.decorate(ServerPlayer p_236962_, Component p_236963_) ChatTypeDecoration.decorate(Component p_241301_, ChatType.Bound p_241391_) PlayerChatMessage.decoratedContent()ChatType.Bound.decorateNarration(Component p_241354_) static <T extends Comparable<T>>
ComponentComponentUtils.formatAndSortList(Collection<T> p_130746_, Function<T, Component> p_130747_) static ComponentComponentUtils.formatList(Collection<? extends Component> p_178434_, Component p_178435_) static <T> ComponentComponentUtils.formatList(Collection<? extends T> p_178441_, Function<T, Component> p_178442_) static ComponentComponentUtils.formatList(Collection<String> p_130744_) static ComponentComponentUtils.fromMessage(com.mojang.brigadier.Message p_130730_) ThrowingComponent.getComponent()static ComponentCommonComponents.joinLines(Collection<? extends Component> p_178392_) static ComponentChatType.Bound.name()Returns the value of thenamerecord component.static ComponentComponent.nullToEmpty(String p_130675_) static ComponentCommonComponents.optionStatus(boolean p_130667_) private Component[]ChatTypeDecoration.resolveParameters(Component p_241365_, ChatType.Bound p_241559_) ChatTypeDecoration.Parameter.select(Component p_241369_, ChatType.Bound p_241509_) ChatTypeDecoration.Parameter.Selector.select(Component p_239620_, ChatType.Bound p_241499_) static ComponentComponent.translationArg(com.mojang.brigadier.Message p_304620_) static ComponentComponent.translationArg(URI p_352152_) static ComponentComponent.translationArg(Date p_304461_) static ComponentComponent.translationArg(UUID p_304730_) static ComponentComponent.translationArg(ResourceLocation p_304849_) static ComponentComponent.translationArg(ChunkPos p_304675_) PlayerChatMessage.unsignedContent()Returns the value of theunsignedContentrecord component.Methods in net.minecraft.network.chat that return types with arguments of type ComponentModifier and TypeMethodDescriptionprivate static com.mojang.serialization.Codec<Component> ComponentSerialization.createCodec(com.mojang.serialization.Codec<Component> p_304554_) static com.mojang.serialization.Codec<Component> ComponentSerialization.flatCodec(int p_331605_) Component.getSiblings()MutableComponent.getSiblings()HoverEvent.EntityTooltipInfo.getTooltipLines()ChatType.Bound.targetName()Returns the value of thetargetNamerecord component.Component.toFlatList()Component.toFlatList(Style p_178406_) Methods in net.minecraft.network.chat with parameters of type ComponentModifier and TypeMethodDescriptionstatic ChatType.BoundChatType.bind(ResourceKey<ChatType> p_241284_, RegistryAccess p_241373_, Component p_241455_) default booleanChatDecorator.decorate(ServerPlayer p_236962_, Component p_236963_) ChatTypeDecoration.decorate(Component p_241301_, ChatType.Bound p_241391_) ChatType.Bound.decorateNarration(Component p_241354_) static ComponentComponentUtils.formatList(Collection<? extends Component> p_178434_, Component p_178435_) static <T> MutableComponentComponentUtils.formatList(Collection<? extends T> p_178437_, Component p_178438_, Function<T, Component> p_178439_) static booleanComponentUtils.isTranslationResolvable(Component p_237135_) static MutableComponentCommonComponents.joinForNarration(Component... p_267948_) static Componentstatic com.mojang.serialization.DataResult<HoverEvent.EntityTooltipInfo> HoverEvent.EntityTooltipInfo.legacyCreate(Component p_304689_, RegistryOps<?> p_330431_) private static com.mojang.serialization.DataResult<HoverEvent.ItemStackInfo> HoverEvent.ItemStackInfo.legacyCreate(Component p_304732_, RegistryOps<?> p_331763_) static MutableComponentCommonComponents.optionNameValue(Component p_178394_, Component p_178395_) static MutableComponentCommonComponents.optionStatus(Component p_130664_, boolean p_130665_) com.mojang.serialization.DataResult<T> HoverEvent.LegacyConverter.parse(Component p_332047_, RegistryOps<?> p_331431_) private Component[]ChatTypeDecoration.resolveParameters(Component p_241365_, ChatType.Bound p_241559_) ChatTypeDecoration.Parameter.select(Component p_241369_, ChatType.Bound p_241509_) ChatTypeDecoration.Parameter.Selector.select(Component p_239620_, ChatType.Bound p_241499_) (package private) static com.google.gson.JsonElementComponent.Serializer.serialize(Component p_304983_, HolderLookup.Provider p_331501_) com.google.gson.JsonElementComponent.SerializerAdapter.serialize(Component p_304915_, Type p_304423_, com.google.gson.JsonSerializationContext p_304514_) static StringComponent.Serializer.toJson(Component p_130704_, HolderLookup.Provider p_330782_) static MutableComponentComponentUtils.updateForEntity(CommandSourceStack p_130732_, Component p_130733_, Entity p_130734_, int p_130735_) ChatType.Bound.withTargetName(Component p_241530_) PlayerChatMessage.withUnsignedContent(Component p_242164_) static MutableComponentComponentUtils.wrapInSquareBrackets(Component p_130749_) Method parameters in net.minecraft.network.chat with type arguments of type ComponentModifier and TypeMethodDescriptionprivate static com.mojang.serialization.Codec<Component> ComponentSerialization.createCodec(com.mojang.serialization.Codec<Component> p_304554_) private static MutableComponentComponentSerialization.createFromList(List<Component> p_304405_) static <T extends Comparable<T>>
ComponentComponentUtils.formatAndSortList(Collection<T> p_130746_, Function<T, Component> p_130747_) static ComponentComponentUtils.formatList(Collection<? extends Component> p_178434_, Component p_178435_) static <T> ComponentComponentUtils.formatList(Collection<? extends T> p_178441_, Function<T, Component> p_178442_) static <T> MutableComponentComponentUtils.formatList(Collection<? extends T> p_178430_, Optional<? extends Component> p_178431_, Function<T, Component> p_178432_) static <T> MutableComponentComponentUtils.formatList(Collection<? extends T> p_178430_, Optional<? extends Component> p_178431_, Function<T, Component> p_178432_) static <T> MutableComponentComponentUtils.formatList(Collection<? extends T> p_178437_, Component p_178438_, Function<T, Component> p_178439_) static ComponentCommonComponents.joinLines(Collection<? extends Component> p_178392_) static MutableComponentComponent.nbt(String p_237106_, boolean p_237107_, Optional<Component> p_237108_, DataSource p_237109_) static MutableComponentstatic Optional<MutableComponent> ComponentUtils.updateForEntity(CommandSourceStack p_178425_, Optional<Component> p_178426_, Entity p_178427_, int p_178428_) Constructors in net.minecraft.network.chat with parameters of type ComponentModifierConstructorDescription(package private)Creates an instance of aBoundrecord class.DecodeException(Component p_249149_) Creates an instance of aDisguisedrecord class.EntityTooltipInfo(EntityType<?> p_130876_, UUID p_130877_, Component p_130878_) PlayerChatMessage(SignedMessageLink link, MessageSignature signature, SignedMessageBody signedBody, Component unsignedContent, FilterMask filterMask) Creates an instance of aPlayerChatMessagerecord class.ThrowingComponent(Component p_237304_) ThrowingComponent(Component p_237306_, Throwable p_237307_) Constructor parameters in net.minecraft.network.chat with type arguments of type ComponentModifierConstructorDescriptionCreates an instance of aBoundrecord class.EntityTooltipInfo(EntityType<?> p_304581_, UUID p_304712_, Optional<Component> p_304973_) (package private)MutableComponent(ComponentContents p_237200_, List<Component> p_237201_, Style p_237202_) -
Uses of Component in net.minecraft.network.chat.contents
Fields in net.minecraft.network.chat.contents with type parameters of type ComponentModifier and TypeFieldDescriptionKeybindResolver.keyResolverKeybindContents.nameResolverNbtContents.separatorSelectorContents.separatorMethods in net.minecraft.network.chat.contents that return ComponentMethods in net.minecraft.network.chat.contents that return types with arguments of type ComponentMethod parameters in net.minecraft.network.chat.contents with type arguments of type ComponentModifier and TypeMethodDescriptionstatic voidKeybindResolver.setKeyResolver(Function<String, Supplier<Component>> p_237365_) Constructor parameters in net.minecraft.network.chat.contents with type arguments of type ComponentModifierConstructorDescriptionNbtContents(String p_237395_, boolean p_237396_, Optional<Component> p_237397_, DataSource p_237398_) privateNbtContents(String p_237389_, NbtPathArgument.NbtPath p_237390_, boolean p_237391_, Optional<Component> p_237392_, DataSource p_237393_) SelectorContents(String p_237464_, Optional<Component> p_237465_) -
Uses of Component in net.minecraft.network.chat.numbers
Fields in net.minecraft.network.chat.numbers declared as ComponentConstructors in net.minecraft.network.chat.numbers with parameters of type Component -
Uses of Component in net.minecraft.network.protocol.common
Fields in net.minecraft.network.protocol.common declared as ComponentModifier and TypeFieldDescriptionprivate final ComponentClientboundDisconnectPacket.reasonThe field for thereasonrecord component.Fields in net.minecraft.network.protocol.common with type parameters of type ComponentModifier and TypeFieldDescriptionClientboundResourcePackPushPacket.promptThe field for thepromptrecord component.Methods in net.minecraft.network.protocol.common that return ComponentModifier and TypeMethodDescriptionClientboundDisconnectPacket.reason()Returns the value of thereasonrecord component.Methods in net.minecraft.network.protocol.common that return types with arguments of type ComponentModifier and TypeMethodDescriptionClientboundResourcePackPushPacket.prompt()Returns the value of thepromptrecord component.Constructors in net.minecraft.network.protocol.common with parameters of type ComponentModifierConstructorDescriptionClientboundDisconnectPacket(Component reason) Creates an instance of aClientboundDisconnectPacketrecord class.Constructor parameters in net.minecraft.network.protocol.common with type arguments of type Component -
Uses of Component in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as ComponentModifier and TypeFieldDescriptionprivate final ComponentClientboundSystemChatPacket.contentThe field for thecontentrecord component.private final ComponentClientboundPlayerInfoUpdatePacket.Entry.displayNameThe field for thedisplayNamerecord component.(package private) ComponentClientboundPlayerInfoUpdatePacket.EntryBuilder.displayNameprivate final ComponentClientboundSetObjectivePacket.displayNameprivate final ComponentClientboundSetPlayerTeamPacket.Parameters.displayNameprivate final ComponentClientboundTabListPacket.footerThe field for thefooterrecord component.private final ComponentClientboundTabListPacket.headerThe field for theheaderrecord component.private final ComponentClientboundDisguisedChatPacket.messageThe field for themessagerecord component.private final ComponentClientboundPlayerCombatKillPacket.messageThe field for themessagerecord component.private final ComponentClientboundServerDataPacket.motdThe field for themotdrecord component.private final ComponentClientboundBossEventPacket.AddOperation.nameprivate final ComponentClientboundBossEventPacket.UpdateNameOperation.nameThe field for thenamerecord component.private final ComponentClientboundSetPlayerTeamPacket.Parameters.playerPrefixprivate final ComponentClientboundSetPlayerTeamPacket.Parameters.playerSuffixprivate final ComponentClientboundSetActionBarTextPacket.textThe field for thetextrecord component.private final ComponentClientboundSetSubtitleTextPacket.textThe field for thetextrecord component.private final ComponentClientboundSetTitleTextPacket.textThe field for thetextrecord component.private final ComponentClientboundOpenScreenPacket.titleprivate final ComponentClientboundPlayerChatPacket.unsignedContentThe field for theunsignedContentrecord component.Fields in net.minecraft.network.protocol.game with type parameters of type ComponentModifier and TypeFieldDescriptionClientboundSetScorePacket.displayThe field for thedisplayrecord component.ClientboundCommandSuggestionsPacket.Entry.tooltipThe field for thetooltiprecord component.Methods in net.minecraft.network.protocol.game that return ComponentModifier and TypeMethodDescriptionClientboundSystemChatPacket.content()Returns the value of thecontentrecord component.ClientboundPlayerInfoUpdatePacket.Entry.displayName()Returns the value of thedisplayNamerecord component.ClientboundTabListPacket.footer()Returns the value of thefooterrecord component.ClientboundSetObjectivePacket.getDisplayName()ClientboundSetPlayerTeamPacket.Parameters.getDisplayName()ClientboundSetPlayerTeamPacket.Parameters.getPlayerPrefix()ClientboundSetPlayerTeamPacket.Parameters.getPlayerSuffix()ClientboundOpenScreenPacket.getTitle()ClientboundTabListPacket.header()Returns the value of theheaderrecord component.ClientboundDisguisedChatPacket.message()Returns the value of themessagerecord component.ClientboundPlayerCombatKillPacket.message()Returns the value of themessagerecord component.ClientboundServerDataPacket.motd()Returns the value of themotdrecord component.ClientboundBossEventPacket.UpdateNameOperation.name()Returns the value of thenamerecord component.ClientboundSetActionBarTextPacket.text()Returns the value of thetextrecord component.ClientboundSetSubtitleTextPacket.text()Returns the value of thetextrecord component.ClientboundSetTitleTextPacket.text()Returns the value of thetextrecord component.ClientboundPlayerChatPacket.unsignedContent()Returns the value of theunsignedContentrecord component.Methods in net.minecraft.network.protocol.game that return types with arguments of type ComponentModifier and TypeMethodDescriptionClientboundSetScorePacket.display()Returns the value of thedisplayrecord component.ClientboundCommandSuggestionsPacket.Entry.tooltip()Returns the value of thetooltiprecord component.Methods in net.minecraft.network.protocol.game with parameters of type ComponentModifier and TypeMethodDescriptiondefault voidClientboundBossEventPacket.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 voidClientboundBossEventPacket.Handler.updateName(UUID p_178687_, Component p_178688_) Constructors in net.minecraft.network.protocol.game with parameters of type ComponentModifierConstructorDescriptionClientboundDisguisedChatPacket(Component message, ChatType.Bound chatType) Creates an instance of aClientboundDisguisedChatPacketrecord class.ClientboundOpenScreenPacket(int p_132616_, MenuType<?> p_132617_, Component p_132618_) ClientboundPlayerChatPacket(UUID sender, int index, MessageSignature signature, SignedMessageBody.Packed body, Component unsignedContent, FilterMask filterMask, ChatType.Bound chatType) Creates an instance of aClientboundPlayerChatPacketrecord class.ClientboundPlayerCombatKillPacket(int playerId, Component message) Creates an instance of aClientboundPlayerCombatKillPacketrecord class.ClientboundServerDataPacket(Component motd, Optional<byte[]> iconBytes) Creates an instance of aClientboundServerDataPacketrecord class.Creates an instance of aClientboundSetActionBarTextPacketrecord class.Creates an instance of aClientboundSetSubtitleTextPacketrecord class.Creates an instance of aClientboundSetTitleTextPacketrecord class.ClientboundSystemChatPacket(Component content, boolean overlay) Creates an instance of aClientboundSystemChatPacketrecord class.ClientboundTabListPacket(Component header, Component footer) Creates an instance of aClientboundTabListPacketrecord class.Entry(UUID profileId, com.mojang.authlib.GameProfile profile, boolean listed, int latency, GameType gameMode, Component displayName, RemoteChatSession.Data chatSession) Creates an instance of aEntryrecord class.(package private)UpdateNameOperation(Component name) Creates an instance of aUpdateNameOperationrecord class.Constructor parameters in net.minecraft.network.protocol.game with type arguments of type ComponentModifierConstructorDescriptionClientboundSetScorePacket(String owner, String objectiveName, int score, Optional<Component> display, Optional<NumberFormat> numberFormat) Creates an instance of aClientboundSetScorePacketrecord class.Creates an instance of aEntryrecord class. -
Uses of Component in net.minecraft.network.protocol.login
Fields in net.minecraft.network.protocol.login declared as ComponentMethods in net.minecraft.network.protocol.login that return ComponentConstructors in net.minecraft.network.protocol.login with parameters of type Component -
Uses of Component in net.minecraft.network.protocol.status
Fields in net.minecraft.network.protocol.status declared as ComponentModifier and TypeFieldDescriptionprivate final ComponentServerStatus.descriptionThe field for thedescriptionrecord component.Methods in net.minecraft.network.protocol.status that return ComponentModifier and TypeMethodDescriptionServerStatus.description()Returns the value of thedescriptionrecord component.Constructors in net.minecraft.network.protocol.status with parameters of type ComponentModifierConstructorDescriptionServerStatus(Component description, Optional<ServerStatus.Players> players, Optional<ServerStatus.Version> version, Optional<ServerStatus.Favicon> favicon, boolean enforcesSecureChat) Deprecated.ServerStatus(Component description, Optional<ServerStatus.Players> players, Optional<ServerStatus.Version> version, Optional<ServerStatus.Favicon> favicon, boolean enforcesSecureChat, boolean isModded) Creates an instance of aServerStatusrecord class. -
Uses of Component in net.minecraft.network.syncher
Fields in net.minecraft.network.syncher with type parameters of type ComponentModifier and TypeFieldDescriptionstatic final EntityDataSerializer<Component> EntityDataSerializers.COMPONENTstatic final EntityDataSerializer<Optional<Component>> EntityDataSerializers.OPTIONAL_COMPONENT -
Uses of Component in net.minecraft.realms
Fields in net.minecraft.realms declared as ComponentModifier and TypeFieldDescription(package private) final ComponentRepeatedNarrator.Params.narrationprivate final ComponentDisconnectedRealmsScreen.reasonprivate final ComponentRealmsLabel.textMethods in net.minecraft.realms that return ComponentModifier and TypeMethodDescriptionRealmsScreen.createLabelNarration()DisconnectedRealmsScreen.getNarrationMessage()RealmsLabel.getText()Methods in net.minecraft.realms with parameters of type ComponentModifier and TypeMethodDescriptionvoidRepeatedNarrator.narrate(GameNarrator p_240528_, Component p_240604_) Constructors in net.minecraft.realms with parameters of type ComponentModifierConstructorDescriptionDisconnectedRealmsScreen(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
Fields in net.minecraft.server declared as ComponentModifier and TypeFieldDescriptionprivate final ComponentMinecraftServer.ServerResourcePackInfo.promptThe field for thepromptrecord component.Fields in net.minecraft.server with type parameters of type ComponentModifier and TypeFieldDescriptionprivate final com.mojang.datafixers.util.Either<ServerLinks.KnownLinkType, Component> ServerLinks.Entry.typeThe field for thetyperecord component.private final com.mojang.datafixers.util.Either<ServerLinks.KnownLinkType, Component> ServerLinks.UntrustedEntry.typeThe field for thetyperecord component.static final StreamCodec<io.netty.buffer.ByteBuf, com.mojang.datafixers.util.Either<ServerLinks.KnownLinkType, Component>> ServerLinks.TYPE_STREAM_CODECMethods in net.minecraft.server that return ComponentModifier and TypeMethodDescriptionServerLinks.Entry.displayName()private ComponentServerLinks.KnownLinkType.displayName()MinecraftServer.ServerResourcePackInfo.prompt()Returns the value of thepromptrecord component.Methods in net.minecraft.server that return types with arguments of type ComponentModifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either<ServerLinks.KnownLinkType, Component> ServerLinks.Entry.type()Returns the value of thetyperecord component.com.mojang.datafixers.util.Either<ServerLinks.KnownLinkType, Component> ServerLinks.UntrustedEntry.type()Returns the value of thetyperecord component.Methods in net.minecraft.server with parameters of type ComponentModifier and TypeMethodDescriptionstatic ServerLinks.EntryvoidMinecraftServer.logChatMessage(Component p_241503_, ChatType.Bound p_241402_, String p_241481_) voidMinecraftServer.sendSystemMessage(Component p_236736_) Constructors in net.minecraft.server with parameters of type ComponentModifierConstructorDescriptionServerResourcePackInfo(UUID id, String url, String hash, boolean isRequired, Component prompt) Creates an instance of aServerResourcePackInforecord class.Constructor parameters in net.minecraft.server with type arguments of type ComponentModifierConstructorDescriptionEntry(com.mojang.datafixers.util.Either<ServerLinks.KnownLinkType, Component> type, URI link) Creates an instance of aEntryrecord class.UntrustedEntry(com.mojang.datafixers.util.Either<ServerLinks.KnownLinkType, Component> type, String link) Creates an instance of aUntrustedEntryrecord class. -
Uses of Component in net.minecraft.server.bossevents
Methods in net.minecraft.server.bossevents that return ComponentMethods in net.minecraft.server.bossevents with parameters of type ComponentModifier and TypeMethodDescriptionCustomBossEvents.create(ResourceLocation p_136300_, Component p_136301_) Constructors in net.minecraft.server.bossevents with parameters of type Component -
Uses of Component in net.minecraft.server.commands
Methods in net.minecraft.server.commands that return ComponentModifier and TypeMethodDescriptionprivate static ComponentAttributeCommand.getAttributeDescription(Holder<Attribute> p_250602_) private static ComponentTeamCommand.getFirstMemberName(Collection<ScoreHolder> p_313883_) private static ComponentScoreboardCommand.getFirstTargetName(Collection<ScoreHolder> p_313737_) Methods in net.minecraft.server.commands with parameters of type ComponentModifier and TypeMethodDescriptionprivate static intScoreboardCommand.addObjective(CommandSourceStack p_138503_, String p_138504_, ObjectiveCriteria p_138505_, Component p_138506_) private static intBanIpCommands.banIp(CommandSourceStack p_136540_, String p_136541_, Component p_136542_) private static intBanIpCommands.banIpOrName(CommandSourceStack p_136534_, String p_136535_, Component p_136536_) private static intBanPlayerCommands.banPlayers(CommandSourceStack p_136565_, Collection<com.mojang.authlib.GameProfile> p_136566_, Component p_136567_) private static intBossBarCommands.createBar(CommandSourceStack p_136592_, ResourceLocation p_136593_, Component p_136594_) private static intTeamCommand.createTeam(CommandSourceStack p_138914_, String p_138915_, Component p_138916_) private static intKickCommand.kickPlayers(CommandSourceStack p_137802_, Collection<ServerPlayer> p_137803_, Component p_137804_) private static intRaidCommand.playSound(CommandSourceStack p_180478_, Component p_180479_) voidDebugCommand.Tracer.sendSystemMessage(Component p_214427_) private static intScoreboardCommand.setDisplayName(CommandSourceStack p_138492_, Objective p_138493_, Component p_138494_) private static intTeamCommand.setDisplayName(CommandSourceStack p_138903_, PlayerTeam p_138904_, Component p_138905_) private static intBossBarCommands.setName(CommandSourceStack p_136615_, CustomBossEvent p_136616_, Component p_136617_) private static intTeamCommand.setPrefix(CommandSourceStack p_138934_, PlayerTeam p_138935_, Component p_138936_) private static intScoreboardCommand.setScoreDisplay(CommandSourceStack p_313937_, Collection<ScoreHolder> p_313923_, Objective p_313702_, Component p_313807_) private static intTeamCommand.setSuffix(CommandSourceStack p_138947_, PlayerTeam p_138948_, Component p_138949_) private static intTitleCommand.showTitle(CommandSourceStack p_142781_, Collection<ServerPlayer> p_142782_, Component p_142783_, String p_142784_, Function<Component, Packet<?>> p_142785_) Method parameters in net.minecraft.server.commands with type arguments of type ComponentModifier and TypeMethodDescriptionstatic com.mojang.datafixers.util.Either<Integer, com.mojang.brigadier.exceptions.CommandSyntaxException> FillBiomeCommand.fill(ServerLevel p_313779_, BlockPos p_313726_, BlockPos p_313895_, Holder<Biome> p_313905_, Predicate<Holder<Biome>> p_313945_, Consumer<Supplier<Component>> p_313787_) private static intListPlayersCommand.format(CommandSourceStack p_137827_, Function<ServerPlayer, Component> p_137828_) private static intTitleCommand.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
Methods in net.minecraft.server.commands.data that return ComponentModifier 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
Methods in net.minecraft.server.dedicated that return ComponentModifier and TypeMethodDescriptionprivate static ComponentDedicatedServerProperties.parseResourcePackPrompt(String p_214815_) -
Uses of Component in net.minecraft.server.level
Fields in net.minecraft.server.level declared as ComponentModifier and TypeFieldDescriptionprivate ComponentServerPlayer.tabListDisplayNameprivate ComponentServerPlayer.tabListFooterprivate ComponentServerPlayer.tabListHeaderMethods in net.minecraft.server.level that return ComponentModifier and TypeMethodDescriptionServerPlayer.getTabListDisplayName()ServerPlayer.getTabListFooter()ServerPlayer.getTabListHeader()Methods in net.minecraft.server.level with parameters of type ComponentModifier and TypeMethodDescriptionvoidServerPlayer.displayClientMessage(Component p_9154_, boolean p_9155_) voidServerPlayer.sendSystemMessage(Component p_215097_) voidServerPlayer.sendSystemMessage(Component p_240560_, boolean p_240545_) voidvoidServerPlayer.setTabListFooter(Component footer) Set the tab list footer while preserving the header.voidServerPlayer.setTabListHeader(Component header) Set the tab list header while preserving the footer.voidServerPlayer.setTabListHeaderFooter(Component header, Component footer) Set the tab list header and footer at once.Constructors in net.minecraft.server.level with parameters of type ComponentModifierConstructorDescriptionServerBossEvent(Component p_8300_, BossEvent.BossBarColor p_8301_, BossEvent.BossBarOverlay p_8302_) -
Uses of Component in net.minecraft.server.network
Fields in net.minecraft.server.network declared as ComponentModifier and TypeFieldDescriptionprivate static final ComponentServerGamePacketListenerImpl.CHAT_VALIDATION_FAILEDprivate static final ComponentServerStatusPacketListenerImpl.DISCONNECT_REASONprivate static final ComponentServerConfigurationPacketListenerImpl.DISCONNECT_REASON_INVALID_DATA(package private) static final ComponentServerCommonPacketListenerImpl.DISCONNECT_UNEXPECTED_QUERYprivate static final ComponentServerHandshakePacketListenerImpl.IGNORE_STATUS_REASONprivate static final ComponentServerGamePacketListenerImpl.INVALID_COMMAND_SIGNATUREprivate static final ComponentServerCommonPacketListenerImpl.TIMEOUT_DISCONNECTION_MESSAGEMethods in net.minecraft.server.network with parameters of type ComponentModifier and TypeMethodDescriptionvoidServerCommonPacketListenerImpl.disconnect(Component p_294116_) voidServerLoginPacketListenerImpl.disconnect(Component p_10054_) voidServerGamePacketListenerImpl.sendDisguisedChatMessage(Component p_251804_, ChatType.Bound p_250040_) -
Uses of Component in net.minecraft.server.packs
Fields in net.minecraft.server.packs declared as ComponentModifier and TypeFieldDescriptionprivate final ComponentPackLocationInfo.titleThe field for thetitlerecord component.Methods in net.minecraft.server.packs that return ComponentModifier and TypeMethodDescriptionPackLocationInfo.createChatLink(boolean p_326100_, Component p_325972_) PackLocationInfo.title()Returns the value of thetitlerecord component.Methods in net.minecraft.server.packs with parameters of type ComponentModifier and TypeMethodDescriptionPackLocationInfo.createChatLink(boolean p_326100_, Component p_325972_) Constructors in net.minecraft.server.packs with parameters of type ComponentModifierConstructorDescriptionPackLocationInfo(String id, Component title, PackSource source, Optional<KnownPack> knownPackInfo) Creates an instance of aPackLocationInforecord class. -
Uses of Component in net.minecraft.server.packs.metadata.pack
Fields in net.minecraft.server.packs.metadata.pack declared as ComponentModifier and TypeFieldDescriptionprivate final ComponentPackMetadataSection.descriptionThe field for thedescriptionrecord component.Methods in net.minecraft.server.packs.metadata.pack that return ComponentModifier and TypeMethodDescriptionPackMetadataSection.description()Returns the value of thedescriptionrecord component.Constructors in net.minecraft.server.packs.metadata.pack with parameters of type ComponentModifierConstructorDescriptionPackMetadataSection(Component description, int packVersion) PackMetadataSection(Component description, int packFormat, Optional<InclusiveRange<Integer>> supportedFormats) Creates an instance of aPackMetadataSectionrecord class. -
Uses of Component in net.minecraft.server.packs.repository
Fields in net.minecraft.server.packs.repository declared as ComponentModifier and TypeFieldDescriptionprivate final ComponentPackCompatibility.confirmationprivate final ComponentPack.Metadata.descriptionThe field for thedescriptionrecord component.private final ComponentPackCompatibility.descriptionFields in net.minecraft.server.packs.repository with type parameters of type ComponentMethods in net.minecraft.server.packs.repository that return ComponentModifier and TypeMethodDescriptionPack.Metadata.description()Returns the value of thedescriptionrecord component.Pack.getChatLink(boolean p_10438_) PackCompatibility.getConfirmation()Pack.getDescription()PackCompatibility.getDescription()protected abstract ComponentBuiltInPackSource.getPackTitle(String p_251850_) protected ComponentServerPacksSource.getPackTitle(String p_249692_) Pack.getTitle()Methods in net.minecraft.server.packs.repository that return types with arguments of type ComponentModifier and TypeMethodDescriptionprivate static UnaryOperator<Component> PackSource.decorateWithSource(String p_10534_) Methods in net.minecraft.server.packs.repository with parameters of type ComponentModifier and TypeMethodDescriptionprotected abstract PackBuiltInPackSource.createBuiltinPack(String p_249992_, Pack.ResourcesSupplier p_248670_, Component p_252197_) protected PackServerPacksSource.createBuiltinPack(String p_250596_, Pack.ResourcesSupplier p_249625_, Component p_249043_) private static PackLocationInfoServerPacksSource.createBuiltInPackLocation(String p_326487_, Component p_326454_) Method parameters in net.minecraft.server.packs.repository with type arguments of type ComponentModifier and TypeMethodDescriptionstatic PackSourcePackSource.create(UnaryOperator<Component> p_251995_, boolean p_249897_) Constructors in net.minecraft.server.packs.repository with parameters of type ComponentModifierConstructorDescriptionMetadata(Component description, PackCompatibility compatibility, FeatureFlagSet requestedFeatures, List<String> overlays) Deprecated.Neo: useMetadata(Component,PackCompatibility,FeatureFlagSet,List,boolean)insteadMetadata(Component description, PackCompatibility compatibility, FeatureFlagSet requestedFeatures, List<String> overlays, boolean isHidden) Creates an instance of aMetadatarecord class. -
Uses of Component in net.minecraft.server.players
Fields in net.minecraft.server.players declared as ComponentModifier and TypeFieldDescriptionstatic final ComponentPlayerList.CHAT_FILTERED_FULLstatic final ComponentPlayerList.DUPLICATE_LOGIN_DISCONNECT_MESSAGEMethods in net.minecraft.server.players that return ComponentModifier and TypeMethodDescriptionPlayerList.canPlayerLogin(SocketAddress p_11257_, com.mojang.authlib.GameProfile p_11258_) abstract ComponentBanListEntry.getDisplayName()IpBanListEntry.getDisplayName()UserBanListEntry.getDisplayName()Methods in net.minecraft.server.players with parameters of type ComponentModifier and TypeMethodDescriptionvoidPlayerList.broadcastSystemMessage(Component p_240618_, boolean p_240644_) voidPlayerList.broadcastSystemMessage(Component p_240526_, Function<ServerPlayer, Component> p_240594_, boolean p_240648_) voidPlayerList.broadcastSystemToAllExceptTeam(Player p_215650_, Component p_215651_) voidPlayerList.broadcastSystemToTeam(Player p_215622_, Component p_215623_) Method parameters in net.minecraft.server.players with type arguments of type ComponentModifier and TypeMethodDescriptionvoidPlayerList.broadcastSystemMessage(Component p_240526_, Function<ServerPlayer, Component> p_240594_, boolean p_240648_) -
Uses of Component in net.minecraft.server.rcon
Fields in net.minecraft.server.rcon declared as ComponentMethods in net.minecraft.server.rcon with parameters of type Component -
Uses of Component in net.minecraft.stats
Fields in net.minecraft.stats declared as ComponentMethods in net.minecraft.stats that return ComponentConstructors in net.minecraft.stats with parameters of type Component -
Uses of Component in net.minecraft.util
Methods in net.minecraft.util that return ComponentMethods in net.minecraft.util with parameters of type ComponentModifier and TypeMethodDescriptionvoidProgressListener.progressStage(Component p_14214_) voidProgressListener.progressStart(Component p_14213_) voidProgressListener.progressStartNoAbort(Component p_14212_) -
Uses of Component in net.minecraft.util.worldupdate
Fields in net.minecraft.util.worldupdate declared as ComponentMethods in net.minecraft.util.worldupdate that return Component -
Uses of Component in net.minecraft.world
Fields in net.minecraft.world declared as ComponentModifier and TypeFieldDescriptionprotected ComponentBossEvent.nameprivate final ComponentSimpleMenuProvider.titleMethods in net.minecraft.world that return ComponentModifier and TypeMethodDescriptiondefault ComponentNameable.getCustomName()Difficulty.getDisplayName()MenuProvider.getDisplayName()default ComponentNameable.getDisplayName()SimpleMenuProvider.getDisplayName()Difficulty.getInfo()BossEvent.getName()Nameable.getName()Methods in net.minecraft.world with parameters of type ComponentConstructors in net.minecraft.world with parameters of type ComponentModifierConstructorDescriptionBossEvent(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
Methods in net.minecraft.world.damagesource that return ComponentModifier and TypeMethodDescriptionCombatTracker.getDeathMessage()private static ComponentCombatTracker.getDisplayName(Entity p_289557_) CombatTracker.getFallMessage(CombatEntry p_289570_, Entity p_289561_) DamageSource.getLocalizedDeathMessage(LivingEntity p_19343_) private ComponentCombatTracker.getMessageForAssistedFall(Entity p_289547_, Component p_289532_, String p_289555_, String p_289548_) Methods in net.minecraft.world.damagesource with parameters of type Component -
Uses of Component in net.minecraft.world.effect
Methods in net.minecraft.world.effect that return ComponentModifier and TypeMethodDescriptionstatic ComponentMobEffectUtil.formatDuration(MobEffectInstance p_268116_, float p_268280_, float p_314720_) MobEffect.getDisplayName() -
Uses of Component in net.minecraft.world.entity
Fields in net.minecraft.world.entity declared as ComponentModifier and TypeFieldDescriptionprivate ComponentEntityType.descriptionprivate final ComponentDisplay.TextDisplay.TextRenderState.textThe field for thetextrecord component.Fields in net.minecraft.world.entity with type parameters of type ComponentModifier and TypeFieldDescriptionprivate static final EntityDataAccessor<Optional<Component>> Entity.DATA_CUSTOM_NAMEprivate static final EntityDataAccessor<Component> Display.TextDisplay.DATA_TEXT_IDMethods in net.minecraft.world.entity that return ComponentModifier and TypeMethodDescriptionEntity.getCustomName()EntityType.getDescription()Entity.getDisplayName()Entity.getName()private ComponentDisplay.TextDisplay.getText()protected ComponentEntity.getTypeName()private static ComponentEntity.removeAction(Component p_20141_) Display.TextDisplay.TextRenderState.text()Returns the value of thetextrecord component.Methods in net.minecraft.world.entity with parameters of type ComponentModifier and TypeMethodDescriptionprivate static ComponentEntity.removeAction(Component p_20141_) voidEntity.sendSystemMessage(Component p_216998_) voidEntity.setCustomName(Component p_20053_) private voidConstructors in net.minecraft.world.entity with parameters of type ComponentModifierConstructorDescriptionTextRenderState(Component text, int lineWidth, Display.IntInterpolator textOpacity, Display.IntInterpolator backgroundColor, byte flags) Creates an instance of aTextRenderStaterecord class. -
Uses of Component in net.minecraft.world.entity.animal
Fields in net.minecraft.world.entity.animal declared as ComponentMethods in net.minecraft.world.entity.animal that return Component -
Uses of Component in net.minecraft.world.entity.boss.wither
Methods in net.minecraft.world.entity.boss.wither with parameters of type Component -
Uses of Component in net.minecraft.world.entity.item
Methods in net.minecraft.world.entity.item that return ComponentModifier and TypeMethodDescriptionItemEntity.getName()protected ComponentFallingBlockEntity.getTypeName() -
Uses of Component in net.minecraft.world.entity.monster
Methods in net.minecraft.world.entity.monster with parameters of type Component -
Uses of Component in net.minecraft.world.entity.npc
Methods in net.minecraft.world.entity.npc that return Component -
Uses of Component in net.minecraft.world.entity.player
Fields in net.minecraft.world.entity.player declared as ComponentModifier and TypeFieldDescriptionprivate ComponentPlayer.displaynamestatic final ComponentProfilePublicKey.EXPIRED_PROFILE_PUBLIC_KEYprivate static final ComponentProfilePublicKey.INVALID_SIGNATUREprivate final ComponentPlayer.BedSleepingProblem.messageprivate final ComponentPlayerModelPart.nameMethods in net.minecraft.world.entity.player that return ComponentModifier and TypeMethodDescriptionPlayer.getDisplayName()Player.BedSleepingProblem.getMessage()Inventory.getName()Player.getName()PlayerModelPart.getName()Methods in net.minecraft.world.entity.player with parameters of type ComponentModifier and TypeMethodDescriptionvoidPlayer.displayClientMessage(Component p_36216_, boolean p_36217_) Constructors in net.minecraft.world.entity.player with parameters of type ComponentModifierConstructorDescriptionprivateBedSleepingProblem(Component p_36422_) ValidationException(Component p_243378_) -
Uses of Component in net.minecraft.world.entity.raid
Fields in net.minecraft.world.entity.raid declared as ComponentModifier and TypeFieldDescriptionprivate static final Componentprivate static final Componentprivate static final Componentprivate static final ComponentRaid.RAID_NAME_COMPONENT -
Uses of Component in net.minecraft.world.entity.vehicle
Fields in net.minecraft.world.entity.vehicle with type parameters of type ComponentModifier and TypeFieldDescription(package private) static final EntityDataAccessor<Component> MinecartCommandBlock.DATA_ID_LAST_OUTPUTMethods in net.minecraft.world.entity.vehicle that return Component -
Uses of Component in net.minecraft.world.item
Fields in net.minecraft.world.item declared as ComponentModifier and TypeFieldDescriptionprivate final ComponentSmithingTemplateItem.additionsSlotDescriptionprivate static final ComponentSmithingTemplateItem.APPLIES_TO_TITLEprivate final ComponentSmithingTemplateItem.appliesToprivate static final ComponentSmithingTemplateItem.ARMOR_TRIM_ADDITIONS_SLOT_DESCRIPTIONprivate static final ComponentSmithingTemplateItem.ARMOR_TRIM_APPLIES_TOprivate static final ComponentSmithingTemplateItem.ARMOR_TRIM_BASE_SLOT_DESCRIPTIONprivate static final ComponentSmithingTemplateItem.ARMOR_TRIM_INGREDIENTSprivate final ComponentSmithingTemplateItem.baseSlotDescriptionstatic final ComponentAdventureModePredicate.CAN_BREAK_HEADERstatic final ComponentAdventureModePredicate.CAN_PLACE_HEADERprivate final ComponentJukeboxSong.descriptionThe field for thedescriptionrecord component.private static final ComponentItemStack.DISABLED_ITEM_TOOLTIPprivate ComponentCreativeModeTab.Builder.displayNameprivate final ComponentCreativeModeTab.displayNameprivate final ComponentSmithingTemplateItem.ingredientsprivate static final ComponentSmithingTemplateItem.INGREDIENTS_TITLEprivate static final ComponentSmithingTemplateItem.NETHERITE_UPGRADEprivate static final ComponentSmithingTemplateItem.NETHERITE_UPGRADE_ADDITIONS_SLOT_DESCRIPTIONprivate static final ComponentSmithingTemplateItem.NETHERITE_UPGRADE_APPLIES_TOprivate static final ComponentSmithingTemplateItem.NETHERITE_UPGRADE_BASE_SLOT_DESCRIPTIONprivate static final ComponentSmithingTemplateItem.NETHERITE_UPGRADE_INGREDIENTSprivate static final ComponentHangingEntityItem.TOOLTIP_RANDOM_VARIANTprivate static final ComponentAdventureModePredicate.UNKNOWN_USEprivate final ComponentSmithingTemplateItem.upgradeDescriptionFields in net.minecraft.world.item with type parameters of type ComponentMethods in net.minecraft.world.item that return ComponentModifier and TypeMethodDescriptionJukeboxSong.description()Returns the value of thedescriptionrecord component.SmithingTemplateItem.getAdditionSlotDescription()SmithingTemplateItem.getBaseSlotDescription()Item.getDescription()CreativeModeTab.getDisplayName()ItemStack.getDisplayName()ItemStack.getHoverName()static ComponentMapItem.getTooltipForId(MapId p_323616_) Methods in net.minecraft.world.item that return types with arguments of type ComponentModifier and TypeMethodDescriptionAdventureModePredicate.computeTooltip(List<BlockPredicate> p_332164_) ItemStack.getTooltipLines(Item.TooltipContext p_339637_, Player p_41652_, TooltipFlag p_41653_) Methods in net.minecraft.world.item with parameters of type ComponentModifier and TypeMethodDescriptionprivate static voidMethod parameters in net.minecraft.world.item with type arguments of type ComponentModifier and TypeMethodDescriptionprivate voidItemStack.addAttributeTooltips(Consumer<Component> p_330796_, Player p_330530_) private voidItemStack.addModifierTooltip(Consumer<Component> p_331062_, Player p_330317_, Holder<Attribute> p_330626_, AttributeModifier p_331252_) voidAdventureModePredicate.addToTooltip(Consumer<Component> p_331792_) <T extends TooltipProvider>
voidItemStack.addToTooltip(DataComponentType<T> p_331344_, Item.TooltipContext p_341231_, Consumer<Component> p_331885_, TooltipFlag p_331177_) voidJukeboxPlayable.addToTooltip(Item.TooltipContext p_350489_, Consumer<Component> p_350818_, TooltipFlag p_350358_) voidAirItem.appendHoverText(ItemStack p_40372_, Item.TooltipContext p_339659_, List<Component> p_40374_, TooltipFlag p_40375_) voidBannerItem.appendHoverText(ItemStack p_40538_, Item.TooltipContext p_339668_, List<Component> p_40540_, TooltipFlag p_40541_) voidBannerPatternItem.appendHoverText(ItemStack p_40551_, Item.TooltipContext p_339598_, List<Component> p_40553_, TooltipFlag p_40554_) voidBlockItem.appendHoverText(ItemStack p_40572_, Item.TooltipContext p_339655_, List<Component> p_40574_, TooltipFlag p_40575_) voidBundleItem.appendHoverText(ItemStack p_150749_, Item.TooltipContext p_339687_, List<Component> p_150751_, TooltipFlag p_150752_) voidCrossbowItem.appendHoverText(ItemStack p_40880_, Item.TooltipContext p_339686_, List<Component> p_40882_, TooltipFlag p_40883_) voidDiscFragmentItem.appendHoverText(ItemStack p_220031_, Item.TooltipContext p_339652_, List<Component> p_220033_, TooltipFlag p_220034_) voidFireworkRocketItem.appendHoverText(ItemStack p_41211_, Item.TooltipContext p_339661_, List<Component> p_41213_, TooltipFlag p_41214_) voidFireworkStarItem.appendHoverText(ItemStack p_41252_, Item.TooltipContext p_339685_, List<Component> p_41254_, TooltipFlag p_41255_) voidHangingEntityItem.appendHoverText(ItemStack p_270235_, Item.TooltipContext p_339644_, List<Component> p_270630_, TooltipFlag p_270170_) voidInstrumentItem.appendHoverText(ItemStack p_220115_, Item.TooltipContext p_339630_, List<Component> p_220117_, TooltipFlag p_220118_) voidItem.appendHoverText(ItemStack p_41421_, Item.TooltipContext p_339594_, List<Component> p_41423_, TooltipFlag p_41424_) voidLingeringPotionItem.appendHoverText(ItemStack p_42838_, Item.TooltipContext p_339607_, List<Component> p_42840_, TooltipFlag p_42841_) voidMapItem.appendHoverText(ItemStack p_42880_, Item.TooltipContext p_339653_, List<Component> p_42882_, TooltipFlag p_42883_) voidMobBucketItem.appendHoverText(ItemStack p_151155_, Item.TooltipContext p_339675_, List<Component> p_151157_, TooltipFlag p_151158_) voidOminousBottleItem.appendHoverText(ItemStack p_338470_, Item.TooltipContext p_339656_, List<Component> p_338463_, TooltipFlag p_338317_) voidPotionItem.appendHoverText(ItemStack p_42988_, Item.TooltipContext p_339608_, List<Component> p_42990_, TooltipFlag p_42991_) voidShieldItem.appendHoverText(ItemStack p_43094_, Item.TooltipContext p_339613_, List<Component> p_43096_, TooltipFlag p_43097_) voidSmithingTemplateItem.appendHoverText(ItemStack p_267313_, Item.TooltipContext p_339591_, List<Component> p_266820_, TooltipFlag p_266857_) voidSuspiciousStewItem.appendHoverText(ItemStack p_260314_, Item.TooltipContext p_339691_, List<Component> p_259700_, TooltipFlag p_260021_) voidTippedArrowItem.appendHoverText(ItemStack p_43359_, Item.TooltipContext p_339681_, List<Component> p_43361_, TooltipFlag p_43362_) voidWrittenBookItem.appendHoverText(ItemStack p_43457_, Item.TooltipContext p_339643_, List<Component> p_43459_, TooltipFlag p_43460_) static voidBannerItem.appendHoverTextFromBannerBlockEntityTag(ItemStack p_40543_, List<Component> p_40544_) Constructors in net.minecraft.world.item with parameters of type ComponentModifierConstructorDescription(package private)CreativeModeTab(CreativeModeTab.Row p_260217_, int p_259557_, CreativeModeTab.Type p_260176_, Component p_260100_, Supplier<ItemStack> p_259543_, CreativeModeTab.DisplayItemsGenerator p_259085_, ResourceLocation scrollerSpriteLocation, boolean hasSearchBar, int searchBarWidth, ResourceLocation tabsImage, int labelColor, int slotColor, List<ResourceLocation> tabsBefore, List<ResourceLocation> tabsAfter) JukeboxSong(Holder<SoundEvent> soundEvent, Component description, float lengthInSeconds, int comparatorOutput) Creates an instance of aJukeboxSongrecord class.SmithingTemplateItem(Component p_266834_, Component p_267043_, Component p_267048_, Component p_267278_, Component p_267090_, List<ResourceLocation> p_266755_, List<ResourceLocation> p_267060_, FeatureFlag... p_333776_) -
Uses of Component in net.minecraft.world.item.alchemy
Fields in net.minecraft.world.item.alchemy declared as ComponentMethod parameters in net.minecraft.world.item.alchemy with type arguments of type ComponentModifier and TypeMethodDescriptionstatic voidPotionContents.addPotionTooltip(Iterable<MobEffectInstance> p_331825_, Consumer<Component> p_331296_, float p_332038_, float p_332014_) voidPotionContents.addPotionTooltip(Consumer<Component> p_331688_, float p_330466_, float p_332190_) -
Uses of Component in net.minecraft.world.item.armortrim
Fields in net.minecraft.world.item.armortrim declared as ComponentModifier and TypeFieldDescriptionprivate final ComponentTrimMaterial.descriptionThe field for thedescriptionrecord component.private final ComponentTrimPattern.descriptionThe field for thedescriptionrecord component.private static final ComponentArmorTrim.UPGRADE_TITLEMethods in net.minecraft.world.item.armortrim that return ComponentModifier and TypeMethodDescriptionTrimPattern.copyWithStyle(Holder<TrimMaterial> p_266827_) TrimMaterial.description()Returns the value of thedescriptionrecord component.TrimPattern.description()Returns the value of thedescriptionrecord component.Methods in net.minecraft.world.item.armortrim with parameters of type ComponentModifier and TypeMethodDescriptionstatic TrimMaterialTrimMaterial.create(String p_268108_, Item p_268361_, float p_268202_, Component p_268273_, Map<Holder<ArmorMaterial>, String> p_267977_) Method parameters in net.minecraft.world.item.armortrim with type arguments of type ComponentModifier and TypeMethodDescriptionvoidArmorTrim.addToTooltip(Item.TooltipContext p_341366_, Consumer<Component> p_331480_, TooltipFlag p_330344_) Constructors in net.minecraft.world.item.armortrim with parameters of type ComponentModifierConstructorDescriptionTrimMaterial(String assetName, Holder<Item> ingredient, float itemModelIndex, Map<Holder<ArmorMaterial>, String> overrideArmorMaterials, Component description) Creates an instance of aTrimMaterialrecord class.TrimPattern(ResourceLocation assetId, Holder<Item> templateItem, Component description, boolean decal) Creates an instance of aTrimPatternrecord class. -
Uses of Component in net.minecraft.world.item.component
Fields in net.minecraft.world.item.component declared as ComponentModifier and TypeFieldDescriptionprivate static final ComponentFireworkExplosion.CUSTOM_COLOR_NAMEprivate static final ComponentUnbreakable.TOOLTIPFields in net.minecraft.world.item.component with type parameters of type ComponentModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Component> WrittenBookContent.CONTENT_CODECItemLore.linesThe field for thelinesrecord component.private final List<Filterable<Component>> WrittenBookContent.pagesThe field for thepagesrecord component.static final com.mojang.serialization.Codec<List<Filterable<Component>>> WrittenBookContent.PAGES_CODECItemLore.styledLinesThe field for thestyledLinesrecord component.Methods in net.minecraft.world.item.component that return ComponentModifier and TypeMethodDescriptionprivate static ComponentFireworkExplosion.appendColors(MutableComponent p_331806_, it.unimi.dsi.fastutil.ints.IntList p_330350_) private static ComponentFireworkExplosion.getColorName(int p_330226_) Methods in net.minecraft.world.item.component that return types with arguments of type ComponentModifier and TypeMethodDescriptionWrittenBookContent.getPages(boolean p_330387_) ItemLore.lines()Returns the value of thelinesrecord component.private static com.mojang.serialization.Codec<Filterable<Component>> WrittenBookContent.pages()Returns the value of thepagesrecord component.static com.mojang.serialization.Codec<List<Filterable<Component>>> WrittenBookContent.pagesCodec(com.mojang.serialization.Codec<Component> p_335930_) private static Optional<Filterable<Component>> WrittenBookContent.resolvePage(CommandSourceStack p_330620_, Player p_330555_, Filterable<Component> p_330218_) ItemLore.styledLines()Returns the value of thestyledLinesrecord component.Methods in net.minecraft.world.item.component with parameters of type ComponentModifier and TypeMethodDescriptionprivate static booleanWrittenBookContent.isPageTooLarge(Component p_331458_, HolderLookup.Provider p_331039_) ItemLore.withLineAdded(Component p_330547_) Method parameters in net.minecraft.world.item.component with type arguments of type ComponentModifier and TypeMethodDescriptionvoidFireworkExplosion.addAdditionalTooltip(Consumer<Component> p_331075_) voidFireworkExplosion.addShapeNameTooltip(Consumer<Component> p_331748_) voidDyedItemColor.addToTooltip(Item.TooltipContext p_340955_, Consumer<Component> p_331920_, TooltipFlag p_330757_) voidFireworkExplosion.addToTooltip(Item.TooltipContext p_341341_, Consumer<Component> p_331404_, TooltipFlag p_330365_) voidFireworks.addToTooltip(Item.TooltipContext p_341156_, Consumer<Component> p_331099_, TooltipFlag p_330997_) voidItemLore.addToTooltip(Item.TooltipContext p_341353_, Consumer<Component> p_332116_, TooltipFlag p_330800_) voidTooltipProvider.addToTooltip(Item.TooltipContext p_340892_, Consumer<Component> p_330337_, TooltipFlag p_331069_) voidUnbreakable.addToTooltip(Item.TooltipContext p_341037_, Consumer<Component> p_330706_, TooltipFlag p_331385_) private static com.mojang.serialization.Codec<Filterable<Component>> static com.mojang.serialization.Codec<List<Filterable<Component>>> WrittenBookContent.pagesCodec(com.mojang.serialization.Codec<Component> p_335930_) private static Optional<Filterable<Component>> WrittenBookContent.resolvePage(CommandSourceStack p_330620_, Player p_330555_, Filterable<Component> p_330218_) WrittenBookContent.withReplacedPages(List<Filterable<Component>> p_333901_) Constructor parameters in net.minecraft.world.item.component with type arguments of type ComponentModifierConstructorDescriptionCreates an instance of aItemLorerecord class.WrittenBookContent(Filterable<String> title, String author, int generation, List<Filterable<Component>> pages, boolean resolved) Creates an instance of aWrittenBookContentrecord class. -
Uses of Component in net.minecraft.world.item.enchantment
Fields in net.minecraft.world.item.enchantment declared as ComponentModifier and TypeFieldDescriptionprivate final ComponentEnchantment.descriptionThe field for thedescriptionrecord component.Methods in net.minecraft.world.item.enchantment that return ComponentModifier and TypeMethodDescriptionEnchantment.description()Returns the value of thedescriptionrecord component.static ComponentEnchantment.getFullname(Holder<Enchantment> p_345597_, int p_44701_) Method parameters in net.minecraft.world.item.enchantment with type arguments of type ComponentModifier and TypeMethodDescriptionvoidItemEnchantments.addToTooltip(Item.TooltipContext p_341290_, Consumer<Component> p_331119_, TooltipFlag p_330400_) Constructors in net.minecraft.world.item.enchantment with parameters of type ComponentModifierConstructorDescriptionEnchantment(Component description, Enchantment.EnchantmentDefinition definition, HolderSet<Enchantment> exclusiveSet, DataComponentMap effects) Creates an instance of aEnchantmentrecord class. -
Uses of Component in net.minecraft.world.item.trading
Methods in net.minecraft.world.item.trading with parameters of type ComponentModifier and TypeMethodDescriptiondefault voidMerchant.openTradingScreen(Player p_45302_, Component p_45303_, int p_45304_) -
Uses of Component in net.minecraft.world.level
Fields in net.minecraft.world.level declared as ComponentModifier and TypeFieldDescriptionprivate ComponentBaseCommandBlock.customNameprivate static final ComponentBaseCommandBlock.DEFAULT_NAMEprivate ComponentBaseCommandBlock.lastOutputprivate final ComponentGameType.longNameprivate final ComponentGameType.shortNameMethods in net.minecraft.world.level that return ComponentModifier and TypeMethodDescriptionBaseCommandBlock.getCustomName()BaseCommandBlock.getLastOutput()GameType.getLongDisplayName()BaseCommandBlock.getName()GameType.getShortDisplayName()static ComponentSpawner.getSpawnEntityDisplayName(ItemStack p_312585_, String p_312442_) Methods in net.minecraft.world.level with parameters of type ComponentModifier and TypeMethodDescriptionvoidBaseCommandBlock.sendSystemMessage(Component p_220330_) voidBaseCommandBlock.setCustomName(Component p_331531_) voidBaseCommandBlock.setLastOutput(Component p_45434_) Method parameters in net.minecraft.world.level with type arguments of type ComponentModifier and TypeMethodDescriptionstatic voidSpawner.appendHoverText(ItemStack p_311863_, List<Component> p_312185_, String p_312723_) -
Uses of Component in net.minecraft.world.level.block
Fields in net.minecraft.world.level.block declared as ComponentModifier and TypeFieldDescriptionprivate static final ComponentAnvilBlock.CONTAINER_TITLEprivate static final ComponentCartographyTableBlock.CONTAINER_TITLEprivate static final ComponentCraftingTableBlock.CONTAINER_TITLEprivate static final ComponentEnderChestBlock.CONTAINER_TITLEprivate static final ComponentGrindstoneBlock.CONTAINER_TITLEprivate static final ComponentLoomBlock.CONTAINER_TITLEprivate static final ComponentSmithingTableBlock.CONTAINER_TITLEprivate static final ComponentStonecutterBlock.CONTAINER_TITLEprivate final ComponentMirror.symbolprivate static final ComponentShulkerBoxBlock.UNKNOWN_CONTENTSMethods in net.minecraft.world.level.block that return ComponentMethod parameters in net.minecraft.world.level.block with type arguments of type ComponentModifier and TypeMethodDescriptionvoidBlock.appendHoverText(ItemStack p_49816_, Item.TooltipContext p_339606_, List<Component> p_49818_, TooltipFlag p_49819_) voidDecoratedPotBlock.appendHoverText(ItemStack p_285238_, Item.TooltipContext p_339662_, List<Component> p_285448_, TooltipFlag p_284997_) voidShulkerBoxBlock.appendHoverText(ItemStack p_56193_, Item.TooltipContext p_339693_, List<Component> p_56195_, TooltipFlag p_56196_) voidSpawnerBlock.appendHoverText(ItemStack p_255714_, Item.TooltipContext p_339639_, List<Component> p_255708_, TooltipFlag p_255667_) voidTrialSpawnerBlock.appendHoverText(ItemStack p_312446_, Item.TooltipContext p_339621_, List<Component> p_312088_, TooltipFlag p_311895_) -
Uses of Component in net.minecraft.world.level.block.entity
Fields in net.minecraft.world.level.block.entity declared as ComponentModifier and TypeFieldDescriptionprivate ComponentSkullBlockEntity.customNameprivate static final ComponentBeaconBlockEntity.DEFAULT_NAMEprivate final Component[]SignText.filteredMessagesprivate final Component[]SignText.messagesprivate ComponentBannerBlockEntity.nameprivate ComponentBaseContainerBlockEntity.nameprivate ComponentBeaconBlockEntity.nameprivate ComponentEnchantingTableBlockEntity.nameMethods in net.minecraft.world.level.block.entity that return ComponentModifier and TypeMethodDescriptionprivate static Component[]SignText.emptyMessages()BannerBlockEntity.getCustomName()BaseContainerBlockEntity.getCustomName()BeaconBlockEntity.getCustomName()EnchantingTableBlockEntity.getCustomName()protected ComponentBarrelBlockEntity.getDefaultName()protected abstract ComponentBaseContainerBlockEntity.getDefaultName()protected ComponentBlastFurnaceBlockEntity.getDefaultName()protected ComponentBrewingStandBlockEntity.getDefaultName()protected ComponentChestBlockEntity.getDefaultName()protected ComponentCrafterBlockEntity.getDefaultName()protected ComponentDispenserBlockEntity.getDefaultName()protected ComponentDropperBlockEntity.getDefaultName()protected ComponentFurnaceBlockEntity.getDefaultName()protected ComponentHopperBlockEntity.getDefaultName()protected ComponentShulkerBoxBlockEntity.getDefaultName()protected ComponentSmokerBlockEntity.getDefaultName()BaseContainerBlockEntity.getDisplayName()BeaconBlockEntity.getDisplayName()LecternBlockEntity.getDisplayName()SignText.getMessage(int p_277404_, boolean p_278108_) SignText.getMessages(boolean p_277992_) BannerBlockEntity.getName()BaseContainerBlockEntity.getName()BeaconBlockEntity.getName()EnchantingTableBlockEntity.getName()JigsawBlockEntity.JointType.getTranslatedName()private Componentstatic ComponentBlockEntity.parseCustomNameSafe(String p_342033_, HolderLookup.Provider p_342030_) Methods in net.minecraft.world.level.block.entity with parameters of type ComponentModifier and TypeMethodDescriptionstatic booleanprivate static SignTextSignText.load(Component[] p_277661_, Optional<Component[]> p_277768_, DyeColor p_277345_, boolean p_278008_) private ComponentvoidBeaconBlockEntity.setCustomName(Component p_58682_) voidEnchantingTableBlockEntity.setCustomName(Component p_341274_) SignText.setMessage(int p_277878_, Component p_277360_) SignText.setMessage(int p_277690_, Component p_277852_, Component p_277564_) Method parameters in net.minecraft.world.level.block.entity with type arguments of type ComponentModifier and TypeMethodDescriptionSignText.getRenderMessages(boolean p_277336_, Function<Component, FormattedCharSequence> p_277538_) Constructors in net.minecraft.world.level.block.entity with parameters of type Component -
Uses of Component in net.minecraft.world.level.block.state.properties
Fields in net.minecraft.world.level.block.state.properties declared as ComponentMethods in net.minecraft.world.level.block.state.properties that return Component -
Uses of Component in net.minecraft.world.level.saveddata.maps
Fields in net.minecraft.world.level.saveddata.maps with type parameters of type ComponentModifier and TypeFieldDescriptionMapBanner.nameThe field for thenamerecord component.MapDecoration.nameThe field for thenamerecord component.Methods in net.minecraft.world.level.saveddata.maps that return types with arguments of type ComponentModifier and TypeMethodDescriptionMapBanner.name()Returns the value of thenamerecord component.MapDecoration.name()Returns the value of thenamerecord component.Methods in net.minecraft.world.level.saveddata.maps with parameters of type ComponentModifier and TypeMethodDescriptionprivate voidMapItemSavedData.addDecoration(Holder<MapDecorationType> p_335830_, LevelAccessor p_77939_, String p_77940_, double p_77941_, double p_77942_, double p_77943_, Component p_77944_) Constructor parameters in net.minecraft.world.level.saveddata.maps with type arguments of type ComponentModifierConstructorDescriptionCreates an instance of aMapBannerrecord class.MapDecoration(Holder<MapDecorationType> type, byte x, byte y, byte rot, Optional<Component> name) Creates an instance of aMapDecorationrecord class. -
Uses of Component in net.minecraft.world.level.storage
Fields in net.minecraft.world.level.storage declared as ComponentModifier and TypeFieldDescriptionprivate ComponentLevelSummary.infoprivate static final ComponentLevelSummary.CorruptedLevelSummary.INFOprivate static final ComponentLevelSummary.SymlinkLevelSummary.INFOprivate final ComponentLevelStorageException.messageComponentprivate static final ComponentLevelSummary.SymlinkLevelSummary.MORE_INFO_BUTTONstatic final ComponentLevelSummary.PLAY_WORLDprivate static final ComponentLevelSummary.CorruptedLevelSummary.RECOVERMethods in net.minecraft.world.level.storage that return ComponentModifier and TypeMethodDescriptionprivate ComponentLevelSummary.createInfo()LevelSummary.CorruptedLevelSummary.getInfo()LevelSummary.getInfo()LevelSummary.SymlinkLevelSummary.getInfo()LevelStorageException.getMessageComponent()LevelSummary.CorruptedLevelSummary.primaryActionMessage()LevelSummary.primaryActionMessage()LevelSummary.SymlinkLevelSummary.primaryActionMessage()Constructors in net.minecraft.world.level.storage with parameters of type Component -
Uses of Component in net.minecraft.world.level.storage.loot.functions
Fields in net.minecraft.world.level.storage.loot.functions with type parameters of type ComponentModifier and TypeFieldDescriptionprivate final com.google.common.collect.ImmutableList.Builder<Component> SetLoreFunction.Builder.loreSetLoreFunction.loreSetNameFunction.namestatic final com.mojang.serialization.Codec<Component> SetWrittenBookPagesFunction.PAGE_CODECprivate final List<Filterable<Component>> SetWrittenBookPagesFunction.pagesMethods in net.minecraft.world.level.storage.loot.functions that return types with arguments of type ComponentModifier and TypeMethodDescriptionSetNameFunction.Target.component()static UnaryOperator<Component> SetNameFunction.createResolver(LootContext p_81140_, LootContext.EntityTarget p_81141_) SetLoreFunction.updateLore(ItemLore p_330567_, LootContext p_331214_) Methods in net.minecraft.world.level.storage.loot.functions with parameters of type ComponentModifier and TypeMethodDescriptionstatic LootItemConditionalFunction.Builder<?> SetNameFunction.setName(Component p_165460_, SetNameFunction.Target p_338546_) static LootItemConditionalFunction.Builder<?> SetNameFunction.setName(Component p_165458_, SetNameFunction.Target p_338818_, LootContext.EntityTarget p_338518_) Constructor parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type ComponentModifierConstructorDescriptionprivateSetNameFunction(List<LootItemCondition> p_299241_, Optional<Component> p_298804_, Optional<LootContext.EntityTarget> p_298545_, SetNameFunction.Target p_338830_) -
Uses of Component in net.minecraft.world.scores
Fields in net.minecraft.world.scores declared as ComponentModifier and TypeFieldDescriptionprivate final ComponentPlayerScoreEntry.displayThe field for thedisplayrecord component.private ComponentScore.displayprivate ComponentObjective.displayNameprivate ComponentPlayerTeam.displayNameprivate ComponentObjective.formattedDisplayNameprivate ComponentPlayerTeam.playerPrefixprivate ComponentPlayerTeam.playerSuffixMethods in net.minecraft.world.scores that return ComponentModifier and TypeMethodDescriptionprivate ComponentObjective.createFormattedDisplayName()PlayerScoreEntry.display()Returns the value of thedisplayrecord component.Score.display()ScoreAccess.display()Objective.getDisplayName()PlayerTeam.getDisplayName()default ComponentScoreHolder.getDisplayName()Team.CollisionRule.getDisplayName()Team.Visibility.getDisplayName()default ComponentScoreHolder.getFeedbackDisplayName()Objective.getFormattedDisplayName()PlayerTeam.getPlayerPrefix()PlayerTeam.getPlayerSuffix()PlayerScoreEntry.ownerName()Methods in net.minecraft.world.scores with parameters of type ComponentModifier and TypeMethodDescriptionScoreboard.addObjective(String p_83437_, ObjectiveCriteria p_83438_, Component p_83439_, ObjectiveCriteria.RenderType p_83440_, boolean p_313815_, NumberFormat p_313909_) voidvoidstatic MutableComponentPlayerTeam.formatNameForTeam(Team p_83349_, Component p_83350_) PlayerTeam.getFormattedName(Component p_83369_) abstract MutableComponentTeam.getFormattedName(Component p_83538_) voidObjective.setDisplayName(Component p_83317_) voidPlayerTeam.setDisplayName(Component p_83354_) voidPlayerTeam.setPlayerPrefix(Component p_83361_) voidPlayerTeam.setPlayerSuffix(Component p_83366_) Constructors in net.minecraft.world.scores with parameters of type ComponentModifierConstructorDescriptionObjective(Scoreboard p_83308_, String p_83309_, ObjectiveCriteria p_83310_, Component p_83311_, ObjectiveCriteria.RenderType p_83312_, boolean p_313856_, NumberFormat p_313758_) PlayerScoreEntry(String owner, int value, Component display, NumberFormat numberFormatOverride) Creates an instance of aPlayerScoreEntryrecord class. -
Uses of Component in net.neoforged.neoforge.client
Methods in net.neoforged.neoforge.client that return ComponentModifier and TypeMethodDescriptionstatic @Nullable ComponentClientHooks.onClientChat(ChatType.Bound boundChatType, Component message, UUID sender) static @Nullable ComponentClientHooks.onClientPlayerChat(ChatType.Bound boundChatType, Component message, PlayerChatMessage playerChatMessage, UUID sender) static @Nullable ComponentClientHooks.onClientSystemChat(Component message, boolean overlay) Methods in net.neoforged.neoforge.client with parameters of type ComponentModifier and TypeMethodDescriptionstatic @Nullable ComponentClientHooks.onClientChat(ChatType.Bound boundChatType, Component message, UUID sender) static @Nullable ComponentClientHooks.onClientPlayerChat(ChatType.Bound boundChatType, Component message, PlayerChatMessage playerChatMessage, UUID sender) static @Nullable ComponentClientHooks.onClientSystemChat(Component message, boolean overlay) Method parameters in net.neoforged.neoforge.client with type arguments of type ComponentModifier and TypeMethodDescriptionvoidClientCommandSourceStack.sendSuccess(Supplier<Component> message, boolean sendToAdmins) Sends a success message without attempting to get the server side list of adminsConstructors in net.neoforged.neoforge.client with parameters of type ComponentModifierConstructorDescriptionClientCommandSourceStack(CommandSource source, Vec3 position, Vec2 rotation, int permission, String plainTextName, Component displayName, Entity executing) -
Uses of Component in net.neoforged.neoforge.client.event
Fields in net.neoforged.neoforge.client.event declared as ComponentModifier and TypeFieldDescriptionprivate ComponentRenderNameTagEvent.contentstatic final ComponentScreenshotEvent.DEFAULT_CANCEL_REASONprivate ComponentClientChatReceivedEvent.messageprivate final ComponentRenderNameTagEvent.originalContentprivate @Nullable ComponentScreenshotEvent.resultMessageMethods in net.neoforged.neoforge.client.event that return ComponentModifier and TypeMethodDescriptionScreenshotEvent.getCancelMessage()Returns the cancellation message to be used in informing the player.RenderNameTagEvent.getContent()Returns the text on the nameplate that will be rendered.ClientChatReceivedEvent.getMessage()Returns the message that will be displayed in the chat message window, if the event is not cancelled.RenderNameTagEvent.getOriginalContent()Returns the original text on the nameplate.@Nullable ComponentScreenshotEvent.getResultMessage()Returns the custom cancellation message, ornullif no custom message is set.Methods in net.neoforged.neoforge.client.event with parameters of type ComponentModifier and TypeMethodDescriptionvoidRenderNameTagEvent.setContent(Component contents) Sets the new text on the nameplate.voidClientChatReceivedEvent.setMessage(Component message) Sets the new message to be displayed in the chat message window, if the event is not cancelled.voidScreenshotEvent.setResultMessage(@Nullable Component resultMessage) Sets the new custom cancellation message used to inform the player.Constructors in net.neoforged.neoforge.client.event with parameters of type ComponentModifierConstructorDescriptionClientChatReceivedEvent(ChatType.Bound boundChatType, Component message, UUID sender) Player(ChatType.Bound boundChatType, Component message, PlayerChatMessage playerChatMessage, UUID sender) RenderNameTagEvent(Entity entity, Component content, EntityRenderer<?> entityRenderer, PoseStack poseStack, MultiBufferSource multiBufferSource, int packedLight, float partialTick) -
Uses of Component in net.neoforged.neoforge.client.extensions
Methods in net.neoforged.neoforge.client.extensions with parameters of type ComponentModifier and TypeMethodDescriptiondefault intIGuiGraphicsExtension.drawScrollingString(Font font, Component text, int minX, int maxX, int y, int color) Draws a left-aligned string, with a scrolling effect if the string is too long. -
Uses of Component in net.neoforged.neoforge.client.gui
Fields in net.neoforged.neoforge.client.gui declared as ComponentModifier and TypeFieldDescriptionprivate ComponentLoadingErrorScreen.errorHeaderprivate final ComponentLoadingErrorScreen.LoadingEntryList.LoadingMessageEntry.messageprivate final ComponentModMismatchDisconnectedScreen.reasonprivate final ComponentLoadingErrorScreen.FormattedIssue.textThe field for thetextrecord component.private ComponentLoadingErrorScreen.warningHeaderFields in net.neoforged.neoforge.client.gui with type parameters of type ComponentModifier and TypeFieldDescriptionprivate final Map<ResourceLocation, Component> ModMismatchDisconnectedScreen.mismatchedChannelDataMethods in net.neoforged.neoforge.client.gui that return ComponentModifier and TypeMethodDescription(package private) ComponentModListScreen.SortType.getButtonText()LoadingErrorScreen.LoadingEntryList.LoadingMessageEntry.getNarration()LoadingErrorScreen.FormattedIssue.text()Returns the value of thetextrecord component.Methods in net.neoforged.neoforge.client.gui that return types with arguments of type ComponentModifier and TypeMethodDescriptionprivate Map<List<ResourceLocation>, Component> ModMismatchDisconnectedScreen.MismatchInfoPanel.sortAndMergeChannelData(Map<ResourceLocation, Component> mismatchedChannelData) Iterates over the raw channel mismatch data and merges entries with the same reason component into one channel mismatch entry each.Methods in net.neoforged.neoforge.client.gui with parameters of type ComponentModifier and TypeMethodDescriptionprivate voidLoadingErrorScreen.drawMultiLineCenteredString(GuiGraphics guiGraphics, Font fr, Component str, int x, int y) Method parameters in net.neoforged.neoforge.client.gui with type arguments of type ComponentModifier and TypeMethodDescriptionprivate Map<List<ResourceLocation>, Component> ModMismatchDisconnectedScreen.MismatchInfoPanel.sortAndMergeChannelData(Map<ResourceLocation, Component> mismatchedChannelData) Iterates over the raw channel mismatch data and merges entries with the same reason component into one channel mismatch entry each.Constructors in net.neoforged.neoforge.client.gui with parameters of type ComponentModifierConstructorDescriptionprivateFormattedIssue(Component text, net.neoforged.fml.ModLoadingIssue issue) Creates an instance of aFormattedIssuerecord class.(package private)LoadingMessageEntry(Component message) (package private)LoadingMessageEntry(Component message, boolean center) ModMismatchDisconnectedScreen(Screen parentScreen, Component reason, Map<ResourceLocation, Component> mismatchedChannelData) Constructor parameters in net.neoforged.neoforge.client.gui with type arguments of type ComponentModifierConstructorDescriptionModMismatchDisconnectedScreen(Screen parentScreen, Component reason, Map<ResourceLocation, Component> mismatchedChannelData) -
Uses of Component in net.neoforged.neoforge.client.gui.widget
Fields in net.neoforged.neoforge.client.gui.widget declared as ComponentModifier and TypeFieldDescriptionprotected ComponentExtendedSlider.prefixprotected ComponentExtendedSlider.suffixMethods in net.neoforged.neoforge.client.gui.widget that return ComponentConstructors in net.neoforged.neoforge.client.gui.widget with parameters of type ComponentModifierConstructorDescriptionExtendedButton(int xPos, int yPos, int width, int height, Component displayString, Button.OnPress handler) ExtendedButton(int xPos, int yPos, int width, int height, Component displayString, Button.OnPress handler, Button.CreateNarration createNarration) ExtendedSlider(int x, int y, int width, int height, Component prefix, Component suffix, double minValue, double maxValue, double currentValue, boolean drawString) Overload withstepSizeset to 1, useful for sliders with whole number values.ExtendedSlider(int x, int y, int width, int height, Component prefix, Component suffix, double minValue, double maxValue, double currentValue, double stepSize, int precision, boolean drawString) UnicodeGlyphButton(int xPos, int yPos, int width, int height, Component displayString, String glyph, float glyphScale, Button.OnPress handler) -
Uses of Component in net.neoforged.neoforge.client.settings
Methods in net.neoforged.neoforge.client.settings that return ComponentModifier and TypeMethodDescriptionabstract ComponentKeyModifier.getCombinedName(InputConstants.Key key, Supplier<Component> defaultLogic) Method parameters in net.neoforged.neoforge.client.settings with type arguments of type ComponentModifier and TypeMethodDescriptionabstract ComponentKeyModifier.getCombinedName(InputConstants.Key key, Supplier<Component> defaultLogic) -
Uses of Component in net.neoforged.neoforge.common
Methods in net.neoforged.neoforge.common that return ComponentModifier and TypeMethodDescriptionstatic ComponentCommonHooks.newChatWithLinks(String string) static ComponentCommonHooks.newChatWithLinks(String string, boolean allowMissingHeader) static @Nullable ComponentCommonHooks.onServerChatSubmittedEvent(ServerPlayer player, String plain, Component decorated) Methods in net.neoforged.neoforge.common with parameters of type ComponentModifier and TypeMethodDescriptionprivate static StringCommonHooks.getRawText(Component message) static @Nullable ComponentCommonHooks.onServerChatSubmittedEvent(ServerPlayer player, String plain, Component decorated) -
Uses of Component in net.neoforged.neoforge.common.command
Methods in net.neoforged.neoforge.common.command that return ComponentModifier and TypeMethodDescriptionIEntitySelectorType.getSuggestionTooltip()Returns anComponentcontaining a short description for this selector type. -
Uses of Component in net.neoforged.neoforge.common.damagesource
Methods in net.neoforged.neoforge.common.damagesource that return ComponentModifier and TypeMethodDescriptionIDeathMessageProvider.getDeathMessage(LivingEntity entity, CombatEntry lastEntry, @Nullable CombatEntry mostSignificantFall) Computes the death message from the available context.
This method is not invoked if there are no available combat entries, since the damage source would not be available. -
Uses of Component in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions that return ComponentModifier and TypeMethodDescriptiondefault ComponentIItemExtension.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 ComponentIItemStackExtension.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.Methods in net.neoforged.neoforge.common.extensions with parameters of type ComponentModifier and TypeMethodDescriptiondefault voidIClientCommonPacketListenerExtension.disconnect(Component reason) Triggers a disconnection with the given reason.voidICommonPacketListener.disconnect(Component reason) Triggers a disconnection with the given reason.default ComponentIItemExtension.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 ComponentIItemStackExtension.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.Method parameters in net.neoforged.neoforge.common.extensions with type arguments of type ComponentModifier and TypeMethodDescriptiondefault <T extends TooltipProvider>
voidIDataComponentHolderExtension.addToTooltip(Supplier<? extends DataComponentType<T>> type, Item.TooltipContext context, Consumer<Component> adder, TooltipFlag flag) default <T extends TooltipProvider>
voidIDataComponentHolderExtension.addToTooltip(DataComponentType<T> type, Item.TooltipContext context, Consumer<Component> adder, TooltipFlag flag) -
Uses of Component in net.neoforged.neoforge.common.util
Methods in net.neoforged.neoforge.common.util with parameters of type ComponentModifier and TypeMethodDescriptionvoidFakePlayer.FakePlayerNetHandler.disconnect(Component message) voidFakePlayer.displayClientMessage(Component chatComponent, boolean actionBar) voidFakePlayer.FakePlayerNetHandler.sendDisguisedChatMessage(Component content, ChatType.Bound boundChatType) -
Uses of Component in net.neoforged.neoforge.debug.chat
Fields in net.neoforged.neoforge.debug.chat with type parameters of type ComponentMethods in net.neoforged.neoforge.debug.chat with parameters of type ComponentModifier and TypeMethodDescriptionvoidCommandTests.ErrorCatchingStack.sendFailure(Component failure) Constructors in net.neoforged.neoforge.debug.chat with parameters of type ComponentModifierConstructorDescriptionErrorCatchingStack(CommandSource p_81302_, Vec3 p_81303_, Vec2 p_81304_, ServerLevel p_81305_, int p_81306_, String p_81307_, Component p_81308_, MinecraftServer p_81309_, @Nullable Entity p_81310_) -
Uses of Component in net.neoforged.neoforge.debug.client
Constructors in net.neoforged.neoforge.debug.client with parameters of type Component -
Uses of Component in net.neoforged.neoforge.event
Fields in net.neoforged.neoforge.event declared as ComponentMethods in net.neoforged.neoforge.event that return ComponentModifier and TypeMethodDescriptionServerChatEvent.getMessage()Returns the message that will be sent to the relevant clients, if the event is not cancelled.static ComponentEventHooks.getPlayerDisplayName(Player player, Component username) static ComponentEventHooks.getPlayerTabListDisplayName(Player player) Methods in net.neoforged.neoforge.event with parameters of type ComponentModifier and TypeMethodDescriptionvoidAddPackFindersEvent.addPackFinders(ResourceLocation packLocation, PackType packType, Component packNameDisplay, PackSource packSource, boolean alwaysActive, Pack.Position packPosition) Helper method to register a pack found under the `resources/` folder.static ComponentEventHooks.getPlayerDisplayName(Player player, Component username) voidServerChatEvent.setMessage(Component message) Set the message to be sent to the relevant clients.Method parameters in net.neoforged.neoforge.event with type arguments of type ComponentModifier and TypeMethodDescriptionstatic ItemTooltipEventEventHooks.onItemTooltip(ItemStack itemStack, @Nullable Player entityPlayer, List<Component> list, TooltipFlag flags, Item.TooltipContext context) Constructors in net.neoforged.neoforge.event with parameters of type ComponentModifierConstructorDescriptionServerChatEvent(ServerPlayer player, String rawText, Component message) -
Uses of Component in net.neoforged.neoforge.event.entity.player
Fields in net.neoforged.neoforge.event.entity.player declared as ComponentModifier and TypeFieldDescriptionprivate ComponentPlayerEvent.NameFormat.displaynameprivate @Nullable ComponentPlayerEvent.TabListNameFormat.displayNameprivate final ComponentPlayerEvent.NameFormat.usernameFields in net.neoforged.neoforge.event.entity.player with type parameters of type ComponentMethods in net.neoforged.neoforge.event.entity.player that return ComponentModifier and TypeMethodDescriptionPlayerEvent.NameFormat.getDisplayname()@Nullable ComponentPlayerEvent.TabListNameFormat.getDisplayName()PlayerEvent.NameFormat.getUsername()Methods in net.neoforged.neoforge.event.entity.player that return types with arguments of type ComponentMethods in net.neoforged.neoforge.event.entity.player with parameters of type ComponentModifier and TypeMethodDescriptionvoidPlayerEvent.NameFormat.setDisplayname(Component displayname) voidPlayerEvent.TabListNameFormat.setDisplayName(@Nullable Component displayName) Constructors in net.neoforged.neoforge.event.entity.player with parameters of type ComponentConstructor parameters in net.neoforged.neoforge.event.entity.player with type arguments of type ComponentModifierConstructorDescriptionItemTooltipEvent(ItemStack itemStack, @Nullable Player player, List<Component> list, TooltipFlag flags, Item.TooltipContext context) This event is fired inItemStack.getTooltipLines(TooltipContext, Player, TooltipFlag), which in turn is called from its respective GUIContainer. -
Uses of Component in net.neoforged.neoforge.fluids
Methods in net.neoforged.neoforge.fluids that return ComponentModifier and TypeMethodDescriptionFluidType.getDescription()Returns the component representing the name of the fluid type.FluidType.getDescription(FluidStack stack) Returns the component representing the name of the fluid type.FluidStack.getDisplayName()Deprecated, for removal: This API element is subject to removal in a future version.UseFluidStack.getHoverName()instead.FluidStack.getHoverName()Returns the hover name of this stack. -
Uses of Component in net.neoforged.neoforge.network.handlers
Methods in net.neoforged.neoforge.network.handlers with parameters of type ComponentModifier and TypeMethodDescriptionprivate static <T extends AbstractContainerMenu>
voidClientPayloadHandler.createMenuScreen(Component name, MenuType<T> menuType, int windowId, RegistryFriendlyByteBuf buf) -
Uses of Component in net.neoforged.neoforge.network.handling
Methods in net.neoforged.neoforge.network.handling with parameters of type ComponentModifier and TypeMethodDescriptiondefault voidIPayloadContext.disconnect(Component reason) Disconnects the player from the network. -
Uses of Component in net.neoforged.neoforge.network.negotiation
Fields in net.neoforged.neoforge.network.negotiation declared as ComponentModifier and TypeFieldDescriptionprivate final @Nullable ComponentNetworkComponentNegotiator.ComponentNegotiationResult.failureReasonThe field for thefailureReasonrecord component.Fields in net.neoforged.neoforge.network.negotiation with type parameters of type ComponentModifier and TypeFieldDescriptionprivate final Map<ResourceLocation, Component> NegotiationResult.failureReasonsThe field for thefailureReasonsrecord component.Methods in net.neoforged.neoforge.network.negotiation that return ComponentModifier and TypeMethodDescription@Nullable ComponentNetworkComponentNegotiator.ComponentNegotiationResult.failureReason()Returns the value of thefailureReasonrecord component.Methods in net.neoforged.neoforge.network.negotiation that return types with arguments of type ComponentModifier and TypeMethodDescriptionNegotiationResult.failureReasons()Returns the value of thefailureReasonsrecord component.Constructors in net.neoforged.neoforge.network.negotiation with parameters of type ComponentModifierConstructorDescriptionComponentNegotiationResult(boolean success, @Nullable Component failureReason) Creates an instance of aComponentNegotiationResultrecord class.Constructor parameters in net.neoforged.neoforge.network.negotiation with type arguments of type ComponentModifierConstructorDescriptionNegotiationResult(List<NegotiatedNetworkComponent> components, boolean success, Map<ResourceLocation, Component> failureReasons) Creates an instance of aNegotiationResultrecord class. -
Uses of Component in net.neoforged.neoforge.network.payload
Fields in net.neoforged.neoforge.network.payload declared as ComponentModifier and TypeFieldDescriptionprivate final ComponentAdvancedOpenScreenPayload.nameThe field for thenamerecord component.Fields in net.neoforged.neoforge.network.payload with type parameters of type ComponentModifier and TypeFieldDescriptionprivate final Map<ResourceLocation, Component> ModdedNetworkSetupFailedPayload.failureReasonsThe field for thefailureReasonsrecord component.Methods in net.neoforged.neoforge.network.payload that return ComponentModifier and TypeMethodDescriptionAdvancedOpenScreenPayload.name()Returns the value of thenamerecord component.Methods in net.neoforged.neoforge.network.payload that return types with arguments of type ComponentModifier and TypeMethodDescriptionModdedNetworkSetupFailedPayload.failureReasons()Returns the value of thefailureReasonsrecord component.Constructors in net.neoforged.neoforge.network.payload with parameters of type ComponentModifierConstructorDescriptionAdvancedOpenScreenPayload(int windowId, MenuType<?> menuType, Component name, byte[] additionalData) Creates an instance of aAdvancedOpenScreenPayloadrecord class.Constructor parameters in net.neoforged.neoforge.network.payload with type arguments of type ComponentModifierConstructorDescriptionModdedNetworkSetupFailedPayload(Map<ResourceLocation, Component> failureReasons) Creates an instance of aModdedNetworkSetupFailedPayloadrecord class. -
Uses of Component in net.neoforged.neoforge.oldtest
Fields in net.neoforged.neoforge.oldtest with type parameters of type ComponentModifier and TypeFieldDescriptionprivate static final PermissionNode<Component> PermissionTest.componentPerm -
Uses of Component in net.neoforged.neoforge.oldtest.chat
Methods in net.neoforged.neoforge.oldtest.chat that return ComponentModifier and TypeMethodDescriptionEntitySelectorTest.ExampleCustomSelector.getSuggestionTooltip() -
Uses of Component in net.neoforged.neoforge.oldtest.client
Methods in net.neoforged.neoforge.oldtest.client that return ComponentModifier and TypeMethodDescriptionprivate ComponentCustomTooltipTest.TooltipTestScreen.getTestComponent(boolean testFont) Method parameters in net.neoforged.neoforge.oldtest.client with type arguments of type ComponentModifier and TypeMethodDescriptionvoidCustomTooltipTest.CustomItemWithTooltip.appendHoverText(ItemStack stack, Item.TooltipContext context, List<Component> components, TooltipFlag flag) -
Uses of Component in net.neoforged.neoforge.oldtest.item
Methods in net.neoforged.neoforge.oldtest.item that return Component -
Uses of Component in net.neoforged.neoforge.oldtest.misc
Constructors in net.neoforged.neoforge.oldtest.misc with parameters of type ComponentModifierConstructorDescriptionTestGui(ContainerTypeTest.TestContainer container, Inventory inv, Component name) -
Uses of Component in net.neoforged.neoforge.oldtest.recipebook
Constructors in net.neoforged.neoforge.oldtest.recipebook with parameters of type ComponentModifierConstructorDescriptionRecipeBookTestScreen(RecipeBookTestMenu menu, Inventory inv, Component title) -
Uses of Component in net.neoforged.neoforge.server.command
Method parameters in net.neoforged.neoforge.server.command with type arguments of type ComponentModifier and TypeMethodDescriptionprivate static <T> intTrackCommand.TrackResults.execute(CommandSourceStack source, TimeTracker<T> tracker, Function<ObjectTimings<T>, Component> toString) -
Uses of Component in net.neoforged.neoforge.server.permission.nodes
Fields in net.neoforged.neoforge.server.permission.nodes declared as ComponentModifier and TypeFieldDescriptionprivate @Nullable ComponentPermissionNode.descriptionprivate @Nullable ComponentPermissionNode.readableNameFields in net.neoforged.neoforge.server.permission.nodes with type parameters of type ComponentModifier and TypeFieldDescriptionstatic final PermissionType<Component> PermissionTypes.COMPONENTMethods in net.neoforged.neoforge.server.permission.nodes that return ComponentModifier and TypeMethodDescription@Nullable ComponentPermissionNode.getDescription()@Nullable ComponentPermissionNode.getReadableName()Methods in net.neoforged.neoforge.server.permission.nodes with parameters of type ComponentModifier and TypeMethodDescriptionPermissionNode.setInformation(Component readableName, Component description) Allows you to set a human-readable name and description for your Permission. -
Uses of Component in net.neoforged.testframework
Fields in net.neoforged.testframework declared as ComponentModifier and TypeFieldDescriptionprivate final ComponentTest.Visuals.titleThe field for thetitlerecord component.Fields in net.neoforged.testframework with type parameters of type ComponentModifier and TypeFieldDescriptionTest.Visuals.descriptionThe field for thedescriptionrecord component.Methods in net.neoforged.testframework that return ComponentModifier and TypeMethodDescriptionTest.Visuals.title()Returns the value of thetitlerecord component.Methods in net.neoforged.testframework that return types with arguments of type ComponentModifier and TypeMethodDescriptionTest.Visuals.description()Returns the value of thedescriptionrecord component.Methods in net.neoforged.testframework with parameters of type ComponentModifier and TypeMethodDescriptionvoidDynamicTest.requestConfirmation(Player player, Component message) Requests a confirmation of the test passing from a player.Constructors in net.neoforged.testframework with parameters of type ComponentModifierConstructorDescriptionCreates an instance of aVisualsrecord class.Constructor parameters in net.neoforged.testframework with type arguments of type Component -
Uses of Component in net.neoforged.testframework.client
Fields in net.neoforged.testframework.client declared as ComponentMethods in net.neoforged.testframework.client that return ComponentModifier and TypeMethodDescriptionAbstractTestScreen.GroupableList.Entry.getNarration()private ComponentAbstractTestScreen.GroupableList.GroupEntry.getTitle()Methods in net.neoforged.testframework.client with parameters of type ComponentModifier and TypeMethodDescription(package private) static MutableComponentTestsOverlay.statusColoured(Component input, Test.Status status) Constructors in net.neoforged.testframework.client with parameters of type ComponentModifierConstructorDescriptionAbstractTestScreen(Component title, MutableTestFramework framework) TestScreen(Component title, MutableTestFramework framework, List<Group> groups) -
Uses of Component in net.neoforged.testframework.group
Fields in net.neoforged.testframework.group declared as ComponentMethods in net.neoforged.testframework.group that return ComponentMethods in net.neoforged.testframework.group with parameters of type Component -
Uses of Component in net.neoforged.testframework.impl
Fields in net.neoforged.testframework.impl declared as ComponentModifier and TypeFieldDescriptionprivate final @Nullable ComponentFrameworkCollectors.GroupData.titleThe field for thetitlerecord component.Methods in net.neoforged.testframework.impl that return ComponentModifier and TypeMethodDescriptionprivate ComponentCommands.formatStatus(Test.Status status) @Nullable ComponentFrameworkCollectors.GroupData.title()Returns the value of thetitlerecord component.Constructors in net.neoforged.testframework.impl with parameters of type Component -
Uses of Component in net.neoforged.testframework.impl.test
Methods in net.neoforged.testframework.impl.test with parameters of type ComponentModifier and TypeMethodDescriptionfinal voidAbstractTest.requestConfirmation(Player player, Component message) -
Uses of Component in net.neoforged.testframework.summary
Fields in net.neoforged.testframework.summary declared as ComponentModifier and TypeFieldDescriptionprivate final ComponentTestSummary.TestInfo.nameThe field for thenamerecord component.Fields in net.neoforged.testframework.summary with type parameters of type ComponentModifier and TypeFieldDescriptionTestSummary.TestInfo.descriptionThe field for thedescriptionrecord component.Methods in net.neoforged.testframework.summary that return ComponentModifier and TypeMethodDescriptionTestSummary.TestInfo.name()Returns the value of thenamerecord component.Methods in net.neoforged.testframework.summary that return types with arguments of type ComponentModifier and TypeMethodDescriptionTestSummary.TestInfo.description()Returns the value of thedescriptionrecord component.Methods in net.neoforged.testframework.summary with parameters of type ComponentModifier and TypeMethodDescriptionvoidTestSummary.Builder.addTest(String testId, Component name, List<Component> description, Test.Status status, List<String> groups, boolean enabled, boolean manual, boolean required) static StringFormattingUtil.componentToAnsiFormattedText(Component component) static StringFormattingUtil.componentToMarkdownFormattedText(Component component) static StringFormattingUtil.componentToPlainString(Component component) static StringFormattingUtil.componentToString(Component component, Style baseStyle, BiFunction<Style, String, String> formatter) Method parameters in net.neoforged.testframework.summary with type arguments of type ComponentModifier and TypeMethodDescriptionvoidTestSummary.Builder.addTest(String testId, Component name, List<Component> description, Test.Status status, List<String> groups, boolean enabled, boolean manual, boolean required) static StringFormattingUtil.componentsToAnsiFormattedText(List<Component> components) static StringFormattingUtil.componentsToMarkdownFormattedText(List<Component> components) static StringFormattingUtil.componentsToPlainString(List<Component> components) Constructors in net.neoforged.testframework.summary with parameters of type ComponentModifierConstructorDescriptionTestInfo(String testId, Component name, List<Component> description, Test.Status status, List<String> groups, boolean enabled, boolean manual, boolean required) Creates an instance of aTestInforecord class.Constructor parameters in net.neoforged.testframework.summary with type arguments of type Component
ServerStatus(Component, Optional, Optional, Optional, boolean, boolean)