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 TypeFieldDescriptionInputConstants.Key.displayNameprivate 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_TEXTprivate static final ComponentRealmsMainScreen.SERVER_CLOSED_TOOLTIPprivate static final ComponentRealmsMainScreen.SERVER_EXPIRED_TOOLTIPprivate static final ComponentRealmsMainScreen.SERVER_EXPIRES_IN_DAY_TOOLTIPprivate static final ComponentRealmsMainScreen.SERVER_EXPIRES_SOON_TOOLTIPprivate static final ComponentRealmsMainScreen.SERVER_OPEN_TOOLTIPprivate static final ComponentRealmsMainScreen.SERVER_UNITIALIZED_TEXTprivate static final ComponentRealmsMainScreen.AvailableSnapshotEntry.START_SNAPSHOT_REALMprivate static final ComponentRealmsMainScreen.SUBSCRIPTION_EXPIRED_TEXTprivate static final ComponentRealmsMainScreen.SUBSCRIPTION_RENEW_TEXTprivate final ComponentRealmsMainScreen.NotificationMessageEntry.textprivate static final ComponentRealmsMainScreen.TITLEprivate static final ComponentRealmsMainScreen.TRIAL_EXPIRED_TEXTprivate static final ComponentRealmsMainScreen.UNITIALIZED_WORLD_NARRATIONMethods in com.mojang.realmsclient that return ComponentModifier and TypeMethodDescriptionstatic ComponentRealmsMainScreen.getGameModeComponent(int gameMode, boolean hardcore) RealmsMainScreen.AvailableSnapshotEntry.getNarration()RealmsMainScreen.NotificationMessageEntry.getNarration()RealmsMainScreen.ParentEntry.getNarration()RealmsMainScreen.ServerEntry.getNarration()RealmsMainScreen.getNarrationMessage()RealmsMainScreen.NotificationMessageEntry.getText()static ComponentRealmsMainScreen.getVersionComponent(String version, boolean isCompatible) static ComponentRealmsMainScreen.getVersionComponent(String version, int color) Methods in com.mojang.realmsclient with parameters of type ComponentModifier and TypeMethodDescriptionprivate static voidRealmsMainScreen.confirmToPlay(RealmsServer server, Screen lastScreen, Component title, Component message, Component confirmButton) protected intRealmsMainScreen.Entry.gameModeTextX(int rowLeft, int rowWidth, Component versionComponent) protected intRealmsMainScreen.Entry.versionTextX(int rowLeft, int rowWidth, Component versionComponent) Method parameters in com.mojang.realmsclient with type arguments of type ComponentModifier and TypeMethodDescriptionprivate voidRealmsMainScreen.Entry.drawRealmStatus(GuiGraphics graphics, int x, int y, int xm, int ym, Identifier sprite, Supplier<Component> tooltip) Constructors in com.mojang.realmsclient with parameters of type ComponentModifierConstructorDescriptionprotectedCrossButton(Button.OnPress onPress, Component tooltip) NotificationButton(Component title, Identifier texture, Button.OnPress onPress, @Nullable Component tooltip) NotificationMessageEntry(RealmsMainScreen realmsMainScreen, int messageHeight, Component text, RealmsNotification.VisitUrl notification) -
Uses of Component in com.mojang.realmsclient.client
Fields in com.mojang.realmsclient.client declared as ComponentModifier and TypeFieldDescriptionstatic final ComponentRealmsError.NO_MESSAGEprivate final @Nullable 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()@Nullable ComponentRealmsError.CustomError.payload()Returns the value of thepayloadrecord component.Constructors in com.mojang.realmsclient.client with parameters of type ComponentModifierConstructorDescriptionCustomError(int httpCode, @Nullable 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 TypeMethodDescriptionComponent @Nullable []RealmsUploadException.getErrorMessages()RealmsUploadTooLargeException.getErrorMessages()RealmsUploadCanceledException.getStatusMessage()@Nullable ComponentRealmsUploadException.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 TypeFieldDescriptionprivate static final ComponentRealmsNotification.BUTTON_TEXT_FALLBACKprivate final ComponentRealmsServer.WorldType.displayNamestatic final ComponentRealmsServer.WORLD_CLOSED_COMPONENTMethods in com.mojang.realmsclient.dto that return ComponentModifier and TypeMethodDescription@Nullable ComponentRealmsText.createComponent()RealmsText.createComponent(Component fallback) RealmsServer.WorldType.getDisplayName()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 TypeFieldDescriptionprivate static final ComponentRealmsWorldSlotButton.MINIGAMEprivate 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 TypeFieldDescriptionprivate static final ComponentRealmsPendingInvitesScreen.Entry.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 ComponentRealmsCreateRealmScreen.DESCRIPTION_LABELprivate final ComponentRealmsGenericErrorScreen.detailprivate final ComponentRealmsGenericErrorScreen.ErrorMessage.detailThe field for thedetailrecord component.private final ComponentRealmsDownloadLatestWorldScreen.downloadTitleprivate @Nullable ComponentRealmsDownloadLatestWorldScreen.errorMessageprivate Component @Nullable []RealmsUploadScreen.errorMessageprivate static final ComponentRealmsResetWorldScreen.EXPERIENCES_TITLEprivate static final ComponentRealmsResetWorldScreen.GENERATE_NEW_WORLDprivate static final ComponentRealmsGenericErrorScreen.GENERIC_TITLEprivate static final ComponentRealmsClientOutdatedScreen.INCOMPATIBLE_CLIENT_VERSIONprivate static final ComponentRealmsClientOutdatedScreen.INCOMPATIBLE_TITLEprivate static final ComponentRealmsPopups.INFOprivate static final ComponentRealmsResetWorldScreen.INSPIRATION_TITLEprivate final Component[]RealmsBrokenWorldScreen.messageprivate static final ComponentRealmsParentalConsentScreen.MESSAGEprivate static final ComponentRealmsCreateRealmScreen.NAME_LABELprivate static final ComponentRealmsPendingInvitesScreen.NO_PENDING_INVITES_TEXTprivate static final ComponentRealmsClientOutdatedScreen.OUTDATED_STABLE_VERSIONprivate static final ComponentAddRealmPopupScreen.POPUP_TEXTprivate static final ComponentRealmsSelectWorldTemplateScreen.PUBLISHER_BUTTON_NAMEprivate static final ComponentRealmsSelectWorldTemplateScreen.Entry.PUBLISHER_LINK_TOOLTIPprivate static final ComponentRealmsPendingInvitesScreen.Entry.REJECT_INVITEprivate static final ComponentRealmsResetWorldScreen.RESET_WORLD_RESET_TASK_TITLEprivate static final ComponentRealmsResetWorldScreen.RESET_WORLD_SUBTITLEprivate static final ComponentRealmsResetWorldScreen.RESET_WORLD_TITLEprivate final ComponentRealmsResetWorldScreen.resetTaskTitleprivate static final ComponentRealmsSelectWorldTemplateScreen.SELECT_BUTTON_NAMEprivate ComponentRealmsDownloadLatestWorldScreen.statusprivate ComponentRealmsUploadScreen.statusprivate final ComponentRealmsResetWorldScreen.subtitleprivate static final ComponentRealmsTermsScreen.TERMS_LINK_TEXTprivate static final ComponentRealmsTermsScreen.TERMS_STATIC_TEXTprivate final ComponentRealmsGenericErrorScreen.ErrorMessage.titleThe field for thetitlerecord component.private ComponentRealmsLongRunningMcoTaskScreen.titlestatic final ComponentRealmsSelectFileToUploadScreen.TITLEprivate static final ComponentRealmsTermsScreen.TITLEprivate final ComponentRealmsConfirmScreen.title1private final ComponentRealmsConfirmScreen.title2private static final ComponentRealmsSelectWorldTemplateScreen.TRAILER_BUTTON_NAMEprivate static final ComponentRealmsSelectWorldTemplateScreen.Entry.TRAILER_LINK_TOOLTIPprivate static final ComponentRealmsSelectFileToUploadScreen.UNABLE_TO_LOAD_WORLDprivate static final ComponentRealmsClientOutdatedScreen.UNSUPPORTED_SNAPSHOT_VERSIONprivate static final ComponentRealmsUploadScreen.VERIFYING_TEXTprivate static final ComponentRealmsPopups.WARNINGprivate static final ComponentRealmsResetWorldScreen.WORLD_TEMPLATES_TITLEFields in com.mojang.realmsclient.gui.screens with type parameters of type ComponentMethods in com.mojang.realmsclient.gui.screens that return ComponentModifier and TypeMethodDescriptionprivate ComponentRealmsDownloadLatestWorldScreen.createProgressNarrationMessage()private ComponentRealmsUploadScreen.createProgressNarrationMessage()RealmsGenericErrorScreen.ErrorMessage.detail()Returns the value of thedetailrecord component.private ComponentRealmsClientOutdatedScreen.getErrorMessage()RealmsSelectWorldTemplateScreen.Entry.getNarration()RealmsBrokenWorldScreen.getNarrationMessage()RealmsGenericErrorScreen.getNarrationMessage()RealmsParentalConsentScreen.getNarrationMessage()RealmsResetWorldScreen.getNarrationMessage()RealmsSelectFileToUploadScreen.getNarrationMessage()RealmsSelectWorldTemplateScreen.getNarrationMessage()RealmsTermsScreen.getNarrationMessage()RealmsGenericErrorScreen.ErrorMessage.title()Returns the value of thetitlerecord component.Methods in com.mojang.realmsclient.gui.screens with parameters of type ComponentModifier and TypeMethodDescriptionstatic PopupScreenRealmsPopups.customPopupScreen(Screen backgroundScreen, Component popupTitle, Component popupMessage, Consumer<PopupScreen> onContinue) static PopupScreenRealmsPopups.infoPopupScreen(Screen backgroundScreen, Component popupMessage, Consumer<PopupScreen> onContinue) private voidRealmsUploadScreen.setErrorMessage(Component @Nullable ... messages) voidstatic PopupScreenRealmsPopups.warningAcknowledgePopupScreen(Screen backgroundScreen, Component popupMessage, Consumer<PopupScreen> onContinue) static PopupScreenRealmsPopups.warningPopupScreen(Screen backgroundScreen, Component popupMessage, Consumer<PopupScreen> onContinue) Constructors in com.mojang.realmsclient.gui.screens with parameters of type ComponentModifierConstructorDescriptionprivateErrorMessage(Component title, Component detail) Creates an instance of aErrorMessagerecord class.privateFrameButton(Font font, Component text, Identifier image, Button.OnPress onPress) RealmsConfirmScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer callback, Component title1, Component title2) RealmsGenericErrorScreen(Component message, Screen nextScreen) RealmsGenericErrorScreen(Component title, Component message, Screen nextScreen) RealmsPendingInvitesScreen(Screen lastScreen, Component title) RealmsResetWorldScreen(Screen lastScreen, RealmsServer serverData, int slot, Component title, Component subtitle, Component resetTaskTitle, @Nullable RealmCreationTask realmCreationTask, Runnable resetWorldRunnable) privateRealmsResetWorldScreen(Screen lastScreen, RealmsServer serverData, int slot, Component title, Component subtitle, Component resetTaskTitle, Runnable resetWorldRunnable) RealmsSelectWorldTemplateScreen(Component title, Consumer<WorldTemplate> callback, RealmsServer.WorldType worldType, @Nullable WorldTemplatePaginatedList alreadyFetched) RealmsSelectWorldTemplateScreen(Component title, Consumer<WorldTemplate> callback, RealmsServer.WorldType worldType, @Nullable WorldTemplatePaginatedList alreadyFetched, List<Component> subtitle) Constructor parameters in com.mojang.realmsclient.gui.screens with type arguments of type ComponentModifierConstructorDescriptionRealmsSelectWorldTemplateScreen(Component title, Consumer<WorldTemplate> callback, RealmsServer.WorldType worldType, @Nullable WorldTemplatePaginatedList alreadyFetched, List<Component> subtitle) -
Uses of Component in com.mojang.realmsclient.gui.screens.configuration
Fields in com.mojang.realmsclient.gui.screens.configuration declared as ComponentModifier and TypeFieldDescriptionprivate static final ComponentRealmsSubscriptionTab.DAYS_LEFT_LABELprivate ComponentRealmsSubscriptionTab.daysLeftprivate static final ComponentRealmsBackupInfoScreen.BackupInfoListEntry.DESCRIPTIONprivate static final ComponentRealmsSettingsTab.DESCRIPTION_LABELprivate static final ComponentRealmsBackupScreen.DOWNLOAD_LATESTprivate static final ComponentRealmsInviteScreen.DUPLICATE_PLAYER_TEXTprivate static final ComponentRealmsBackupInfoScreen.BackupInfoListEntry.ENABLED_PACKprivate static final ComponentRealmsBackupInfoScreen.BackupInfoListEntry.GAME_DIFFICULTYprivate static final ComponentRealmsBackupInfoScreen.BackupInfoListEntry.GAME_MODEprivate static final ComponentRealmsBackupInfoScreen.BackupInfoListEntry.GAME_SERVER_VERSIONprivate static final ComponentRealmsBackupScreen.HAS_CHANGES_TOOLTIPprivate static final ComponentRealmsInviteScreen.INVITING_PLAYER_TEXTprivate final ComponentRealmsBackupInfoScreen.BackupInfoListEntry.keyComponentprivate @Nullable ComponentRealmsInviteScreen.messageprivate final ComponentRealmsPreferredRegionSelectionScreen.RegionSelectionList.Entry.nameprivate static final ComponentRealmsBackupInfoScreen.BackupInfoListEntry.NAMEprivate static final ComponentRealmsInviteScreen.NAME_LABELprivate static final ComponentRealmsSettingsTab.NAME_LABELprivate static final ComponentRealmsSlotOptionsScreen.NAME_LABELprivate static final ComponentRealmsBackupScreen.NO_BACKUPS_LABELprivate static final ComponentRealmsInviteScreen.NO_SUCH_PLAYER_ERROR_TEXTprivate static final ComponentRealmsPlayersTab.PlayerEntry.NORMAL_USER_TEXTprivate static final ComponentRealmsPlayersTab.PlayerEntry.OP_TEXTprivate static final ComponentRealmsConfigureWorldScreen.PLAY_TEXTprivate static final ComponentRealmsPlayersTab.QUESTION_TITLEprivate static final ComponentRealmsSubscriptionTab.RECURRING_INFOprivate static final ComponentRealmsSettingsTab.REGION_PREFERENCE_LABELprivate static final ComponentRealmsPreferredRegionSelectionScreen.REGION_SELECTION_LABELprivate static final ComponentRealmsPlayersTab.PlayerEntry.REMOVE_TEXTprivate static final ComponentRealmsBackupScreen.RESTORE_TOOLTIPprivate static final ComponentRealmsBackupInfoScreen.BackupInfoListEntry.SEEDprivate static final ComponentRealmsSlotOptionsScreen.SPAWN_PROTECTION_TEXTprivate ComponentRealmsSubscriptionTab.startDateprivate static final ComponentRealmsSubscriptionTab.SUBSCRIPTION_EXPIRED_TEXTprivate static final ComponentRealmsSubscriptionTab.SUBSCRIPTION_LESS_THAN_A_DAY_TEXTprivate static final ComponentRealmsSubscriptionTab.SUBSCRIPTION_START_LABELprivate static final ComponentRealmsBackupInfoScreen.BackupInfoListEntry.TEMPLATE_NAMEprivate static final ComponentRealmsSubscriptionTab.TIME_LEFT_LABELprivate static final ComponentRealmsBackupInfoScreen.TITLEprivate static final ComponentRealmsBackupScreen.TITLEprivate static final ComponentRealmsInviteScreen.TITLE(package private) static final ComponentRealmsPlayersTab.TITLE(package private) static final ComponentRealmsSettingsTab.TITLE(package private) static final ComponentRealmsSubscriptionTab.TITLE(package private) static final ComponentRealmsWorldsTab.TITLEprivate static final ComponentRealmsBackupInfoScreen.BackupInfoListEntry.UNDEFINEDprivate static final ComponentRealmsBackupInfoScreen.UNKNOWNprivate static final ComponentRealmsSubscriptionTab.UNKNOWNprivate static final ComponentRealmsBackupInfoScreen.BackupInfoListEntry.UPLOADEDprivate final ComponentRealmsBackupInfoScreen.BackupInfoListEntry.valueComponentprivate static final ComponentRealmsBackupInfoScreen.BackupInfoListEntry.WORLD_TYPEMethods in com.mojang.realmsclient.gui.screens.configuration that return ComponentModifier and TypeMethodDescriptionprivate ComponentRealmsBackupInfoScreen.checkForSpecificMetadata(String key, String value) private ComponentRealmsSubscriptionTab.daysLeftPresentation(int daysLeft) private ComponentRealmsBackupInfoScreen.gameDifficultyMetadata(String value) private ComponentRealmsBackupInfoScreen.gameModeMetadata(String value) RealmsBackupInfoScreen.BackupInfoListEntry.getNarration()RealmsPreferredRegionSelectionScreen.RegionSelectionList.Entry.getNarration()RealmsSlotOptionsScreen.getNarrationMessage()RealmsSubscriptionTab.getTabExtraNarration()private static ComponentRealmsSubscriptionTab.localPresentation(Instant time) private ComponentRealmsBackupInfoScreen.parseWorldType(String value) private ComponentRealmsBackupInfoScreen.BackupInfoListEntry.translateKey(String key) Methods in com.mojang.realmsclient.gui.screens.configuration with parameters of type ComponentModifier and TypeMethodDescriptionprivate CycleButton.OnValueChange<Boolean> RealmsSlotOptionsScreen.confirmDangerousOption(Component message, Consumer<Boolean> setter) private voidRealmsInviteScreen.showMessage(Component message) -
Uses of Component in com.mojang.realmsclient.util
Fields in com.mojang.realmsclient.util declared as ComponentMethods in com.mojang.realmsclient.util that return ComponentModifier and TypeMethodDescriptionstatic ComponentRealmsUtil.convertToAgePresentation(long timeDiff) static ComponentRealmsUtil.convertToAgePresentationFromInstant(Instant date) -
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 template, long serverId, Component title, Runnable callback) ResettingWorldTask(long serverId, Component title, Runnable callback) -
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 display) DisplayInfo.getDescription()AdvancementType.getDisplayName()@Nullable ComponentAdvancementProgress.getProgressText()DisplayInfo.getTitle()static ComponentAdvancement.name(AdvancementHolder holder) 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(ItemStackTemplate icon, Component title, Component description, @Nullable Identifier background, AdvancementType frame, boolean showToast, boolean announceChat, boolean hidden) Advancement.Builder.display(ItemLike icon, Component title, Component description, @Nullable Identifier background, AdvancementType frame, boolean showToast, boolean announceChat, boolean hidden) Constructors in net.minecraft.advancements with parameters of type ComponentModifierConstructorDescriptionDisplayInfo(ItemStackTemplate icon, Component title, Component description, Optional<ClientAsset.ResourceTexture> background, AdvancementType type, boolean showToast, boolean announceChat, boolean hidden) -
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_CURSOR_CHANGES_TOOLTIPprivate static final ComponentOptions.ALLOW_SERVER_LISTING_TOOLTIPprivate final ComponentAttackIndicatorStatus.captionprivate final ComponentCloudStatus.captionprivate final ComponentInactivityFpsLimit.captionfinal ComponentOptionInstance.captionprivate final ComponentPrioritizeChunkUpdates.captionprivate final ComponentTextureFilteringMethod.captionprivate static final ComponentOptions.CHAT_TOOLTIP_HIDE_MATCHED_NAMESprivate static final ComponentOptions.CHAT_TOOLTIP_ONLY_SHOW_SECUREprivate static final ComponentOptions.CHAT_TOOLTIP_SAVE_DRAFTSprivate static final ComponentOptions.CLOSED_CAPTIONS_TOOLTIPprivate static final ComponentOptions.DIRECTIONAL_AUDIO_TOOLTIP_OFFprivate static final ComponentOptions.DIRECTIONAL_AUDIO_TOOLTIP_ONprivate static final ComponentOptions.FILTERING_ANISOTROPIC_TOOLTIPprivate static final ComponentOptions.FILTERING_NONE_TOOLTIPprivate static final ComponentOptions.FILTERING_RGSS_TOOLTIPprivate static final Componentprivate static final ComponentOptions.GRAPHICS_TOOLTIP_CHUNK_FADEprivate static final ComponentOptions.GRAPHICS_TOOLTIP_CUTOUT_LEAVESprivate static final Componentprivate static final ComponentOptions.GRAPHICS_TOOLTIP_VIGNETTEprivate static final ComponentOptions.GRAPHICS_TOOLTIP_WEATHER_RADIUSprivate static final Componentprivate static final ComponentOptions.INACTIVITY_FPS_LIMIT_TOOLTIP_AFKprivate static final Componentprivate static final ComponentOptions.KEY_HOLDprivate static final ComponentOptions.KEY_TOGGLEprivate static final Componentprivate static final ComponentOptions.MUSIC_FREQUENCY_TOOLTIPprivate 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.SAVING_LEVELprivate static final ComponentMinecraft.SOCIAL_INTERACTIONS_NOT_AVAILABLEprivate static final ComponentOptions.SPRINT_WINDOW_TOOLTIPprivate static final ComponentOptions.TELEMETRY_TOOLTIPprivate final ComponentMusicToastDisplayState.textprivate final ComponentMusicToastDisplayState.tooltipFields in net.minecraft.client with type parameters of type ComponentMethods in net.minecraft.client that return ComponentModifier and TypeMethodDescriptionAttackIndicatorStatus.caption()CloudStatus.caption()InactivityFpsLimit.caption()PrioritizeChunkUpdates.caption()TextureFilteringMethod.caption()private static ComponentKeyboardHandler.decorateDebugComponent(ChatFormatting formatting, Component component) static ComponentOptions.genericValueLabel(Component caption, int value) static ComponentOptions.genericValueLabel(Component caption, Component value) static ComponentOptions.genericValueOrOffLabel(Component caption, int value) NarratorStatus.getName()KeyMapping.getTranslatedKeyMessage()Minecraft.grabPanoramixScreenshot(File folder) KeyMapping.Category.label()private static ComponentOptions.percentValueLabel(Component caption, double value) private static ComponentOptions.percentValueOrOffLabel(Component caption, double value) private static ComponentOptions.pixelValueLabel(Component caption, int value) MusicToastDisplayState.text()MusicToastDisplayState.tooltip()Methods in net.minecraft.client that return types with arguments of type ComponentModifier and TypeMethodDescriptionKeyMapping.createNameSupplier(String key) 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(@Nullable Component message) static <T> OptionInstance.TooltipSupplier<T> OptionInstance.cachedConstantTooltip(Component tooltipComponent) voidMinecraft.clearResourcePacksOnError(Throwable t, @Nullable Component message, @Nullable Minecraft.GameLoadCookie loadCookie) private voidKeyboardHandler.debugFeedbackComponent(Component component) private voidKeyboardHandler.debugWarningComponent(Component component) private static ComponentKeyboardHandler.decorateDebugComponent(ChatFormatting formatting, Component component) voidMinecraft.disconnectFromWorld(Component message) static ComponentOptions.genericValueLabel(Component caption, int value) static ComponentOptions.genericValueLabel(Component caption, Component value) static ComponentOptions.genericValueOrOffLabel(Component caption, int value) private voidGameNarrator.narrateNotInterruptingMessage(Component message) private static ComponentOptions.percentValueLabel(Component caption, double value) private static ComponentOptions.percentValueOrOffLabel(Component caption, double value) private static ComponentOptions.pixelValueLabel(Component caption, int value) voidGameNarrator.sayChatQueued(Component message) voidGameNarrator.saySystemChatQueued(Component message) voidGameNarrator.saySystemNow(Component message) voidGameNarrator.saySystemQueued(Component message) private voidKeyboardHandler.showDebugChat(Component message) Method parameters in net.minecraft.client with type arguments of type ComponentModifier and TypeMethodDescriptionbooleanMinecraft.debugClientMetricsStart(Consumer<Component> debugFeedback) static voidScreenshot.grab(File workDir, RenderTarget target, Consumer<Component> callback) Saves a screenshot in the game directory with a time-stamped filename.static voidScreenshot.grab(File workDir, @Nullable String forceName, RenderTarget target, int downscaleFactor, Consumer<Component> callback) -
Uses of Component in net.minecraft.client.entity
Methods in net.minecraft.client.entity that return ComponentModifier and TypeMethodDescription@Nullable ComponentClientAvatarEntity.belowNameDisplay()@Nullable ComponentClientMannequin.belowNameDisplay() -
Uses of Component in net.minecraft.client.gui
Fields in net.minecraft.client.gui declared as ComponentModifier and TypeFieldDescriptionprivate static final Componentprivate @Nullable Componentprivate static final ComponentGui.SAVING_TEXTprivate @Nullable ComponentGui.subtitleThe current sub-title displayedprivate @Nullable ComponentGui.titleThe current title displayedMethods in net.minecraft.client.gui with parameters of type ComponentModifier and TypeMethodDescriptiondefault voiddefault voidActiveTextCollector.accept(TextAlignment alignment, int anchorX, int y, ActiveTextCollector.Parameters parameters, Component text) default voidActiveTextCollector.accept(TextAlignment alignment, int anchorX, int y, Component text) default voidActiveTextCollector.acceptScrolling(Component message, int centerX, int left, int right, int top, int bottom) voidActiveTextCollector.acceptScrolling(Component message, int centerX, int left, int right, int top, int bottom, ActiveTextCollector.Parameters parameters) voidActiveTextCollector.ClickableStyleFinder.acceptScrolling(Component message, int centerX, int left, int right, int top, int bottom, ActiveTextCollector.Parameters parameters) voidGuiGraphics.RenderingTextCollector.acceptScrolling(Component message, int centerX, int left, int right, int top, int bottom, ActiveTextCollector.Parameters parameters) default voidActiveTextCollector.acceptScrollingWithDefaultCenter(Component message, int left, int right, int top, int bottom) default voidActiveTextCollector.defaultScrollingHelper(Component message, int centerX, int left, int right, int top, int bottom, int lineWidth, int lineHeight, ActiveTextCollector.Parameters parameters) voidGuiGraphics.drawCenteredString(Font font, Component text, int x, int y, int color) Draws a centered string at the specified coordinates using the given font, text component, and color.voidFont.drawInBatch(Component str, float x, float y, int color, boolean dropShadow, Matrix4f pose, MultiBufferSource bufferSource, Font.DisplayMode displayMode, int backgroundColor, int packedLightCoords) voidGuiGraphics.drawString(Font font, Component str, int x, int y, int color) voidGuiGraphics.drawString(Font font, Component str, int x, int y, int color, boolean dropShadow) voidGuiGraphics.drawStringWithBackdrop(Font font, Component str, int textX, int textY, int textWidth, int textColor) voidGui.setNowPlaying(Component string) Sets the currently playing record display name and updates the overlay message.voidGui.setOverlayMessage(Component string, boolean animate) Sets the overlay message to be displayed on the screen.voidGui.setSubtitle(Component subtitle) Sets the subtitle to be displayed in the title screen.voidSets the title to be displayed in the title screen.voidGuiGraphics.setTooltipForNextFrame(Font font, Component text, int xo, int yo) voidGuiGraphics.setTooltipForNextFrame(Font font, Component text, int xo, int yo, @Nullable Identifier style) voidGuiGraphics.setTooltipForNextFrame(Component component, int x, int y) Method parameters in net.minecraft.client.gui with type arguments of type ComponentModifier and TypeMethodDescriptionvoidGuiGraphics.setComponentTooltipForNextFrame(Font font, List<Component> lines, int xo, int yo) voidGuiGraphics.setComponentTooltipForNextFrame(Font font, List<Component> lines, int xo, int yo, @Nullable Identifier style) voidGuiGraphics.setTooltipForNextFrame(Font font, List<Component> texts, Optional<TooltipComponent> optionalImage, int xo, int yo) voidGuiGraphics.setTooltipForNextFrame(Font font, List<Component> texts, Optional<TooltipComponent> optionalImage, int xo, int yo, @Nullable Identifier style) voidGuiGraphics.setTooltipForNextFrame(Font font, List<Component> textComponents, Optional<TooltipComponent> tooltipComponent, ItemStack stack, int mouseX, int mouseY) voidGuiGraphics.setTooltipForNextFrame(Font font, List<Component> textComponents, Optional<TooltipComponent> tooltipComponent, ItemStack stack, int mouseX, int mouseY, @Nullable Identifier backgroundTexture) -
Uses of Component in net.minecraft.client.gui.components
Fields in net.minecraft.client.gui.components declared as ComponentModifier and TypeFieldDescriptionprivate static final ComponentCommandSuggestions.COMMANDS_NOT_ALLOWED_TEXTprivate static final ComponentChatComponent.DELETED_CHAT_MESSAGEprivate @Nullable ComponentPlayerTabOverlay.footerprivate final @Nullable ComponentPlayerTabOverlay.ScoreDisplayEntry.formattedScoreThe field for theformattedScorerecord component.private @Nullable ComponentPlayerTabOverlay.headerprivate @Nullable ComponentEditBox.hintprivate ComponentAbstractWidget.WithInactiveMessage.inactiveMessageprotected ComponentAbstractWidget.messageprivate final ComponentButton.Builder.messageprivate final ComponentCheckbox.Builder.messageprivate final ComponentFocusableTextWidget.Builder.messageprivate final ComponentMultiLineTextWidget.CacheKey.messageThe field for themessagerecord component.private final ComponentPlainTextButton.messageprivate final ComponentPopupScreen.ButtonOption.messageThe field for themessagerecord component.private final ComponentSpriteIconButton.Builder.messageprivate final ComponentTooltip.messageprivate static final ComponentCommandSuggestions.MESSAGES_NOT_ALLOWED_TEXTprivate final ComponentCycleButton.nameprivate final ComponentPlayerTabOverlay.ScoreDisplayEntry.nameThe field for thenamerecord component.private final @Nullable ComponentTooltip.narrationprivate ComponentMultiLineEditBox.Builder.placeholderprivate final ComponentMultiLineEditBox.placeholderprivate static final ComponentChatComponent.RESTRICTED_CHAT_MESSAGEprivate final ComponentSplashRenderer.splashprivate final ComponentSubtitleOverlay.Subtitle.textprivate final ComponentPopupScreen.Builder.titleprivate @Nullable ComponentSpriteIconButton.Builder.tooltipprivate final ComponentPlainTextButton.underlinedMessageprivate static final ComponentObjectSelectionList.USAGE_NARRATIONFields in net.minecraft.client.gui.components with type parameters of type ComponentModifier and TypeFieldDescriptionPopupScreen.Builder.messagesPopupScreen.messagesCycleButton.Builder.valueStringifierCycleButton.valueStringifierMethods in net.minecraft.client.gui.components that return ComponentModifier and TypeMethodDescriptionprivate ComponentCycleButton.createLabelForValue(T newValue) private ComponentPlayerTabOverlay.decorateName(PlayerInfo info, MutableComponent name) static ComponentAbstractWidget.WithInactiveMessage.defaultInactiveMessage(Component activeMessage) @Nullable ComponentPlayerTabOverlay.ScoreDisplayEntry.formattedScore()Returns the value of theformattedScorerecord component.AbstractWidget.getMessage()AbstractWidget.WithInactiveMessage.getMessage()PlayerTabOverlay.getNameForDisplay(PlayerInfo info) abstract ComponentObjectSelectionList.Entry.getNarration()CommandSuggestions.getNarrationMessage()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 message, Consumer<PopupScreen> action) voidChatComponent.addClientSystemMessage(Component message) voidprivate voidChatComponent.addMessage(Component contents, @Nullable MessageSignature signature, GuiMessageSource source, @Nullable GuiMessageTag tag) PopupScreen.Builder.addMessage(Component message) voidChatComponent.addPlayerMessage(Component message, @Nullable MessageSignature signature, @Nullable GuiMessageTag tag) voidChatComponent.addServerSystemMessage(Component message) static CycleButton.Builder<Boolean> CycleButton.booleanBuilder(Component trueText, Component falseText, boolean defaultValue) static Button.BuilderButton.builder(Component message, Button.OnPress onPress) static Checkbox.Builderstatic FocusableTextWidget.Builderstatic FocusableTextWidget.Builderstatic SpriteIconButton.BuilderSpriteIconButton.builder(Component message, Button.OnPress onPress, boolean iconOnly) static FormattedCharSequenceCycleButton.Builder.create(int x, int y, int width, int height, Component name, CycleButton.OnValueChange<T> valueChangeListener) CycleButton.Builder.create(Component name, CycleButton.OnValueChange<T> valueChangeListener) static MultiLineLabelstatic MultiLineLabelstatic MultiLineLabelstatic MultiLineLabelstatic Tooltipstatic TooltipTooltip.create(Component message, Optional<TooltipComponent> component, @Nullable Identifier style) static Tooltipstatic ComponentAbstractWidget.WithInactiveMessage.defaultInactiveMessage(Component activeMessage) private intCheckbox.getAdjustedWidth(int maxWidth, Component message, Font font) private static intCheckbox.getDefaultWidth(Component message, Font font) voidAbstractWidget.renderScrollingStringOverContents(ActiveTextCollector output, Component message, int margin) voidvoidvoidvoidAbstractStringWidget.setMessage(Component message) voidAbstractWidget.setMessage(Component message) voidAbstractWidget.WithInactiveMessage.setMessage(Component message) voidFittingMultiLineTextWidget.setMessage(Component message) voidFocusableTextWidget.setMessage(Component message) voidStringWidget.setMessage(Component message) MultiLineEditBox.Builder.setPlaceholder(Component placeholder) static List<FormattedCharSequence> Tooltip.splitTooltip(Minecraft minecraft, Component message) static MutableComponentAbstractWidget.wrapDefaultNarrationMessage(Component message) Method parameters in net.minecraft.client.gui.components with type arguments of type ComponentModifier and TypeMethodDescriptionstatic <T> CycleButton.Builder<T> static <T> CycleButton.Builder<T> Constructors in net.minecraft.client.gui.components with parameters of type ComponentModifierConstructorDescriptionAbstractButton(int x, int y, int width, int height, Component message) AbstractContainerWidget(int x, int y, int width, int height, Component message, AbstractScrollArea.ScrollbarSettings scrollbarSettings) AbstractScrollArea(int x, int y, int width, int height, Component message, AbstractScrollArea.ScrollbarSettings scrollbarSettings) AbstractSliderButton(int x, int y, int width, int height, Component message, double initialValue) AbstractStringWidget(int x, int y, int width, int height, Component message, Font font) AbstractTextAreaWidget(int x, int y, int width, int height, Component narration, AbstractScrollArea.ScrollbarSettings scrollbarSettings) AbstractTextAreaWidget(int x, int y, int width, int height, Component narration, AbstractScrollArea.ScrollbarSettings scrollbarSettings, boolean showBackground, boolean showDecorations) AbstractWidget(int x, int y, int width, int height, Component message) Builder(Component message, Button.OnPress onPress) privateprivateprivateBuilder(Component message, Button.OnPress onPress, boolean iconOnly) protectedButton(int x, int y, int width, int height, Component message, Button.OnPress onPress, Button.CreateNarration createNarration) privateButtonOption(Component message, Consumer<PopupScreen> action) Creates an instance of aButtonOptionrecord class.privateCacheKey(Component message, int maxWidth, OptionalInt maxRows) Creates an instance of aCacheKeyrecord class.protectedCenteredIcon(int width, int height, Component message, int spriteWidth, int spriteHeight, WidgetSprites sprite, Button.OnPress onPress, @Nullable Component tooltip, @Nullable Button.CreateNarration narration) privateCheckbox(int x, int y, int maxWidth, Component message, Font font, boolean selected, Checkbox.OnValueChange onValueChange) privateCycleButton(int x, int y, int width, int height, Component message, Component name, int index, T value, Supplier<T> defaultValueSupplier, CycleButton.ValueListSupplier<T> values, Function<T, Component> valueStringifier, Function<CycleButton<T>, MutableComponent> narrationProvider, CycleButton.OnValueChange<T> onValueChange, OptionInstance.TooltipSupplier<T> tooltipSupplier, CycleButton.DisplayState displayState, CycleButton.SpriteSupplier<T> spriteSupplier) EditBox(Font font, int x, int y, int width, int height, @Nullable EditBox oldBox, Component narration) FittingMultiLineTextWidget(int x, int y, int width, int height, Component message, Font font) privateFocusableTextWidget(Component message, Font font, int padding, int maxWidth, FocusableTextWidget.BackgroundFill backgroundFill, boolean alwaysShowBorder) protectedHeaderEntry(Screen screen, Component text, int paddingTop) ImageButton(int x, int y, int width, int height, WidgetSprites sprites, Button.OnPress onPress, Component message) ImageButton(int width, int height, WidgetSprites sprites, Button.OnPress onPress, Component message) ItemDisplayWidget(Minecraft minecraft, int offsetX, int offsetY, int width, int height, Component message, ItemStack itemStack, boolean decorations, boolean tooltip) LerpingBossEvent(UUID id, Component name, float progress, BossEvent.BossBarColor color, BossEvent.BossBarOverlay overlay, boolean darkenScreen, boolean playMusic, boolean createWorldFog) LoadingDotsWidget(Font font, Component message) privateMultiLineEditBox(Font font, int x, int y, int width, int height, Component placeholder, Component narration, int textColor, boolean textShadow, int cursorColor, boolean showBackground, boolean showDecorations) MultiLineTextWidget(int x, int y, Component message, Font font) MultiLineTextWidget(Component message, Font font) protectedPlain(int x, int y, int width, int height, Component message, Button.OnPress onPress, Button.CreateNarration createNarration) PlainTextButton(int x, int y, int width, int height, Component message, Button.OnPress onPress, Font font) privatePopupScreen(@Nullable Screen backgroundScreen, int backgroundWidth, @Nullable Identifier image, Component title, List<Component> messages, List<PopupScreen.ButtonOption> buttons, @Nullable Runnable onClose) privateScoreDisplayEntry(Component name, int score, @Nullable Component formattedScore, int scoreWidth) Creates an instance of aScoreDisplayEntryrecord class.SplashRenderer(Component splash) privateSpriteIconButton(int width, int height, Component message, int spriteWidth, int spriteHeight, WidgetSprites sprite, Button.OnPress onPress, @Nullable Component tooltip, @Nullable Button.CreateNarration narration) StringWidget(int x, int y, int width, int height, Component message, Font font) StringWidget(int width, int height, Component message, Font font) StringWidget(Component message, Font font) protectedTextAndIcon(int width, int height, Component message, int spriteWidth, int spriteHeight, WidgetSprites sprite, Button.OnPress onPress, @Nullable Component tooltip, @Nullable Button.CreateNarration narration) privateTooltip(Component message, @Nullable Component narration, Optional<TooltipComponent> component, @Nullable Identifier style) WithInactiveMessage(int x, int y, int width, int height, Component message) Constructor parameters in net.minecraft.client.gui.components with type arguments of type ComponentModifierConstructorDescriptionprivateCycleButton(int x, int y, int width, int height, Component message, Component name, int index, T value, Supplier<T> defaultValueSupplier, CycleButton.ValueListSupplier<T> values, Function<T, Component> valueStringifier, Function<CycleButton<T>, MutableComponent> narrationProvider, CycleButton.OnValueChange<T> onValueChange, OptionInstance.TooltipSupplier<T> tooltipSupplier, CycleButton.DisplayState displayState, CycleButton.SpriteSupplier<T> spriteSupplier) privatePopupScreen(@Nullable Screen backgroundScreen, int backgroundWidth, @Nullable Identifier image, Component title, List<Component> messages, List<PopupScreen.ButtonOption> buttons, @Nullable Runnable onClose) -
Uses of Component in net.minecraft.client.gui.components.debug
Fields in net.minecraft.client.gui.components.debug declared as ComponentModifier and TypeFieldDescriptionprivate final ComponentDebugEntryCategory.labelThe field for thelabelrecord component.Methods in net.minecraft.client.gui.components.debug that return ComponentModifier and TypeMethodDescriptionDebugEntryCategory.label()Returns the value of thelabelrecord component.Constructors in net.minecraft.client.gui.components.debug with parameters of type ComponentModifierConstructorDescriptionDebugEntryCategory(Component label, float sortKey) Creates an instance of aDebugEntryCategoryrecord class. -
Uses of Component in net.minecraft.client.gui.components.tabs
Fields in net.minecraft.client.gui.components.tabs declared as ComponentModifier and TypeFieldDescriptionprivate final ComponentLoadingTab.loadingTitleprivate final ComponentGridLayoutTab.titleprivate final ComponentLoadingTab.titleprivate static final ComponentTabNavigationBar.USAGE_NARRATIONMethods in net.minecraft.client.gui.components.tabs that return ComponentModifier and TypeMethodDescriptionGridLayoutTab.getTabExtraNarration()LoadingTab.getTabExtraNarration()Tab.getTabExtraNarration()GridLayoutTab.getTabTitle()LoadingTab.getTabTitle()Tab.getTabTitle()Constructors in net.minecraft.client.gui.components.tabs with parameters of type ComponentModifierConstructorDescriptionGridLayoutTab(Component title) LoadingTab(Font font, Component title, Component loadingTitle) -
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 that return ComponentModifier and TypeMethodDescriptionprivate static ComponentNowPlayingToast.getNowPlayingString(@Nullable String currentSongKey) Methods in net.minecraft.client.gui.components.toasts with parameters of type ComponentModifier and TypeMethodDescriptionstatic voidSystemToast.add(ToastManager toastManager, SystemToast.SystemToastId id, Component title, @Nullable Component message) static voidSystemToast.addOrUpdate(ToastManager toastManager, SystemToast.SystemToastId id, Component title, @Nullable Component message) static SystemToastSystemToast.multiline(Minecraft minecraft, SystemToast.SystemToastId id, Component title, Component message) private static ImmutableList<FormattedCharSequence> SystemToast.nullToEmpty(@Nullable Component message) voidConstructors in net.minecraft.client.gui.components.toasts with parameters of type ComponentModifierConstructorDescriptionprivateSystemToast(SystemToast.SystemToastId id, Component title, List<FormattedCharSequence> messageLines, int width) SystemToast(SystemToast.SystemToastId id, Component title, @Nullable Component message) TutorialToast(Font font, TutorialToast.Icons icon, Component title, @Nullable Component message, boolean progressable) TutorialToast(Font font, TutorialToast.Icons icon, Component title, @Nullable Component message, boolean progressable, int timeToDisplayMs) -
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 component, Font font) static LayoutCommonLayouts.labeledElement(Font font, LayoutElement element, Component label) static LayoutCommonLayouts.labeledElement(Font font, LayoutElement element, Component label, Consumer<LayoutSettings> settings) -
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 type, Component contents) default voidNarrationElementOutput.add(NarratedElementType type, Component... contents) 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 ComponentRecoverWorldDataScreen.BUGTRACKER_BUTTONprivate final ComponentGenericWaitingScreen.buttonLabelprivate final ComponentDisconnectedScreen.buttonTextprivate final @Nullable ComponentDeathScreen.causeOfDeath(package private) final ComponentBackupConfirmScreen.confirmationprivate final ComponentConnectScreen.connectFailedTitleprivate static final ComponentTitleScreen.COPYRIGHT_TEXTprivate static final ComponentCreditsAndAttributionScreen.CREDITS_BUTTONprivate final ComponentDeathScreen.deathScoreprivate static final ComponentManageServerScreen.DEFAULT_SERVER_NAMEprivate final ComponentBackupConfirmScreen.descriptionprivate static final ComponentRecoverWorldDataScreen.DONE_FAILEDprivate static final ComponentRecoverWorldDataScreen.DONE_SUCCESSprivate static final ComponentRecoverWorldDataScreen.DONE_TITLEprivate static final ComponentLevelLoadingScreen.DOWNLOADING_TERRAIN_TEXTprivate static final ComponentDirectJoinServerScreen.ENTER_IP_LABELprivate static final ComponentPauseScreen.FEEDBACK_SUBSCREENprivate static final ComponentPauseScreen.GAMEprivate static final ComponentShareToLanScreen.GAME_MODE_LABELprivate @Nullable ComponentProgressScreen.headerprivate static final ComponentCreateFlatWorldScreen.DetailsList.HEIGHT_TITLEprivate static final ComponentShareToLanScreen.INFO_TEXTprivate static final ComponentShareToLanScreen.INVALID_PORTprivate static final ComponentManageServerScreen.IP_LABELprivate static final ComponentCreateFlatWorldScreen.DetailsList.LAYER_MATERIAL_TITLEprivate static final ComponentCreditsAndAttributionScreen.LICENSES_BUTTONprivate ComponentPresetFlatWorldScreen.listTextprivate final ComponentConfirmScreen.messageprivate final ComponentErrorScreen.messageprivate final ComponentFileFixerAbortedScreen.messageprivate final ComponentNoticeWithLinkScreen.messageprivate final ComponentRecoverWorldDataScreen.messageprivate static final ComponentOutOfMemoryScreen.MESSAGEprivate final ComponentAlertScreen.messageTextprivate final ComponentGenericWaitingScreen.messageTextprivate static final ComponentRecoverWorldDataScreen.MISSING_FILEprivate final ComponentCreateBuffetWorldScreen.BiomeList.Entry.nameprivate final ComponentPresetFlatWorldScreen.PresetsList.Entry.namestatic final ComponentBanNoticeScreens.NAME_BAN_TITLEprivate static final ComponentManageServerScreen.NAME_LABELprivate static final ComponentRecoverWorldDataScreen.NO_FALLBACK_TOOLTIPprivate static final ComponentRecoverWorldDataScreen.NO_ISSUESprotected ComponentConfirmScreen.noButtonComponentprivate 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 ComponentLevelLoadingScreen.READY_TO_PLAY_TEXTprivate static final ComponentPauseScreen.REPORT_BUGSprivate static final ComponentDisconnectedScreen.REPORT_TO_SERVER_TITLEprivate static final ComponentRecoverWorldDataScreen.RESTORE_BUTTONprivate static final ComponentChatScreen.RESTRICTED_NARRATION_TEXTprivate static final ComponentPauseScreen.RETURN_TO_GAMEprivate static final ComponentScreen.SCREEN_USAGE_NARRATIONprivate static final ComponentCreateBuffetWorldScreen.SEARCH_HINTprivate static final ComponentWinScreen.SECTION_HEADINGprivate static final ComponentPauseScreen.SEND_FEEDBACKprivate 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 @Nullable 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 ComponentChatScreen.USAGE_TEXTprivate static final ComponentConfirmLinkScreen.WARNING_TEXTprotected ComponentConfirmScreen.yesButtonComponentFields in net.minecraft.client.gui.screens with type parameters of type ComponentMethods in net.minecraft.client.gui.screens that return ComponentModifier and TypeMethodDescriptionprivate ComponentRecoverWorldDataScreen.buildInfo(LevelStorageSource.LevelStorageAccess access, boolean fallback, @Nullable Exception exception) private static ComponentBanNoticeScreens.getBanDurationText(com.mojang.authlib.minecraft.BanDetails multiplayerBanned) private static ComponentBanNoticeScreens.getBannedScreenText(com.mojang.authlib.minecraft.BanDetails multiplayerBanned) private static ComponentBanNoticeScreens.getBannedTitle(com.mojang.authlib.minecraft.BanDetails multiplayerBanned) private static ComponentBanNoticeScreens.getBanReasonText(com.mojang.authlib.minecraft.BanDetails multiplayerBanned) private static ComponentBanNoticeScreens.getBanStatusText(com.mojang.authlib.minecraft.BanDetails multiplayerBanned) private @Nullable ComponentTitleScreen.getMultiplayerDisabledReason()CreateBuffetWorldScreen.BiomeList.Entry.getNarration()CreateFlatWorldScreen.DetailsList.HeaderEntry.getNarration()CreateFlatWorldScreen.DetailsList.LayerEntry.getNarration()PresetFlatWorldScreen.PresetsList.Entry.getNarration()AlertScreen.getNarrationMessage()ConfirmScreen.getNarrationMessage()DisconnectedScreen.getNarrationMessage()FileFixerAbortedScreen.getNarrationMessage()GenericWaitingScreen.getNarrationMessage()NoticeWithLinkScreen.getNarrationMessage()RecoverWorldDataScreen.getNarrationMessage()Screen.getNarrationMessage()WinScreen.getNarrationMessage()Screen.getTitle()protected ComponentScreen.getUsageNarration()private @Nullable ComponentShareToLanScreen.tryParsePort(String value) Methods in net.minecraft.client.gui.screens that return types with arguments of type ComponentModifier and TypeMethodDescriptionScreen.getTooltipFromItem(Minecraft minecraft, ItemStack itemStack) Methods in net.minecraft.client.gui.screens with parameters of type ComponentModifier and TypeMethodDescriptionprivate voidWinScreen.addCreditsLine(Component line, boolean centered, boolean narrated) static <T extends AbstractContainerMenu>
voidstatic GenericWaitingScreenGenericWaitingScreen.createCompleted(Component title, Component messageText, Component buttonLabel, Runnable buttonCallback) static GenericWaitingScreenGenericWaitingScreen.createWaiting(Component title, Component buttonLabel, Runnable buttonCallback) static GenericWaitingScreenGenericWaitingScreen.createWaitingWithoutButton(Component title, Component messageText) default voidMenuScreens.ScreenConstructor.fromPacket(Component title, MenuType<T> type, Minecraft minecraft, int containerId) private static ButtonPauseScreen.openLinkButton(Screen screen, Component message, URI link) private ButtonPauseScreen.openScreenButton(Component message, Supplier<Screen> newScreen) voidProgressScreen.progressStage(Component string) voidProgressScreen.progressStart(Component string) voidProgressScreen.progressStartNoAbort(Component string) private voidConnectScreen.updateStatus(Component status) Constructors in net.minecraft.client.gui.screens with parameters of type ComponentModifierConstructorDescriptionAlertScreen(Runnable callback, Component title, Component messageText) AlertScreen(Runnable callback, Component title, Component messageText, Component okButton, boolean shouldCloseOnEsc) BackupConfirmScreen(Runnable onCancel, BackupConfirmScreen.Listener onProceed, Component title, Component description, boolean promptForCacheErase, boolean forceBackup) BackupConfirmScreen(Runnable onCancel, BackupConfirmScreen.Listener onProceed, Component title, Component description, Component confirmation, boolean promptForCacheErase, boolean forceBackup) ConfirmLinkScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer callback, Component title, String url, boolean trusted) ConfirmLinkScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer callback, Component title, URI uri, boolean trusted) ConfirmLinkScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer callback, Component title, Component message, String url, Component noButtonComponent, boolean trusted) ConfirmLinkScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer callback, Component title, Component message, URI uri, Component noButton, boolean trusted) ConfirmScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer callback, Component title, Component message) ConfirmScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer callback, Component title, Component message, Component yesButtonComponent, Component noButtonComponent) privateConnectScreen(Screen parent, Component connectFailedTitle) DeathScreen(@Nullable Component causeOfDeath, boolean hardcore, LocalPlayer player) DisconnectedScreen(Screen parent, Component title, Component reason) DisconnectedScreen(Screen parent, Component title, Component reason, Component buttonText) DisconnectedScreen(Screen parent, Component title, DisconnectionDetails details) DisconnectedScreen(Screen parent, Component title, DisconnectionDetails details, Component buttonText) ErrorScreen(Component title, Component message) FileFixerAbortedScreen(Runnable callback, Component message) GenericMessageScreen(Component title) protectedGenericWaitingScreen(Component title, boolean showLoadingDots, Component messageText, Component buttonLabel, Runnable buttonCallback, int disableButtonTicks, boolean showButton, boolean closeOnEscape) ManageServerScreen(Screen lastScreen, Component title, it.unimi.dsi.fastutil.booleans.BooleanConsumer callback, ServerData serverData) NoticeWithLinkScreen(Component title, Component message, URI uri, Runnable onClose) protectedprotectedTitleConfirmScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer callback, Component title, Component message, Component yesButton, Component noButton) -
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_BUTTONprivate 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.MobsStatisticsList.MobRow.getNarration()Constructors in net.minecraft.client.gui.screens.achievement with parameters of type Component -
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 input, int preferredWidth) -
Uses of Component in net.minecraft.client.gui.screens.debug
Fields in net.minecraft.client.gui.screens.debug declared as ComponentModifier and TypeFieldDescriptionprivate final ComponentDebugOptionsScreen.CategoryEntry.categoryprivate static final ComponentDebugOptionsScreen.DISABLED_TEXTprivate static final ComponentDebugOptionsScreen.ENABLED_TEXTprivate static final ComponentDebugOptionsScreen.IN_OVERLAY_TEXTprivate final ComponentGameModeSwitcherScreen.GameModeIcon.nameprivate static final ComponentDebugOptionsScreen.NOT_ALLOWED_TOOLTIPprivate static final ComponentDebugOptionsScreen.SEARCHprivate static final ComponentDebugOptionsScreen.SUBTITLEprivate static final ComponentDebugOptionsScreen.TITLEConstructors in net.minecraft.client.gui.screens.debug with parameters of type ComponentModifierConstructorDescriptionCategoryEntry(Component category) privateGameModeIcon(Component name, GameType mode, ItemStack renderStack) -
Uses of Component in net.minecraft.client.gui.screens.dialog
Fields in net.minecraft.client.gui.screens.dialog declared as ComponentModifier and TypeFieldDescriptionprivate static final Component[]WaitingForResponseScreen.BUTTON_LABELSstatic final ComponentDialogScreen.DISCONNECTprivate static final ComponentWaitingForResponseScreen.TITLEMethods in net.minecraft.client.gui.screens.dialog with parameters of type Component -
Uses of Component in net.minecraft.client.gui.screens.dialog.input
Methods in net.minecraft.client.gui.screens.dialog.input that return ComponentModifier and TypeMethodDescriptionprivate static ComponentInputControlHandlers.NumberRangeHandler.SliderImpl.computeMessage(NumberRangeInput input, double sliderValue) -
Uses of Component in net.minecraft.client.gui.screens.inventory
Fields in net.minecraft.client.gui.screens.inventory declared as ComponentModifier and TypeFieldDescriptionprivate 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 ComponentBookSignScreen.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 ComponentBookSignScreen.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 ComponentBookEditScreen.numberOfPagesprivate final ComponentBookSignScreen.ownerTextprivate static final ComponentPageButton.PAGE_BUTTON_NEXTprivate static final ComponentPageButton.PAGE_BUTTON_PREVIOUSprivate 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 ComponentBookEditScreen.SIGN_BOOK_LABELprivate static final ComponentStructureBlockEditScreen.SIZE_LABELprivate static final ComponentTestInstanceBlockEditScreen.SIZE_LABELprivate static final ComponentStructureBlockEditScreen.STRICT_LABELprivate static final ComponentLecternScreen.TAKE_BOOK_LABELprivate static final ComponentJigsawBlockEditScreen.TARGET_LABELprivate static final ComponentBookEditScreen.TITLEprivate static final ComponentBookSignScreen.TITLEprivate static final ComponentBookViewScreen.TITLEprivate static final ComponentTestBlockEditScreen.TITLEprivate static final ComponentBookSignScreen.TITLE_EDIT_BOXprivate 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 effect) BookEditScreen.getNarrationMessage()BookViewScreen.getNarrationMessage()BookViewScreen.BookAccess.getPage(int page) private ComponentBookEditScreen.getPageNumberMessage()private ComponentBookViewScreen.getPageNumberMessage()protected ComponentAbstractCommandBlockEditScreen.getUsageNarration()private static ComponentTestInstanceBlockEditScreen.rotationDisplay(Rotation rotation) Methods in net.minecraft.client.gui.screens.inventory that return types with arguments of type ComponentModifier and TypeMethodDescriptionAbstractContainerScreen.getTooltipFromContainerItem(ItemStack itemStack) CreativeModeInventoryScreen.getTooltipFromContainerItem(ItemStack itemStack) BookViewScreen.BookAccess.pages()Returns the value of thepagesrecord component.Methods in net.minecraft.client.gui.screens.inventory with parameters of type ComponentModifier and TypeMethodDescriptionprivate intEffectsInInventory.renderBackground(GuiGraphics graphics, Font font, Component effectName, Component duration, int x0, int y0, boolean isAmbient, int maxTextureWidth) private voidEffectsInInventory.renderText(GuiGraphics graphics, Component effectText, Component duration, Font font, int x0, int y0, int textureWidth, int yStep, int mouseX, int mouseY) private voidEffectsInInventory.renderText(GuiGraphics graphics, Component effectText, Component duration, Font font, int x0, int y0, int textureWidth, int yStep, int mouseX, int mouseY, @Nullable MobEffectInstance effectInstance) voidConstructors in net.minecraft.client.gui.screens.inventory with parameters of type ComponentModifierConstructorDescriptionAbstractContainerScreen(T menu, Inventory inventory, Component title) AbstractContainerScreen(T menu, Inventory inventory, Component title, int imageWidth, int imageHeight) AbstractFurnaceScreen(T menu, Inventory inventory, Component title, Component recipeFilterName, Identifier texture, Identifier litProgressSprite, Identifier burnProgressSprite, List<RecipeBookComponent.TabInfo> tabInfos) AbstractMountInventoryScreen(T menu, Inventory inventory, Component title, int inventoryColumns, LivingEntity mount) AbstractRecipeBookScreen(T menu, RecipeBookComponent<?> recipeBookComponent, Inventory inventory, Component title) AbstractSignEditScreen(SignBlockEntity sign, boolean isFrontText, boolean shouldFilter, Component title) AnvilScreen(AnvilMenu menu, Inventory inventory, Component title) BeaconScreen(BeaconMenu menu, Inventory inventory, Component title) protectedBeaconScreenButton(int x, int y, Component component) protectedBeaconSpriteScreenButton(int x, int y, Identifier sprite, Component label) BlastFurnaceScreen(BlastFurnaceMenu menu, Inventory inventory, Component title) BrewingStandScreen(BrewingStandMenu menu, Inventory inventory, Component title) CartographyTableScreen(CartographyTableMenu menu, Inventory inventory, Component title) ContainerScreen(ChestMenu menu, Inventory inventory, Component title) CrafterScreen(CrafterMenu menu, Inventory inventory, Component title) CraftingScreen(CraftingMenu menu, Inventory inventory, Component title) DispenserScreen(DispenserMenu menu, Inventory inventory, Component title) EnchantmentScreen(EnchantmentMenu menu, Inventory inventory, Component title) FurnaceScreen(FurnaceMenu menu, Inventory inventory, Component title) GrindstoneScreen(GrindstoneMenu menu, Inventory inventory, Component title) HopperScreen(HopperMenu menu, Inventory inventory, Component title) ItemCombinerScreen(T menu, Inventory inventory, Component title, Identifier menuResource) LecternScreen(LecternMenu menu, Inventory inventory, Component title) LoomScreen(LoomMenu menu, Inventory inventory, Component title) MerchantScreen(MerchantMenu menu, Inventory inventory, Component title) ShulkerBoxScreen(ShulkerBoxMenu menu, Inventory inventory, Component title) SmithingScreen(SmithingMenu menu, Inventory inventory, Component title) SmokerScreen(SmokerMenu menu, Inventory inventory, Component title) StonecutterScreen(StonecutterMenu menu, Inventory inventory, Component title) 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 ComponentModifier and TypeMethodDescriptionprivate static @Nullable ComponentClientBundleTooltip.getProgressBarFillText(org.apache.commons.lang3.math.Fraction weight) -
Uses of Component in net.minecraft.client.gui.screens.multiplayer
Fields in net.minecraft.client.gui.screens.multiplayer declared as ComponentModifier and TypeFieldDescriptionprivate static final ComponentServerSelectionList.CANT_CONNECT_TEXTprivate static final ComponentServerSelectionList.CANT_RESOLVE_TEXTprivate final @Nullable ComponentWarningScreen.checkprivate static final ComponentCodeOfConductScreen.CHECKprivate static final ComponentSafetyScreen.CHECKprivate static final ComponentSafetyScreen.CONTENTprivate static final ComponentServerSelectionList.NetworkServerEntry.HIDDEN_ADDRESS_TEXTprivate static final ComponentServerSelectionList.INCOMPATIBLE_STATUSprivate static final ComponentServerSelectionList.NetworkServerEntry.LAN_SERVER_HEADERprivate final ComponentWarningScreen.messageprivate final ComponentWarningScreen.narrationprivate static final ComponentSafetyScreen.NARRATIONprivate static final ComponentServerSelectionList.NO_CONNECTION_STATUSprivate static final ComponentServerSelectionList.ONLINE_STATUSprivate static final ComponentServerSelectionList.PINGING_STATUSprivate static final ComponentServerSelectionList.SCANNING_LABELprivate @Nullable ComponentServerSelectionList.OnlineServerEntry.statusIconTooltipprivate static final ComponentCodeOfConductScreen.TITLEprivate static final ComponentRestrictionsScreen.TITLEprivate static final ComponentSafetyScreen.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 TypeMethodDescriptionprivate static ComponentRestrictionsScreen.createPermissionStatus(ChatAbilities abilities, Permission permission, String permissionId) ServerSelectionList.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 ComponentModifierConstructorDescriptionprivateCodeOfConductScreen(@Nullable ServerData serverData, Screen parent, Component contents, String codeOfConductText, it.unimi.dsi.fastutil.booleans.BooleanConsumer resultConsumer) ServerReconfigScreen(Component title, Connection connection) protectedWarningScreen(Component title, Component message, @Nullable Component check, Component narration) protectedWarningScreen(Component title, Component message, Component narration) -
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.CHATstatic final ComponentOptionsScreen.CONTROLSprivate static final ComponentOptionsScreen.CREDITS_AND_ATTRIBUTIONprivate static final ComponentVideoSettingsScreen.DISPLAY_HEADERprivate static final ComponentWorldOptionsScreen.GAME_RULESprivate static final ComponentVideoSettingsScreen.IMPROVED_TRANSPARENCYprivate final ComponentLanguageSelectScreen.LanguageSelectionList.Entry.languageprivate static final ComponentOptionsScreen.LANGUAGEprivate final ComponentUnsupportedGraphicsWarningScreen.ButtonOption.messageprivate final ComponentUnsupportedGraphicsWarningScreen.narrationMessageprivate static final ComponentInWorldGameRulesScreen.PENDING_TEXTprivate static final ComponentVideoSettingsScreen.PREFERENCES_HEADERprivate static final ComponentVideoSettingsScreen.QUALITY_HEADERprivate static final ComponentOptionsScreen.RESOURCEPACKprivate static final ComponentWorldOptionsScreen.RESTRICTIONSprivate static final ComponentLanguageSelectScreen.SEARCH_HINTprivate 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 ComponentWorldOptionsScreen.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 message, Supplier<Screen> screenToScreen) Constructors in net.minecraft.client.gui.screens.options with parameters of type ComponentModifierConstructorDescriptionButtonOption(Component message, Button.OnPress onPress) OptionsSubScreen(Screen lastScreen, Options options, Component title) protectedUnsupportedGraphicsWarningScreen(Component title, List<Component> message, ImmutableList<UnsupportedGraphicsWarningScreen.ButtonOption> buttonOptions) Constructor parameters in net.minecraft.client.gui.screens.options with type arguments of type ComponentModifierConstructorDescriptionprotectedUnsupportedGraphicsWarningScreen(Component title, List<Component> message, ImmutableList<UnsupportedGraphicsWarningScreen.ButtonOption> buttonOptions) -
Uses of Component in net.minecraft.client.gui.screens.options.controls
Fields in net.minecraft.client.gui.screens.options.controls declared as ComponentModifier and TypeFieldDescriptionprivate 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 Component -
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_DROPprivate static final ComponentTransferableSelectionList.INCOMPATIBLE_CONFIRM_TITLEprivate static final ComponentTransferableSelectionList.INCOMPATIBLE_TITLEprivate static final ComponentPackSelectionScreen.OPEN_PACK_FOLDER_TITLEprivate static final ComponentPackSelectionScreen.SEARCHprivate static final ComponentPackSelectionScreen.SELECTED_TITLEprivate final ComponentTransferableSelectionList.HeaderEntry.textprivate 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.HeaderEntry.getNarration()TransferableSelectionList.PackEntry.getNarration()PackSelectionModel.Entry.getTitle()PackSelectionModel.EntryBase.getTitle()Constructors in net.minecraft.client.gui.screens.packs with parameters of type ComponentModifierConstructorDescriptionHeaderEntry(Font font, Component text) PackSelectionScreen(PackRepository repository, Consumer<PackRepository> output, Path packDir, Component title) TransferableSelectionList(Minecraft minecraft, PackSelectionScreen screen, int width, int height, Component title) -
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 ComponentRecipeBookPage.NEXT_PAGE_TEXTprivate static final ComponentCraftingRecipeBookComponent.ONLY_CRAFTABLES_TOOLTIPprivate static final ComponentRecipeBookPage.PREVIOUS_PAGE_TEXTprivate 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 menu, Component recipeFilterName, List<RecipeBookComponent.TabInfo> tabInfos) -
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 text) voidChatSelectionScreen.ChatSelectionList.acceptDivider(Component text) private voidAbstractReportScreen.displayReportSendError(Component message) Constructors in net.minecraft.client.gui.screens.reporting with parameters of type ComponentModifierConstructorDescriptionprotectedAbstractReportScreen(Component title, Screen lastScreen, ReportingContext reportingContext, B reportBuilder) DividerEntry(Component text) MessageEntry(int chatId, Component text, Component narration, @Nullable GuiMessageTag tag, boolean canReport, boolean playerMessage) MessageHeadingEntry(com.mojang.authlib.GameProfile profile, Component heading, boolean canReport) -
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_HIDDENprivate 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 @Nullable 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 isHidden, Component message) -
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 component, boolean isDisabled) 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 component, boolean isDisabled) 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_COMMANDSprivate 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.displayNameprivate static final ComponentCreateWorldScreen.EXPERIMENTS_LABELprivate static final ComponentEditWorldScreen.FOLDER_BUTTONprivate static final ComponentWorldSelectionList.FROM_NEWER_TOOLTIP_1private static final ComponentWorldSelectionList.FROM_NEWER_TOOLTIP_2private 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_INFOprivate static final ComponentWorldSelectionList.INCOMPATIBLE_VERSION_TOOLTIPprivate @Nullable ComponentSwitchGrid.SwitchBuilder.infoprivate final ComponentWorldCreationUiState.SelectedGameMode.infoprivate static final ComponentExperimentsScreen.INFOprivate final ComponentAbstractGameRulesScreen.CategoryRuleEntry.labelprivate final ComponentSwitchGrid.SwitchBuilder.labelprivate static final ComponentWorldSelectionList.LoadingHeader.LOADING_LABELprivate final ComponentConfirmExperimentalFeaturesScreen.DetailsScreen.PackListEntry.messageprivate static final ComponentConfirmExperimentalFeaturesScreen.MESSAGEprivate static final ComponentCreateWorldScreen.NAME_LABELprivate static final ComponentEditWorldScreen.NAME_LABELprivate static final ComponentEditWorldScreen.OPTIMIZE_BUTTONprivate static final ComponentEditWorldScreen.OPTIMIZE_CONFIRMATIONprivate static final ComponentEditWorldScreen.OPTIMIZE_DESCRIPTIONprivate 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_BUTTONprivate static final ComponentFileFixerProgressScreen.SCANNINGprivate static final ComponentAbstractGameRulesScreen.SEARCH_HINTprivate static final ComponentCreateWorldScreen.WorldTab.SEED_EMPTY_HINTprivate static final ComponentCreateWorldScreen.WorldTab.SEED_LABELprivate static final ComponentWorldSelectionList.SNAPSHOT_TOOLTIP_1private static final ComponentWorldSelectionList.SNAPSHOT_TOOLTIP_2protected static final ComponentAbstractGameRulesScreen.TITLEprivate 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 ComponentExperimentsScreen.TITLEprivate static final ComponentWorldSelectionList.WORLD_EXPERIMENTALprivate static final ComponentWorldSelectionList.WORLD_LOCKED_TOOLTIPprivate 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 pack) WorldCreationUiState.SelectedGameMode.getInfo()ConfirmExperimentalFeaturesScreen.DetailsScreen.PackListEntry.getNarration()WorldSelectionList.LoadingHeader.getNarration()WorldSelectionList.NoWorldsEntry.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 label, BooleanSupplier stateSupplier, Consumer<Boolean> onClicked) AbstractGameRulesScreen.EntryFactory.create(Component name, List<FormattedCharSequence> tooltip, String narration, GameRule<T> gameRule) private voidWorldSelectionList.handleLevelLoadFailure(Component message) private static voidCreateWorldScreen.queueLoadScreen(Minecraft minecraft, Component message) Constructors in net.minecraft.client.gui.screens.worldselection with parameters of type ComponentModifierConstructorDescriptionBooleanRuleEntry(Component name, List<FormattedCharSequence> tooltip, String narration, GameRule<Boolean> gameRule) CategoryRuleEntry(Component label) GameRuleEntry(List<FormattedCharSequence> tooltip, Component label) IntegerRuleEntry(Component label, List<FormattedCharSequence> tooltip, String narration, GameRule<Integer> gameRule) NoWorldsEntry(Component component, Font font) privatePackListEntry(Component packId, Component message, MultiLineLabel splitMessage) privateSwitchBuilder(Component label, BooleanSupplier stateSupplier, Consumer<Boolean> onClicked, int buttonWidth) -
Uses of Component in net.minecraft.client.gui.spectator
Fields in net.minecraft.client.gui.spectator declared as ComponentModifier and TypeFieldDescriptionprivate static final ComponentSpectatorMenu.CLOSE_MENU_TEXTprivate final ComponentPlayerMenuItem.nameprivate static final ComponentSpectatorMenu.NEXT_PAGE_TEXTprivate 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 ComponentClientPacketListener.BUTTON_RUN_COMMANDprivate static final ComponentClientPacketListener.BUTTON_SUGGEST_COMMANDprivate static final ComponentServerStatusPinger.CANT_CONNECT_MESSAGEprivate static final ComponentClientPacketListener.COMMAND_SEND_CONFIRM_TITLEstatic final ComponentClientLevel.DEFAULT_QUIT_MESSAGEstatic final ComponentClientConfigurationPacketListenerImpl.DISCONNECTED_MESSAGEprivate static final ComponentClientCommonPacketListenerImpl.GENERIC_DISCONNECT_MESSAGEprivate static final ComponentClientPacketListener.INVALID_PACKETprivate final ComponentClientHandshakePacketListenerImpl.State.messageServerData.motdprivate final ComponentServerData.ServerPackStatus.nameprivate static final ComponentClientPacketListener.RECONFIGURE_SCREEN_MESSAGEServerData.statusprivate @Nullable 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<Identifier, Component> ClientConfigurationPacketListenerImpl.failureReasonsServerData.playerListClientHandshakePacketListenerImpl.updateStatusMethods in net.minecraft.client.multiplayer that return ComponentModifier and TypeMethodDescriptionprivate @Nullable ComponentClientHandshakePacketListenerImpl.authenticateServer(String digest) static ComponentServerStatusPinger.formatPlayerCount(int curPlayers, int maxPlayers) ServerData.ServerPackStatus.getName()@Nullable ComponentPlayerInfo.getTabListDisplayName()private static ComponentClientCommonPacketListenerImpl.preparePackPrompt(Component header, @Nullable Component prompt) Methods in net.minecraft.client.multiplayer with parameters of type ComponentModifier and TypeMethodDescriptionprivate ScreenClientCommonPacketListenerImpl.addOrUpdatePackPrompt(UUID packId, URL url, String hash, boolean required, @Nullable Component prompt) ClientCommonPacketListenerImpl.createDisconnectionInfo(Component reason, Throwable cause) voidClientCommonPacketListenerImpl.CommonDialogAccess.disconnect(Component message) voidClientLevel.disconnect(Component message) private voidServerStatusPinger.onPingFailed(Component reason, ServerData data) private voidClientPacketListener.openSendConfirmationWindow(String command, String messageKey, Component acceptButton, Runnable onAccept) private static ComponentClientCommonPacketListenerImpl.preparePackPrompt(Component header, @Nullable Component prompt) voidPlayerInfo.setTabListDisplayName(@Nullable Component tabListDisplayName) ClientCommonPacketListenerImpl.PackConfirmScreen.update(Minecraft minecraft, UUID id, URL url, String hash, boolean required, @Nullable Component prompt) Constructors in net.minecraft.client.multiplayer with parameters of type ComponentModifierConstructorDescriptionprivatePackConfirmScreen(Minecraft minecraft, @Nullable Screen parentScreen, List<ClientCommonPacketListenerImpl.PackConfirmScreen.PendingRequest> requests, boolean required, @Nullable Component prompt) privateState(Component message, Set<ClientHandshakePacketListenerImpl.State> fromStates) Constructor parameters in net.minecraft.client.multiplayer with type arguments of type ComponentModifierConstructorDescriptionClientHandshakePacketListenerImpl(Connection connection, Minecraft minecraft, @Nullable ServerData serverData, @Nullable Screen parent, boolean newWorld, @Nullable Duration worldLoadDuration, Consumer<Component> updateStatus, LevelLoadTracker levelLoadTracker, @Nullable TransferState transferState) -
Uses of Component in net.minecraft.client.multiplayer.chat
Fields in net.minecraft.client.multiplayer.chat declared as ComponentModifier and TypeFieldDescriptionprivate static final ComponentGuiMessageTag.CHAT_ERROR_TEXTprivate static final ComponentGuiMessageTag.CHAT_MODIFIED_TEXTprivate static final ComponentGuiMessageTag.CHAT_NOT_SECURE_TEXTprivate static final ComponentChatListener.CHAT_VALIDATION_ERRORprivate final ComponentGuiMessage.contentThe field for thecontentrecord component.private final ComponentChatRestriction.displayprivate final ComponentLoggedChatMessage.System.messageThe field for themessagerecord component.private static final ComponentGuiMessageTag.SYSTEM_TEXTprivate static final ComponentGuiMessageTag.SYSTEM_TEXT_SINGLE_PLAYERprivate final @Nullable ComponentGuiMessageTag.textThe field for thetextrecord component.private final ComponentChatRestriction.Action.titleThe field for thetitlerecord component.Methods in net.minecraft.client.multiplayer.chat that return ComponentModifier and TypeMethodDescriptionGuiMessage.content()Returns the value of thecontentrecord component.ChatRestriction.display()private ComponentLoggedChatMessage.Player.getTimeComponent()LoggedChatMessage.System.message()Returns the value of themessagerecord component.@Nullable ComponentGuiMessageTag.text()Returns the value of thetextrecord component.ChatRestriction.Action.title()Returns the value of thetitlerecord 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 decoratedContent) static ChatTrustLevelChatTrustLevel.evaluate(PlayerChatMessage message, Component decoratedMessage, Instant received) private ChatTrustLevelChatListener.evaluateTrustLevel(PlayerChatMessage message, Component decoratedMessage, Instant received) private UUIDChatListener.guessChatUUID(Component message) voidChatListener.handleDisguisedChatMessage(Component message, ChatType.Bound boundChatType) voidChatListener.handleOverlay(Component message) voidChatListener.handleSystemMessage(Component message, boolean remote) private static booleanChatTrustLevel.isModified(PlayerChatMessage message, Component decoratedMessage) private voidChatListener.logSystemMessage(Component message, Instant timeStamp) private voidChatListener.narrateChatMessage(ChatType.Bound boundChatType, Component content) private booleanChatListener.showMessageToPlayer(ChatType.Bound boundChatType, PlayerChatMessage message, Component decoratedMessage, com.mojang.authlib.GameProfile sender, boolean onlyShowSecure, Instant received) static LoggedChatMessage.SystemConstructors in net.minecraft.client.multiplayer.chat with parameters of type ComponentModifierConstructorDescriptionAction(Component title, BiConsumer<Minecraft, Screen> runnable) Creates an instance of aActionrecord class.privateChatRestriction(Component display, Optional<ChatRestriction.Action> action) GuiMessage(int addedTime, Component content, @Nullable MessageSignature signature, GuiMessageSource source, @Nullable GuiMessageTag tag) Creates an instance of aGuiMessagerecord class.GuiMessageTag(int indicatorColor, @Nullable GuiMessageTag.Icon icon, @Nullable Component text, @Nullable String logTag) Creates an instance of aGuiMessageTagrecord class.Creates an instance of aSystemrecord class. -
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 e) private ComponentAbuseReportSender.Services.getHttpErrorDescription(com.mojang.authlib.exceptions.MinecraftClientHttpException e) 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 component, Throwable cause) -
Uses of Component in net.minecraft.client.player
Methods in net.minecraft.client.player that return ComponentMethods in net.minecraft.client.player with parameters of type ComponentModifier and TypeMethodDescriptionvoidLocalPlayer.sendOverlayMessage(Component message) voidLocalPlayer.sendSystemMessage(Component message) -
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
Fields in net.minecraft.client.renderer declared as ComponentModifier and TypeFieldDescriptionprivate final ComponentSubmitNodeStorage.NameTagSubmit.textThe field for thetextrecord component.Methods in net.minecraft.client.renderer that return ComponentModifier and TypeMethodDescriptionSubmitNodeStorage.NameTagSubmit.text()Returns the value of thetextrecord component.Methods in net.minecraft.client.renderer with parameters of type ComponentModifier and TypeMethodDescriptionvoidOrderedSubmitNodeCollector.submitNameTag(PoseStack poseStack, @Nullable Vec3 nameTagAttachment, int offset, Component name, boolean seeThrough, int lightCoords, double distanceToCameraSq, CameraRenderState camera) voidSubmitNodeCollection.submitNameTag(PoseStack poseStack, @Nullable Vec3 nameTagAttachment, int offset, Component name, boolean seeThrough, int lightCoords, double distanceToCameraSq, CameraRenderState camera) voidSubmitNodeStorage.submitNameTag(PoseStack poseStack, @Nullable Vec3 nameTagAttachment, int offset, Component name, boolean seeThrough, int lightCoords, double distanceToCameraSq, CameraRenderState camera) Constructors in net.minecraft.client.renderer with parameters of type ComponentModifierConstructorDescriptionNameTagSubmit(Matrix4f pose, float x, float y, Component text, int lightCoords, int color, int backgroundColor, double distanceToCameraSq) Creates an instance of aNameTagSubmitrecord class. -
Uses of Component in net.minecraft.client.renderer.entity
Methods in net.minecraft.client.renderer.entity that return ComponentModifier and TypeMethodDescriptionprotected @Nullable ComponentEntityRenderer.getNameTag(T entity) protected ComponentItemFrameRenderer.getNameTag(T entity) Methods in net.minecraft.client.renderer.entity with parameters of type ComponentModifier and TypeMethodDescriptionprivate Display.TextDisplay.CachedInfoDisplayRenderer.TextDisplayRenderer.splitLines(Component input, int width) -
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.feature
Methods in net.minecraft.client.renderer.feature with parameters of type ComponentModifier and TypeMethodDescriptionvoidNameTagFeatureRenderer.Storage.add(PoseStack poseStack, @Nullable Vec3 nameTagAttachment, int offset, Component name, boolean seeThrough, int lightCoords, double distanceToCameraSq, CameraRenderState camera) -
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
Subclasses with type arguments of type Component in net.minecraft.client.resourcesFields in net.minecraft.client.resources declared as ComponentModifier and TypeFieldDescriptionstatic final ComponentSplashManager.CHRISTMASstatic final ComponentSplashManager.HALLOWEENstatic final ComponentSplashManager.NEW_YEARFields in net.minecraft.client.resources with type parameters of type ComponentMethods in net.minecraft.client.resources that return ComponentModifier and TypeMethodDescriptionprotected ComponentClientPackSource.getPackTitle(String id) static ComponentSplashManager.literalSplash(String text) Methods in net.minecraft.client.resources that return types with arguments of type ComponentModifier and TypeMethodDescriptionSplashManager.prepare(ResourceManager manager, ProfilerFiller profiler) Performs any reloading that can be done off-thread, such as file IOMethods in net.minecraft.client.resources with parameters of type ComponentModifier and TypeMethodDescriptionprotected @Nullable PackClientPackSource.createBuiltinPack(String id, Pack.ResourcesSupplier resources, Component name) private static PackLocationInfoClientPackSource.createBuiltInPackLocation(String id, Component title) Method parameters in net.minecraft.client.resources with type arguments of type ComponentModifier and TypeMethodDescriptionprotected voidSplashManager.apply(List<Component> preparations, ResourceManager manager, ProfilerFiller profiler) -
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 TypeMethodDescription@Nullable ComponentClientLanguage.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 address, NameAndId nameAndId) -
Uses of Component in net.minecraft.client.sounds
Fields in net.minecraft.client.sounds declared as ComponentModifier and TypeFieldDescriptionprivate final ComponentMusicManager.MusicFrequency.captionprivate final @Nullable ComponentWeighedSoundEvents.subtitleMethods in net.minecraft.client.sounds that return ComponentModifier and TypeMethodDescriptionMusicManager.MusicFrequency.caption()@Nullable ComponentWeighedSoundEvents.getSubtitle() -
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 message) voidCommandSourceStack.sendFailure(Component message) voidCommandSource.sendSystemMessage(Component message) voidCommandSourceStack.sendSystemMessage(Component message) Method parameters in net.minecraft.commands with type arguments of type ComponentModifier and TypeMethodDescriptionvoidCommandSourceStack.sendSuccess(Supplier<Component> messageSupplier, boolean broadcast) Constructors in net.minecraft.commands with parameters of type ComponentModifierConstructorDescriptionCommandSourceStack(CommandSource source, Vec3 position, Vec2 rotation, ServerLevel level, PermissionSet permissions, String textName, Component displayName, MinecraftServer server, @Nullable Entity entity) privateCommandSourceStack(CommandSource source, Vec3 position, Vec2 rotation, ServerLevel level, PermissionSet permissions, String textName, Component displayName, MinecraftServer server, @Nullable Entity entity, boolean silent, CommandResultCallback resultCallback, EntityAnchorArgument.Anchor anchor, CommandSigningContext signingContext, TaskChainer chatMessageChainer) FunctionInstantiationException(Component messageComponent) -
Uses of Component in net.minecraft.commands.arguments
Subclasses with type arguments of type Component in net.minecraft.commands.argumentsMethods in net.minecraft.commands.arguments that return ComponentModifier and TypeMethodDescriptionstatic ComponentMessageArgument.getMessage(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static ComponentComponentArgument.getRawComponent(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static ComponentComponentArgument.getResolvedComponent(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static ComponentComponentArgument.getResolvedComponent(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name, @Nullable Entity contentEntity) private ComponentMessageArgument.Message.resolveComponent(CommandSourceStack sender) MessageArgument.Message.toComponent(CommandSourceStack sender, boolean allowSelectors) Converts this message into a text component, replacing any selectors in the text with the actual evaluated selector.MessageArgument.Part.toComponent(CommandSourceStack sender) 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 name, EntitySelectorOptions.Modifier modifier, Predicate<EntitySelectorParser> predicate, Component description) Constructors in net.minecraft.commands.arguments.selector.options with parameters of type ComponentModifierConstructorDescriptionprivateOption(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
Classes in net.minecraft.core.component.predicates that implement interfaces with type arguments of type ComponentFields 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> value) 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 output, Component description) static PackMetadataGeneratorPackMetadataGenerator.forFeaturePack(PackOutput output, Component description, FeatureFlagSet flags) -
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()private static ComponentGameTestHelper.getItemName(Item itemType) GameTestAssertPosException.getMessageToShowAtBlock()Methods in net.minecraft.gametest.framework with parameters of type ComponentModifier and TypeMethodDescription<T extends Comparable<T>>
voidGameTestHelper.assertBlockProperty(BlockPos pos, Property<T> property, Predicate<T> predicate, Component errorMessage) voidGameTestHelper.assertEntityPresent(EntityType<?> entityType, AABB relativeAABB, Component message) <E extends Entity, T>
voidGameTestHelper.assertEntityProperty(E entity, Function<E, T> test, T expected, Component description) <E extends Entity>
voidGameTestHelper.assertEntityProperty(E entity, Predicate<E> test, Component description) voidGameTestHelper.assertFalse(boolean condition, Component errorMessage) GameTestHelper.assertionException(BlockPos pos, Component description) GameTestHelper.assertionException(Component description) voidGameTestHelper.assertTrue(boolean condition, Component errorMessage) <N> voidGameTestHelper.assertValueEqual(N value, N expected, Component valueName) voidvoidvoidvoidMethod parameters in net.minecraft.gametest.framework with type arguments of type ComponentModifier and TypeMethodDescriptionvoidGameTestHelper.assertBlock(BlockPos pos, Predicate<Block> predicate, Function<Block, Component> errorMessage) <T extends BlockEntity>
voidGameTestHelper.assertBlockEntityData(BlockPos pos, Class<T> type, Predicate<T> predicate, Supplier<Component> errorMessage) voidGameTestHelper.assertBlockState(BlockPos pos, Predicate<BlockState> predicate, Function<BlockState, Component> errorMessage) voidGameTestHelper.assertRedstoneSignal(BlockPos pos, Direction direction, IntPredicate levelPredicate, Supplier<Component> errorMessage) Constructors in net.minecraft.gametest.framework with parameters of type ComponentModifierConstructorDescriptionGameTestAssertException(Component message, int tick) GameTestAssertPosException(Component baseMessage, BlockPos absolutePos, BlockPos relativePos, int tick) GameTestTimeoutException(Component message) -
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 input) static ComponentNbtUtils.toPrettyComponent(Tag tag) -
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 reason, Throwable cause) voidConnection.disconnect(Component reason) Closes the channel with a given reason.Constructors in net.minecraft.network with parameters of type ComponentModifierConstructorDescriptionDisconnectionDetails(Component reason) Creates an instance of aDisconnectionDetailsrecord class. -
Uses of Component in net.minecraft.network.chat
Classes in net.minecraft.network.chat that implement ComponentModifier and TypeClassDescriptionfinal classA Component which can have its Style and siblings modified.Fields in net.minecraft.network.chat declared as ComponentModifier and TypeFieldDescriptionprivate 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.EMPTYprivate 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_COPY_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_RETURN_TO_MENUstatic final ComponentCommonComponents.GUI_TO_TITLEstatic final ComponentCommonComponents.GUI_YESprivate static final ComponentSignedMessageChain.DecodeException.INVALID_SIGNATUREprivate 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_ONprivate static final ComponentSignedMessageChain.DecodeException.OUT_OF_ORDER_CHATstatic final ComponentCommonComponents.SPACEstatic final ComponentCommonComponents.TRANSFER_CONNECT_FAILEDprivate final @Nullable 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 TypeMethodDescription@Nullable ComponentFilterMask.applyWithFormatting(String text) OutgoingChatMessage.content()OutgoingChatMessage.Disguised.content()Returns the value of thecontentrecord component.OutgoingChatMessage.Player.content()ChatDecorator.decorate(@Nullable ServerPlayer player, Component plain) ChatTypeDecoration.decorate(Component content, ChatType.Bound chatType) PlayerChatMessage.decoratedContent()ChatType.Bound.decorateNarration(Component content) static ComponentCommonComponents.disconnectButtonLabel(boolean isLocalServer) static <T extends Comparable<T>>
ComponentComponentUtils.formatAndSortList(Collection<T> values, Function<T, Component> formatter) static ComponentComponentUtils.formatList(Collection<? extends Component> values, Component separator) static <T> ComponentComponentUtils.formatList(Collection<? extends T> values, Function<T, Component> formatter) static ComponentComponentUtils.formatList(Collection<String> values) static ComponentComponentUtils.fromMessage(com.mojang.brigadier.Message message) ThrowingComponent.getComponent()static ComponentCommonComponents.joinLines(Collection<? extends Component> lines) static Componentstatic ComponentComponentUtils.mergeStyles(Component component, Style style) ChatType.Bound.name()Returns the value of thenamerecord component.static ComponentComponent.nullToEmpty(@Nullable String text) static ComponentCommonComponents.optionStatus(boolean value) private Component[]ChatTypeDecoration.resolveParameters(Component content, ChatType.Bound chatType) ChatTypeDecoration.Parameter.select(Component content, ChatType.Bound chatType) ChatTypeDecoration.Parameter.Selector.select(Component content, ChatType.Bound chatType) static ComponentComponent.translationArg(com.mojang.brigadier.Message message) static ComponentComponent.translationArg(URI uri) static ComponentComponent.translationArg(Date date) static ComponentComponent.translationArg(UUID uuid) static ComponentComponent.translationArg(Identifier id) static ComponentComponent.translationArg(ChunkPos chunkPos) @Nullable ComponentPlayerChatMessage.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> topSerializer) static com.mojang.serialization.Codec<Component> ComponentSerialization.flatRestrictedCodec(int maxFlatSize) Component.getSiblings()MutableComponent.getSiblings()HoverEvent.EntityTooltipInfo.getTooltipLines()ChatType.Bound.targetName()Returns the value of thetargetNamerecord component.Component.toFlatList()Component.toFlatList(Style rootStyle) 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> chatType, RegistryAccess registryAccess, Component name) default booleanChatDecorator.decorate(@Nullable ServerPlayer player, Component plain) ChatTypeDecoration.decorate(Component content, ChatType.Bound chatType) ChatType.Bound.decorateNarration(Component content) static ComponentComponentUtils.formatList(Collection<? extends Component> values, Component separator) static <T> MutableComponentComponentUtils.formatList(Collection<? extends T> values, Component separator, Function<T, Component> formatter) static booleanComponentUtils.isTranslationResolvable(@Nullable Component component) static MutableComponentCommonComponents.joinForNarration(Component... components) static Componentstatic ComponentComponentUtils.mergeStyles(Component component, Style style) static MutableComponentCommonComponents.optionNameValue(Component name, Component value) static MutableComponentCommonComponents.optionStatus(Component name, boolean value) private Component[]ChatTypeDecoration.resolveParameters(Component content, ChatType.Bound chatType) ChatTypeDecoration.Parameter.select(Component content, ChatType.Bound chatType) ChatTypeDecoration.Parameter.Selector.select(Component content, ChatType.Bound chatType) static MutableComponentComponentUtils.updateForEntity(@Nullable CommandSourceStack source, Component component, @Nullable Entity entity, int recursionDepth) ChatType.Bound.withTargetName(Component targetName) PlayerChatMessage.withUnsignedContent(Component content) static MutableComponentComponentUtils.wrapInSquareBrackets(Component inner) 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> topSerializer) private static MutableComponentComponentSerialization.createFromList(List<Component> list) static <T extends Comparable<T>>
ComponentComponentUtils.formatAndSortList(Collection<T> values, Function<T, Component> formatter) static ComponentComponentUtils.formatList(Collection<? extends Component> values, Component separator) static <T> ComponentComponentUtils.formatList(Collection<? extends T> values, Function<T, Component> formatter) static <T> MutableComponentComponentUtils.formatList(Collection<? extends T> values, Optional<? extends Component> separator, Function<T, Component> formatter) static <T> MutableComponentComponentUtils.formatList(Collection<? extends T> values, Optional<? extends Component> separator, Function<T, Component> formatter) static <T> MutableComponentComponentUtils.formatList(Collection<? extends T> values, Component separator, Function<T, Component> formatter) static ComponentCommonComponents.joinLines(Collection<? extends Component> lines) static MutableComponentComponent.nbt(String nbtPath, boolean interpreting, Optional<Component> separator, DataSource dataSource) static MutableComponentComponent.selector(SelectorPattern pattern, Optional<Component> separator) static Optional<MutableComponent> ComponentUtils.updateForEntity(@Nullable CommandSourceStack source, Optional<Component> component, @Nullable Entity entity, int recursionDepth) Constructors in net.minecraft.network.chat with parameters of type ComponentModifierConstructorDescriptionprivateCreates an instance of aBoundrecord class.DecodeException(Component component) Creates an instance of aDisguisedrecord class.EntityTooltipInfo(EntityType<?> type, UUID uuid, @Nullable Component name) PlayerChatMessage(SignedMessageLink link, @Nullable MessageSignature signature, SignedMessageBody signedBody, @Nullable Component unsignedContent, FilterMask filterMask) Creates an instance of aPlayerChatMessagerecord class.Creates an instance of aShowTextrecord class.ThrowingComponent(Component component) ThrowingComponent(Component component, Throwable cause) Constructor parameters in net.minecraft.network.chat with type arguments of type ComponentModifierConstructorDescriptionCreates an instance of aBoundrecord class.EntityTooltipInfo(EntityType<?> type, UUID uuid, Optional<Component> name) (package private)MutableComponent(ComponentContents contents, List<Component> siblings, Style style) -
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>> resolver) Constructor parameters in net.minecraft.network.chat.contents with type arguments of type ComponentModifierConstructorDescriptionNbtContents(String nbtPath, boolean interpreting, Optional<Component> separator, DataSource dataSource) privateNbtContents(String nbtPathPattern, @Nullable NbtPathArgument.NbtPath compiledNbtPath, boolean interpreting, Optional<Component> separator, DataSource dataSource) 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 ComponentModifier and TypeFieldDescriptionprivate final ComponentFixedFormat.valueThe field for thevaluerecord component.Methods in net.minecraft.network.chat.numbers that return ComponentModifier and TypeMethodDescriptionFixedFormat.value()Returns the value of thevaluerecord component.Constructors in net.minecraft.network.chat.numbers with parameters of type ComponentModifierConstructorDescriptionFixedFormat(Component value) Creates an instance of aFixedFormatrecord class. -
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 @Nullable ComponentClientboundPlayerInfoUpdatePacket.Entry.displayNameThe field for thedisplayNamerecord component.private @Nullable 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 @Nullable 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.@Nullable ComponentClientboundPlayerInfoUpdatePacket.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.@Nullable ComponentClientboundPlayerChatPacket.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 id, Component name, float progress, BossEvent.BossBarColor color, BossEvent.BossBarOverlay overlay, boolean darkenScreen, boolean playMusic, boolean createWorldFog) default voidClientboundBossEventPacket.Handler.updateName(UUID id, Component name) 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 containerId, MenuType<?> type, Component title) ClientboundPlayerChatPacket(int globalIndex, UUID sender, int index, @Nullable MessageSignature signature, SignedMessageBody.Packed body, @Nullable 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, @Nullable com.mojang.authlib.GameProfile profile, boolean listed, int latency, GameType gameMode, @Nullable Component displayName, boolean showHat, int listOrder, @Nullable RemoteChatSession.Data chatSession) Creates an instance of aEntryrecord class.privateUpdateNameOperation(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 ComponentModifier and TypeFieldDescriptionprivate final ComponentClientboundLoginDisconnectPacket.reasonThe field for thereasonrecord component.Methods in net.minecraft.network.protocol.login that return ComponentModifier and TypeMethodDescriptionClientboundLoginDisconnectPacket.reason()Returns the value of thereasonrecord component.Constructors in net.minecraft.network.protocol.login with parameters of type ComponentModifierConstructorDescriptionCreates an instance of aClientboundLoginDisconnectPacketrecord class. -
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 TypeFieldDescriptionprivate final ComponentRepeatedNarrator.Params.narrationprivate final ComponentRealmsLabel.textMethods in net.minecraft.realms that return ComponentMethods in net.minecraft.realms with parameters of type ComponentModifier and TypeMethodDescriptionvoidRepeatedNarrator.narrate(GameNarrator narrator, Component narration) Constructors in net.minecraft.realms with parameters of type ComponentModifierConstructorDescription(package private)Params(Component narration, RateLimiter rateLimiter) RealmsLabel(Component text, int x, int y, int color) RealmsScreen(Component title) -
Uses of Component in net.minecraft.server
Fields in net.minecraft.server declared as ComponentModifier and TypeFieldDescriptionprivate final @Nullable 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()@Nullable ComponentMinecraftServer.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 message, ChatType.Bound chatType, @Nullable String tag) voidMinecraftServer.sendSystemMessage(Component message) Constructors in net.minecraft.server with parameters of type ComponentModifierConstructorDescriptionServerResourcePackInfo(UUID id, String url, String hash, boolean isRequired, @Nullable 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 ComponentModifier and TypeMethodDescriptionCustomBossEvents.create(RandomSource random, Identifier id, Component name) Constructors in net.minecraft.server.bossevents with parameters of type ComponentModifierConstructorDescriptionCustomBossEvent(UUID id, Identifier customId, Component name, Runnable dirtyCallback) 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
Fields in net.minecraft.server.commands declared as ComponentModifier and TypeFieldDescriptionprivate static final ComponentVersionCommand.HEADERprivate static final ComponentVersionCommand.STABLEprivate static final ComponentVersionCommand.UNSTABLEMethods in net.minecraft.server.commands that return ComponentModifier and TypeMethodDescriptionprivate static ComponentAttributeCommand.getAttributeDescription(Holder<Attribute> attribute) private static ComponentTeamCommand.getFirstMemberName(Collection<ScoreHolder> members) private static ComponentScoreboardCommand.getFirstTargetName(Collection<ScoreHolder> names) Methods in net.minecraft.server.commands with parameters of type ComponentModifier and TypeMethodDescriptionprivate static intScoreboardCommand.addObjective(CommandSourceStack source, String name, ObjectiveCriteria criteria, Component displayName) private static intBanIpCommands.banIp(CommandSourceStack source, String ip, @Nullable Component reason) private static intBanIpCommands.banIpOrName(CommandSourceStack source, String target, @Nullable Component reason) private static intBanPlayerCommands.banPlayers(CommandSourceStack source, Collection<NameAndId> players, @Nullable Component reason) private static intBossBarCommands.createBar(CommandSourceStack source, Identifier id, Component name) private static intDataPackCommand.createPack(CommandSourceStack source, String id, Component description) private static intTeamCommand.createTeam(CommandSourceStack source, String name, Component displayName) private static intKickCommand.kickPlayers(CommandSourceStack source, Collection<ServerPlayer> players, Component reason) private static intRaidCommand.playSound(CommandSourceStack source, @Nullable Component type) private static voidFetchProfileCommand.reportResolvedProfile(CommandSourceStack sender, com.mojang.authlib.GameProfile gameProfile, String messageId, Component argument) voidDebugCommand.Tracer.sendSystemMessage(Component message) private static intScoreboardCommand.setDisplayName(CommandSourceStack source, Objective objective, Component displayName) private static intTeamCommand.setDisplayName(CommandSourceStack source, PlayerTeam team, Component displayName) private static intBossBarCommands.setName(CommandSourceStack source, CustomBossEvent bossBar, Component name) private static intTeamCommand.setPrefix(CommandSourceStack source, PlayerTeam team, Component prefix) private static intScoreboardCommand.setScoreDisplay(CommandSourceStack source, Collection<ScoreHolder> names, Objective objective, @Nullable Component display) private static intTeamCommand.setSuffix(CommandSourceStack source, PlayerTeam team, Component suffix) private static intTitleCommand.showTitle(CommandSourceStack source, Collection<ServerPlayer> targets, Component title, String type, Function<Component, Packet<?>> factory) Method parameters in net.minecraft.server.commands with type arguments of type ComponentModifier and TypeMethodDescriptionstatic voidVersionCommand.dumpVersion(Consumer<Component> output) static com.mojang.datafixers.util.Either<Integer, com.mojang.brigadier.exceptions.CommandSyntaxException> FillBiomeCommand.fill(ServerLevel level, BlockPos rawFrom, BlockPos rawTo, Holder<Biome> biome, Predicate<Holder<Biome>> filter, Consumer<Supplier<Component>> successMessageConsumer) private static intListPlayersCommand.format(CommandSourceStack source, Function<ServerPlayer, Component> formatter) private static intTitleCommand.showTitle(CommandSourceStack source, Collection<ServerPlayer> targets, Component title, String type, Function<Component, Packet<?>> factory) -
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 path, double scale, int value) Gets the message used as a result of querying the given path with a scale.BlockDataAccessor.getPrintSuccess(Tag data) Gets the message used as a result of querying the given NBT (both for /data get and /data get path)DataAccessor.getPrintSuccess(NbtPathArgument.NbtPath path, double scale, int value) Gets the message used as a result of querying the given path with a scale.DataAccessor.getPrintSuccess(Tag data) Gets the message used as a result of querying the given NBT (both for /data get and /data get path)EntityDataAccessor.getPrintSuccess(NbtPathArgument.NbtPath path, double scale, int value) Gets the message used as a result of querying the given path with a scale.EntityDataAccessor.getPrintSuccess(Tag data) Gets the message used as a result of querying the given NBT (both for /data get and /data get path)StorageDataAccessor.getPrintSuccess(NbtPathArgument.NbtPath path, double scale, int value) Gets the message used as a result of querying the given path with a scale.StorageDataAccessor.getPrintSuccess(Tag data) 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 @Nullable ComponentDedicatedServerProperties.parseResourcePackPrompt(String prompt) -
Uses of Component in net.minecraft.server.dialog
Fields in net.minecraft.server.dialog declared as ComponentModifier and TypeFieldDescriptionprivate final ComponentCommonButtonData.labelThe field for thelabelrecord component.private final ComponentCommonDialogData.titleThe field for thetitlerecord component.Fields in net.minecraft.server.dialog with type parameters of type ComponentModifier and TypeFieldDescriptionCommonDialogData.externalTitleThe field for theexternalTitlerecord component.CommonButtonData.tooltipThe field for thetooltiprecord component.Methods in net.minecraft.server.dialog that return ComponentModifier and TypeMethodDescriptionCommonDialogData.computeExternalTitle()CommonButtonData.label()Returns the value of thelabelrecord component.CommonDialogData.title()Returns the value of thetitlerecord component.Methods in net.minecraft.server.dialog that return types with arguments of type ComponentModifier and TypeMethodDescriptionCommonDialogData.externalTitle()Returns the value of theexternalTitlerecord component.CommonButtonData.tooltip()Returns the value of thetooltiprecord component.Constructors in net.minecraft.server.dialog with parameters of type ComponentModifierConstructorDescriptionCommonButtonData(Component label, int width) CommonButtonData(Component label, Optional<Component> tooltip, int width) Creates an instance of aCommonButtonDatarecord class.CommonDialogData(Component title, Optional<Component> externalTitle, boolean canCloseWithEscape, boolean pause, DialogAction afterAction, List<DialogBody> body, List<Input> inputs) Creates an instance of aCommonDialogDatarecord class.Constructor parameters in net.minecraft.server.dialog with type arguments of type ComponentModifierConstructorDescriptionCommonButtonData(Component label, Optional<Component> tooltip, int width) Creates an instance of aCommonButtonDatarecord class.CommonDialogData(Component title, Optional<Component> externalTitle, boolean canCloseWithEscape, boolean pause, DialogAction afterAction, List<DialogBody> body, List<Input> inputs) Creates an instance of aCommonDialogDatarecord class. -
Uses of Component in net.minecraft.server.dialog.body
Fields in net.minecraft.server.dialog.body declared as ComponentModifier and TypeFieldDescriptionprivate final ComponentPlainMessage.contentsThe field for thecontentsrecord component.Methods in net.minecraft.server.dialog.body that return ComponentModifier and TypeMethodDescriptionPlainMessage.contents()Returns the value of thecontentsrecord component.Constructors in net.minecraft.server.dialog.body with parameters of type ComponentModifierConstructorDescriptionPlainMessage(Component contents, int width) Creates an instance of aPlainMessagerecord class. -
Uses of Component in net.minecraft.server.dialog.input
Fields in net.minecraft.server.dialog.input declared as ComponentModifier and TypeFieldDescriptionprivate final ComponentBooleanInput.labelThe field for thelabelrecord component.private final ComponentNumberRangeInput.labelThe field for thelabelrecord component.private final ComponentSingleOptionInput.labelThe field for thelabelrecord component.private final ComponentTextInput.labelThe field for thelabelrecord component.Fields in net.minecraft.server.dialog.input with type parameters of type ComponentModifier and TypeFieldDescriptionSingleOptionInput.Entry.displayThe field for thedisplayrecord component.Methods in net.minecraft.server.dialog.input that return ComponentModifier and TypeMethodDescriptionNumberRangeInput.computeLabel(String value) SingleOptionInput.Entry.displayOrDefault()BooleanInput.label()Returns the value of thelabelrecord component.NumberRangeInput.label()Returns the value of thelabelrecord component.SingleOptionInput.label()Returns the value of thelabelrecord component.TextInput.label()Returns the value of thelabelrecord component.Methods in net.minecraft.server.dialog.input that return types with arguments of type ComponentModifier and TypeMethodDescriptionSingleOptionInput.Entry.display()Returns the value of thedisplayrecord component.Constructors in net.minecraft.server.dialog.input with parameters of type ComponentModifierConstructorDescriptionBooleanInput(Component label, boolean initial, String onTrue, String onFalse) Creates an instance of aBooleanInputrecord class.NumberRangeInput(int width, Component label, String labelFormat, NumberRangeInput.RangeInfo rangeInfo) Creates an instance of aNumberRangeInputrecord class.SingleOptionInput(int width, List<SingleOptionInput.Entry> entries, Component label, boolean labelVisible) Creates an instance of aSingleOptionInputrecord class.TextInput(int width, Component label, boolean labelVisible, String initial, int maxLength, Optional<TextInput.MultilineOptions> multiline) Creates an instance of aTextInputrecord class.Constructor parameters in net.minecraft.server.dialog.input with type arguments of type Component -
Uses of Component in net.minecraft.server.jsonrpc.internalapi
Methods in net.minecraft.server.jsonrpc.internalapi with parameters of type ComponentModifier and TypeMethodDescriptionvoidMinecraftServerStateService.broadcastSystemMessage(Component message, boolean overlay, ClientInfo clientInfo) voidMinecraftServerStateServiceImpl.broadcastSystemMessage(Component message, boolean overlay, ClientInfo clientInfo) voidMinecraftServerStateService.sendSystemMessage(Component message, boolean overlay, Collection<ServerPlayer> players, ClientInfo clientInfo) voidMinecraftServerStateService.sendSystemMessage(Component message, ClientInfo clientInfo) voidMinecraftServerStateServiceImpl.sendSystemMessage(Component message, boolean overlay, Collection<ServerPlayer> players, ClientInfo clientInfo) voidMinecraftServerStateServiceImpl.sendSystemMessage(Component message, ClientInfo clientInfo) -
Uses of Component in net.minecraft.server.jsonrpc.methods
Fields in net.minecraft.server.jsonrpc.methods declared as ComponentModifier and TypeFieldDescriptionprivate static final ComponentPlayerService.DEFAULT_KICK_MESSAGEMethods in net.minecraft.server.jsonrpc.methods that return types with arguments of type Component -
Uses of Component in net.minecraft.server.level
Fields in net.minecraft.server.level declared as ComponentModifier and TypeFieldDescriptionprivate final ComponentParticleStatus.captionprivate static final ComponentServerPlayer.SPAWN_SET_MESSAGEprivate ComponentServerPlayer.tabListDisplayNameprivate ComponentServerPlayer.tabListFooterprivate ComponentServerPlayer.tabListHeaderMethods in net.minecraft.server.level that return ComponentModifier and TypeMethodDescriptionParticleStatus.caption()@Nullable ComponentServerPlayer.getTabListDisplayName()ServerPlayer.getTabListFooter()ServerPlayer.getTabListHeader()Methods in net.minecraft.server.level with parameters of type ComponentModifier and TypeMethodDescriptionvoidServerPlayer.sendOverlayMessage(Component message) voidServerPlayer.sendSystemMessage(Component message) voidServerPlayer.sendSystemMessage(Component message, boolean overlay) 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(UUID id, Component name, BossEvent.BossBarColor color, BossEvent.BossBarOverlay overlay) -
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_CONFIGURATION_ERRORprivate 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 reason) voidServerLoginPacketListenerImpl.disconnect(Component component) voidServerGamePacketListenerImpl.sendDisguisedChatMessage(Component content, ChatType.Bound chatType) -
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 enabled, Component description) PackLocationInfo.title()Returns the value of thetitlerecord component.Methods in net.minecraft.server.packs with parameters of type ComponentModifier and TypeMethodDescriptionPackLocationInfo.createChatLink(boolean enabled, Component description) 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, InclusiveRange<PackFormat> 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 enabled) PackCompatibility.getConfirmation()Pack.getDescription()PackCompatibility.getDescription()protected abstract ComponentBuiltInPackSource.getPackTitle(String id) protected ComponentServerPacksSource.getPackTitle(String id) 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 descriptionId) Methods in net.minecraft.server.packs.repository with parameters of type ComponentModifier and TypeMethodDescriptionprotected abstract @Nullable PackBuiltInPackSource.createBuiltinPack(String id, Pack.ResourcesSupplier resources, Component name) protected @Nullable PackServerPacksSource.createBuiltinPack(String id, Pack.ResourcesSupplier resources, Component name) private static PackLocationInfoServerPacksSource.createBuiltInPackLocation(String id, Component title) Method parameters in net.minecraft.server.packs.repository with type arguments of type ComponentModifier and TypeMethodDescriptionstatic PackSourcePackSource.create(UnaryOperator<Component> decorator, boolean addAutomatically) 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_MESSAGEprivate static final ComponentUserBanListEntry.MESSAGE_UNKNOWN_USERMethods in net.minecraft.server.players that return ComponentModifier and TypeMethodDescription@Nullable ComponentPlayerList.canPlayerLogin(SocketAddress address, NameAndId nameAndId) abstract ComponentBanListEntry.getDisplayName()IpBanListEntry.getDisplayName()UserBanListEntry.getDisplayName()BanListEntry.getReasonMessage()Methods in net.minecraft.server.players with parameters of type ComponentModifier and TypeMethodDescriptionvoidPlayerList.broadcastSystemMessage(Component message, boolean overlay) voidPlayerList.broadcastSystemMessage(Component message, Function<ServerPlayer, Component> playerMessages, boolean overlay) voidPlayerList.broadcastSystemToAllExceptTeam(Player player, Component message) voidPlayerList.broadcastSystemToTeam(Player player, Component message) Method parameters in net.minecraft.server.players with type arguments of type ComponentModifier and TypeMethodDescriptionvoidPlayerList.broadcastSystemMessage(Component message, Function<ServerPlayer, Component> playerMessages, boolean overlay) -
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 with parameters of type ComponentModifier and TypeMethodDescriptionvoidProgressListener.progressStage(Component string) voidProgressListener.progressStart(Component string) voidProgressListener.progressStartNoAbort(Component string) -
Uses of Component in net.minecraft.util.worldupdate
Fields in net.minecraft.util.worldupdate declared as ComponentModifier and TypeFieldDescriptionprivate static final ComponentUpgradeStatusTranslator.COUNTINGprivate static final ComponentUpgradeStatusTranslator.FAILEDprivate final ComponentUpgradeStatusTranslator.Messages.finishedThe field for thefinishedrecord component.private final ComponentUpgradeProgress.Type.labelprivate final ComponentUpgradeStatusTranslator.Messages.upgradingThe field for theupgradingrecord component.private static final ComponentUpgradeStatusTranslator.UPGRADINGMethods in net.minecraft.util.worldupdate that return ComponentModifier and TypeMethodDescriptionUpgradeStatusTranslator.Messages.finished()Returns the value of thefinishedrecord component.UpgradeStatusTranslator.Messages.forStatus(UpgradeProgress.Status status) WorldUpgrader.getStatus()UpgradeProgress.Type.label()UpgradeStatusTranslator.translate(UpgradeProgress upgradeProgress) UpgradeStatusTranslator.Messages.upgrading()Returns the value of theupgradingrecord component.Constructors in net.minecraft.util.worldupdate with parameters of type Component -
Uses of Component in net.minecraft.world
Fields in net.minecraft.world declared as ComponentModifier and TypeFieldDescriptionprotected ComponentBossEvent.nameprivate final ComponentSimpleMenuProvider.titleMethods in net.minecraft.world that return ComponentModifier and TypeMethodDescriptiondefault @Nullable 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 id, Component name, BossEvent.BossBarColor color, BossEvent.BossBarOverlay overlay) SimpleMenuProvider(MenuConstructor menuConstructor, Component title) -
Uses of Component in net.minecraft.world.attribute
Fields in net.minecraft.world.attribute with type parameters of type ComponentModifier and TypeFieldDescriptionBedRule.errorMessageThe field for theerrorMessagerecord component.Methods in net.minecraft.world.attribute that return types with arguments of type ComponentModifier and TypeMethodDescriptionBedRule.errorMessage()Returns the value of theerrorMessagerecord component.Constructor parameters in net.minecraft.world.attribute with type arguments of type ComponentModifierConstructorDescriptionBedRule(BedRule.Rule canSleep, BedRule.Rule canSetSpawn, boolean explodes, Optional<Component> errorMessage) Creates an instance of aBedRulerecord class. -
Uses of Component in net.minecraft.world.damagesource
Methods in net.minecraft.world.damagesource that return ComponentModifier and TypeMethodDescriptionCombatTracker.getDeathMessage()private static @Nullable ComponentCombatTracker.getDisplayName(@Nullable Entity entity) CombatTracker.getFallMessage(CombatEntry knockOffEntry, @Nullable Entity killingEntity) DamageSource.getLocalizedDeathMessage(LivingEntity victim) Gets the death message that is displayed when the player diesprivate ComponentCombatTracker.getMessageForAssistedFall(Entity attackerEntity, Component attackerName, String messageWithItem, String messageWithoutItem) 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 instance, float scale, float tickrate) MobEffect.getDisplayName() -
Uses of Component in net.minecraft.world.entity
Fields in net.minecraft.world.entity declared as ComponentModifier and TypeFieldDescriptionprivate final ComponentHumanoidArm.captionprivate @Nullable 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 TypeMethodDescriptionHumanoidArm.caption()@Nullable ComponentEntity.getCustomName()EntityType.getDescription()Entity.getDisplayName()Entity.getName()private ComponentDisplay.TextDisplay.getText()protected ComponentEntity.getTypeName()private static ComponentEntity.removeAction(Component component) 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 component) voidEntity.setCustomName(@Nullable Component name) 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.fish
Fields in net.minecraft.world.entity.animal.fish declared as ComponentMethods in net.minecraft.world.entity.animal.fish that return ComponentMethod parameters in net.minecraft.world.entity.animal.fish with type arguments of type ComponentModifier and TypeMethodDescriptionvoidTropicalFish.Pattern.addToTooltip(Item.TooltipContext context, Consumer<Component> consumer, TooltipFlag flag, DataComponentGetter components) -
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 declared as ComponentModifier and TypeFieldDescriptionprivate static final ComponentMannequin.DEFAULT_DESCRIPTIONprivate ComponentMannequin.descriptionFields in net.minecraft.world.entity.decoration with type parameters of type ComponentModifier and TypeFieldDescriptionprivate static final EntityDataAccessor<Optional<Component>> Mannequin.DATA_DESCRIPTIONMethods in net.minecraft.world.entity.decoration that return ComponentMethods in net.minecraft.world.entity.decoration with parameters of type Component -
Uses of Component in net.minecraft.world.entity.decoration.painting
Fields in net.minecraft.world.entity.decoration.painting 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.painting 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.painting with type arguments of type ComponentModifierConstructorDescriptionPaintingVariant(int width, int height, Identifier 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.illager
Methods in net.minecraft.world.entity.monster.illager with parameters of type Component -
Uses of Component in net.minecraft.world.entity.npc.villager
Fields in net.minecraft.world.entity.npc.villager declared as ComponentModifier and TypeFieldDescriptionprivate final ComponentVillagerProfession.nameThe field for thenamerecord component.Methods in net.minecraft.world.entity.npc.villager that return ComponentModifier and TypeMethodDescriptionprotected ComponentVillager.getTypeName()VillagerProfession.name()Returns the value of thenamerecord component.Constructors in net.minecraft.world.entity.npc.villager with parameters of type ComponentModifierConstructorDescriptionVillagerProfession(Component name, Predicate<Holder<PoiType>> heldJobSite, Predicate<Holder<PoiType>> acquirableJobSite, ImmutableSet<Item> requestedItems, ImmutableSet<Block> secondaryPoi, @Nullable SoundEvent workSound, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceKey<TradeSet>> tradeSetsByLevel) 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 final ComponentChatVisiblity.captionprivate static final ComponentInventory.DEFAULT_NAMEprivate ComponentPlayer.displaynamestatic final ComponentProfilePublicKey.EXPIRED_PROFILE_PUBLIC_KEYprivate static final ComponentProfilePublicKey.INVALID_SIGNATUREprivate final @Nullable ComponentPlayer.BedSleepingProblem.messageThe field for themessagerecord component.private final ComponentPlayerModelPart.nameMethods in net.minecraft.world.entity.player that return ComponentModifier and TypeMethodDescriptionChatVisiblity.caption()Player.getDisplayName()Inventory.getName()Player.getName()PlayerModelPart.getName()@Nullable ComponentPlayer.BedSleepingProblem.message()Returns the value of themessagerecord component.Methods in net.minecraft.world.entity.player with parameters of type ComponentModifier and TypeMethodDescriptionvoidPlayer.sendOverlayMessage(Component message) voidPlayer.sendSystemMessage(Component message) Constructors in net.minecraft.world.entity.player with parameters of type ComponentModifierConstructorDescriptionBedSleepingProblem(@Nullable Component message) Creates an instance of aBedSleepingProblemrecord class.ValidationException(Component component) -
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.minecart
Fields in net.minecraft.world.entity.vehicle.minecart with type parameters of type ComponentModifier and TypeFieldDescriptionprivate 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 ComponentItemStack.INTANGIBLE_TOOLTIPprivate 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()@Nullable ComponentItemStack.getCustomName()CreativeModeTab.getDisplayName()ItemStack.getDisplayName()ItemStack.getHoverName()ItemStack.getItemName()ItemStack.getStyledHoverName()Methods in net.minecraft.world.item that return types with arguments of type ComponentModifier and TypeMethodDescriptionAdventureModePredicate.computeTooltip(List<BlockPredicate> predicates) ItemStack.getTooltipLines(Item.TooltipContext context, @Nullable Player player, TooltipFlag tooltipFlag) AdventureModePredicate.tooltip()Methods in net.minecraft.world.item with parameters of type ComponentModifier and TypeMethodDescriptionprivate voidItemStack.addUnitComponentToTooltip(DataComponentType<?> dataComponentType, Component component, TooltipDisplay display, Consumer<Component> builder) Item.Properties.finalizeInitializer(Component name, Identifier model) private static voidDebugStickItem.message(ServerPlayer player, Component message) Method parameters in net.minecraft.world.item with type arguments of type ComponentModifier and TypeMethodDescriptionprivate voidItemStack.addAttributeTooltips(Consumer<Component> consumer, TooltipDisplay display, @Nullable Player player) voidItemStack.addDetailsToTooltip(Item.TooltipContext context, TooltipDisplay display, @Nullable Player player, TooltipFlag tooltipFlag, Consumer<Component> builder) voidAdventureModePredicate.addToTooltip(Consumer<Component> consumer) <T extends TooltipProvider>
voidItemStack.addToTooltip(DataComponentType<T> type, Item.TooltipContext context, TooltipDisplay display, Consumer<Component> consumer, TooltipFlag flag) voidJukeboxPlayable.addToTooltip(Item.TooltipContext context, Consumer<Component> consumer, TooltipFlag flag, DataComponentGetter components) private voidItemStack.addUnitComponentToTooltip(DataComponentType<?> dataComponentType, Component component, TooltipDisplay display, Consumer<Component> builder) voidDiscFragmentItem.appendHoverText(ItemStack itemStack, Item.TooltipContext context, TooltipDisplay display, Consumer<Component> builder, TooltipFlag tooltipFlag) voidHangingEntityItem.appendHoverText(ItemStack itemStack, Item.TooltipContext context, TooltipDisplay display, Consumer<Component> builder, TooltipFlag tooltipFlag) voidItem.appendHoverText(ItemStack itemStack, Item.TooltipContext context, TooltipDisplay display, Consumer<Component> builder, TooltipFlag tooltipFlag) Deprecated.voidSmithingTemplateItem.appendHoverText(ItemStack itemStack, Item.TooltipContext context, TooltipDisplay display, Consumer<Component> builder, TooltipFlag tooltipFlag) Constructors in net.minecraft.world.item with parameters of type ComponentModifierConstructorDescriptionprivateCreativeModeTab(CreativeModeTab.Row row, int column, CreativeModeTab.Type type, Component displayName, Supplier<ItemStack> iconGenerator, CreativeModeTab.DisplayItemsGenerator displayItemsGenerator, Identifier scrollerSpriteLocation, boolean hasSearchBar, int searchBarWidth, Identifier tabsImage, int labelColor, int slotColor, List<Identifier> tabsBefore, List<Identifier> 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 appliesTo, Component ingredients, Component baseSlotDescription, Component additionsSlotDescription, List<Identifier> baseSlotEmptyIcons, List<Identifier> additionalSlotEmptyIcons, Item.Properties properties) -
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> effects, Consumer<Component> lines, float durationScale, float tickrate) voidPotionContents.addToTooltip(Item.TooltipContext context, Consumer<Component> consumer, TooltipFlag flag, DataComponentGetter components) -
Uses of Component in net.minecraft.world.item.component
Classes in net.minecraft.world.item.component that implement interfaces with type arguments of type ComponentFields in net.minecraft.world.item.component declared as ComponentModifier and TypeFieldDescriptionprivate final ComponentItemAttributeModifiers.Display.OverrideText.componentThe field for thecomponentrecord component.private static final ComponentFireworkExplosion.CUSTOM_COLOR_NAMEprivate static final ComponentResolvableProfile.Dynamic.DYNAMIC_TOOLTIPprivate 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 builder, it.unimi.dsi.fastutil.ints.IntList colors) ItemAttributeModifiers.Display.OverrideText.component()Returns the value of thecomponentrecord component.private static ComponentFireworkExplosion.getColorName(int colorIndex) Methods in net.minecraft.world.item.component that return types with arguments of type ComponentModifier and TypeMethodDescriptionWrittenBookContent.getPages(boolean filterEnabled) 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> contentCodec) private static Optional<Filterable<Component>> WrittenBookContent.resolvePage(CommandSourceStack source, @Nullable Player player, Filterable<Component> page) 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 page, HolderLookup.Provider registries) ItemLore.withLineAdded(Component component) Method parameters in net.minecraft.world.item.component with type arguments of type ComponentModifier and TypeMethodDescriptionvoidFireworkExplosion.addAdditionalTooltip(Consumer<Component> consumer) private static voidFireworks.addExplosionTooltip(Consumer<Component> consumer, FireworkExplosion explosion, int count) private static voidChargedProjectiles.addProjectileTooltip(Item.TooltipContext context, Consumer<Component> consumer, ItemStack projectile, int count) voidBees.addToTooltip(Item.TooltipContext context, Consumer<Component> consumer, TooltipFlag flag, DataComponentGetter components) voidBlockItemStateProperties.addToTooltip(Item.TooltipContext context, Consumer<Component> consumer, TooltipFlag flag, DataComponentGetter components) voidChargedProjectiles.addToTooltip(Item.TooltipContext context, Consumer<Component> consumer, TooltipFlag flag, DataComponentGetter components) voidDyedItemColor.addToTooltip(Item.TooltipContext context, Consumer<Component> consumer, TooltipFlag flag, DataComponentGetter components) voidFireworkExplosion.addToTooltip(Item.TooltipContext context, Consumer<Component> consumer, TooltipFlag flag, DataComponentGetter components) voidFireworks.addToTooltip(Item.TooltipContext context, Consumer<Component> consumer, TooltipFlag flag, DataComponentGetter components) voidInstrumentComponent.addToTooltip(Item.TooltipContext context, Consumer<Component> consumer, TooltipFlag flag, DataComponentGetter components) voidItemContainerContents.addToTooltip(Item.TooltipContext context, Consumer<Component> consumer, TooltipFlag flag, DataComponentGetter components) voidItemLore.addToTooltip(Item.TooltipContext context, Consumer<Component> consumer, TooltipFlag flag, DataComponentGetter components) voidOminousBottleAmplifier.addToTooltip(Item.TooltipContext context, Consumer<Component> consumer, TooltipFlag flag, DataComponentGetter components) voidResolvableProfile.Dynamic.addToTooltip(Item.TooltipContext context, Consumer<Component> consumer, TooltipFlag flag, DataComponentGetter components) voidResolvableProfile.Static.addToTooltip(Item.TooltipContext context, Consumer<Component> consumer, TooltipFlag flag, DataComponentGetter components) voidSeededContainerLoot.addToTooltip(Item.TooltipContext context, Consumer<Component> consumer, TooltipFlag flag, DataComponentGetter components) voidSuspiciousStewEffects.addToTooltip(Item.TooltipContext context, Consumer<Component> consumer, TooltipFlag flag, DataComponentGetter components) voidTooltipProvider.addToTooltip(Item.TooltipContext context, Consumer<Component> consumer, TooltipFlag flag, DataComponentGetter components) voidTypedEntityData.addToTooltip(Item.TooltipContext context, Consumer<Component> consumer, TooltipFlag flag, DataComponentGetter components) voidWrittenBookContent.addToTooltip(Item.TooltipContext context, Consumer<Component> consumer, TooltipFlag flag, DataComponentGetter components) voidItemAttributeModifiers.Display.apply(Consumer<Component> consumer, @Nullable Player player, Holder<Attribute> attribute, AttributeModifier modifier) voidItemAttributeModifiers.Display.Default.apply(Consumer<Component> consumer, @Nullable Player player, Holder<Attribute> attribute, AttributeModifier modifier) voidItemAttributeModifiers.Display.Hidden.apply(Consumer<Component> consumer, @Nullable Player player, Holder<Attribute> attribute, AttributeModifier modifier) voidItemAttributeModifiers.Display.OverrideText.apply(Consumer<Component> consumer, @Nullable Player player, Holder<Attribute> attribute, AttributeModifier modifier) private static com.mojang.serialization.Codec<Filterable<Component>> static com.mojang.serialization.Codec<List<Filterable<Component>>> WrittenBookContent.pagesCodec(com.mojang.serialization.Codec<Component> contentCodec) private static Optional<Filterable<Component>> WrittenBookContent.resolvePage(CommandSourceStack source, @Nullable Player player, Filterable<Component> page) WrittenBookContent.withReplacedPages(List<Filterable<Component>> newPages) Constructors in net.minecraft.world.item.component with parameters of type ComponentModifierConstructorDescriptionOverrideText(Component component) Creates an instance of aOverrideTextrecord class.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> enchantment, int level) Method parameters in net.minecraft.world.item.enchantment with type arguments of type ComponentModifier and TypeMethodDescriptionvoidItemEnchantments.addToTooltip(Item.TooltipContext context, Consumer<Component> consumer, TooltipFlag flag, DataComponentGetter components) 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> material) 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 context, Consumer<Component> consumer, TooltipFlag flag, DataComponentGetter components) Constructors in net.minecraft.world.item.equipment.trim with parameters of type ComponentModifierConstructorDescriptionTrimMaterial(MaterialAssetGroup assets, Component description) Creates an instance of aTrimMaterialrecord class.TrimPattern(Identifier 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 player, Component title, int level) -
Uses of Component in net.minecraft.world.level
Fields in net.minecraft.world.level declared as ComponentModifier and TypeFieldDescriptionprivate @Nullable ComponentBaseCommandBlock.customNameprivate static final ComponentBaseCommandBlock.DEFAULT_NAMEprivate @Nullable ComponentBaseCommandBlock.lastOutputThe previously run command.private final ComponentGameType.longNameprivate final ComponentGameType.shortNameMethods in net.minecraft.world.level that return ComponentModifier and TypeMethodDescription@Nullable ComponentBaseCommandBlock.getCustomName()BaseCommandBlock.getLastOutput()GameType.getLongDisplayName()BaseCommandBlock.getName()GameType.getShortDisplayName()static @Nullable ComponentSpawner.getSpawnEntityDisplayName(@Nullable TypedEntityData<BlockEntityType<?>> data, String nextSpawnDataTagKey) Methods in net.minecraft.world.level with parameters of type ComponentModifier and TypeMethodDescriptionvoidBaseCommandBlock.CloseableCommandBlockSource.sendSystemMessage(Component message) voidBaseCommandBlock.setCustomName(@Nullable Component name) voidBaseCommandBlock.setLastOutput(@Nullable Component lastOutput) Method parameters in net.minecraft.world.level with type arguments of type ComponentModifier and TypeMethodDescriptionstatic voidSpawner.appendHoverText(@Nullable TypedEntityData<BlockEntityType<?>> data, Consumer<Component> consumer, String nextSpawnDataTagKey) -
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 @Nullable ComponentSkullBlockEntity.customNameprivate static final ComponentBannerBlockEntity.DEFAULT_NAMEprivate static final ComponentBarrelBlockEntity.DEFAULT_NAMEprivate static final ComponentBeaconBlockEntity.DEFAULT_NAMEprivate static final ComponentBlastFurnaceBlockEntity.DEFAULT_NAMEprivate static final ComponentBrewingStandBlockEntity.DEFAULT_NAMEprivate static final ComponentChestBlockEntity.DEFAULT_NAMEprivate static final ComponentCrafterBlockEntity.DEFAULT_NAMEprivate static final ComponentDispenserBlockEntity.DEFAULT_NAMEprivate static final ComponentDropperBlockEntity.DEFAULT_NAMEprivate static final ComponentEnchantingTableBlockEntity.DEFAULT_NAMEprivate static final ComponentFurnaceBlockEntity.DEFAULT_NAMEprivate static final ComponentHopperBlockEntity.DEFAULT_NAMEprivate static final ComponentShulkerBoxBlockEntity.DEFAULT_NAMEprivate static final ComponentSmokerBlockEntity.DEFAULT_NAMEprivate final Component[]SignText.filteredMessagesprivate static final ComponentTestInstanceBlockEntity.INVALID_TEST_NAMEprivate final Component[]SignText.messagesprivate @Nullable ComponentBannerBlockEntity.nameprivate @Nullable ComponentBaseContainerBlockEntity.nameprivate @Nullable ComponentBeaconBlockEntity.nameThe custom name for this beacon.private @Nullable ComponentEnchantingTableBlockEntity.nameprivate final ComponentTestInstanceBlockEntity.ErrorMarker.textThe field for thetextrecord component.Fields 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()@Nullable ComponentBannerBlockEntity.getCustomName()@Nullable ComponentBaseContainerBlockEntity.getCustomName()@Nullable ComponentBeaconBlockEntity.getCustomName()@Nullable ComponentEnchantingTableBlockEntity.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 index, boolean shouldFilter) SignText.getMessages(boolean shouldFilter) BannerBlockEntity.getName()BaseContainerBlockEntity.getName()BeaconBlockEntity.getName()EnchantingTableBlockEntity.getName()TestInstanceBlockEntity.getTestName()JigsawBlockEntity.JointType.getTranslatedName()private Componentstatic @Nullable ComponentBlockEntity.parseCustomNameSafe(ValueInput input, String name) TestInstanceBlockEntity.ErrorMarker.text()Returns the value of thetextrecord component.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 TypeMethodDescriptionprivate static SignTextSignText.load(Component[] messages, Optional<Component[]> filteredMessages, DyeColor color, boolean hasGlowingText) private Componentvoidstatic voidBaseContainerBlockEntity.sendChestLockedNotifications(Vec3 pos, Player player, Component displayName) voidBeaconBlockEntity.setCustomName(@Nullable Component name) Sets the custom name for this beacon.voidEnchantingTableBlockEntity.setCustomName(@Nullable Component name) voidTestInstanceBlockEntity.setErrorMessage(Component errorMessage) SignText.setMessage(int index, Component message) SignText.setMessage(int index, Component rawMessage, Component filteredMessage) Method parameters in net.minecraft.world.level.block.entity with type arguments of type ComponentModifier and TypeMethodDescriptionprivate static voidPotDecorations.addSideDetailsToTooltip(Consumer<Component> consumer, Optional<Item> side) voidBannerPatternLayers.addToTooltip(Item.TooltipContext context, Consumer<Component> consumer, TooltipFlag flag, DataComponentGetter components) voidPotDecorations.addToTooltip(Item.TooltipContext context, Consumer<Component> consumer, TooltipFlag flag, DataComponentGetter components) static booleanTestInstanceBlockEntity.export(ServerLevel level, Identifier structureId, Consumer<Component> feedbackOutput) booleanTestInstanceBlockEntity.exportTest(Consumer<Component> feedbackOutput) SignText.getRenderMessages(boolean shouldFilter, Function<Component, FormattedCharSequence> prepare) 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.dimension.end
Fields in net.minecraft.world.level.dimension.end declared as ComponentModifier and TypeFieldDescriptionprivate static final ComponentEnderDragonFight.EVENT_DISPLAY_NAME -
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> type, @Nullable LevelAccessor level, String key, double xPos, double zPos, double yRot, @Nullable Component name) Method parameters in net.minecraft.world.level.saveddata.maps with type arguments of type ComponentModifier and TypeMethodDescriptionvoidMapId.addToTooltip(Item.TooltipContext context, Consumer<Component> consumer, TooltipFlag flag, DataComponentGetter components) 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 @Nullable 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.RECOVERstatic final ComponentLevelSummary.UPGRADE_AND_PLAY_WORLDMethods 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 context, @Nullable LootContext.EntityTarget entityTarget) Create a UnaryOperator that resolves Components based on the given LootContext and EntityTarget.SetLoreFunction.updateLore(@Nullable ItemLore itemLore, LootContext context) Methods in net.minecraft.world.level.storage.loot.functions with parameters of type ComponentModifier and TypeMethodDescriptionstatic LootItemConditionalFunction.Builder<?> SetNameFunction.setName(Component value, SetNameFunction.Target target) static LootItemConditionalFunction.Builder<?> SetNameFunction.setName(Component value, SetNameFunction.Target target, LootContext.EntityTarget resolutionContext) Constructor parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type ComponentModifierConstructorDescriptionprivateSetNameFunction(List<LootItemCondition> predicates, Optional<Component> name, Optional<LootContext.EntityTarget> resolutionContext, SetNameFunction.Target target) -
Uses of Component in net.minecraft.world.scores
Fields in net.minecraft.world.scores declared as ComponentModifier and TypeFieldDescriptionprivate final @Nullable ComponentPlayerScoreEntry.displayThe field for thedisplayrecord component.private @Nullable 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 TypeFieldDescriptionScore.Packed.displayThe field for thedisplayrecord component.PlayerTeam.Packed.displayNameThe field for thedisplayNamerecord component.Methods in net.minecraft.world.scores that return ComponentModifier and TypeMethodDescriptionprivate ComponentObjective.createFormattedDisplayName()@Nullable ComponentPlayerScoreEntry.display()Returns the value of thedisplayrecord component.@Nullable ComponentScore.display()@Nullable ComponentScoreAccess.display()Objective.Packed.displayName()Returns the value of thedisplayNamerecord component.Objective.getDisplayName()PlayerTeam.getDisplayName()default @Nullable 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 TypeMethodDescriptionScore.Packed.display()Returns the value of thedisplayrecord component.PlayerTeam.Packed.displayName()Returns the value of thedisplayNamerecord component.Methods in net.minecraft.world.scores with parameters of type ComponentModifier and TypeMethodDescriptionScoreboard.addObjective(String name, ObjectiveCriteria criteria, Component displayName, ObjectiveCriteria.RenderType renderType, boolean displayAutoUpdate, @Nullable NumberFormat numberFormat) voidvoidstatic MutableComponentPlayerTeam.formatNameForTeam(@Nullable Team team, Component name) PlayerTeam.getFormattedName(Component teamMemberName) abstract MutableComponentTeam.getFormattedName(Component teamMemberName) voidObjective.setDisplayName(Component name) voidPlayerTeam.setDisplayName(Component displayName) Sets the display name for this team.voidPlayerTeam.setPlayerPrefix(@Nullable Component playerPrefix) voidPlayerTeam.setPlayerSuffix(@Nullable Component playerSuffix) Constructors in net.minecraft.world.scores with parameters of type ComponentModifierConstructorDescriptionObjective(Scoreboard scoreboard, String name, ObjectiveCriteria criteria, Component displayName, ObjectiveCriteria.RenderType renderType, boolean displayAutoUpdate, @Nullable NumberFormat numberFormat) 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, @Nullable Component display, @Nullable 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.Packed(int value, boolean locked, Optional<Component> display, Optional<NumberFormat> numberFormat) Creates an instance of aPackedrecord class. -
Uses of Component in net.neoforged.neoforge.client
Methods in net.neoforged.neoforge.client that return ComponentModifier and TypeMethodDescriptionstatic @Nullable ComponentClientHooks.onClientChat(ChatType.Bound boundChatType, Component message, UUID sender) static @Nullable ComponentClientHooks.onClientPlayerChat(ChatType.Bound boundChatType, Component message, PlayerChatMessage playerChatMessage, UUID sender) static @Nullable ComponentClientHooks.onClientSystemChat(Component message, boolean overlay) Methods in net.neoforged.neoforge.client 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, PermissionSet permissions, 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 ComponentModifier and TypeMethodDescriptionGatherEffectScreenTooltipsEvent.getTooltip()Returns a mutable list of tooltip lines.Methods 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(@Nullable ChatType.Bound boundChatType, Component message, UUID sender) DoRender(EntityRenderState renderState, Component content, EntityRenderer<?, ?> entityRenderer, PoseStack poseStack, SubmitNodeCollector submitNodeCollector, CameraRenderState cameraRenderState, 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 voidIGuiGraphicsExtension.drawScrollingString(ActiveTextCollector textCollector, Font font, Component text, int minX, int maxX, int y) Draws a left-aligned string, with a scrolling effect if the string is too long. -
Uses of Component in net.neoforged.neoforge.client.gamerules
Methods in net.neoforged.neoforge.client.gamerules with parameters of type ComponentModifier and TypeMethodDescriptionGameRuleEntryFactory.create(AbstractGameRulesScreen screen, Component description, List<FormattedCharSequence> tooltip, String str, GameRule<T> gameRule) Constructors in net.neoforged.neoforge.client.gamerules with parameters of type ComponentModifierConstructorDescriptionGameRuleEntry(Font font, @Nullable List<FormattedCharSequence> tooltip, Component label) GenericGameRuleEntry(AbstractGameRulesScreen screen, Component label, List<FormattedCharSequence> tooltip, String narration, GameRule<T> gameRule) -
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<Identifier, Component> ModMismatchDisconnectedScreen.mismatchedChannelDataprivate final com.mojang.datafixers.util.Function4<ConfigurationScreen, ModConfig.Type, 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(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<Identifier>, Component> ModMismatchDisconnectedScreen.MismatchInfoPanel.sortAndMergeChannelData(Map<Identifier, 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<Identifier>, Component> ModMismatchDisconnectedScreen.MismatchInfoPanel.sortAndMergeChannelData(Map<Identifier, 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, ModConfig.Type type, ModConfig modConfig, Component title) Constructs a new section screen for the top-most section in aModConfig.ConfigurationSectionScreen(Screen parent, ModConfig.Type type, 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, 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<Identifier, 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(ModContainer mod, Screen parent, com.mojang.datafixers.util.Function4<ConfigurationScreen, ModConfig.Type, ModConfig, Component, Screen> sectionScreen) ModMismatchDisconnectedScreen(Screen parentScreen, Component reason, Map<Identifier, 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
Methods in net.neoforged.neoforge.client.network 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.resources
Methods in net.neoforged.neoforge.client.resources that return types with arguments of type ComponentModifier and TypeMethodDescriptionNeoForgeSplashHooks.loadSplashes(ResourceManager resourceManager) -
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.data
Fields in net.neoforged.neoforge.common.data with type parameters of type ComponentMethods in net.neoforged.neoforge.common.data with parameters of type Component -
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, TooltipDisplay display, Consumer<Component> adder, TooltipFlag flag) default <T extends TooltipProvider>
voidIDataComponentHolderExtension.addToTooltip(DataComponentType<T> type, Item.TooltipContext context, TooltipDisplay display, Consumer<Component> adder, TooltipFlag flag) default voidIFluidExtension.appendHoverText(FluidStack fluidStack, Item.TooltipContext context, TooltipDisplay display, Consumer<Component> builder, TooltipFlag tooltipFlag) Adds additional tooltip components for the givenFluidStack. -
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.FakePlayerNetHandler.sendDisguisedChatMessage(Component content, ChatType.Bound boundChatType) voidFakePlayer.sendSystemMessage(Component chatComponent, boolean actionBar) 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(Identifier 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 FluidTooltipEventEventHooks.onFluidTooltip(FluidStack fluidStack, @Nullable Player entityPlayer, List<Component> list, TooltipFlag flags, Item.TooltipContext context) static 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 ComponentModifier and TypeMethodDescriptionFluidTooltipEvent.getToolTip()TheFluidStacktooltip.ItemTooltipEvent.getToolTip()TheItemStacktooltip.Methods 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 ComponentModifierConstructorDescriptionFluidTooltipEvent(FluidStack fluidStack, @Nullable Player player, List<Component> list, TooltipFlag flags, Item.TooltipContext context) This event is fired inFluidStack.getTooltipLines(TooltipContext, Player, TooltipFlag), which in turn is called from its respective modded GUI.ItemTooltipEvent(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.Methods in net.neoforged.neoforge.fluids that return types with arguments of type ComponentModifier and TypeMethodDescriptionFluidStack.getTooltipLines(Item.TooltipContext context, @Nullable Player player, TooltipFlag flag) Builds the tooltip lines for this fluid stack, intended for use by mods rendering fluids in GUIs. -
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<Identifier, 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<Identifier, 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<Identifier, 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<Identifier, 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. -
Uses of Component in net.neoforged.neoforge.transfer.fluid
Methods in net.neoforged.neoforge.transfer.fluid that return Component -
Uses of Component in net.neoforged.neoforge.transfer.item
Methods in net.neoforged.neoforge.transfer.item that return ComponentModifier and TypeMethodDescriptionItemResource.getHoverName()Returns the hover name of theItemStack.
ServerStatus(Component, Optional, Optional, Optional, boolean, boolean)