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 TypeMethodDescriptionstatic ComponentRealmsMainScreen.getGameModeComponent(int pGamemode, boolean pHardcore) RealmsMainScreen.AvailableSnapshotEntry.getNarration()RealmsMainScreen.ButtonEntry.getNarration()RealmsMainScreen.EmptyEntry.getNarration()RealmsMainScreen.NotificationMessageEntry.getNarration()RealmsMainScreen.ParentEntry.getNarration()RealmsMainScreen.ServerEntry.getNarration()RealmsMainScreen.getNarrationMessage()static ComponentRealmsMainScreen.getVersionComponent(String pVersion, boolean pCompatible) static ComponentRealmsMainScreen.getVersionComponent(String pVersion, int pColor) Methods in com.mojang.realmsclient with parameters of type ComponentModifier and TypeMethodDescriptionprivate static voidRealmsMainScreen.confirmToPlay(RealmsServer pRealmsServer, Screen pLastScreen, Component pTitle, Component pMessage, Component pConfirmButton) protected intRealmsMainScreen.Entry.gameModeTextX(int pLeft, int pWidth, Component pComponent) protected intRealmsMainScreen.Entry.versionTextX(int pLeft, int pWidth, Component pVersionComponent) Method parameters in com.mojang.realmsclient with type arguments of type ComponentModifier and TypeMethodDescriptionprivate voidRealmsMainScreen.Entry.drawRealmStatus(GuiGraphics pGuiGraphics, int pX, int pY, int pMouseX, int pMouseY, ResourceLocation pSpriteLocation, Supplier<Component> pTooltipSupplier) Constructors in com.mojang.realmsclient with parameters of type ComponentModifierConstructorDescriptionprotectedCrossButton(Button.OnPress pOnPress, Component pMessage) NotificationButton(Component pMessage, ResourceLocation pSprite, Button.OnPress pOnPress) NotificationMessageEntry(Component pText, int pFrameItemHeight, RealmsNotification pNotification) -
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.client.worldupload
Fields in com.mojang.realmsclient.client.worldupload declared as ComponentModifier and TypeFieldDescriptionprivate final ComponentRealmsUploadFailedException.errorMessageprivate static final ComponentRealmsUploadCanceledException.UPLOAD_CANCELEDMethods in com.mojang.realmsclient.client.worldupload that return ComponentModifier and TypeMethodDescriptionRealmsUploadException.getErrorMessages()RealmsUploadTooLargeException.getErrorMessages()RealmsUploadCanceledException.getStatusMessage()RealmsUploadException.getStatusMessage()RealmsUploadFailedException.getStatusMessage()RealmsUploadWorldNotClosedException.getStatusMessage()Constructors in com.mojang.realmsclient.client.worldupload with parameters of type Component -
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 pDefaultValue) 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 static final ComponentAddRealmPopupScreen.CLOSE_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 ComponentRealmsResetWorldScreen.GENERATE_NEW_WORLD(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 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 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 pKey, String pValue) private ComponentRealmsDownloadLatestWorldScreen.createProgressNarrationMessage()private ComponentRealmsUploadScreen.createProgressNarrationMessage()private ComponentRealmsSubscriptionInfoScreen.daysLeftPresentation(int pDaysLeft) RealmsGenericErrorScreen.ErrorMessage.detail()Returns the value of thedetailrecord component.private ComponentRealmsBackupInfoScreen.gameDifficultyMetadata(String pValue) private ComponentRealmsBackupInfoScreen.gameModeMetadata(String pValue) (package private) static ComponentRealmsSelectFileToUploadScreen.gameModeName(LevelSummary pLevelSummary) 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 pTime) RealmsGenericErrorScreen.ErrorMessage.title()Returns the value of thetitlerecord component.private ComponentRealmsBackupInfoScreen.BackupInfoListEntry.translateKey(String pKey) Methods in com.mojang.realmsclient.gui.screens with parameters of type ComponentModifier and TypeMethodDescriptionprivate CycleButton.OnValueChange<Boolean> RealmsSlotOptionsScreen.confirmDangerousOption(Component pQuestion, Consumer<Boolean> pOnPress) private static RealmsGenericErrorScreen.ErrorMessageRealmsGenericErrorScreen.errorMessage(Component pMessage) private static RealmsGenericErrorScreen.ErrorMessageRealmsGenericErrorScreen.errorMessage(Component pTitle, Component pMessage) static PopupScreenRealmsPopups.infoPopupScreen(Screen pBackgroundScreen, Component pMessage, Consumer<PopupScreen> pOnContinue) private voidRealmsUploadScreen.setErrorMessage(Component... pErrorMessage) voidvoidRealmsSelectWorldTemplateScreen.setWarning(Component... pWarning) private voidRealmsInviteScreen.showMessage(Component pMessage) static PopupScreenRealmsPopups.warningAcknowledgePopupScreen(Screen pBackgroundScreen, Component pMessage, Consumer<PopupScreen> pOnContinue) static PopupScreenRealmsPopups.warningPopupScreen(Screen pBackgroundScreen, Component pMessage, Consumer<PopupScreen> pOnContinue) Method parameters in com.mojang.realmsclient.gui.screens with type arguments of type ComponentModifier and TypeMethodDescriptionprivate voidRealmsConfigureWorldScreen.drawRealmStatus(GuiGraphics pGuiGraphics, int pX, int pY, int pMouseX, int pMouseY, ResourceLocation pSprite, Supplier<Component> pTooltipSupplier) 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 pFont, Component pMessage, ResourceLocation pImage, Button.OnPress pOnPress) RealmsConfirmScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer pCallback, Component pTitle1, Component pTitle2) RealmsGenericErrorScreen(Component pMessage, Screen pNextScreen) RealmsGenericErrorScreen(Component pTitle, Component pLine2, Screen pMessage) RealmsPendingInvitesScreen(Screen pLastScreen, Component pTitle) RealmsResetWorldScreen(Screen pLastScreen, RealmsServer pServerData, int pSlot, Component pTitle, Component pSubtitle, int pSubtitleColor, Component pResetTaskTitle, RealmCreationTask pRealmCreationTask, Runnable pResetWorldRunnable) privateRealmsResetWorldScreen(Screen pLastScreen, RealmsServer pServerData, int pSlot, Component pTitle, Component pSubtitle, int pSubtitleColor, Component pResetTaskTitle, Runnable pResetWorldRunnable) RealmsSelectWorldTemplateScreen(Component pTitle, Consumer<WorldTemplate> pCallback, RealmsServer.WorldType pWorldType) RealmsSelectWorldTemplateScreen(Component pTitle, Consumer<WorldTemplate> pCallback, RealmsServer.WorldType pWorldType, WorldTemplatePaginatedList pWorldTemplatePaginatedList) -
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 pMillis) static ComponentRealmsUtil.convertToAgePresentationFromInstant(Date pDate) 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 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()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 ComponentModifierConstructorDescriptionResettingTemplateWorldTask(WorldTemplate pTemplate, long pServerId, Component pTitle, Runnable pCallback) ResettingWorldTask(long pServerId, Component pTitle, Runnable pCallback) -
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 pDisplay) DisplayInfo.getDescription()AdvancementType.getDisplayName()AdvancementProgress.getProgressText()DisplayInfo.getTitle()static ComponentAdvancement.name(AdvancementHolder pAdvancement) 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 pIcon, Component pTitle, Component pDescription, ResourceLocation pBackground, AdvancementType pType, boolean pShowToast, boolean pAnnounceChat, boolean pHidden) Advancement.Builder.display(ItemLike pIcon, Component pTitle, Component pDescription, ResourceLocation pBackground, AdvancementType pType, boolean pShowToast, boolean pAnnounceChat, boolean pHidden) Constructors in net.minecraft.advancements with parameters of type ComponentModifierConstructorDescriptionDisplayInfo(ItemStack pIcon, Component pTitle, Component pDescription, Optional<ClientAsset> pBackground, AdvancementType pType, boolean pShowToast, boolean pAnnounceChat, boolean pHidden) -
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 Componentprivate static final ComponentOptions.ALLOW_SERVER_LISTING_TOOLTIPfinal 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_FASTprivate static final Componentprivate static final ComponentOptions.INACTIVITY_FPS_LIMIT_TOOLTIP_AFKprivate static final Component(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 pText, int pValue) static ComponentOptions.genericValueLabel(Component pText, Component pValue) static ComponentOptions.genericValueOrOffLabel(Component pText, int pValue) Minecraft.ChatStatus.getMessage()NarratorStatus.getName()KeyMapping.getTranslatedKeyMessage()Minecraft.grabPanoramixScreenshot(File pGameDirectory, int pWidth, int pHeight) private static ComponentOptions.percentValueLabel(Component pText, double pValue) private static ComponentOptions.percentValueOrOffLabel(Component pText, double pValue) private static ComponentOptions.pixelValueLabel(Component pText, int pValue) GuiMessageTag.text()Returns the value of thetextrecord component.Methods in net.minecraft.client that return types with arguments of type ComponentModifier and TypeMethodDescriptionKeyMapping.createNameSupplier(String pKey) Returns a supplier which gets a keybind's current binding (eg,key.forwardreturns W by default), or the keybind's name if no such keybind exists (eg,key.invalidreturns key.invalid)Methods in net.minecraft.client with parameters of type ComponentModifier and TypeMethodDescriptionprivate voidMinecraft.addResourcePackLoadFailToast(Component pMessage) static <T> OptionInstance.TooltipSupplier<T> OptionInstance.cachedConstantTooltip(Component pMessage) voidMinecraft.clearResourcePacksOnError(Throwable pThrowable, Component pErrorMessage, Minecraft.GameLoadCookie pGameLoadCookie) private voidKeyboardHandler.debugComponent(ChatFormatting pFormatting, Component pMessage) private voidKeyboardHandler.debugFeedbackComponent(Component pMessage) static ComponentOptions.genericValueLabel(Component pText, int pValue) static ComponentOptions.genericValueLabel(Component pText, Component pValue) static ComponentOptions.genericValueOrOffLabel(Component pText, int pValue) private static ComponentOptions.percentValueLabel(Component pText, double pValue) private static ComponentOptions.percentValueOrOffLabel(Component pText, double pValue) private static ComponentOptions.pixelValueLabel(Component pText, int pValue) voidvoidvoidMethod parameters in net.minecraft.client with type arguments of type ComponentModifier and TypeMethodDescriptionbooleanMinecraft.debugClientMetricsStart(Consumer<Component> pLogger) static voidScreenshot.grab(File pGameDirectory, RenderTarget pBuffer, Consumer<Component> pMessageConsumer) Saves a screenshot in the game directory with a time-stamped filename.static voidScreenshot.grab(File pGameDirectory, String pScreenshotName, RenderTarget pBuffer, Consumer<Component> pMessageConsumer) Saves a screenshot in the game directory with the given file name (or null to generate a time-stamped name).Constructors in net.minecraft.client with parameters of type ComponentModifierConstructorDescriptionprivateChatStatus(Component pMessage) 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.subtitleThe current sub-title displayedprivate ComponentGui.titleThe current title displayedMethods in net.minecraft.client.gui with parameters of type ComponentModifier and TypeMethodDescriptionvoidGuiGraphics.drawCenteredString(Font pFont, Component pText, int pX, int pY, int pColor) Draws a centered string at the specified coordinates using the given font, text component, and color.intFont.drawInBatch(Component pText, float pX, float pY, int pColor, boolean pDropShadow, org.joml.Matrix4f pPose, MultiBufferSource pBufferSource, Font.DisplayMode pDisplayMode, int pBackgroundColor, int pPackedLightCoords) intFont.drawInBatch(Component pText, float pX, float pY, int pColor, boolean pDropShadow, org.joml.Matrix4f pPose, MultiBufferSource pBufferSource, Font.DisplayMode pDisplayMode, int pBackgroundColor, int pPackedLightCoords, boolean pInverseDepth) intGuiGraphics.drawString(Font pFont, Component pText, int pX, int pY, int pColor) Draws a component's visual order text at the specified coordinates using the given font, text component, and color.intGuiGraphics.drawString(Font pFont, Component pText, int pX, int pY, int pColor, boolean pDropShadow) Draws a component's visual order text at the specified coordinates using the given font, text component, color, and drop shadow.intGuiGraphics.drawStringWithBackdrop(Font pFont, Component pText, int pX, int pY, int pXOffset, int pColor) voidGuiGraphics.renderTooltip(Font pFont, Component pText, int pMouseX, int pMouseY) Renders a tooltip with a single line of text at the specified mouse coordinates.voidGuiGraphics.renderTooltip(Font pFont, Component pText, int pMouseX, int pMouseY, ResourceLocation pSprite) voidGui.setNowPlaying(Component pDisplayName) Sets the currently playing record display name and updates the overlay message.voidGui.setOverlayMessage(Component pComponent, boolean pAnimateColor) Sets the overlay message to be displayed on the screen.voidGui.setSubtitle(Component pSubtitle) Sets the subtitle to be displayed in the title screen.voidSets the title to be displayed in the title screen.Method parameters in net.minecraft.client.gui with type arguments of type ComponentModifier and TypeMethodDescriptionvoidGuiGraphics.renderComponentTooltip(Font pFont, List<Component> pTooltipLines, int pMouseX, int pMouseY) Renders a tooltip with multiple lines of component-based text at the specified mouse coordinates.voidGuiGraphics.renderComponentTooltip(Font pFont, List<Component> pTooltipLines, int pMouseX, int pMouseY, ResourceLocation pSprite) voidGuiGraphics.renderTooltip(Font pFont, List<Component> pTooltipLines, Optional<TooltipComponent> pVisualTooltipComponent, int pMouseX, int pMouseY) Renders a tooltip with customizable components at the specified mouse coordinates.voidGuiGraphics.renderTooltip(Font pFont, List<Component> pTooltipLines, Optional<TooltipComponent> pVisualTooltipComponent, int pMouseX, int pMouseY, ResourceLocation pSprite) voidGuiGraphics.renderTooltip(Font font, List<Component> textComponents, Optional<TooltipComponent> tooltipComponent, ItemStack stack, int mouseX, int mouseY) voidGuiGraphics.renderTooltip(Font font, List<Component> textComponents, Optional<TooltipComponent> tooltipComponent, ItemStack stack, int mouseX, int mouseY, ResourceLocation backgroundTexture) -
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 pValue) private ComponentPlayerTabOverlay.decorateName(PlayerInfo pPlayerInfo, MutableComponent pName) PlayerTabOverlay.ScoreDisplayEntry.formattedScore()Returns the value of theformattedScorerecord component.AbstractWidget.getMessage()PlayerTabOverlay.getNameForDisplay(PlayerInfo pPlayerInfo) 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 pMessage, Consumer<PopupScreen> pAction) voidChatComponent.addMessage(Component pChatComponent) voidChatComponent.addMessage(Component pChatComponent, MessageSignature pHeaderSignature, GuiMessageTag pTag) static CycleButton.Builder<Boolean> CycleButton.booleanBuilder(Component pComponentOn, Component pComponentOff) static Button.BuilderButton.builder(Component pMessage, Button.OnPress pOnPress) static Checkbox.Builderstatic SpriteIconButton.BuilderSpriteIconButton.builder(Component pMessage, Button.OnPress pOnPress, boolean pIconOnly) private FormattedCharSequenceCycleButton.Builder.create(int pX, int pY, int pWidth, int pHeight, Component pName, CycleButton.OnValueChange<T> pOnValueChange) CycleButton.Builder.create(Component pMessage, CycleButton.OnValueChange<T> pOnValueChange) static MultiLineLabelstatic MultiLineLabelstatic MultiLineLabelstatic MultiLineLabelstatic Tooltipstatic Tooltipprivate intCheckbox.getAdjustedWidth(int pMaxWidth, Component pMessage, Font pFont) (package private) static intCheckbox.getDefaultWidth(Component pMessage, Font pFont) static voidAbstractWidget.renderScrollingString(GuiGraphics pGuiGraphics, Font pFont, Component pText, int pMinX, int pMinY, int pMaxX, int pMaxY, int pColor) static voidAbstractWidget.renderScrollingString(GuiGraphics pGuiGraphics, Font pFont, Component pText, int pCenterX, int pMinX, int pMinY, int pMaxX, int pMaxY, int pColor) voidvoidvoidvoidAbstractWidget.setMessage(Component pMessage) voidFittingMultiLineTextWidget.setMessage(Component p_397381_) PopupScreen.Builder.setMessage(Component pMessage) static List<FormattedCharSequence> Tooltip.splitTooltip(Minecraft pMinecraft, Component pMessage) static MutableComponentAbstractWidget.wrapDefaultNarrationMessage(Component pMessage) 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_) AbstractScrollArea(int p_386878_, int p_387233_, int p_388234_, int p_386759_, Component p_388945_) AbstractSliderButton(int pX, int pY, int pWidth, int pHeight, Component pMessage, double pValue) AbstractStringWidget(int pX, int pY, int pWidth, int pHeight, Component pMessage, Font pFont) AbstractTextAreaWidget(int p_388859_, int p_387520_, int p_387683_, int p_387659_, Component p_386737_) AbstractWidget(int pX, int pY, int pWidth, int pHeight, Component pMessage) Builder(Component pMessage, Button.OnPress pOnPress) (package private)Builder(Component pMessage, Button.OnPress pOnPress, boolean pIconOnly) protectedButton(int pX, int pY, int pWidth, int pHeight, Component pMessage, Button.OnPress pOnPress, Button.CreateNarration pCreateNarration) (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 pX, int pY, int pMaxWidth, Component pMessage, Font pFont, boolean pSelected, Checkbox.OnValueChange pOnValueChange) (package private)CycleButton(int pX, int pY, int pWidth, int pHeight, Component pMessage, Component pName, int pIndex, T pValue, CycleButton.ValueListSupplier<T> pValues, Function<T, Component> pValueStringifier, Function<CycleButton<T>, MutableComponent> pNarrationProvider, CycleButton.OnValueChange<T> pOnValueChange, OptionInstance.TooltipSupplier<T> pTooltipSupplier, boolean pDisplayOnlyValue) FittingMultiLineTextWidget(int pX, int pY, int pWidth, int pHeight, Component pMessage, Font pFont) FocusableTextWidget(int pMaxWidth, Component pMessage, Font pFont) FocusableTextWidget(int pMaxWidth, Component pMessage, Font pFont, boolean pAlwaysShowBorder, int pPadding) FocusableTextWidget(int pMaxWidth, Component pMessage, Font pFont, int pPadding) ImageButton(int pX, int pY, int pWidth, int pHeight, WidgetSprites pSprites, Button.OnPress pOnPress, Component pMessage) ImageButton(int pWidth, int pHeight, WidgetSprites pSprites, Button.OnPress pOnPress, Component pMessage) LerpingBossEvent(UUID pId, Component pName, float pProgress, BossEvent.BossBarColor pColor, BossEvent.BossBarOverlay pOverlay, boolean pDarkenScreen, boolean pBossMusic, boolean pWorldFog) LoadingDotsWidget(Font pFont, Component pMessage) MultiLineEditBox(Font pFont, int pX, int pY, int pWidth, int pHeight, Component pPlaceholder, Component pMessage) MultiLineTextWidget(int pX, int pY, Component pMessage, Font pFont) MultiLineTextWidget(Component pMessage, Font pFont) PlainTextButton(int pX, int pY, int pWidth, int pHeight, Component pMessage, Button.OnPress pOnPress, Font pFont) (package private)PopupScreen(Screen pBackgroundScreen, int pWidth, ResourceLocation pImage, Component pTitle, Component pMessage, List<PopupScreen.ButtonOption> pButtons, Runnable pOnClose) (package private)ScoreDisplayEntry(Component name, int score, Component formattedScore, int scoreWidth) Creates an instance of aScoreDisplayEntryrecord class.(package private)SpriteIconButton(int pWidth, int pHeight, Component pMessage, int pSpriteWidth, int pSpriteHeight, ResourceLocation pSprite, Button.OnPress pOnPress, Button.CreateNarration pCreateNarration) StringWidget(int p_268199_, int p_268137_, int p_268178_, int p_268169_, Component p_268285_, Font p_268047_) StringWidget(int pWidth, int pHeight, Component pMessage, Font pFont) StringWidget(Component pMessage, Font pFont) 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 pX, int pY, int pWidth, int pHeight, Component pMessage, Component pName, int pIndex, T pValue, CycleButton.ValueListSupplier<T> pValues, Function<T, Component> pValueStringifier, Function<CycleButton<T>, MutableComponent> pNarrationProvider, CycleButton.OnValueChange<T> pOnValueChange, OptionInstance.TooltipSupplier<T> pTooltipSupplier, boolean pDisplayOnlyValue) -
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 ComponentSystemToast.titleprivate static final ComponentRecipeToast.TITLE_TEXTMethods in net.minecraft.client.gui.components.toasts with parameters of type ComponentModifier and TypeMethodDescriptionstatic voidSystemToast.add(ToastManager pToastManager, SystemToast.SystemToastId pId, Component pTitle, Component pMessage) static voidSystemToast.addOrUpdate(ToastManager pToastManager, SystemToast.SystemToastId pId, Component pTitle, Component pMessage) static SystemToastSystemToast.multiline(Minecraft pMinecraft, SystemToast.SystemToastId pId, Component pTitle, Component pMessage) private static ImmutableList<FormattedCharSequence> SystemToast.nullToEmpty(Component pMessage) voidConstructors in net.minecraft.client.gui.components.toasts with parameters of type ComponentModifierConstructorDescriptionprivateSystemToast(SystemToast.SystemToastId pId, Component pTitle, List<FormattedCharSequence> pMessageLines, int pWidth) SystemToast(SystemToast.SystemToastId pId, Component pTitle, Component pMessage) TutorialToast(Font pFont, TutorialToast.Icons pIcon, Component pTitle, Component pMessage, boolean pProgressable) TutorialToast(Font pFont, TutorialToast.Icons pIcon, Component pTitle, Component pMessage, boolean pProgressable, int pTimeToDisplayMs) -
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 pMessage, Font pFont) static LayoutCommonLayouts.labeledElement(Font pFont, LayoutElement pElement, Component pLabel) static LayoutCommonLayouts.labeledElement(Font pFont, LayoutElement pElement, Component pLabel, Consumer<LayoutSettings> pLayoutSettings) -
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 pType, Component pContents) default voidNarrationElementOutput.add(NarratedElementType pType, Component... pContents) 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_BUTTONstatic final ComponentBackupConfirmScreen.BACKUP_AND_JOINprivate static final ComponentCreateBuffetWorldScreen.BIOME_SELECT_INFOprivate static final ComponentRecoverWorldDataScreen.BUGTRACKER_BUTTONprivate final ComponentGenericWaitingScreen.buttonLabelprivate final ComponentDisconnectedScreen.buttonTextprivate final ComponentDeathScreen.causeOfDeath(package private) final ComponentBackupConfirmScreen.confirmation(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 ComponentCreateFlatWorldScreen.DetailsList.HEIGHT_TITLEprivate static final ComponentShareToLanScreen.INFO_TEXTprivate static final ComponentShareToLanScreen.INVALID_PORTprivate static final ComponentEditServerScreen.IP_LABELprivate static final ComponentCreateFlatWorldScreen.DetailsList.LAYER_MATERIAL_TITLEprivate 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.noButtonThe text shown for the second button in GuiYesNoprivate 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 static final ComponentBackupConfirmScreen.SKIP_AND_JOINprivate 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 ComponentCreateFlatWorldScreen.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.yesButtonThe text shown for the first button in GuiYesNoMethods in net.minecraft.client.gui.screens that return ComponentModifier and TypeMethodDescriptionprivate ComponentRecoverWorldDataScreen.buildInfo(LevelStorageSource.LevelStorageAccess pLevel, boolean pUseFallback, Exception pException) private static ComponentBanNoticeScreens.getBanDurationText(com.mojang.authlib.minecraft.BanDetails pBanDetails) private static ComponentBanNoticeScreens.getBannedScreenText(com.mojang.authlib.minecraft.BanDetails pBanDetails) private static ComponentBanNoticeScreens.getBannedTitle(com.mojang.authlib.minecraft.BanDetails pBanDetails) private static ComponentBanNoticeScreens.getBanReasonText(com.mojang.authlib.minecraft.BanDetails pBanDetails) private static ComponentBanNoticeScreens.getBanStatusText(com.mojang.authlib.minecraft.BanDetails pBanDetails) 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 pPort) Methods in net.minecraft.client.gui.screens that return types with arguments of type ComponentModifier and TypeMethodDescriptionScreen.getTooltipFromItem(Minecraft pMinecraft, ItemStack pItem) Methods in net.minecraft.client.gui.screens with parameters of type ComponentModifier and TypeMethodDescriptionprivate voidWinScreen.addCreditsLine(Component pCreditsLine, boolean pCentered) static <T extends AbstractContainerMenu>
voidstatic GenericWaitingScreenGenericWaitingScreen.createCompleted(Component pTitle, Component pMessageText, Component pButtonLabel, Runnable pButtonCallback) static GenericWaitingScreenGenericWaitingScreen.createWaiting(Component pTitle, Component pButtonLabel, Runnable pButtonCallback) default voidMenuScreens.ScreenConstructor.fromPacket(Component pTitle, MenuType<T> pType, Minecraft pMc, int pWindowId) private static ButtonPauseScreen.openLinkButton(Screen pLastScreen, Component pButtonText, URI pUri) private ButtonPauseScreen.openScreenButton(Component pMessage, Supplier<Screen> pScreenSupplier) voidProgressScreen.progressStage(Component pComponent) voidProgressScreen.progressStart(Component pComponent) voidProgressScreen.progressStartNoAbort(Component pComponent) voidScreen.setTooltipForNextRenderPass(Component pTooltip) private voidConnectScreen.updateStatus(Component pStatus) Constructors in net.minecraft.client.gui.screens with parameters of type ComponentModifierConstructorDescriptionAlertScreen(Runnable pCallback, Component pTitle, Component pText) AlertScreen(Runnable pCallback, Component pTitle, Component pMessageText, Component pOkButton, boolean pShouldCloseOnEsc) BackupConfirmScreen(Runnable pOnCancel, BackupConfirmScreen.Listener pOnProceed, Component pTitle, Component pDescription, boolean pPromptForCacheErase) BackupConfirmScreen(Runnable pOnCancel, BackupConfirmScreen.Listener pOnProceed, Component pTitle, Component pDescription, Component pConfirmation, boolean pPromptForCacheErase) ConfirmLinkScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer pCallback, Component pTitle, String pUrl, boolean pTrusted) ConfirmLinkScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer pCallback, Component pTitle, URI pUri, boolean pTrusted) ConfirmLinkScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer pCallback, Component pTitle, Component pMessage, String pUrl, Component pNoButton, boolean pTrusted) ConfirmLinkScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer pCallback, Component pTitle, Component pMessage, URI pUri, Component pNoButton, boolean pTrusted) ConfirmScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer pCallback, Component pTitle, Component pMessage) ConfirmScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer pCallback, Component pTitle, Component pMessage, Component pYesButton, Component pNoButton) privateConnectScreen(Screen pParent, Component pConnectFailedTitle) DeathScreen(Component pCauseOfDeath, boolean pHardcore) DisconnectedScreen(Screen pParent, Component pTitle, Component pReason) DisconnectedScreen(Screen pParent, Component pTitle, Component pReason, Component pButtonText) DisconnectedScreen(Screen pParent, Component pTitle, DisconnectionDetails pDetails) DisconnectedScreen(Screen pParent, Component pTitle, DisconnectionDetails pDetails, Component pButtonText) ErrorScreen(Component pTitle, Component pMessage) GenericMessageScreen(Component p_331916_) protectedGenericWaitingScreen(Component pTitle, Component pMessageText, Component pButtonLabel, Runnable pButtonCallback, int pDisableButtonTicks) NoticeWithLinkScreen(Component pTitle, Component pMessage, URI pUri, Runnable pOnClose) 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 pComponent, int pMaxWidth) -
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 pName, String pCommand, ItemStack pRenderStack) -
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 ComponentBlastFurnaceScreen.FILTER_NAMEprivate static final ComponentFurnaceScreen.FILTER_NAMEprivate static final ComponentSmokerScreen.FILTER_NAMEprivate static final ComponentJigsawBlockEditScreen.FINAL_STATE_LABELprivate static final ComponentBookEditScreen.FINALIZE_WARNING_LABELprivate static final ComponentTestInstanceBlockEditScreen.ID_LABELprivate static final ComponentStructureBlockEditScreen.INCLUDE_ENTITIES_LABELprivate static final ComponentTestInstanceBlockEditScreen.INCLUDE_ENTITIES_LABELprivate static final ComponentStructureBlockEditScreen.INTEGRITY_LABELprivate static final ComponentJigsawBlockEditScreen.JOINT_LABELprivate static final ComponentTestBlockEditScreen.MESSAGE_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 ComponentTestInstanceBlockEditScreen.ROTATION_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 ComponentTestInstanceBlockEditScreen.SIZE_LABELprivate static final ComponentStructureBlockEditScreen.STRICT_LABELprivate static final ComponentJigsawBlockEditScreen.TARGET_LABELprivate static final ComponentTestBlockEditScreen.TITLEprivate 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 ComponentEffectsInInventory.getEffectName(MobEffectInstance pEffect) protected ComponentAbstractCommandBlockEditScreen.getUsageNarration()private static ComponentTestInstanceBlockEditScreen.rotationDisplay(Rotation pRotation) Methods in net.minecraft.client.gui.screens.inventory that return types with arguments of type ComponentModifier and TypeMethodDescriptionAbstractContainerScreen.getTooltipFromContainerItem(ItemStack pStack) CreativeModeInventoryScreen.getTooltipFromContainerItem(ItemStack p_281769_) BookViewScreen.BookAccess.pages()Returns the value of thepagesrecord component.Methods in net.minecraft.client.gui.screens.inventory with parameters of type ComponentModifier and TypeMethodDescriptionvoidConstructors in net.minecraft.client.gui.screens.inventory with parameters of type ComponentModifierConstructorDescriptionAbstractContainerScreen(T pMenu, Inventory pPlayerInventory, Component pTitle) AbstractFurnaceScreen(T pMenu, Inventory pPlayerInventory, Component pTitle, Component pRecipeFilterName, ResourceLocation pTexture, ResourceLocation pLitProgressSprite, ResourceLocation pBurnProgressSprite, List<RecipeBookComponent.TabInfo> pTabInfos) AbstractRecipeBookScreen(T pMenu, RecipeBookComponent<?> pRecipeBookComponent, Inventory pPlayerInventory, Component pTitle) AbstractSignEditScreen(SignBlockEntity pSign, boolean pIsFrontText, boolean pIsFiltered, Component pTitle) AnvilScreen(AnvilMenu pMenu, Inventory pPlayerInventory, Component pTitle) BeaconScreen(BeaconMenu pMenu, Inventory pPlayerInventory, Component pTitle) protectedBeaconScreenButton(int pX, int pY, Component pMessage) protectedBeaconSpriteScreenButton(int pX, int pY, ResourceLocation pSprite, Component pMessage) BlastFurnaceScreen(BlastFurnaceMenu pMenu, Inventory pPlayerInventory, Component pTitle) BrewingStandScreen(BrewingStandMenu pMenu, Inventory pPlayerInventory, Component pTitle) CartographyTableScreen(CartographyTableMenu pMenu, Inventory pPlayerInventory, Component pTitle) ContainerScreen(ChestMenu pMenu, Inventory pPlayerInventory, Component pTitle) CrafterScreen(CrafterMenu pMenu, Inventory pPlayerInventory, Component pTitle) CraftingScreen(CraftingMenu pMenu, Inventory pPlayerInventory, Component pTitle) DispenserScreen(DispenserMenu pMenu, Inventory pPlayerInventory, Component pTitle) EnchantmentScreen(EnchantmentMenu pMenu, Inventory pPlayerInventory, Component pTitle) FurnaceScreen(FurnaceMenu pMenu, Inventory pPlayerInventory, Component pTitle) GrindstoneScreen(GrindstoneMenu pMenu, Inventory pPlayerInventory, Component pTitle) HopperScreen(HopperMenu pMenu, Inventory pPlayerInventory, Component pTitle) ItemCombinerScreen(T pMenu, Inventory pPlayerInventory, Component pTitle, ResourceLocation pMenuResource) LecternScreen(LecternMenu pMenu, Inventory pPlayerInventory, Component pTitle) LoomScreen(LoomMenu pMenu, Inventory pPlayerInventory, Component pTitle) MerchantScreen(MerchantMenu pMenu, Inventory pPlayerInventory, Component pTitle) ShulkerBoxScreen(ShulkerBoxMenu pMenu, Inventory pPlayerInventory, Component pTitle) SmithingScreen(SmithingMenu pMenu, Inventory pPlayerInventory, Component pTitle) SmokerScreen(SmokerMenu pMenu, Inventory pPlayerInventory, Component pTitle) StonecutterScreen(StonecutterMenu pMenu, Inventory pPlayerInventory, Component pTitle) 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.inventory.tooltip
Fields in net.minecraft.client.gui.screens.inventory.tooltip declared as ComponentModifier and TypeFieldDescriptionprivate static final ComponentClientBundleTooltip.BUNDLE_EMPTY_DESCRIPTIONprivate static final ComponentClientBundleTooltip.BUNDLE_EMPTY_TEXTprivate static final ComponentClientBundleTooltip.BUNDLE_FULL_TEXTMethods in net.minecraft.client.gui.screens.inventory.tooltip that return Component -
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 pTitle, Connection pConnection) protectedWarningScreen(Component pTitle, Component pContent, Component pNarration) protectedWarningScreen(Component pTitle, Component pContent, Component pCheck, Component pNarration) -
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 pName, Supplier<Screen> pScreenSupplier) Constructors in net.minecraft.client.gui.screens.options with parameters of type ComponentModifierConstructorDescriptionButtonOption(Component pMessage, Button.OnPress pOnPress) OptionsSubScreen(Screen pLastScreen, Options pOptions, Component pTitle) protectedUnsupportedGraphicsWarningScreen(Component pTitle, List<Component> pMessage, ImmutableList<UnsupportedGraphicsWarningScreen.ButtonOption> pButtonOptions) Constructor parameters in net.minecraft.client.gui.screens.options with type arguments of type ComponentModifierConstructorDescriptionprotectedUnsupportedGraphicsWarningScreen(Component pTitle, List<Component> pMessage, ImmutableList<UnsupportedGraphicsWarningScreen.ButtonOption> pButtonOptions) -
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 pName) (package private)KeyEntry(KeyMapping pKey, Component pName) -
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 pMinecraft, Component pText) private static FormattedCharSequenceConstructors in net.minecraft.client.gui.screens.packs with parameters of type ComponentModifierConstructorDescriptionPackSelectionScreen(PackRepository pRepository, Consumer<PackRepository> pOutput, Path pPackDir, Component pTitle) TransferableSelectionList(Minecraft pMinecraft, PackSelectionScreen pScreen, int pWidth, int pHeight, Component pTitle) -
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 ComponentRecipeButton.MORE_RECIPES_TOOLTIPprivate static final ComponentCraftingRecipeBookComponent.ONLY_CRAFTABLES_TOOLTIPprivate final ComponentFurnaceRecipeBookComponent.recipeFilterNameprivate static final ComponentRecipeBookComponent.SEARCH_HINTMethods in net.minecraft.client.gui.screens.recipebook that return ComponentModifier and TypeMethodDescriptionprotected ComponentCraftingRecipeBookComponent.getRecipeFilterName()protected ComponentFurnaceRecipeBookComponent.getRecipeFilterName()protected abstract ComponentRecipeBookComponent.getRecipeFilterName()Methods in net.minecraft.client.gui.screens.recipebook that return types with arguments of type ComponentConstructors in net.minecraft.client.gui.screens.recipebook with parameters of type ComponentModifierConstructorDescriptionFurnaceRecipeBookComponent(AbstractFurnaceMenu pMenu, Component pRecipeFilterName, List<RecipeBookComponent.TabInfo> pTabInfos) -
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 ComponentNameReportScreen.COMMENT_BOX_LABELprivate 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 pText) voidChatSelectionScreen.ChatSelectionList.acceptDivider(Component p_239876_) private voidAbstractReportScreen.displayReportSendError(Component pError) Constructors in net.minecraft.client.gui.screens.reporting with parameters of type ComponentModifierConstructorDescriptionprotectedAbstractReportScreen(Component pTitle, Screen pLastScreen, ReportingContext pReportingContext, B pReportBuilder) DividerEntry(Component pText) MessageEntry(int pChatId, Component pText, Component pNarration, GuiMessageTag pTagIcon, boolean pCanReport, boolean pPlayerMessage) MessageHeadingEntry(com.mojang.authlib.GameProfile pProfile, Component pHeading, boolean pCanReport) -
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 pVisible, Component pMessage) -
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 pComponent, boolean pDisabled) 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 pComponent, boolean pDisabled) 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_CONFIRMATIONprivate 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 pPack) 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 pLabel, BooleanSupplier pStateSupplier, Consumer<Boolean> pOnClicked) EditGameRulesScreen.EntryFactory.create(Component pLabel, List<FormattedCharSequence> pTooltip, String pDescription, T pValue) private voidWorldSelectionList.handleLevelLoadFailure(Component pExceptionMessage) private static voidCreateWorldScreen.queueLoadScreen(Minecraft pMinecraft, Component pTitle) Constructors in net.minecraft.client.gui.screens.worldselection with parameters of type ComponentModifierConstructorDescriptionBooleanRuleEntry(Component pLabel, List<FormattedCharSequence> pTooltip, String pDescription, GameRules.BooleanValue pValue) CategoryRuleEntry(Component pLabel) GameRuleEntry(List<FormattedCharSequence> pTooltip, Component pLabel) IntegerRuleEntry(Component pLabel, List<FormattedCharSequence> pTooltip, String pDescription, GameRules.IntegerValue pValue) (package private)PackListEntry(Component pPackId, Component pMessage, MultiLineLabel pSplitMessage) (package private)SwitchBuilder(Component pLabel, BooleanSupplier pStateSupplier, Consumer<Boolean> pOnClicked, int pButtonWidth) -
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 ComponentClientPacketListener.BAD_CHAT_INDEXprivate static final ComponentServerStatusPinger.CANT_CONNECT_MESSAGEprivate 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.tabListDisplayNameWhen this is non-null, it is displayed instead of the player's real nameprivate 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 pServerHash) static ComponentServerStatusPinger.formatPlayerCount(int pPlayers, int pCapacity) ServerData.ServerPackStatus.getName()PlayerInfo.getTabListDisplayName()(package private) static ComponentClientCommonPacketListenerImpl.preparePackPrompt(Component pLine1, Component pLine2) Methods in net.minecraft.client.multiplayer with parameters of type ComponentModifier and TypeMethodDescriptionprivate ScreenClientCommonPacketListenerImpl.addOrUpdatePackPrompt(UUID pId, URL pUrl, String pHash, boolean pRequired, Component pPrompt) ClientCommonPacketListenerImpl.createDisconnectionInfo(Component p_350683_, Throwable p_350813_) (package private) voidServerStatusPinger.onPingFailed(Component pReason, ServerData pServerData) (package private) static ComponentClientCommonPacketListenerImpl.preparePackPrompt(Component pLine1, Component pLine2) voidPlayerInfo.setTabListDisplayName(Component pDisplayName) ClientCommonPacketListenerImpl.PackConfirmScreen.update(Minecraft pMinecraft, UUID pId, URL pUrl, String pHash, boolean pRequired, Component pPrompt) Constructors in net.minecraft.client.multiplayer with parameters of type ComponentModifierConstructorDescription(package private)PackConfirmScreen(Minecraft pMinecraft, Screen pParentScreen, List<ClientCommonPacketListenerImpl.PackConfirmScreen.PendingRequest> pRequests, boolean pRequired, Component pPrompt) privateState(Component pMessage, Set<ClientHandshakePacketListenerImpl.State> pFromStates) Constructor parameters in net.minecraft.client.multiplayer with type arguments of type ComponentModifierConstructorDescriptionClientHandshakePacketListenerImpl(Connection pConnection, Minecraft pMinecraft, ServerData pServerData, Screen pParent, boolean pNewWorld, Duration pWorldLoadDuration, Consumer<Component> pUpdateStatus, TransferState pCookies) -
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 pChatMessage) static ChatTrustLevelChatTrustLevel.evaluate(PlayerChatMessage pChatMessage, Component pDecoratedServerContent, Instant pTimestamp) private ChatTrustLevelChatListener.evaluateTrustLevel(PlayerChatMessage pChatMessage, Component pDecoratedServerContent, Instant pTimestamp) private UUIDChatListener.guessChatUUID(Component pMessage) voidChatListener.handleDisguisedChatMessage(Component pMessage, ChatType.Bound pBoundChatType) voidChatListener.handleSystemMessage(Component pMessage, boolean pIsOverlay) private static booleanChatTrustLevel.isModified(PlayerChatMessage pChatMessage, Component pDecoratedServerContent) private voidChatListener.logSystemMessage(Component pMessage, Instant pTimestamp) private voidChatListener.narrateChatMessage(ChatType.Bound pBoundChatType, Component pMessage) private booleanChatListener.showMessageToPlayer(ChatType.Bound pBoundChatType, PlayerChatMessage pChatMessage, Component pDecoratedServerContent, com.mojang.authlib.GameProfile pGameProfile, boolean pOnlyShowSecureChat, Instant pTimestamp) 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 pException) private ComponentAbuseReportSender.Services.getHttpErrorDescription(com.mojang.authlib.exceptions.MinecraftClientHttpException pHttpException) 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 pChatComponent, boolean pActionBar) -
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 that return ComponentModifier and TypeMethodDescriptionprotected ComponentEntityRenderer.getNameTag(T pEntity) protected ComponentItemFrameRenderer.getNameTag(T p_365048_) Methods in net.minecraft.client.renderer.entity with parameters of type ComponentModifier and TypeMethodDescriptionprotected voidEntityRenderer.renderNameTag(S pRenderState, Component pDisplayName, PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight) private Display.TextDisplay.CachedInfoDisplayRenderer.TextDisplayRenderer.splitLines(Component pText, int pMaxWidth) -
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(PlayerRenderState p_363185_, Component p_117809_, PoseStack p_117810_, MultiBufferSource p_117811_, int p_117812_) -
Uses of Component in net.minecraft.client.renderer.entity.state
Fields in net.minecraft.client.renderer.entity.state declared as Component -
Uses of Component in net.minecraft.client.renderer.state
Fields in net.minecraft.client.renderer.state declared as Component -
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 pId, Component pTitle) -
Uses of Component in net.minecraft.client.resources.language
Fields in net.minecraft.client.resources.language with type parameters of type ComponentMethods in net.minecraft.client.resources.language that return ComponentModifier and TypeMethodDescriptionClientLanguage.getComponent(String key) LanguageInfo.toComponent() -
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 pMessage) voidCommandSourceStack.sendFailure(Component pMessage) voidCommandSource.sendSystemMessage(Component pComponent) voidCommandSourceStack.sendSystemMessage(Component pMessage) Method parameters in net.minecraft.commands with type arguments of type ComponentModifier and TypeMethodDescriptionvoidCommandSourceStack.sendSuccess(Supplier<Component> pMessageSupplier, boolean pAllowLogging) Constructors in net.minecraft.commands with parameters of type ComponentModifierConstructorDescriptionCommandSourceStack(CommandSource pSource, Vec3 pWorldPosition, Vec2 pRotation, ServerLevel pLevel, int pPermissionLevel, String pTextName, Component pDisplayName, MinecraftServer pServer, Entity pEntity) protectedCommandSourceStack(CommandSource pSource, Vec3 pWorldPosition, Vec2 pRotation, ServerLevel pLevel, int pPermissionLevel, String pTextName, Component pDisplayName, MinecraftServer pServer, Entity pEntity, boolean pSilent, CommandResultCallback pResultCallback, EntityAnchorArgument.Anchor pAnchor, CommandSigningContext pSigningContext, TaskChainer pChatMessageChainer) FunctionInstantiationException(Component pMessageComponent) -
Uses of Component in net.minecraft.commands.arguments
Methods in net.minecraft.commands.arguments that return ComponentModifier and TypeMethodDescriptionstatic ComponentMessageArgument.getMessage(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static ComponentComponentArgument.getRawComponent(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static ComponentComponentArgument.getResolvedComponent(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) static ComponentComponentArgument.getResolvedComponent(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName, Entity pEntity) (package private) ComponentMessageArgument.Message.resolveComponent(CommandSourceStack pSource) MessageArgument.Message.toComponent(CommandSourceStack pSource, boolean pAllowSelectors) Converts this message into a text component, replacing any selectors in the text with the actual evaluated selector.MessageArgument.Part.toComponent(CommandSourceStack pSource) Runs the selector and returns the component produced by it. -
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 pId, EntitySelectorOptions.Modifier pHandler, Predicate<EntitySelectorParser> pPredicate, Component pTooltip) 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.core.component.predicates
Fields in net.minecraft.core.component.predicates declared as ComponentModifier and TypeFieldDescriptionprivate final ComponentWrittenBookPredicate.PagePredicate.contentsThe field for thecontentsrecord component.Fields in net.minecraft.core.component.predicates with type parameters of type ComponentModifier and TypeFieldDescriptionprivate final Optional<CollectionPredicate<Filterable<Component>, WrittenBookPredicate.PagePredicate>> WrittenBookPredicate.pagesThe field for thepagesrecord component.Methods in net.minecraft.core.component.predicates that return ComponentModifier and TypeMethodDescriptionWrittenBookPredicate.PagePredicate.contents()Returns the value of thecontentsrecord component.Methods in net.minecraft.core.component.predicates that return types with arguments of type ComponentModifier and TypeMethodDescriptionWrittenBookPredicate.pages()Returns the value of thepagesrecord component.Method parameters in net.minecraft.core.component.predicates with type arguments of type ComponentModifier and TypeMethodDescriptionbooleanWrittenBookPredicate.PagePredicate.test(Filterable<Component> p_399478_) Constructors in net.minecraft.core.component.predicates with parameters of type ComponentModifierConstructorDescriptionPagePredicate(Component contents) Creates an instance of aPagePredicaterecord class.Constructor parameters in net.minecraft.core.component.predicates with type arguments of type ComponentModifierConstructorDescriptionWrittenBookPredicate(Optional<CollectionPredicate<Filterable<Component>, WrittenBookPredicate.PagePredicate>> pages, Optional<String> author, Optional<String> title, MinMaxBounds.Ints generation, Optional<Boolean> resolved) Creates an instance of aWrittenBookPredicaterecord class. -
Uses of Component in net.minecraft.data.metadata
Methods in net.minecraft.data.metadata with parameters of type ComponentModifier and TypeMethodDescriptionstatic PackMetadataGeneratorPackMetadataGenerator.forFeaturePack(PackOutput pOutput, Component pDescription) static PackMetadataGeneratorPackMetadataGenerator.forFeaturePack(PackOutput pOutput, Component pDescription, FeatureFlagSet pFlags) -
Uses of Component in net.minecraft.gametest.framework
Fields in net.minecraft.gametest.framework declared as ComponentModifier and TypeFieldDescriptionprotected final ComponentGameTestAssertException.messageprotected final ComponentGameTestTimeoutException.messageMethods in net.minecraft.gametest.framework that return ComponentModifier and TypeMethodDescriptionFunctionGameTestInstance.describe()GameTestInstance.describe()protected ComponentGameTestInstance.describeInfo()GameTestAssertException.getDescription()GameTestAssertPosException.getDescription()abstract ComponentGameTestException.getDescription()GameTestTimeoutException.getDescription()UnknownGameTestException.getDescription()Methods in net.minecraft.gametest.framework with parameters of type ComponentModifier and TypeMethodDescription<T extends Comparable<T>>
voidGameTestHelper.assertBlockProperty(BlockPos pPos, Property<T> pProperty, Predicate<T> pPredicate, Component pMessage) voidGameTestHelper.assertEntityPosition(Entity pEntity, AABB pBoundingBox, Component pMessage) <E extends Entity,T>
voidGameTestHelper.assertEntityProperty(E pEntity, Function<E, T> pValueGetter, T pExpectedValue, Component pMessage) <E extends Entity>
voidGameTestHelper.assertEntityProperty(E pEntity, Predicate<E> pPredicate, Component pMessage) voidGameTestHelper.assertFalse(boolean pCondition, Component pMessage) GameTestHelper.assertionException(BlockPos pPos, Component pMessage) GameTestHelper.assertionException(Component pMessage) voidGameTestHelper.assertTrue(boolean pCondition, Component pMessage) <N> voidGameTestHelper.assertValueEqual(N pExpected, N pActual, Component pName) voidvoidvoidvoidMethod parameters in net.minecraft.gametest.framework with type arguments of type ComponentModifier and TypeMethodDescriptionvoidGameTestHelper.assertBlock(BlockPos pPos, Predicate<Block> pPredicate, Function<Block, Component> pMessage) <T extends BlockEntity>
voidGameTestHelper.assertBlockEntityData(BlockPos pPos, Class<T> pBlockEntityClass, Predicate<T> pPredicate, Supplier<Component> pMessage) voidGameTestHelper.assertBlockState(BlockPos pPos, Predicate<BlockState> pPredicate, Function<BlockState, Component> pMessage) voidGameTestHelper.assertRedstoneSignal(BlockPos pPos, Direction pDirection, IntPredicate pSignalStrengthPredicate, Supplier<Component> pMessage) Constructors in net.minecraft.gametest.framework with parameters of type ComponentModifierConstructorDescriptionGameTestAssertException(Component pMessage, int pTick) GameTestAssertPosException(Component pMessage, BlockPos pAbsolutePos, BlockPos pRelativePos, int pTick) GameTestTimeoutException(Component pMessage) -
Uses of Component in net.minecraft.locale
Methods in net.minecraft.locale that return Component -
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 pText) static ComponentNbtUtils.toPrettyComponent(Tag pTag) -
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 pReason, Throwable pError) voidConnection.disconnect(Component pMessage) Closes the channel with a given reason.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 ComponentModifier and TypeClassDescriptionclassA Component which can have its Style and siblings modified.Fields 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.private final ComponentHoverEvent.ShowText.valueThe field for thevaluerecord component.Fields in net.minecraft.network.chat with type parameters of type ComponentModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Component> ComponentSerialization.CODECHoverEvent.EntityTooltipInfo.linesCacheHoverEvent.EntityTooltipInfo.namestatic final StreamCodec<RegistryFriendlyByteBuf, Optional<Component>> ComponentSerialization.OPTIONAL_STREAM_CODECMutableComponent.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 pText) OutgoingChatMessage.content()OutgoingChatMessage.Disguised.content()Returns the value of thecontentrecord component.OutgoingChatMessage.Player.content()ChatDecorator.decorate(ServerPlayer pPlayer, Component pMessage) ChatTypeDecoration.decorate(Component pContent, ChatType.Bound pBoundChatType) PlayerChatMessage.decoratedContent()ChatType.Bound.decorateNarration(Component pContent) static <T extends Comparable<T>>
ComponentComponentUtils.formatAndSortList(Collection<T> pElements, Function<T, Component> pComponentExtractor) static ComponentComponentUtils.formatList(Collection<? extends Component> pElements, Component pSeparator) static <T> ComponentComponentUtils.formatList(Collection<? extends T> pElements, Function<T, Component> pComponentExtractor) static ComponentComponentUtils.formatList(Collection<String> pElements) static ComponentComponentUtils.fromMessage(com.mojang.brigadier.Message pMessage) ThrowingComponent.getComponent()static ComponentCommonComponents.joinLines(Collection<? extends Component> pLines) static ComponentChatType.Bound.name()Returns the value of thenamerecord component.static ComponentComponent.nullToEmpty(String pText) static ComponentCommonComponents.optionStatus(boolean pIsEnabled) private Component[]ChatTypeDecoration.resolveParameters(Component pContent, ChatType.Bound pBoundChatType) ChatTypeDecoration.Parameter.select(Component pContent, ChatType.Bound pBoundChatType) ChatTypeDecoration.Parameter.Selector.select(Component pContent, ChatType.Bound pBoundChatType) static ComponentComponent.translationArg(com.mojang.brigadier.Message pMessage) static ComponentComponent.translationArg(URI pUri) static ComponentComponent.translationArg(Date pDate) static ComponentComponent.translationArg(UUID pUuid) static ComponentComponent.translationArg(ResourceLocation pLocation) static ComponentComponent.translationArg(ChunkPos pChunkPos) PlayerChatMessage.unsignedContent()Returns the value of theunsignedContentrecord component.HoverEvent.ShowText.value()Returns the value of thevaluerecord 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> pCodec) static com.mojang.serialization.Codec<Component> ComponentSerialization.flatRestrictedCodec(int pMaxSize) Component.getSiblings()MutableComponent.getSiblings()HoverEvent.EntityTooltipInfo.getTooltipLines()ChatType.Bound.targetName()Returns the value of thetargetNamerecord component.Component.toFlatList()Component.toFlatList(Style pStyle) Methods in net.minecraft.network.chat with parameters of type ComponentModifier and TypeMethodDescriptionAdd the given component to this component's siblings.static ChatType.BoundChatType.bind(ResourceKey<ChatType> pChatTypeKey, RegistryAccess pRegistryAccess, Component pName) default booleanChatDecorator.decorate(ServerPlayer pPlayer, Component pMessage) ChatTypeDecoration.decorate(Component pContent, ChatType.Bound pBoundChatType) ChatType.Bound.decorateNarration(Component pContent) static ComponentComponentUtils.formatList(Collection<? extends Component> pElements, Component pSeparator) static <T> MutableComponentComponentUtils.formatList(Collection<? extends T> pElements, Component pSeparator, Function<T, Component> pComponentExtractor) static booleanComponentUtils.isTranslationResolvable(Component pComponent) static MutableComponentCommonComponents.joinForNarration(Component... pComponents) static Componentstatic MutableComponentCommonComponents.optionNameValue(Component pCaption, Component pValueMessage) static MutableComponentCommonComponents.optionStatus(Component pMessage, boolean pComposed) private Component[]ChatTypeDecoration.resolveParameters(Component pContent, ChatType.Bound pBoundChatType) ChatTypeDecoration.Parameter.select(Component pContent, ChatType.Bound pBoundChatType) ChatTypeDecoration.Parameter.Selector.select(Component pContent, ChatType.Bound pBoundChatType) (package private) static JsonElementComponent.Serializer.serialize(Component pComponent, HolderLookup.Provider pProvider) Component.SerializerAdapter.serialize(Component pSrc, Type pTypeOfSrc, JsonSerializationContext pContext) static StringComponent.Serializer.toJson(Component pComponent, HolderLookup.Provider pRegistries) static MutableComponentComponentUtils.updateForEntity(CommandSourceStack pCommandSourceStack, Component pComponent, Entity pEntity, int pRecursionDepth) ChatType.Bound.withTargetName(Component pTargetName) PlayerChatMessage.withUnsignedContent(Component pMessage) static MutableComponentComponentUtils.wrapInSquareBrackets(Component pToWrap) Wraps the text with square brackets.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> pCodec) private static MutableComponentComponentSerialization.createFromList(List<Component> pComponents) static <T extends Comparable<T>>
ComponentComponentUtils.formatAndSortList(Collection<T> pElements, Function<T, Component> pComponentExtractor) static ComponentComponentUtils.formatList(Collection<? extends Component> pElements, Component pSeparator) static <T> ComponentComponentUtils.formatList(Collection<? extends T> pElements, Function<T, Component> pComponentExtractor) static <T> MutableComponentComponentUtils.formatList(Collection<? extends T> pElements, Optional<? extends Component> pOptionalSeparator, Function<T, Component> pComponentExtractor) static <T> MutableComponentComponentUtils.formatList(Collection<? extends T> pElements, Optional<? extends Component> pOptionalSeparator, Function<T, Component> pComponentExtractor) static <T> MutableComponentComponentUtils.formatList(Collection<? extends T> pElements, Component pSeparator, Function<T, Component> pComponentExtractor) static ComponentCommonComponents.joinLines(Collection<? extends Component> pLines) static MutableComponentComponent.nbt(String pNbtPathPattern, boolean pInterpreting, Optional<Component> pSeparator, DataSource pDataSource) static MutableComponentComponent.selector(SelectorPattern pSelectorPattern, Optional<Component> pSeperator) static Optional<MutableComponent> ComponentUtils.updateForEntity(CommandSourceStack pCommandSourceStack, Optional<Component> pOptionalComponent, Entity pEntity, int pRecursionDepth) 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<?> pType, UUID pId, Component pName) PlayerChatMessage(SignedMessageLink link, MessageSignature signature, SignedMessageBody signedBody, Component unsignedContent, FilterMask filterMask) Creates an instance of aPlayerChatMessagerecord class.Creates an instance of aShowTextrecord class.ThrowingComponent(Component pComponent) ThrowingComponent(Component pComponent, Throwable pCause) Constructor parameters in net.minecraft.network.chat with type arguments of type ComponentModifierConstructorDescriptionCreates an instance of aBoundrecord class.EntityTooltipInfo(EntityType<?> pType, UUID pId, Optional<Component> pName) (package private)MutableComponent(ComponentContents pContents, List<Component> pSiblings, Style pStyle) -
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.separatorThe field for theseparatorrecord component.Methods in net.minecraft.network.chat.contents that return ComponentMethods in net.minecraft.network.chat.contents that return types with arguments of type ComponentModifier and TypeMethodDescriptionNbtContents.getSeparator()SelectorContents.separator()Returns the value of theseparatorrecord component.Method parameters in net.minecraft.network.chat.contents with type arguments of type ComponentModifier and TypeMethodDescriptionstatic voidKeybindResolver.setKeyResolver(Function<String, Supplier<Component>> pKeyResolver) Constructor parameters in net.minecraft.network.chat.contents with type arguments of type ComponentModifierConstructorDescriptionNbtContents(String pNbtPathPattern, boolean pInterpreting, Optional<Component> pSeparator, DataSource pDataSource) privateNbtContents(String pNbtPathPattern, NbtPathArgument.NbtPath pCompiledNbtPath, boolean pInterpreting, Optional<Component> pSeparator, DataSource pDataSource) SelectorContents(SelectorPattern selector, Optional<Component> separator) Creates an instance of aSelectorContentsrecord class. -
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 ComponentClientboundTestInstanceBlockStatus.statusThe field for thestatusrecord component.private 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.ClientboundTestInstanceBlockStatus.status()Returns the value of thestatusrecord 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 pId, Component pName, float pProgress, BossEvent.BossBarColor pColor, BossEvent.BossBarOverlay pOverlay, boolean pDarkenScreen, boolean pPlayMusic, boolean pCreateWorldFog) default voidClientboundBossEventPacket.Handler.updateName(UUID pId, Component pName) 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 pContainerId, MenuType<?> pMenuType, Component pTitle) ClientboundPlayerChatPacket(int globalIndex, 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.ClientboundTestInstanceBlockStatus(Component status, Optional<Vec3i> size) Creates an instance of aClientboundTestInstanceBlockStatusrecord class.Entry(UUID profileId, com.mojang.authlib.GameProfile profile, boolean listed, int latency, GameType gameMode, Component displayName, boolean showHat, int listOrder, 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 pNarrator, Component pNarration) Constructors in net.minecraft.realms with parameters of type ComponentModifierConstructorDescriptionDisconnectedRealmsScreen(Screen pParent, Component pTitle, Component pReason) (package private)Params(Component pNarration, RateLimiter pRateLimiter) RealmsLabel(Component pText, int pX, int pY, int pColor) 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 pContent, ChatType.Bound pBoundChatType, String pHeader) 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
Fields in net.minecraft.server.bossevents declared as ComponentModifier and TypeFieldDescriptionprivate final ComponentCustomBossEvent.Packed.nameThe field for thenamerecord component.Methods in net.minecraft.server.bossevents that return ComponentModifier and TypeMethodDescriptionfinal ComponentCustomBossEvent.getDisplayName()CustomBossEvent.Packed.name()Returns the value of thenamerecord component.Methods in net.minecraft.server.bossevents with parameters of type ComponentConstructors in net.minecraft.server.bossevents with parameters of type ComponentModifierConstructorDescriptionCustomBossEvent(ResourceLocation pId, Component pName) Packed(Component name, boolean visible, int value, int max, BossEvent.BossBarColor color, BossEvent.BossBarOverlay overlay, boolean darkenScreen, boolean playBossMusic, boolean createWorldFog, Set<UUID> players) Creates an instance of aPackedrecord class. -
Uses of Component in net.minecraft.server.commands
Methods in net.minecraft.server.commands that return ComponentModifier and TypeMethodDescriptionprivate static ComponentAttributeCommand.getAttributeDescription(Holder<Attribute> pAttribute) private static ComponentTeamCommand.getFirstMemberName(Collection<ScoreHolder> pScores) private static ComponentScoreboardCommand.getFirstTargetName(Collection<ScoreHolder> pScores) Methods in net.minecraft.server.commands with parameters of type ComponentModifier and TypeMethodDescriptionprivate static intScoreboardCommand.addObjective(CommandSourceStack pSource, String pName, ObjectiveCriteria pCriteria, Component pDisplayName) private static intBanIpCommands.banIp(CommandSourceStack pSource, String pIp, Component pReason) private static intBanIpCommands.banIpOrName(CommandSourceStack pSource, String pUsername, Component pReason) private static intBanPlayerCommands.banPlayers(CommandSourceStack pSource, Collection<com.mojang.authlib.GameProfile> pGameProfiles, Component pReason) private static intBossBarCommands.createBar(CommandSourceStack pSource, ResourceLocation pId, Component pDisplayName) private static intTeamCommand.createTeam(CommandSourceStack pSource, String pName, Component pDisplayName) private static intKickCommand.kickPlayers(CommandSourceStack pSource, Collection<ServerPlayer> pPlayers, Component pReason) private static intRaidCommand.playSound(CommandSourceStack pSource, Component pType) voidDebugCommand.Tracer.sendSystemMessage(Component p_214427_) private static intScoreboardCommand.setDisplayName(CommandSourceStack pSource, Objective pObjective, Component pDisplayName) private static intTeamCommand.setDisplayName(CommandSourceStack pSource, PlayerTeam pTeam, Component pValue) private static intBossBarCommands.setName(CommandSourceStack pSource, CustomBossEvent pBossbar, Component pName) private static intTeamCommand.setPrefix(CommandSourceStack pSource, PlayerTeam pTeam, Component pPrefix) private static intScoreboardCommand.setScoreDisplay(CommandSourceStack pSource, Collection<ScoreHolder> pTargets, Objective pObjective, Component pDisplayName) private static intTeamCommand.setSuffix(CommandSourceStack pSource, PlayerTeam pTeam, Component pSuffix) private static intTitleCommand.showTitle(CommandSourceStack pSource, Collection<ServerPlayer> pTargets, Component pTitle, String pTitleType, Function<Component, Packet<?>> pPacketGetter) 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 pLevel, BlockPos pFrom, BlockPos pTo, Holder<Biome> pBiome, Predicate<Holder<Biome>> pFilter, Consumer<Supplier<Component>> pMessageOutput) private static intListPlayersCommand.format(CommandSourceStack pSource, Function<ServerPlayer, Component> pNameExtractor) private static intTitleCommand.showTitle(CommandSourceStack pSource, Collection<ServerPlayer> pTargets, Component pTitle, String pTitleType, Function<Component, Packet<?>> pPacketGetter) -
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 pPath, double pScale, int pValue) Gets the message used as a result of querying the given path with a scale.BlockDataAccessor.getPrintSuccess(Tag pNbt) Gets the message used as a result of querying the given NBT (both for /data get and /data get path)DataAccessor.getPrintSuccess(NbtPathArgument.NbtPath pPath, double pScale, int pValue) Gets the message used as a result of querying the given path with a scale.DataAccessor.getPrintSuccess(Tag pNbt) Gets the message used as a result of querying the given NBT (both for /data get and /data get path)EntityDataAccessor.getPrintSuccess(NbtPathArgument.NbtPath pPath, double pScale, int pValue) Gets the message used as a result of querying the given path with a scale.EntityDataAccessor.getPrintSuccess(Tag pNbt) Gets the message used as a result of querying the given NBT (both for /data get and /data get path)StorageDataAccessor.getPrintSuccess(NbtPathArgument.NbtPath pPath, double pScale, int pValue) Gets the message used as a result of querying the given path with a scale.StorageDataAccessor.getPrintSuccess(Tag pNbt) Gets the message used as a result of querying the given NBT (both for /data get and /data get path) -
Uses of Component in net.minecraft.server.dedicated
Methods in net.minecraft.server.dedicated that return ComponentModifier and TypeMethodDescriptionprivate static ComponentDedicatedServerProperties.parseResourcePackPrompt(String pJson) -
Uses of Component in net.minecraft.server.level
Fields in net.minecraft.server.level declared as ComponentModifier and TypeFieldDescriptionprivate static final ComponentServerPlayer.SPAWN_SET_MESSAGEprivate 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 pMesage) voidServerPlayer.sendSystemMessage(Component pMessage, boolean pOverlay) 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 pName, BossEvent.BossBarColor pColor, BossEvent.BossBarOverlay pOverlay) -
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 pReason) voidServerLoginPacketListenerImpl.disconnect(Component pReason) voidServerGamePacketListenerImpl.sendDisguisedChatMessage(Component pMessage, ChatType.Bound pBoundType) -
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 pEnabled, Component pText) PackLocationInfo.title()Returns the value of thetitlerecord component.Methods in net.minecraft.server.packs with parameters of type ComponentModifier and TypeMethodDescriptionPackLocationInfo.createChatLink(boolean pEnabled, Component pText) 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 pGreen) PackCompatibility.getConfirmation()Pack.getDescription()PackCompatibility.getDescription()protected abstract ComponentBuiltInPackSource.getPackTitle(String pId) 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 pTranslationKey) Methods in net.minecraft.server.packs.repository with parameters of type ComponentModifier and TypeMethodDescriptionprotected abstract PackBuiltInPackSource.createBuiltinPack(String pId, Pack.ResourcesSupplier pResources, Component pTitle) protected PackServerPacksSource.createBuiltinPack(String p_250596_, Pack.ResourcesSupplier p_249625_, Component p_249043_) private static PackLocationInfoServerPacksSource.createBuiltInPackLocation(String pId, Component pTitle) Method parameters in net.minecraft.server.packs.repository with type arguments of type ComponentModifier and TypeMethodDescriptionstatic PackSourcePackSource.create(UnaryOperator<Component> pDecorator, boolean pShouldAddAutomatically) 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 pSocketAddress, com.mojang.authlib.GameProfile pGameProfile) abstract ComponentBanListEntry.getDisplayName()IpBanListEntry.getDisplayName()UserBanListEntry.getDisplayName()Methods in net.minecraft.server.players with parameters of type ComponentModifier and TypeMethodDescriptionvoidPlayerList.broadcastSystemMessage(Component pMessage, boolean pBypassHiddenChat) voidPlayerList.broadcastSystemMessage(Component pServerMessage, Function<ServerPlayer, Component> pPlayerMessageFactory, boolean pBypassHiddenChat) voidPlayerList.broadcastSystemToAllExceptTeam(Player pPlayer, Component pMessage) voidPlayerList.broadcastSystemToTeam(Player pPlayer, Component pMessage) Method parameters in net.minecraft.server.players with type arguments of type ComponentModifier and TypeMethodDescriptionvoidPlayerList.broadcastSystemMessage(Component pServerMessage, Function<ServerPlayer, Component> pPlayerMessageFactory, boolean pBypassHiddenChat) -
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 pStage) voidProgressListener.progressStart(Component pHeader) voidProgressListener.progressStartNoAbort(Component pComponent) -
Uses of Component in net.minecraft.util.worldupdate
Fields in net.minecraft.util.worldupdate declared as ComponentModifier and TypeFieldDescriptionprivate final ComponentWorldUpgrader.AbstractUpgrader.finishedStatus(package private) ComponentWorldUpgrader.status(package private) static final ComponentWorldUpgrader.STATUS_FINISHED_CHUNKS(package private) static final ComponentWorldUpgrader.STATUS_FINISHED_ENTITIES(package private) static final ComponentWorldUpgrader.STATUS_FINISHED_POI(package private) static final ComponentWorldUpgrader.STATUS_UPGRADING_CHUNKS(package private) static final ComponentWorldUpgrader.STATUS_UPGRADING_ENTITIES(package private) static final ComponentWorldUpgrader.STATUS_UPGRADING_POIprivate final ComponentWorldUpgrader.AbstractUpgrader.upgradingStatusMethods in net.minecraft.util.worldupdate that return ComponentConstructors in net.minecraft.util.worldupdate with parameters of type ComponentModifierConstructorDescription(package private)AbstractUpgrader(DataFixTypes pDataFixType, String pType, String pFolderName, Component pUpgradingStatus, Component pFinishedStatus) (package private)SimpleRegionStorageUpgrader(DataFixTypes pDataFixType, String pType, Component pUpgradingStatus, Component pFinishedStatus) -
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 pId, Component pName, BossEvent.BossBarColor pColor, BossEvent.BossBarOverlay pOverlay) SimpleMenuProvider(MenuConstructor pMenuConstructor, Component pTitle) -
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 pEntity) CombatTracker.getFallMessage(CombatEntry pCombatEntry, Entity pEntity) DamageSource.getLocalizedDeathMessage(LivingEntity pLivingEntity) Gets the death message that is displayed when the player diesprivate ComponentCombatTracker.getMessageForAssistedFall(Entity pEntity, Component pEntityDisplayName, String pHasWeaponTranslationKey, String pNoWeaponTranslationKey) 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 pEffect, float pDurationFactor, float pTicksPerSecond) 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 pName) 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 pName) voidEntity.setCustomName(Component pName) 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 ComponentMethod parameters in net.minecraft.world.entity.animal with type arguments of type ComponentModifier and TypeMethodDescriptionvoidTropicalFish.Pattern.addToTooltip(Item.TooltipContext p_399697_, Consumer<Component> p_399784_, TooltipFlag p_399979_, DataComponentGetter p_399524_) -
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.decoration
Fields in net.minecraft.world.entity.decoration with type parameters of type ComponentModifier and TypeFieldDescriptionPaintingVariant.authorThe field for theauthorrecord component.PaintingVariant.titleThe field for thetitlerecord component.Methods in net.minecraft.world.entity.decoration that return types with arguments of type ComponentModifier and TypeMethodDescriptionPaintingVariant.author()Returns the value of theauthorrecord component.PaintingVariant.title()Returns the value of thetitlerecord component.Constructor parameters in net.minecraft.world.entity.decoration with type arguments of type ComponentModifierConstructorDescriptionPaintingVariant(int width, int height, ResourceLocation assetId, Optional<Component> title, Optional<Component> author) Creates an instance of aPaintingVariantrecord class. -
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
Fields in net.minecraft.world.entity.npc declared as ComponentModifier and TypeFieldDescriptionprivate final ComponentVillagerProfession.nameThe field for thenamerecord component.Methods in net.minecraft.world.entity.npc that return ComponentModifier and TypeMethodDescriptionprotected ComponentVillager.getTypeName()VillagerProfession.name()Returns the value of thenamerecord component.Constructors in net.minecraft.world.entity.npc with parameters of type ComponentModifierConstructorDescriptionVillagerProfession(Component name, Predicate<Holder<PoiType>> heldJobSite, Predicate<Holder<PoiType>> acquirableJobSite, ImmutableSet<Item> requestedItems, ImmutableSet<Block> secondaryPoi, SoundEvent workSound) Creates an instance of aVillagerProfessionrecord class. -
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 pChatComponent, boolean pActionBar) Constructors in net.minecraft.world.entity.player with parameters of type ComponentModifierConstructorDescriptionprivateBedSleepingProblem(Component pMessage) 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_OUTPUT -
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 ComponentInstrument.descriptionThe field for thedescriptionrecord component.private 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 ComponentCompassItem.LODESTONE_COMPASS_NAMEprivate 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 ComponentSmithingTemplateItem.SMITHING_TEMPLATE_SUFFIXprivate static final ComponentHangingEntityItem.TOOLTIP_RANDOM_VARIANTprivate static final ComponentItemStack.UNBREAKABLE_TOOLTIPprivate static final ComponentAdventureModePredicate.UNKNOWN_USEFields in net.minecraft.world.item with type parameters of type ComponentMethods in net.minecraft.world.item that return ComponentModifier and TypeMethodDescriptionInstrument.description()Returns the value of thedescriptionrecord component.JukeboxSong.description()Returns the value of thedescriptionrecord component.SmithingTemplateItem.getAdditionSlotDescription()SmithingTemplateItem.getBaseSlotDescription()ItemStack.getCustomName()CreativeModeTab.getDisplayName()ItemStack.getDisplayName()ItemStack.getHoverName()ItemStack.getItemName()final ComponentItem.getName()ItemStack.getStyledHoverName()Methods in net.minecraft.world.item that return types with arguments of type ComponentModifier and TypeMethodDescriptionAdventureModePredicate.computeTooltip(List<BlockPredicate> pPredicates) ItemStack.getTooltipLines(Item.TooltipContext pTooltipContext, Player pPlayer, TooltipFlag pTooltipFlag) AdventureModePredicate.tooltip()Methods in net.minecraft.world.item with parameters of type ComponentModifier and TypeMethodDescription(package private) DataComponentMapItem.Properties.buildAndValidateComponents(Component pItemName, ResourceLocation pItemModel) private static voidMethod parameters in net.minecraft.world.item with type arguments of type ComponentModifier and TypeMethodDescriptionprivate voidItemStack.addAttributeTooltips(Consumer<Component> pTooltipAdder, TooltipDisplay pTooltipDisplay, Player pPlayer) Deprecated.Neo: UseaddAttributeTooltips}invalid @link
{@link net.neoforged.neoforge.common.util.AttributeUtil#voidItemStack.addDetailsToTooltip(Item.TooltipContext pContext, TooltipDisplay pTooltipDisplay, Player pPlayef, TooltipFlag pTooltipFlag, Consumer<Component> pTooltipAdder) private voidItemStack.addModifierTooltip(Consumer<Component> pTooltipAdder, Player pPlayer, Holder<Attribute> pAttribute, AttributeModifier pModifier) voidAdventureModePredicate.addToTooltip(Consumer<Component> pTooltipAdder) <T extends TooltipProvider>
voidItemStack.addToTooltip(DataComponentType<T> pComponent, Item.TooltipContext pContext, TooltipDisplay pTooltipDisplay, Consumer<Component> pTooltipAdder, TooltipFlag pTooltipFlag) voidJukeboxPlayable.addToTooltip(Item.TooltipContext p_350489_, Consumer<Component> p_350818_, TooltipFlag p_350358_, DataComponentGetter p_399685_) voidDiscFragmentItem.appendHoverText(ItemStack p_220031_, Item.TooltipContext p_339652_, TooltipDisplay p_399746_, Consumer<Component> p_400199_, TooltipFlag p_220034_) voidHangingEntityItem.appendHoverText(ItemStack p_270235_, Item.TooltipContext p_339644_, TooltipDisplay p_400204_, Consumer<Component> p_400127_, TooltipFlag p_270170_) voidItem.appendHoverText(ItemStack pStack, Item.TooltipContext pContext, TooltipDisplay pTooltipDisplay, Consumer<Component> pTooltipAdder, TooltipFlag pFlag) Deprecated.voidSmithingTemplateItem.appendHoverText(ItemStack p_267313_, Item.TooltipContext p_339591_, TooltipDisplay p_399688_, Consumer<Component> p_400130_, TooltipFlag p_266857_) Constructors in net.minecraft.world.item with parameters of type ComponentModifierConstructorDescription(package private)CreativeModeTab(CreativeModeTab.Row pRow, int pColumn, CreativeModeTab.Type pType, Component pDisplayName, Supplier<ItemStack> pIconGenerator, CreativeModeTab.DisplayItemsGenerator pDisplayItemGenerator, ResourceLocation scrollerSpriteLocation, boolean hasSearchBar, int searchBarWidth, ResourceLocation tabsImage, int labelColor, int slotColor, List<ResourceLocation> tabsBefore, List<ResourceLocation> tabsAfter) Instrument(Holder<SoundEvent> soundEvent, float useDuration, float range, Component description) Creates an instance of aInstrumentrecord class.JukeboxSong(Holder<SoundEvent> soundEvent, Component description, float lengthInSeconds, int comparatorOutput) Creates an instance of aJukeboxSongrecord class.SmithingTemplateItem(Component pAppliesTo, Component pIngredients, Component pBaseSlotDescription, Component pAdditionsSlotDescription, List<ResourceLocation> pBaseSlotEmptyIcons, List<ResourceLocation> pAdditionalSlotEmptyIcons, Item.Properties pProperties) -
Uses of Component in net.minecraft.world.item.alchemy
Fields in net.minecraft.world.item.alchemy declared as ComponentMethods in net.minecraft.world.item.alchemy that return ComponentMethod parameters in net.minecraft.world.item.alchemy with type arguments of type ComponentModifier and TypeMethodDescriptionstatic voidPotionContents.addPotionTooltip(Iterable<MobEffectInstance> pEffects, Consumer<Component> pTooltipAdder, float pDurationFactor, float pTicksPerSecond) voidPotionContents.addToTooltip(Item.TooltipContext p_399531_, Consumer<Component> p_399764_, TooltipFlag p_400075_, DataComponentGetter p_400022_) -
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 ComponentSeededContainerLoot.UNKNOWN_CONTENTSFields 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 pComponent, it.unimi.dsi.fastutil.ints.IntList pColors) private static ComponentFireworkExplosion.getColorName(int pId) Methods in net.minecraft.world.item.component that return types with arguments of type ComponentModifier and TypeMethodDescriptionWrittenBookContent.getPages(boolean pFiltered) 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> pCodec) private static Optional<Filterable<Component>> WrittenBookContent.resolvePage(CommandSourceStack pSource, Player pPlayer, Filterable<Component> pPages) 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 pPage, HolderLookup.Provider pRegistryAccess) ItemLore.withLineAdded(Component pLines) Method parameters in net.minecraft.world.item.component with type arguments of type ComponentModifier and TypeMethodDescriptionvoidFireworkExplosion.addAdditionalTooltip(Consumer<Component> pTooltipAdder) private static voidFireworks.addExplosionTooltip(Consumer<Component> pTooltipAdder, FireworkExplosion pExplosion, int pCount) private static voidChargedProjectiles.addProjectileTooltip(Item.TooltipContext pContext, Consumer<Component> pTooltipAdder, ItemStack pStack, int pCount) voidBees.addToTooltip(Item.TooltipContext p_399955_, Consumer<Component> p_399845_, TooltipFlag p_400044_, DataComponentGetter p_400200_) voidBlockItemStateProperties.addToTooltip(Item.TooltipContext p_399910_, Consumer<Component> p_399710_, TooltipFlag p_399913_, DataComponentGetter p_399833_) voidChargedProjectiles.addToTooltip(Item.TooltipContext p_399623_, Consumer<Component> p_400053_, TooltipFlag p_399978_, DataComponentGetter p_399993_) voidDyedItemColor.addToTooltip(Item.TooltipContext p_340955_, Consumer<Component> p_331920_, TooltipFlag p_330757_, DataComponentGetter p_399690_) voidFireworkExplosion.addToTooltip(Item.TooltipContext p_341341_, Consumer<Component> p_331404_, TooltipFlag p_330365_, DataComponentGetter p_399966_) voidFireworks.addToTooltip(Item.TooltipContext p_341156_, Consumer<Component> p_331099_, TooltipFlag p_330997_, DataComponentGetter p_399806_) voidInstrumentComponent.addToTooltip(Item.TooltipContext p_400063_, Consumer<Component> p_399614_, TooltipFlag p_399577_, DataComponentGetter p_399984_) voidItemContainerContents.addToTooltip(Item.TooltipContext p_400001_, Consumer<Component> p_399797_, TooltipFlag p_399639_, DataComponentGetter p_399821_) voidItemLore.addToTooltip(Item.TooltipContext p_341353_, Consumer<Component> p_332116_, TooltipFlag p_330800_, DataComponentGetter p_399957_) voidOminousBottleAmplifier.addToTooltip(Item.TooltipContext p_366592_, Consumer<Component> p_366659_, TooltipFlag p_366416_, DataComponentGetter p_399937_) voidSeededContainerLoot.addToTooltip(Item.TooltipContext p_399542_, Consumer<Component> p_399663_, TooltipFlag p_399773_, DataComponentGetter p_399905_) voidSuspiciousStewEffects.addToTooltip(Item.TooltipContext p_366403_, Consumer<Component> p_366846_, TooltipFlag p_366732_, DataComponentGetter p_399730_) voidTooltipProvider.addToTooltip(Item.TooltipContext pContext, Consumer<Component> pTooltipAdder, TooltipFlag pFlag, DataComponentGetter pComponentGetter) voidWrittenBookContent.addToTooltip(Item.TooltipContext p_393666_, Consumer<Component> p_393982_, TooltipFlag p_394366_, DataComponentGetter p_400256_) private static com.mojang.serialization.Codec<Filterable<Component>> static com.mojang.serialization.Codec<List<Filterable<Component>>> WrittenBookContent.pagesCodec(com.mojang.serialization.Codec<Component> pCodec) private static Optional<Filterable<Component>> WrittenBookContent.resolvePage(CommandSourceStack pSource, Player pPlayer, Filterable<Component> pPages) 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> pEnchantment, int pLevel) 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_, DataComponentGetter p_400004_) 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.equipment.trim
Fields in net.minecraft.world.item.equipment.trim 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.equipment.trim that return ComponentModifier and TypeMethodDescriptionTrimPattern.copyWithStyle(Holder<TrimMaterial> pMaterial) TrimMaterial.description()Returns the value of thedescriptionrecord component.TrimPattern.description()Returns the value of thedescriptionrecord component.Method parameters in net.minecraft.world.item.equipment.trim with type arguments of type ComponentModifier and TypeMethodDescriptionvoidArmorTrim.addToTooltip(Item.TooltipContext p_371689_, Consumer<Component> p_371352_, TooltipFlag p_371517_, DataComponentGetter p_399687_) Constructors in net.minecraft.world.item.equipment.trim with parameters of type ComponentModifierConstructorDescriptionTrimMaterial(MaterialAssetGroup assets, Component description) Creates an instance of aTrimMaterialrecord class.TrimPattern(ResourceLocation assetId, Component description, boolean decal) Creates an instance of aTrimPatternrecord 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 pPlayer, Component pDisplayName, int pLevel) -
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.lastOutputThe previously run command.private 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(CustomData pCustomData, String pSpawnDataKey) Methods in net.minecraft.world.level with parameters of type ComponentModifier and TypeMethodDescriptionvoidBaseCommandBlock.sendSystemMessage(Component p_220330_) voidBaseCommandBlock.setCustomName(Component pCustomName) voidBaseCommandBlock.setLastOutput(Component pLastOutputMessage) Method parameters in net.minecraft.world.level with type arguments of type ComponentModifier and TypeMethodDescriptionstatic voidSpawner.appendHoverText(CustomData pCustomData, Consumer<Component> pTooltipAdder, String pSpawnDataKey) -
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.symbolMethods in net.minecraft.world.level.block that return Component -
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 static final ComponentTestInstanceBlockEntity.INVALID_TEST_NAMEprivate final Component[]SignText.messagesprivate ComponentBannerBlockEntity.nameprivate ComponentBaseContainerBlockEntity.nameprivate ComponentBeaconBlockEntity.nameThe custom name for this beacon.private ComponentEnchantingTableBlockEntity.nameFields in net.minecraft.world.level.block.entity with type parameters of type ComponentModifier and TypeFieldDescriptionTestInstanceBlockEntity.Data.errorMessageThe field for theerrorMessagerecord component.Methods 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 pIndex, boolean pIsFiltered) SignText.getMessages(boolean pIsFiltered) BannerBlockEntity.getName()BaseContainerBlockEntity.getName()BeaconBlockEntity.getName()EnchantingTableBlockEntity.getName()TestInstanceBlockEntity.getTestName()JigsawBlockEntity.JointType.getTranslatedName()private Componentstatic ComponentBlockEntity.parseCustomNameSafe(Tag pTag, HolderLookup.Provider pRegistries) Methods in net.minecraft.world.level.block.entity that return types with arguments of type ComponentModifier and TypeMethodDescriptionTestInstanceBlockEntity.Data.errorMessage()Returns the value of theerrorMessagerecord component.TestInstanceBlockEntity.errorMessage()Methods in net.minecraft.world.level.block.entity with parameters of type ComponentModifier and TypeMethodDescriptionstatic booleanprivate static SignTextSignText.load(Component[] pMessages, Optional<Component[]> pFilteredMessages, DyeColor pColor, boolean pHasGlowingText) private ComponentvoidBeaconBlockEntity.setCustomName(Component pName) Sets the custom name for this beacon.voidEnchantingTableBlockEntity.setCustomName(Component pCustomName) voidTestInstanceBlockEntity.setErrorMessage(Component pErrorMessage) SignText.setMessage(int pIndex, Component pText) SignText.setMessage(int pIndex, Component pText, Component pFilteredText) Method parameters in net.minecraft.world.level.block.entity with type arguments of type ComponentModifier and TypeMethodDescriptionprivate static voidPotDecorations.addSideDetailsToTooltip(Consumer<Component> pTooltipAdder, Optional<Item> pItem) voidBannerPatternLayers.addToTooltip(Item.TooltipContext p_400214_, Consumer<Component> p_400134_, TooltipFlag p_400157_, DataComponentGetter p_399701_) voidPotDecorations.addToTooltip(Item.TooltipContext p_399741_, Consumer<Component> p_399714_, TooltipFlag p_399652_, DataComponentGetter p_399540_) static booleanTestInstanceBlockEntity.export(ServerLevel pLevel, ResourceLocation pTest, Consumer<Component> pMessageSender) booleanTestInstanceBlockEntity.exportTest(Consumer<Component> pMessageSender) SignText.getRenderMessages(boolean pRenderMessagesFiltered, Function<Component, FormattedCharSequence> pFormatter) voidvoidConstructors 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 ComponentModifier and TypeFieldDescriptionprivate final ComponentTestBlockMode.detailedMessageprivate final ComponentStructureMode.displayNameprivate final ComponentTestBlockMode.displayNameMethods in net.minecraft.world.level.block.state.properties that return ComponentModifier and TypeMethodDescriptionTestBlockMode.getDetailedMessage()StructureMode.getDisplayName()TestBlockMode.getDisplayName() -
Uses of Component in net.minecraft.world.level.saveddata.maps
Fields in net.minecraft.world.level.saveddata.maps declared as ComponentFields 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 TypeMethodDescriptionvoidMapItemSavedData.addDecoration(Holder<MapDecorationType> pDecorationType, LevelAccessor pLevel, String pId, double pX, double pZ, double pYRot, Component pDisplayName) Method parameters in net.minecraft.world.level.saveddata.maps with type arguments of type ComponentModifier and TypeMethodDescriptionvoidMapId.addToTooltip(Item.TooltipContext p_400228_, Consumer<Component> p_399802_, TooltipFlag p_399812_, DataComponentGetter p_400021_) 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 ImmutableList.Builder<Component> SetLoreFunction.Builder.loreSetLoreFunction.loreSetNameFunction.nameprivate 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 pLootContext, LootContext.EntityTarget pResolutionContext) Create a UnaryOperator that resolves Components based on the given LootContext and EntityTarget.SetLoreFunction.updateLore(ItemLore pItemLore, LootContext pContext) Methods in net.minecraft.world.level.storage.loot.functions with parameters of type ComponentModifier and TypeMethodDescriptionstatic LootItemConditionalFunction.Builder<?> SetNameFunction.setName(Component pName, SetNameFunction.Target pTarget) static LootItemConditionalFunction.Builder<?> SetNameFunction.setName(Component pName, SetNameFunction.Target pTarget, LootContext.EntityTarget pResolutionContext) Constructor parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type ComponentModifierConstructorDescriptionprivateSetNameFunction(List<LootItemCondition> pConditions, Optional<Component> pName, Optional<LootContext.EntityTarget> pResolutionContext, SetNameFunction.Target pTarget) -
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 final ComponentObjective.Packed.displayNameThe field for thedisplayNamerecord component.private ComponentPlayerTeam.displayNameprivate ComponentObjective.formattedDisplayNameprivate final ComponentPlayerTeam.Packed.memberNamePrefixThe field for thememberNamePrefixrecord component.private final ComponentPlayerTeam.Packed.memberNameSuffixThe field for thememberNameSuffixrecord component.private ComponentPlayerTeam.playerPrefixprivate ComponentPlayerTeam.playerSuffixFields in net.minecraft.world.scores with type parameters of type ComponentModifier and TypeFieldDescriptionPlayerTeam.Packed.displayNameThe field for thedisplayNamerecord component.Methods 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.Packed.displayName()Returns the value of thedisplayNamerecord component.Objective.getDisplayName()PlayerTeam.getDisplayName()default ComponentScoreHolder.getDisplayName()Team.CollisionRule.getDisplayName()Team.Visibility.getDisplayName()default ComponentScoreHolder.getFeedbackDisplayName()Objective.getFormattedDisplayName()PlayerTeam.getPlayerPrefix()PlayerTeam.getPlayerSuffix()PlayerTeam.Packed.memberNamePrefix()Returns the value of thememberNamePrefixrecord component.PlayerTeam.Packed.memberNameSuffix()Returns the value of thememberNameSuffixrecord component.PlayerScoreEntry.ownerName()Methods in net.minecraft.world.scores that return types with arguments of type ComponentModifier and TypeMethodDescriptionPlayerTeam.Packed.displayName()Returns the value of thedisplayNamerecord component.Methods in net.minecraft.world.scores with parameters of type ComponentModifier and TypeMethodDescriptionScoreboard.addObjective(String pName, ObjectiveCriteria pCriteria, Component pDisplayName, ObjectiveCriteria.RenderType pRenderType, boolean pDisplayAutoUpdate, NumberFormat pNumberFormat) voidvoidstatic MutableComponentPlayerTeam.formatNameForTeam(Team pPlayerTeam, Component pPlayerName) PlayerTeam.getFormattedName(Component p_83369_) abstract MutableComponentTeam.getFormattedName(Component pFormattedName) voidObjective.setDisplayName(Component pDisplayName) voidPlayerTeam.setDisplayName(Component pName) Sets the display name for this team.voidPlayerTeam.setPlayerPrefix(Component pPlayerPrefix) voidPlayerTeam.setPlayerSuffix(Component pPlayerSuffix) Constructors in net.minecraft.world.scores with parameters of type ComponentModifierConstructorDescriptionObjective(Scoreboard pScoreboard, String pName, ObjectiveCriteria pCriteria, Component pDisplayName, ObjectiveCriteria.RenderType pRenderType, boolean pDisplayAutoUpdate, NumberFormat pNumberFormat) Packed(String name, ObjectiveCriteria criteria, Component displayName, ObjectiveCriteria.RenderType renderType, boolean displayAutoUpdate, Optional<NumberFormat> numberFormat) Creates an instance of aPackedrecord class.Packed(String name, Optional<Component> displayName, Optional<ChatFormatting> color, boolean allowFriendlyFire, boolean seeFriendlyInvisibles, Component memberNamePrefix, Component memberNameSuffix, Team.Visibility nameTagVisibility, Team.Visibility deathMessageVisibility, Team.CollisionRule collisionRule, List<String> players) Creates an instance of aPackedrecord class.PlayerScoreEntry(String owner, int value, Component display, NumberFormat numberFormatOverride) Creates an instance of aPlayerScoreEntryrecord class.Constructor parameters in net.minecraft.world.scores with type arguments of type ComponentModifierConstructorDescriptionPacked(String name, Optional<Component> displayName, Optional<ChatFormatting> color, boolean allowFriendlyFire, boolean seeFriendlyInvisibles, Component memberNamePrefix, Component memberNameSuffix, Team.Visibility nameTagVisibility, Team.Visibility deathMessageVisibility, Team.CollisionRule collisionRule, List<String> players) Creates an instance of aPackedrecord class.privateScore(int pValue, boolean pLocked, Optional<Component> pDisplay, Optional<NumberFormat> pNumberFormat) -
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 that return types with arguments of type ComponentModifier and TypeMethodDescriptionClientHooks.getEffectTooltip(AbstractContainerScreen<?> screen, MobEffectInstance effectInst, List<Component> tooltip) Fires theGatherEffectScreenTooltipsEventand returns the resulting tooltip lines.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 TypeMethodDescriptionClientHooks.getEffectTooltip(AbstractContainerScreen<?> screen, MobEffectInstance effectInst, List<Component> tooltip) Fires theGatherEffectScreenTooltipsEventand returns the resulting tooltip lines.voidClientCommandSourceStack.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 @Nullable ComponentRenderNameTagEvent.CanRender.contentprivate final ComponentRenderNameTagEvent.DoRender.contentstatic final ComponentScreenshotEvent.DEFAULT_CANCEL_REASONprivate ComponentClientChatReceivedEvent.messageprivate final @Nullable ComponentRenderNameTagEvent.CanRender.originalContentprivate @Nullable ComponentScreenshotEvent.resultMessageFields in net.neoforged.neoforge.client.event with type parameters of type ComponentMethods in net.neoforged.neoforge.client.event that return ComponentModifier and TypeMethodDescriptionScreenshotEvent.getCancelMessage()Returns the cancellation message to be used in informing the player.@Nullable ComponentRenderNameTagEvent.CanRender.getContent()Returns the text on the nameplate that will be rendered.RenderNameTagEvent.DoRender.getContent()Returns the text on the nameplate.ClientChatReceivedEvent.getMessage()Returns the message that will be displayed in the chat message window, if the event is not cancelled.@Nullable ComponentRenderNameTagEvent.CanRender.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 that return types with arguments of type ComponentMethods in net.neoforged.neoforge.client.event with parameters of type ComponentModifier and TypeMethodDescriptionvoidRenderNameTagEvent.CanRender.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 ComponentModifierConstructorDescriptionCanRender(Entity entity, EntityRenderState renderState, @Nullable Component content, EntityRenderer<?, ?> entityRenderer, float partialTick) ClientChatReceivedEvent(ChatType.Bound boundChatType, Component message, UUID sender) DoRender(EntityRenderState renderState, Component content, EntityRenderer<?, ?> entityRenderer, PoseStack poseStack, MultiBufferSource multiBufferSource, int packedLight, float partialTick) Player(ChatType.Bound boundChatType, Component message, PlayerChatMessage playerChatMessage, UUID sender) Constructor parameters in net.neoforged.neoforge.client.event with type arguments of type ComponentModifierConstructorDescriptionGatherEffectScreenTooltipsEvent(AbstractContainerScreen<?> screen, MobEffectInstance effectInst, List<Component> tooltip) -
Uses of Component in net.neoforged.neoforge.client.extensions
Methods in net.neoforged.neoforge.client.extensions that return ComponentModifier and TypeMethodDescriptiondefault ComponentIKeyMappingExtension.getDisplayName()Returns the display name of this key mapping.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 TypeFieldDescriptionstatic final ComponentConfigurationScreen.CRUMB_SEPARATORThe breadcrumb separator.private ComponentLoadingErrorScreen.errorHeaderstatic final ComponentConfigurationScreen.GAME_RESTART_MESSAGEstatic final ComponentConfigurationScreen.GAME_RESTART_TITLEstatic final ComponentConfigurationScreen.GAME_RESTART_YESstatic final ComponentConfigurationScreen.LONG_STRINGprivate final ComponentLoadingErrorScreen.LoadingEntryList.LoadingMessageEntry.messagestatic final ComponentConfigurationScreen.MOVE_LIST_ELEMENT_DOWNstatic final ComponentConfigurationScreen.MOVE_LIST_ELEMENT_UPprivate final @Nullable ComponentConfigurationScreen.ConfigurationSectionScreen.Element.nameThe field for thenamerecord component.static final ComponentConfigurationScreen.NEW_LIST_ELEMENTprivate final ComponentModMismatchDisconnectedScreen.reasonstatic final ComponentConfigurationScreen.REMOVE_LIST_ELEMENTstatic final ComponentConfigurationScreen.RESETstatic final ComponentConfigurationScreen.RESET_TOOLTIPstatic final ComponentConfigurationScreen.RESTART_NOstatic final ComponentConfigurationScreen.RESTART_NO_TOOLTIPstatic final ComponentConfigurationScreen.RETURN_TO_MENUstatic final ComponentConfigurationScreen.SAVING_LEVELstatic final ComponentConfigurationScreen.SERVER_RESTART_MESSAGEstatic final ComponentConfigurationScreen.SERVER_RESTART_TITLEprivate final ComponentLoadingErrorScreen.FormattedIssue.textThe field for thetextrecord component.private final @Nullable ComponentConfigurationScreen.ConfigurationSectionScreen.Element.tooltipThe field for thetooltiprecord component.static final ComponentConfigurationScreen.TOOLTIP_CANNOT_EDIT_NOT_LOADEDstatic final ComponentConfigurationScreen.TOOLTIP_CANNOT_EDIT_THIS_WHILE_ONLINEstatic final ComponentConfigurationScreen.TOOLTIP_CANNOT_EDIT_THIS_WHILE_OPEN_TO_LANstatic final ComponentConfigurationScreen.UNDOstatic final ComponentConfigurationScreen.UNDO_TOOLTIPstatic final ComponentConfigurationScreen.UNSUPPORTED_ELEMENTprivate ComponentLoadingErrorScreen.warningHeaderFields in net.neoforged.neoforge.client.gui with type parameters of type ComponentModifier and TypeFieldDescriptionprivate final Map<ResourceLocation, Component> ModMismatchDisconnectedScreen.mismatchedChannelDataprivate final com.mojang.datafixers.util.Function4<ConfigurationScreen, net.neoforged.fml.config.ModConfig.Type, net.neoforged.fml.config.ModConfig, Component, Screen> ConfigurationScreen.sectionScreenMethods in net.neoforged.neoforge.client.gui that return ComponentModifier and TypeMethodDescription(package private) ComponentModListScreen.SortType.getButtonText()LoadingErrorScreen.LoadingEntryList.LoadingMessageEntry.getNarration()protected ComponentConfigurationScreen.ConfigurationSectionScreen.getTooltipComponent(String key, @Nullable ModConfigSpec.Range<?> range) @Nullable ComponentConfigurationScreen.ConfigurationSectionScreen.Element.name()Returns the value of thenamerecord component.ConfigurationScreen.TranslationChecker.optional(Component prefix, String translationKey, ChatFormatting... style) If the given translation key exists, returns it formatted with the given style(s) and as prefixed with the given component.LoadingErrorScreen.FormattedIssue.text()Returns the value of thetextrecord component.@Nullable ComponentConfigurationScreen.ConfigurationSectionScreen.Element.tooltip()Returns the value of thetooltiprecord component.ConfigurationScreen.translatableConfig(net.neoforged.fml.config.ModConfig modConfig, String suffix, String fallback) 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) ConfigurationScreen.TranslationChecker.optional(Component prefix, String translationKey, ChatFormatting... style) If the given translation key exists, returns it formatted with the given style(s) and as prefixed with the given component.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 ComponentModifierConstructorDescriptionConfigurationListScreen(ConfigurationScreen.ConfigurationSectionScreen.Context context, String key, Component title, ModConfigSpec.ListValueSpec spec, ModConfigSpec.ConfigValue<List<T>> valueList) ConfigurationSectionScreen(Screen parent, net.neoforged.fml.config.ModConfig.Type type, net.neoforged.fml.config.ModConfig modConfig, Component title) Constructs a new section screen for the top-most section in aModConfig.ConfigurationSectionScreen(Screen parent, net.neoforged.fml.config.ModConfig.Type type, net.neoforged.fml.config.ModConfig modConfig, Component title, ConfigurationScreen.ConfigurationSectionScreen.Filter filter) Constructs a new section screen for the top-most section in aModConfig.ConfigurationSectionScreen(ConfigurationScreen.ConfigurationSectionScreen.Context parentContext, Screen parent, Map<String, Object> valueSpecs, String key, Set<? extends com.electronwill.nightconfig.core.UnmodifiableConfig.Entry> entrySet, Component title) Constructs a new section screen for a sub-section of a config.protectedConfigurationSectionScreen(ConfigurationScreen.ConfigurationSectionScreen.Context context, Component title) Element(@Nullable Component name, @Nullable Component tooltip, @Nullable AbstractWidget widget, @Nullable OptionInstance<?> option, boolean undoable) Creates an instance of aElementrecord class.Element(@Nullable Component name, @Nullable Component tooltip, AbstractWidget widget) Element(@Nullable Component name, @Nullable Component tooltip, AbstractWidget widget, boolean undoable) Element(Component name, Component tooltip, OptionInstance<?> option) Element(Component name, Component tooltip, OptionInstance<?> option, boolean undoable) privateFormattedIssue(Component text, net.neoforged.fml.ModLoadingIssue issue) Creates an instance of aFormattedIssuerecord class.ListLabelWidget(int x, int y, int width, int height, Component labelText, int idx) (package private)LoadingMessageEntry(Component message) (package private)LoadingMessageEntry(Component message, boolean center) ModMismatchDisconnectedScreen(Screen parentScreen, Component reason, Map<ResourceLocation, Component> mismatchedChannelData) privateTooltipConfirmScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer callback, Component title, Component message, Component yesButton, Component noButton) Constructor parameters in net.neoforged.neoforge.client.gui with type arguments of type ComponentModifierConstructorDescriptionConfigurationScreen(net.neoforged.fml.ModContainer mod, Screen parent, com.mojang.datafixers.util.Function4<ConfigurationScreen, net.neoforged.fml.config.ModConfig.Type, net.neoforged.fml.config.ModConfig, Component, Screen> sectionScreen) ModMismatchDisconnectedScreen(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.network.handlers
Methods in net.neoforged.neoforge.client.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.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 TypeMethodDescriptiondefault ComponentTranslatableEnum.getTranslatedName()Returns the translated name of this value.static 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 ComponentIAttributeExtension.getDebugInfo(AttributeModifier modif, TooltipFlag flag) Computes the additional debug information for a given attribute modifier, if the flag is advanced.default ComponentILevelExtension.getDescription()Returns Component which looks up the matching value for ILevelExtension.getDescriptionKey(), falling back to the registry name if no translation exists.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.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) Method parameters in net.neoforged.neoforge.common.util with type arguments of type ComponentModifier and TypeMethodDescriptionstatic voidAttributeUtil.addAttributeTooltips(ItemStack stack, Consumer<Component> tooltip, TooltipDisplay tooltipDisplay, AttributeTooltipContext ctx) Checks if attribute modifier tooltips should show, and if they should, adds tooltips for all attribute modifiers present on an item stack to the stack's tooltip lines.static voidAttributeUtil.addPotionTooltip(List<com.mojang.datafixers.util.Pair<Holder<Attribute>, AttributeModifier>> list, Consumer<Component> tooltips) Adds tooltip lines for the attribute modifiers contained in aPotionContents.static voidAttributeUtil.applyModifierTooltips(ItemStack stack, Consumer<Component> tooltip, AttributeTooltipContext ctx) Applies the attribute modifier tooltips for all attribute modifiers present on the item stack.static voidAttributeUtil.applyTextFor(ItemStack stack, Consumer<Component> tooltip, Multimap<Holder<Attribute>, AttributeModifier> modifierMap, AttributeTooltipContext ctx) Applies the text for the provided attribute modifiers to the tooltip for a given item stack. -
Uses of Component in net.neoforged.neoforge.event
Fields in net.neoforged.neoforge.event declared as ComponentFields in net.neoforged.neoforge.event with type parameters of type 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.voidAddAttributeTooltipsEvent.addTooltipLines(Component... comps) Adds one or moreComponents to the tooltip.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) Constructor parameters in net.neoforged.neoforge.event with type arguments of type ComponentModifierConstructorDescriptionAddAttributeTooltipsEvent(ItemStack stack, Consumer<Component> tooltip, AttributeTooltipContext ctx) -
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.getHoverName()Returns the hover name of this stack. -
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.server
Fields in net.neoforged.neoforge.server with type parameters of type ComponentModifier and TypeFieldDescriptionLanguageHook.defaultLanguageComponentTableLanguageHook.modComponentTable -
Uses of Component in net.neoforged.neoforge.server.command
Methods in net.neoforged.neoforge.server.command that return ComponentModifier and TypeMethodDescriptionprivate static ComponentTPSCommand.createComponent(MinecraftServer server, @Nullable ServerLevel dimension) private static ComponentTimeSpeedCommand.levelName(CommandSourceStack source) private static ComponentDataComponentCommand.print(DataComponentType<?> type, Object data, ChatFormatting color, Component tooltip) Methods in net.neoforged.neoforge.server.command with parameters of type ComponentModifier and TypeMethodDescriptionprivate static ComponentDataComponentCommand.print(DataComponentType<?> type, Object data, ChatFormatting color, Component tooltip) 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.
ServerStatus(Component, Optional, Optional, Optional, boolean, boolean)