Uses of Interface
net.minecraft.network.chat.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
Modifier and TypeFieldDescriptionprivate final LazyLoadedValue
<Component> InputConstants.Key.displayName
(package private) final BiFunction
<Integer, String, Component> InputConstants.Type.displayTextSupplier
-
Uses of Component in com.mojang.realmsclient
Modifier and TypeFieldDescriptionprivate static final Component
RealmsMainScreen.CONFIGURE_SERVER_TEXT
private static final Component
RealmsMainScreen.LEAVE_SERVER_TEXT
private static final Component
RealmsMainScreen.LOADING_TEXT
private static final Component
RealmsMainScreen.NO_PENDING_INVITES
private static final Component
RealmsMainScreen.NO_REALMS_TEXT
private static final Component
RealmsMainScreen.PENDING_INVITES
private static final Component
RealmsMainScreen.PLAY_TEXT
(package private) static final Component
RealmsMainScreen.SERVER_CLOSED_TOOLTIP
(package private) static final Component
RealmsMainScreen.SERVER_EXPIRED_TOOLTIP
(package private) static final Component
RealmsMainScreen.SERVER_EXPIRES_IN_DAY_TOOLTIP
(package private) static final Component
RealmsMainScreen.SERVER_EXPIRES_SOON_TOOLTIP
(package private) static final Component
RealmsMainScreen.SERVER_OPEN_TOOLTIP
(package private) static final Component
RealmsMainScreen.SERVER_UNITIALIZED_TEXT
private static final Component
RealmsMainScreen.AvailableSnapshotEntry.START_SNAPSHOT_REALM
(package private) static final Component
RealmsMainScreen.SUBSCRIPTION_EXPIRED_TEXT
private static final Component
RealmsMainScreen.SUBSCRIPTION_RENEW_TEXT
private final Component
RealmsMainScreen.NotificationMessageEntry.text
private static final Component
RealmsMainScreen.TITLE
(package private) static final Component
RealmsMainScreen.TRIAL_EXPIRED_TEXT
(package private) static final Component
RealmsMainScreen.UNITIALIZED_WORLD_NARRATION
Modifier and TypeMethodDescriptionRealmsMainScreen.AvailableSnapshotEntry.getNarration()
RealmsMainScreen.ButtonEntry.getNarration()
RealmsMainScreen.EmptyEntry.getNarration()
RealmsMainScreen.NotificationMessageEntry.getNarration()
RealmsMainScreen.ParentEntry.getNarration()
RealmsMainScreen.ServerEntry.getNarration()
RealmsMainScreen.getNarrationMessage()
static Component
RealmsMainScreen.getVersionComponent
(String p_307541_, boolean p_307256_) static Component
RealmsMainScreen.getVersionComponent
(String p_307429_, int p_307536_) Modifier and TypeMethodDescriptionprivate static void
RealmsMainScreen.confirmToPlay
(RealmsServer p_305792_, Screen p_306263_, Component p_305782_, Component p_306311_, Component p_306238_) protected int
RealmsMainScreen.Entry.versionTextX
(int p_306042_, int p_306287_, Component p_305839_) Modifier and TypeMethodDescriptionprivate void
RealmsMainScreen.Entry.drawRealmStatus
(GuiGraphics p_306047_, int p_306257_, int p_306190_, int p_306269_, int p_306067_, ResourceLocation p_306301_, Supplier<Component> p_306129_) ModifierConstructorDescriptionprotected
CrossButton
(Button.OnPress p_275420_, Component p_275193_) NotificationButton
(Component p_296209_, ResourceLocation p_295363_, Button.OnPress p_294154_) NotificationMessageEntry
(Component p_275215_, int p_302495_, RealmsNotification p_275494_) -
Uses of Component in com.mojang.realmsclient.client
Modifier and TypeFieldDescriptionstatic final Component
RealmsError.NO_MESSAGE
private final Component
RealmsError.CustomError.payload
The field for thepayload
record component.static final Component
RealmsError.CustomError.RETRY_MESSAGE
Modifier and TypeMethodDescriptionRealmsError.AuthenticationError.errorMessage()
RealmsError.CustomError.errorMessage()
RealmsError.errorMessage()
RealmsError.ErrorWithJsonPayload.errorMessage()
RealmsError.ErrorWithRawPayload.errorMessage()
RealmsError.CustomError.payload()
Returns the value of thepayload
record component.ModifierConstructorDescriptionCustomError
(int httpCode, Component payload) Creates an instance of aCustomError
record class. -
Uses of Component in com.mojang.realmsclient.dto
Modifier and TypeFieldDescription(package private) static final Component
RealmsNotification.BUTTON_TEXT_FALLBACK
Modifier and TypeMethodDescriptionRealmsText.createComponent()
RealmsText.createComponent
(Component p_275681_) RealmsNotification.VisitUrl.getMessage()
-
Uses of Component in com.mojang.realmsclient.gui
Modifier and TypeFieldDescription(package private) static final Component
RealmsWorldSlotButton.MINIGAME
private static final Component
RealmsWorldSlotButton.SLOT_ACTIVE_TOOLTIP
private static final Component
RealmsWorldSlotButton.SWITCH_TO_MINIGAME_SLOT_TOOLTIP
private static final Component
RealmsWorldSlotButton.SWITCH_TO_WORLD_SLOT_TOOLTIP
-
Uses of Component in com.mojang.realmsclient.gui.screens
Modifier and TypeFieldDescription(package private) static final Component
RealmsPendingInvitesScreen.ACCEPT_INVITE
private static final Component
RealmsResetWorldScreen.ADVENTURES_TITLE
private final Component
RealmsResetNormalWorldScreen.buttonTitle
private static final Component
RealmsPopupScreen.CLOSE_TEXT
private static final Component
RealmsSelectFileToUploadScreen.COMMANDS_TEXT
private static final Component
RealmsResetWorldScreen.CREATE_REALM_SUBTITLE
private static final Component
RealmsCreateRealmScreen.CREATE_REALM_TEXT
private static final Component
RealmsResetWorldScreen.CREATE_REALM_TITLE
static final Component
RealmsResetWorldScreen.CREATE_WORLD_RESET_TASK_TITLE
private static final Component
RealmsResetWorldScreen.CREATE_WORLD_SUBTITLE
private static final Component
RealmsResetWorldScreen.CREATE_WORLD_TITLE
private static final Component
RealmsSubscriptionInfoScreen.DAYS_LEFT_LABEL
private Component
RealmsSubscriptionInfoScreen.daysLeft
private static final Component
RealmsBackupInfoScreen.BackupInfoListEntry.DESCRIPTION
private static final Component
RealmsCreateRealmScreen.DESCRIPTION_LABEL
private static final Component
RealmsSettingsScreen.DESCRIPTION_LABEL
private final Component
RealmsGenericErrorScreen.ErrorMessage.detail
The field for thedetail
record component.private final Component
RealmsDownloadLatestWorldScreen.downloadTitle
private static final Component
RealmsBackupInfoScreen.BackupInfoListEntry.ENABLED_PACK
private Component
RealmsDownloadLatestWorldScreen.errorMessage
private Component[]
RealmsUploadScreen.errorMessage
private static final Component
RealmsResetWorldScreen.EXPERIENCES_TITLE
private static final Component
RealmsBackupInfoScreen.BackupInfoListEntry.GAME_DIFFICULTY
private static final Component
RealmsBackupInfoScreen.BackupInfoListEntry.GAME_MODE
private static final Component
RealmsBackupInfoScreen.BackupInfoListEntry.GAME_SERVER_VERSION
private static final Component
RealmsSelectFileToUploadScreen.HARDCORE_TEXT
(package private) static final Component
RealmsBackupScreen.HAS_CHANGES_TOOLTIP
private final Component
RealmsSelectFileToUploadScreen.Entry.id
private static final Component
RealmsClientOutdatedScreen.INCOMPATIBLE_CLIENT_VERSION
private static final Component
RealmsClientOutdatedScreen.INCOMPATIBLE_TITLE
private final Component
RealmsSelectFileToUploadScreen.Entry.info
(package private) static final Component
RealmsLongConfirmationScreen.INFO
private static final Component
RealmsResetWorldScreen.INSPIRATION_TITLE
private static final Component
RealmsInviteScreen.INVITING_PLAYER_TEXT
private final Component
RealmsLongConfirmationScreen.line2
private final Component
RealmsLongConfirmationScreen.line3
private final Component[]
RealmsBrokenWorldScreen.message
private Component
RealmsInviteScreen.message
private static final Component
RealmsParentalConsentScreen.MESSAGE
private static final Component
RealmsBackupInfoScreen.BackupInfoListEntry.NAME
private static final Component
RealmsCreateRealmScreen.NAME_LABEL
private static final Component
RealmsInviteScreen.NAME_LABEL
private static final Component
RealmsSettingsScreen.NAME_LABEL
private static final Component
RealmsSlotOptionsScreen.NAME_LABEL
private static final Component
RealmsBackupScreen.NO_BACKUPS_LABEL
private static final Component
RealmsPendingInvitesScreen.NO_PENDING_INVITES_TEXT
private static final Component
RealmsInviteScreen.NO_SUCH_PLAYER_ERROR_TEXT
private static final Component
RealmsPlayerScreen.Entry.NORMAL_USER_TEXT
private static final Component
RealmsPlayerScreen.Entry.OP_TEXT
private static final Component
RealmsClientOutdatedScreen.OUTDATED_STABLE_VERSION
private static final Component
RealmsPopupScreen.POPUP_TEXT
private static final Component
RealmsSelectWorldTemplateScreen.PUBLISHER_BUTTON_NAME
private static final Component
RealmsSelectWorldTemplateScreen.Entry.PUBLISHER_LINK_TOOLTIP
(package private) static final Component
RealmsPlayerScreen.QUESTION_TITLE
private static final Component
RealmsSubscriptionInfoScreen.RECURRING_INFO
(package private) static final Component
RealmsPendingInvitesScreen.REJECT_INVITE
private static final Component
RealmsPlayerScreen.Entry.REMOVE_TEXT
private static final Component
RealmsResetWorldScreen.RESET_WORLD_RESET_TASK_TITLE
private static final Component
RealmsResetWorldScreen.RESET_WORLD_SUBTITLE
private static final Component
RealmsResetWorldScreen.RESET_WORLD_TITLE
private final Component
RealmsResetWorldScreen.resetTaskTitle
(package private) static final Component
RealmsBackupScreen.RESTORE_TOOLTIP
private static final Component
RealmsBackupInfoScreen.BackupInfoListEntry.SEED
private static final Component
RealmsResetNormalWorldScreen.SEED_LABEL
private static final Component
RealmsSelectWorldTemplateScreen.SELECT_BUTTON_NAME
private static final Component
RealmsConfigureWorldScreen.SERVER_CLOSED_TOOLTIP
private static final Component
RealmsConfigureWorldScreen.SERVER_EXPIRED_TOOLTIP
private static final Component
RealmsConfigureWorldScreen.SERVER_EXPIRING_IN_DAY_TOOLTIP
private static final Component
RealmsConfigureWorldScreen.SERVER_EXPIRING_SOON_TOOLTIP
private static final Component
RealmsConfigureWorldScreen.SERVER_OPEN_TOOLTIP
(package private) static final Component
RealmsSlotOptionsScreen.SPAWN_PROTECTION_TEXT
private static final Component
RealmsSlotOptionsScreen.SPAWN_WARNING_TITLE
private Component
RealmsSubscriptionInfoScreen.startDate
private Component
RealmsDownloadLatestWorldScreen.status
private Component
RealmsUploadScreen.status
private static final Component
RealmsSubscriptionInfoScreen.SUBSCRIPTION_EXPIRED_TEXT
private static final Component
RealmsSubscriptionInfoScreen.SUBSCRIPTION_LESS_THAN_A_DAY_TEXT
private static final Component
RealmsSubscriptionInfoScreen.SUBSCRIPTION_START_LABEL
private static final Component
RealmsSubscriptionInfoScreen.SUBSCRIPTION_TITLE
private final Component
RealmsResetWorldScreen.subtitle
private static final Component
RealmsBackupInfoScreen.BackupInfoListEntry.TEMPLATE_NAME
private static final Component
RealmsTermsScreen.TERMS_LINK_TEXT
private static final Component
RealmsTermsScreen.TERMS_STATIC_TEXT
final Component
RealmsLongConfirmationScreen.Type.text
private static final Component
RealmsSubscriptionInfoScreen.TIME_LEFT_LABEL
private final Component
RealmsGenericErrorScreen.ErrorMessage.title
The field for thetitle
record component.private Component
RealmsLongRunningMcoTaskScreen.title
private static final Component
RealmsBackupInfoScreen.TITLE
private static final Component
RealmsBackupScreen.TITLE
private static final Component
RealmsConfigureWorldScreen.TITLE
private static final Component
RealmsInviteScreen.TITLE
private static final Component
RealmsPlayerScreen.TITLE
static final Component
RealmsResetNormalWorldScreen.TITLE
static final Component
RealmsSelectFileToUploadScreen.TITLE
private static final Component
RealmsTermsScreen.TITLE
private final Component
RealmsConfirmScreen.title1
private final Component
RealmsConfirmScreen.title2
private Component
RealmsConfigureWorldScreen.toolTip
(package private) Component
RealmsPendingInvitesScreen.toolTip
private static final Component
RealmsSelectWorldTemplateScreen.TRAILER_BUTTON_NAME
private static final Component
RealmsSelectWorldTemplateScreen.Entry.TRAILER_LINK_TOOLTIP
private static final Component
RealmsSelectFileToUploadScreen.UNABLE_TO_LOAD_WORLD
private static final Component
RealmsBackupInfoScreen.BackupInfoListEntry.UNDEFINED
private static final Component
RealmsBackupInfoScreen.UNKNOWN
private static final Component
RealmsSubscriptionInfoScreen.UNKNOWN
private static final Component
RealmsClientOutdatedScreen.UNSUPPORTED_SNAPSHOT_VERSION
private static final Component
RealmsBackupInfoScreen.BackupInfoListEntry.UPLOADED
private static final Component
RealmsUploadScreen.VERIFYING_TEXT
private Component[]
RealmsSelectWorldTemplateScreen.warning
(package private) static final Component
RealmsLongConfirmationScreen.WARNING
private static final Component
RealmsConfigureWorldScreen.WORLD_LIST_TITLE
private static final Component
RealmsResetWorldScreen.WORLD_TEMPLATES_TITLE
(package private) static final Component
RealmsSelectFileToUploadScreen.WORLD_TEXT
private static final Component
RealmsBackupInfoScreen.BackupInfoListEntry.WORLD_TYPE
Modifier and TypeMethodDescription(package private) Component
RealmsBackupInfoScreen.checkForSpecificMetadata
(String p_88068_, String p_88069_) private Component
RealmsDownloadLatestWorldScreen.createProgressNarrationMessage()
private Component
RealmsUploadScreen.createProgressNarrationMessage()
private Component
RealmsSubscriptionInfoScreen.daysLeftPresentation
(int p_89984_) RealmsGenericErrorScreen.ErrorMessage.detail()
Returns the value of thedetail
record component.private Component
RealmsBackupInfoScreen.gameDifficultyMetadata
(String p_88074_) private Component
RealmsBackupInfoScreen.gameModeMetadata
(String p_88076_) (package private) static Component
RealmsSelectFileToUploadScreen.gameModeName
(LevelSummary p_89535_) private Component
RealmsClientOutdatedScreen.getErrorMessage()
RealmsBackupInfoScreen.BackupInfoListEntry.getNarration()
RealmsPendingInvitesScreen.Entry.getNarration()
RealmsSelectFileToUploadScreen.Entry.getNarration()
RealmsSelectWorldTemplateScreen.Entry.getNarration()
RealmsBrokenWorldScreen.getNarrationMessage()
RealmsGenericErrorScreen.getNarrationMessage()
RealmsLongConfirmationScreen.getNarrationMessage()
RealmsParentalConsentScreen.getNarrationMessage()
RealmsResetWorldScreen.getNarrationMessage()
RealmsSelectFileToUploadScreen.getNarrationMessage()
RealmsSelectWorldTemplateScreen.getNarrationMessage()
RealmsSlotOptionsScreen.getNarrationMessage()
RealmsSubscriptionInfoScreen.getNarrationMessage()
RealmsTermsScreen.getNarrationMessage()
private static Component
RealmsSubscriptionInfoScreen.localPresentation
(long p_182539_) RealmsGenericErrorScreen.ErrorMessage.title()
Returns the value of thetitle
record component.private Component
RealmsBackupInfoScreen.BackupInfoListEntry.translateKey
(String p_287652_) Modifier and TypeMethodDescriptionprivate CycleButton.OnValueChange
<Boolean> RealmsSlotOptionsScreen.confirmDangerousOption
(Component p_231324_, Consumer<Boolean> p_231325_) private static RealmsGenericErrorScreen.ErrorMessage
RealmsGenericErrorScreen.errorMessage
(Component p_289003_) private static RealmsGenericErrorScreen.ErrorMessage
RealmsGenericErrorScreen.errorMessage
(Component p_289010_, Component p_289015_) private void
RealmsUploadScreen.setErrorMessage
(Component... p_90113_) void
void
RealmsSelectWorldTemplateScreen.setWarning
(Component... p_89683_) private void
RealmsInviteScreen.showMessage
(Component p_289685_) Modifier and TypeMethodDescriptionprivate void
RealmsConfigureWorldScreen.drawRealmStatus
(GuiGraphics p_299311_, int p_298280_, int p_298913_, int p_299030_, int p_299045_, ResourceLocation p_299141_, Supplier<Component> p_298702_) ModifierConstructorDescription(package private)
ErrorMessage
(Component title, Component detail) Creates an instance of aErrorMessage
record class.(package private)
FrameButton
(Font p_335556_, Component p_89441_, ResourceLocation p_89442_, Button.OnPress p_89443_) RealmsConfirmScreen
(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_88550_, Component p_88551_, Component p_88552_) RealmsGenericErrorScreen
(Component p_88672_, Screen p_88673_) RealmsGenericErrorScreen
(Component p_88675_, Component p_88676_, Screen p_88677_) RealmsLongConfirmationScreen
(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_88731_, RealmsLongConfirmationScreen.Type p_88732_, Component p_88733_, Component p_88734_, boolean p_88735_) RealmsPendingInvitesScreen
(Screen p_279260_, Component p_279122_) RealmsResetNormalWorldScreen
(Consumer<WorldGenerationInfo> p_167438_, Component p_167439_) RealmsResetWorldScreen
(Screen p_306282_, RealmsServer p_306292_, int p_305906_, Component p_306014_, Component p_306028_, int p_306044_, Component p_306316_, RealmCreationTask p_320691_, Runnable p_306029_) private
RealmsResetWorldScreen
(Screen p_89329_, RealmsServer p_89330_, int p_300857_, Component p_301121_, Component p_300859_, int p_300978_, Component p_300942_, Runnable p_89331_) RealmsSelectWorldTemplateScreen
(Component p_167481_, Consumer<WorldTemplate> p_167482_, RealmsServer.WorldType p_167483_) RealmsSelectWorldTemplateScreen
(Component p_167485_, Consumer<WorldTemplate> p_167486_, RealmsServer.WorldType p_167487_, WorldTemplatePaginatedList p_167488_) private
-
Uses of Component in com.mojang.realmsclient.util
Modifier and TypeFieldDescriptionprivate final Component
LevelType.name
private static final Component
RealmsUtil.RIGHT_NOW
Modifier and TypeMethodDescriptionstatic Component
RealmsUtil.convertToAgePresentation
(long p_287679_) static Component
RealmsUtil.convertToAgePresentationFromInstant
(Date p_287698_) LevelType.getName()
-
Uses of Component in com.mojang.realmsclient.util.task
Modifier and TypeFieldDescriptionprivate static final Component
GetServerDetailsTask.APPLYING_PACK_TEXT
private final Component
ResettingWorldTask.title
private static final Component
CloseServerTask.TITLE
private static final Component
ConnectTask.TITLE
private static final Component
CreateSnapshotRealmTask.TITLE
private static final Component
DownloadTask.TITLE
private static final Component
GetServerDetailsTask.TITLE
private static final Component
OpenServerTask.TITLE
private static final Component
RealmCreationTask.TITLE
private static final Component
RestoreTask.TITLE
private static final Component
SwitchMinigameTask.TITLE
private static final Component
SwitchSlotTask.TITLE
Modifier and TypeMethodDescriptionCloseServerTask.getTitle()
ConnectTask.getTitle()
CreateSnapshotRealmTask.getTitle()
DownloadTask.getTitle()
GetServerDetailsTask.getTitle()
abstract Component
LongRunningTask.getTitle()
OpenServerTask.getTitle()
RealmCreationTask.getTitle()
ResettingWorldTask.getTitle()
RestoreTask.getTitle()
SwitchMinigameTask.getTitle()
SwitchSlotTask.getTitle()
ModifierConstructorDescriptionResettingGeneratedWorldTask
(WorldGenerationInfo p_167659_, long p_167660_, Component p_167661_, Runnable p_167662_) ResettingTemplateWorldTask
(WorldTemplate p_167668_, long p_167669_, Component p_167670_, Runnable p_167671_) ResettingWorldTask
(long p_167676_, Component p_167677_, Runnable p_167678_) -
Uses of Component in net.minecraft.advancements
Modifier and TypeFieldDescriptionprivate final Component
DisplayInfo.description
private final Component
AdvancementType.displayName
private final Component
DisplayInfo.title
Modifier and TypeMethodDescriptionprivate static Component
Advancement.decorateName
(DisplayInfo p_301019_) DisplayInfo.getDescription()
AdvancementType.getDisplayName()
AdvancementProgress.getProgressText()
DisplayInfo.getTitle()
static Component
Advancement.name
(AdvancementHolder p_300875_) Modifier and TypeMethodDescriptionAdvancement.name()
Returns the value of thename
record component.Modifier and TypeMethodDescriptionAdvancement.Builder.display
(ItemStack p_312724_, Component p_138373_, Component p_138374_, ResourceLocation p_138375_, AdvancementType p_312711_, boolean p_138377_, boolean p_138378_, boolean p_138379_) Advancement.Builder.display
(ItemLike p_311787_, Component p_138364_, Component p_138365_, ResourceLocation p_138366_, AdvancementType p_312847_, boolean p_138368_, boolean p_138369_, boolean p_138370_) ModifierConstructorDescriptionDisplayInfo
(ItemStack p_14969_, Component p_14970_, Component p_14971_, Optional<ResourceLocation> p_312452_, AdvancementType p_312497_, boolean p_14974_, boolean p_14975_, boolean p_14976_) -
Uses of Component in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionprivate final Component
ItemWrittenBookPredicate.PagePredicate.contents
The field for thecontents
record component.Modifier and TypeFieldDescriptionprivate final Optional
<CollectionPredicate<Filterable<Component>, ItemWrittenBookPredicate.PagePredicate>> ItemWrittenBookPredicate.pages
The field for thepages
record component.Modifier and TypeMethodDescriptionItemWrittenBookPredicate.PagePredicate.contents()
Returns the value of thecontents
record component.Modifier and TypeMethodDescriptionItemWrittenBookPredicate.pages()
Returns the value of thepages
record component.Modifier and TypeMethodDescriptionboolean
ItemWrittenBookPredicate.PagePredicate.test
(Filterable<Component> p_340820_) ModifierConstructorDescriptionPagePredicate
(Component contents) Creates an instance of aPagePredicate
record class.ModifierConstructorDescriptionItemWrittenBookPredicate
(Optional<CollectionPredicate<Filterable<Component>, ItemWrittenBookPredicate.PagePredicate>> pages, Optional<String> author, Optional<String> title, MinMaxBounds.Ints generation, Optional<Boolean> resolved) Creates an instance of aItemWrittenBookPredicate
record class. -
Uses of Component in net.minecraft.client
Modifier and TypeFieldDescriptionprivate static final Component
private static final Component
private static final Component
private static final Component
private static final Component
Options.ACCESSIBILITY_TOOLTIP_FOV_EFFECT
private static final Component
private static final Component
private static final Component
private static final Component
private static final Component
private static final Component
private static final Component
Options.ALLOW_SERVER_LISTING_TOOLTIP
(package private) final Component
OptionInstance.caption
private static final Component
GuiMessageTag.CHAT_ERROR_TEXT
private static final Component
GuiMessageTag.CHAT_MODIFIED_TEXT
private static final Component
GuiMessageTag.CHAT_NOT_SECURE_TEXT
private static final Component
Options.CHAT_TOOLTIP_HIDE_MATCHED_NAMES
private static final Component
Options.CHAT_TOOLTIP_ONLY_SHOW_SECURE
private final Component
GuiMessage.content
The field for thecontent
record component.private static final Component
Options.DIRECTIONAL_AUDIO_TOOLTIP_OFF
private static final Component
Options.DIRECTIONAL_AUDIO_TOOLTIP_ON
private static final Component
Options.GRAPHICS_TOOLTIP_FABULOUS
private static final Component
Options.GRAPHICS_TOOLTIP_FANCY
private static final Component
Options.GRAPHICS_TOOLTIP_FAST
(package private) static final Component
Minecraft.ChatStatus.INFO_DISABLED_BY_PROFILE
private static final Component
private final Component
Minecraft.ChatStatus.message
private static final Component
Options.MOVEMENT_HOLD
private static final Component
Options.MOVEMENT_TOGGLE
private final Component
NarratorStatus.name
static final Component
GameNarrator.NO_TITLE
private static final Component
Options.PRIORITIZE_CHUNK_TOOLTIP_NEARBY
private static final Component
Options.PRIORITIZE_CHUNK_TOOLTIP_NONE
private static final Component
private static final Component
Minecraft.SOCIAL_INTERACTIONS_NOT_AVAILABLE
private static final Component
GuiMessageTag.SYSTEM_TEXT
private static final Component
GuiMessageTag.SYSTEM_TEXT_SINGLE_PLAYER
private static final Component
Options.TELEMETRY_TOOLTIP
private final Component
GuiMessageTag.text
The field for thetext
record component.Modifier and TypeMethodDescriptionGuiMessage.content()
Returns the value of thecontent
record component.static Component
Options.genericValueLabel
(Component p_231901_, int p_231902_) static Component
Options.genericValueLabel
(Component p_231922_, Component p_231923_) Minecraft.ChatStatus.getMessage()
NarratorStatus.getName()
KeyMapping.getTranslatedKeyMessage()
private Component
Minecraft.grabHugeScreenshot
(File p_167904_, int p_167905_, int p_167906_, int p_167907_, int p_167908_) Minecraft.grabPanoramixScreenshot
(File p_167900_, int p_167901_, int p_167902_) private static Component
Options.percentValueLabel
(Component p_231898_, double p_231899_) private static Component
Options.percentValueOrOffLabel
(Component p_341700_, double p_341691_) private static Component
Options.pixelValueLabel
(Component p_231953_, int p_231954_) GuiMessageTag.text()
Returns the value of thetext
record component.Modifier and TypeMethodDescriptionprivate void
Minecraft.addResourcePackLoadFailToast
(Component p_273566_) static <T> OptionInstance.TooltipSupplier
<T> OptionInstance.cachedConstantTooltip
(Component p_231536_) void
Minecraft.clearResourcePacksOnError
(Throwable p_91242_, Component p_91243_, Minecraft.GameLoadCookie p_299892_) private void
KeyboardHandler.debugComponent
(ChatFormatting p_167825_, Component p_167826_) private void
KeyboardHandler.debugFeedbackComponent
(Component p_167823_) static Component
Options.genericValueLabel
(Component p_231901_, int p_231902_) static Component
Options.genericValueLabel
(Component p_231922_, Component p_231923_) private static Component
Options.percentValueLabel
(Component p_231898_, double p_231899_) private static Component
Options.percentValueOrOffLabel
(Component p_341700_, double p_341691_) private static Component
Options.pixelValueLabel
(Component p_231953_, int p_231954_) void
void
void
Modifier and TypeMethodDescriptionprivate static void
Screenshot._grab
(File p_92306_, String p_92307_, RenderTarget p_92310_, Consumer<Component> p_92311_) boolean
Minecraft.debugClientMetricsStart
(Consumer<Component> p_167947_) static void
Screenshot.grab
(File p_92290_, RenderTarget p_92293_, Consumer<Component> p_92294_) static void
Screenshot.grab
(File p_92296_, String p_92297_, RenderTarget p_92300_, Consumer<Component> p_92301_) ModifierConstructorDescriptionprivate
ChatStatus
(Component p_168033_) GuiMessage
(int addedTime, Component content, MessageSignature signature, GuiMessageTag tag) Creates an instance of aGuiMessage
record class.GuiMessageTag
(int indicatorColor, GuiMessageTag.Icon icon, Component text, String logTag) Creates an instance of aGuiMessageTag
record class. -
Uses of Component in net.minecraft.client.gui
Modifier and TypeFieldDescriptionprotected static final Component
protected Component
protected static final Component
Gui.SAVING_TEXT
protected Component
Gui.subtitle
protected Component
Gui.title
Modifier and TypeMethodDescriptionvoid
GuiGraphics.drawCenteredString
(Font p_282901_, Component p_282456_, int p_283083_, int p_282276_, int p_281457_) int
Font.drawInBatch
(Component p_273032_, float p_273249_, float p_273594_, int p_273714_, boolean p_273050_, org.joml.Matrix4f p_272974_, MultiBufferSource p_273695_, Font.DisplayMode p_272782_, int p_272603_, int p_273632_) int
GuiGraphics.drawString
(Font p_281653_, Component p_283140_, int p_283102_, int p_282347_, int p_281429_) int
GuiGraphics.drawString
(Font p_281547_, Component p_282131_, int p_282857_, int p_281250_, int p_282195_, boolean p_282791_) void
GuiGraphics.renderTooltip
(Font p_282269_, Component p_282572_, int p_282044_, int p_282545_) void
Gui.setNowPlaying
(Component p_93056_) void
Gui.setOverlayMessage
(Component p_93064_, boolean p_93065_) void
Gui.setSubtitle
(Component p_168712_) void
Modifier and TypeMethodDescriptionvoid
GuiGraphics.renderComponentTooltip
(Font p_282739_, List<Component> p_281832_, int p_282191_, int p_282446_) void
GuiGraphics.renderTooltip
(Font p_283128_, List<Component> p_282716_, Optional<TooltipComponent> p_281682_, int p_283678_, int p_281696_) void
GuiGraphics.renderTooltip
(Font font, List<Component> textComponents, Optional<TooltipComponent> tooltipComponent, ItemStack stack, int mouseX, int mouseY) -
Uses of Component in net.minecraft.client.gui.components
Modifier and TypeFieldDescriptionprivate static final Component
ChatComponent.DELETED_CHAT_MESSAGE
private Component
PlayerTabOverlay.footer
private final Component
PlayerTabOverlay.ScoreDisplayEntry.formattedScore
The field for theformattedScore
record component.private Component
PlayerTabOverlay.header
private Component
EditBox.hint
private Component
AbstractWidget.message
private final Component
Button.Builder.message
private final Component
Checkbox.Builder.message
private final Component
MultiLineTextWidget.CacheKey.message
The field for themessage
record component.private final Component
PlainTextButton.message
private Component
PopupScreen.Builder.message
private final Component
PopupScreen.ButtonOption.message
The field for themessage
record component.private final Component
PopupScreen.message
private final Component
SpriteIconButton.Builder.message
private final Component
Tooltip.message
private final Component
CycleButton.name
private final Component
PlayerTabOverlay.ScoreDisplayEntry.name
The field for thename
record component.private final Component
Tooltip.narration
private final Component
MultiLineEditBox.placeholder
private final Component
SubtitleOverlay.Subtitle.text
private final Component
PopupScreen.Builder.title
private final Component
PlainTextButton.underlinedMessage
private static final Component
ObjectSelectionList.USAGE_NARRATION
Modifier and TypeFieldDescriptionCycleButton.Builder.valueStringifier
CycleButton.valueStringifier
Modifier and TypeMethodDescriptionprivate Component
CycleButton.createLabelForValue
(T p_168911_) private Component
PlayerTabOverlay.decorateName
(PlayerInfo p_94552_, MutableComponent p_94553_) PlayerTabOverlay.ScoreDisplayEntry.formattedScore()
Returns the value of theformattedScore
record component.AbstractWidget.getMessage()
PlayerTabOverlay.getNameForDisplay
(PlayerInfo p_94550_) abstract Component
ObjectSelectionList.Entry.getNarration()
CommandSuggestions.getNarrationMessage()
(package private) Component
CommandSuggestions.SuggestionsList.getNarrationMessage()
PopupScreen.getNarrationMessage()
SubtitleOverlay.Subtitle.getText()
CommandSuggestions.getUsageNarration()
MultiLineTextWidget.CacheKey.message()
Returns the value of themessage
record component.PopupScreen.ButtonOption.message()
Returns the value of themessage
record component.PlayerTabOverlay.ScoreDisplayEntry.name()
Returns the value of thename
record component.Modifier and TypeMethodDescriptionPopupScreen.Builder.addButton
(Component p_304733_, Consumer<PopupScreen> p_304537_) void
ChatComponent.addMessage
(Component p_93786_) void
ChatComponent.addMessage
(Component p_241484_, MessageSignature p_241323_, GuiMessageTag p_241297_) static CycleButton.Builder
<Boolean> CycleButton.booleanBuilder
(Component p_168897_, Component p_168898_) static Button.Builder
Button.builder
(Component p_254439_, Button.OnPress p_254567_) static Checkbox.Builder
static SpriteIconButton.Builder
SpriteIconButton.builder
(Component p_294639_, Button.OnPress p_295155_, boolean p_295622_) private FormattedCharSequence
CycleButton.Builder.create
(int p_168931_, int p_168932_, int p_168933_, int p_168934_, Component p_168935_) CycleButton.Builder.create
(int p_168937_, int p_168938_, int p_168939_, int p_168940_, Component p_168941_, CycleButton.OnValueChange<T> p_168942_) CycleButton.Builder.create
(Component p_332061_, CycleButton.OnValueChange<T> p_332055_) static MultiLineLabel
static Tooltip
static Tooltip
static void
AbstractWidget.renderScrollingString
(GuiGraphics p_281620_, Font p_282651_, Component p_281467_, int p_283621_, int p_282084_, int p_283398_, int p_281938_, int p_283471_) static void
AbstractWidget.renderScrollingString
(GuiGraphics p_296355_, Font p_295317_, Component p_294875_, int p_294289_, int p_295475_, int p_294243_, int p_296428_, int p_294696_, int p_295687_) void
void
void
void
AbstractWidget.setMessage
(Component p_93667_) PopupScreen.Builder.setMessage
(Component p_304550_) static List
<FormattedCharSequence> Tooltip.splitTooltip
(Minecraft p_259133_, Component p_260172_) static MutableComponent
AbstractWidget.wrapDefaultNarrationMessage
(Component p_168800_) ModifierConstructorDescriptionAbstractButton
(int p_93365_, int p_93366_, int p_93367_, int p_93368_, Component p_93369_) AbstractContainerWidget
(int p_313730_, int p_313819_, int p_313847_, int p_313718_, Component p_313894_) AbstractScrollWidget
(int p_240025_, int p_240026_, int p_240027_, int p_240028_, Component p_240029_) AbstractSliderButton
(int p_93579_, int p_93580_, int p_93581_, int p_93582_, Component p_93583_, double p_93584_) AbstractStringWidget
(int p_270910_, int p_270297_, int p_270088_, int p_270842_, Component p_270063_, Font p_270327_) AbstractWidget
(int p_93629_, int p_93630_, int p_93631_, int p_93632_, Component p_93633_) Builder
(Component p_254097_, Button.OnPress p_253761_) (package private)
Builder
(Component p_294568_, Button.OnPress p_294520_, boolean p_294559_) protected
Button
(int p_259075_, int p_259271_, int p_260232_, int p_260028_, Component p_259351_, Button.OnPress p_260152_, Button.CreateNarration p_259552_) (package private)
ButtonOption
(Component message, Consumer<PopupScreen> action) Creates an instance of aButtonOption
record class.(package private)
CacheKey
(Component message, int maxWidth, OptionalInt maxRows) Creates an instance of aCacheKey
record class.protected
CenteredIcon
(int p_295914_, int p_294852_, Component p_295609_, int p_294922_, int p_296462_, ResourceLocation p_295554_, Button.OnPress p_294427_, Button.CreateNarration p_330653_) (package private)
Checkbox
(int p_93826_, int p_93827_, Component p_93830_, Font p_309061_, boolean p_93831_, Checkbox.OnValueChange p_309172_) (package private)
CycleButton
(int p_232484_, int p_232485_, int p_232486_, int p_232487_, Component p_232488_, Component p_232489_, int p_232490_, T p_232491_, CycleButton.ValueListSupplier<T> p_232492_, Function<T, Component> p_232493_, Function<CycleButton<T>, MutableComponent> p_232494_, CycleButton.OnValueChange<T> p_232495_, OptionInstance.TooltipSupplier<T> p_232496_, boolean p_232497_) EditBox
(Font p_94106_, int p_94107_, int p_94108_, int p_94109_, int p_94110_, EditBox p_94111_, Component p_94112_) FittingMultiLineTextWidget
(int p_289785_, int p_289777_, int p_289760_, int p_289801_, Component p_289788_, Font p_289781_) FocusableTextWidget
(int p_295441_, Component p_296440_, Font p_296307_) FocusableTextWidget
(int p_331308_, Component p_330271_, Font p_330898_, boolean p_332016_, int p_331228_) FocusableTextWidget
(int p_295671_, Component p_295867_, Font p_294548_, int p_330770_) ImageButton
(int p_169011_, int p_169012_, int p_169013_, int p_169014_, WidgetSprites p_294960_, Button.OnPress p_169018_, Component p_294919_) ImageButton
(int p_94269_, int p_94270_, WidgetSprites p_295749_, Button.OnPress p_94277_, Component p_294787_) LerpingBossEvent
(UUID p_169021_, Component p_169022_, float p_169023_, BossEvent.BossBarColor p_169024_, BossEvent.BossBarOverlay p_169025_, boolean p_169026_, boolean p_169027_, boolean p_169028_) LoadingDotsWidget
(Font p_295952_, Component p_295297_) MultiLineEditBox
(Font p_239008_, int p_239009_, int p_239010_, int p_239011_, int p_239012_, Component p_239013_, Component p_239014_) MultiLineTextWidget
(int p_270325_, int p_270355_, Component p_270069_, Font p_270673_) MultiLineTextWidget
(Component p_270532_, Font p_270639_) PlainTextButton
(int p_211755_, int p_211756_, int p_211757_, int p_211758_, Component p_211759_, Button.OnPress p_211760_, Font p_211761_) (package private)
PopupScreen
(Screen p_304589_, int p_304486_, ResourceLocation p_304853_, Component p_304839_, Component p_304571_, List<PopupScreen.ButtonOption> p_304767_, Runnable p_304826_) (package private)
ScoreDisplayEntry
(Component name, int score, Component formattedScore, int scoreWidth) Creates an instance of aScoreDisplayEntry
record class.(package private)
SpriteIconButton
(int p_294218_, int p_294461_, Component p_294760_, int p_296342_, int p_296291_, ResourceLocation p_294131_, Button.OnPress p_295667_, Button.CreateNarration p_332100_) StringWidget
(int p_268199_, int p_268137_, int p_268178_, int p_268169_, Component p_268285_, Font p_268047_) StringWidget
(int p_268183_, int p_268082_, Component p_268069_, Font p_268121_) StringWidget
(Component p_268211_, Font p_267963_) protected
TextAndIcon
(int p_296442_, int p_294340_, Component p_296265_, int p_294900_, int p_295900_, ResourceLocation p_296097_, Button.OnPress p_295566_, Button.CreateNarration p_330735_) private
ModifierConstructorDescription(package private)
CycleButton
(int p_232484_, int p_232485_, int p_232486_, int p_232487_, Component p_232488_, Component p_232489_, int p_232490_, T p_232491_, CycleButton.ValueListSupplier<T> p_232492_, Function<T, Component> p_232493_, Function<CycleButton<T>, MutableComponent> p_232494_, CycleButton.OnValueChange<T> p_232495_, OptionInstance.TooltipSupplier<T> p_232496_, boolean p_232497_) -
Uses of Component in net.minecraft.client.gui.components.tabs
Modifier and TypeFieldDescriptionprivate final Component
GridLayoutTab.title
private static final Component
TabNavigationBar.USAGE_NARRATION
-
Uses of Component in net.minecraft.client.gui.components.toasts
Modifier and TypeFieldDescriptionprivate static final Component
RecipeToast.DESCRIPTION_TEXT
private final Component
TutorialToast.message
private Component
SystemToast.title
private final Component
TutorialToast.title
private static final Component
RecipeToast.TITLE_TEXT
Modifier and TypeMethodDescriptionstatic void
SystemToast.add
(ToastComponent p_94856_, SystemToast.SystemToastId p_314591_, Component p_94858_, Component p_94859_) static void
SystemToast.addOrUpdate
(ToastComponent p_94870_, SystemToast.SystemToastId p_314579_, Component p_94872_, Component p_94873_) static SystemToast
SystemToast.multiline
(Minecraft p_94848_, SystemToast.SystemToastId p_314435_, Component p_94850_, Component p_94851_) private static com.google.common.collect.ImmutableList
<FormattedCharSequence> SystemToast.nullToEmpty
(Component p_94861_) void
ModifierConstructorDescriptionprivate
SystemToast
(SystemToast.SystemToastId p_314467_, Component p_94828_, List<FormattedCharSequence> p_94829_, int p_94830_) SystemToast
(SystemToast.SystemToastId p_314596_, Component p_94833_, Component p_94834_) TutorialToast
(TutorialToast.Icons p_94958_, Component p_94959_, Component p_94960_, boolean p_94961_) -
Uses of Component in net.minecraft.client.gui.layouts
Modifier and TypeMethodDescriptionvoid
HeaderAndFooterLayout.addTitleHeader
(Component p_330525_, Font p_330590_) static Layout
CommonLayouts.labeledElement
(Font p_300005_, LayoutElement p_299827_, Component p_299870_) static Layout
CommonLayouts.labeledElement
(Font p_300013_, LayoutElement p_299865_, Component p_300008_, Consumer<LayoutSettings> p_299888_) -
Uses of Component in net.minecraft.client.gui.narration
Modifier and TypeMethodDescriptiondefault void
NarrationElementOutput.add
(NarratedElementType p_169147_, Component p_169148_) default void
NarrationElementOutput.add
(NarratedElementType p_169150_, Component... p_169151_) static NarrationThunk
<?> -
Uses of Component in net.minecraft.client.gui.screens
Modifier and TypeFieldDescriptionstatic final Component
ConnectScreen.ABORT_CONNECTION
private static final Component
OptionsScreen.ACCESSIBILITY
private static final Component
PauseScreen.ADVANCEMENTS
private static final Component
ShareToLanScreen.ALLOW_COMMANDS_LABEL
private static final Component
CreditsAndAttributionScreen.ATTRIBUTION_BUTTON
private static final Component
CreateBuffetWorldScreen.BIOME_SELECT_INFO
private static final Component
RecoverWorldDataScreen.BUGTRACKER_BUTTON
private static final Component
VideoSettingsScreen.BUTTON_ACCEPT
private static final Component
VideoSettingsScreen.BUTTON_CANCEL
private final Component
GenericWaitingScreen.buttonLabel
private final Component
DisconnectedScreen.buttonText
private final Component
DeathScreen.causeOfDeath
private static final Component
OptionsScreen.CHAT
private Component
CreateFlatWorldScreen.columnHeight
private Component
CreateFlatWorldScreen.columnType
(package private) final Component
ConnectScreen.connectFailedTitle
private static final Component
OptionsScreen.CONTROLS
private static final Component
ConfirmLinkScreen.COPY_BUTTON_TEXT
private static final Component
TitleScreen.COPYRIGHT_TEXT
private static final Component
OptionsScreen.CREDITS_AND_ATTRIBUTION
private static final Component
CreditsAndAttributionScreen.CREDITS_BUTTON
private Component
DeathScreen.deathScore
private final Component
BackupConfirmScreen.description
private static final Component
RecoverWorldDataScreen.DONE_FAILED
private static final Component
RecoverWorldDataScreen.DONE_SUCCESS
private static final Component
RecoverWorldDataScreen.DONE_TITLE
private static final Component
ReceivingLevelScreen.DOWNLOADING_TERRAIN_TEXT
private static final Component
DirectJoinServerScreen.ENTER_IP_LABEL
private static final Component
VideoSettingsScreen.FABULOUS
private static final Component
PauseScreen.GAME
private static final Component
ShareToLanScreen.GAME_MODE_LABEL
private Component
ProgressScreen.header
private static final Component
ShareToLanScreen.INFO_TEXT
private static final Component
ShareToLanScreen.INVALID_PORT
private static final Component
EditServerScreen.IP_LABEL
private final Component
LanguageSelectScreen.LanguageSelectionList.Entry.language
private static final Component
OptionsScreen.LANGUAGE
private static final Component
CreditsAndAttributionScreen.LICENSES_BUTTON
private Component
PresetFlatWorldScreen.listText
private final Component
ConfirmScreen.message
private final Component
ErrorScreen.message
private final Component
NoticeWithLinkScreen.message
private final Component
RecoverWorldDataScreen.message
(package private) final Component
UnsupportedGraphicsWarningScreen.ButtonOption.message
private static final Component
OutOfMemoryScreen.MESSAGE
private final Component
AlertScreen.messageText
private final Component
GenericWaitingScreen.messageText
private static final Component
RecoverWorldDataScreen.MISSING_FILE
(package private) final Component
CreateBuffetWorldScreen.BiomeList.Entry.name
private final Component
PresetFlatWorldScreen.PresetsList.Entry.name
static final Component
BanNoticeScreens.NAME_BAN_TITLE
private static final Component
EditServerScreen.NAME_LABEL
private final Component
UnsupportedGraphicsWarningScreen.narrationMessage
private static final Component
RecoverWorldDataScreen.NO_FALLBACK_TOOLTIP
private static final Component
RecoverWorldDataScreen.NO_ISSUES
protected Component
ConfirmScreen.noButton
private final Component
AlertScreen.okButton
private static final Component
AccessibilityOnboardingScreen.ONBOARDING_NARRATOR_MESSAGE
private static final Component
PauseScreen.OPTIONS
private static final Component
PauseScreen.PAUSED
private static final Component
BanNoticeScreens.PERMANENT_BAN_TITLE
private static final Component
PauseScreen.PLAYER_REPORTING
private static final Component
ShareToLanScreen.PORT_INFO_TEXT
private static final Component
ShareToLanScreen.PORT_UNAVAILABLE
private final Component
DisconnectedScreen.reason
private static final Component
PauseScreen.REPORT_BUGS
private static final Component
OptionsScreen.RESOURCEPACK
private static final Component
RecoverWorldDataScreen.RESTORE_BUTTON
private static final Component
PauseScreen.RETURN_TO_GAME
private static final Component
PauseScreen.RETURN_TO_MENU
private static final Component
PauseScreen.SAVING_LEVEL
private static final Component
WinScreen.SECTION_HEADING
private static final Component
PauseScreen.SEND_FEEDBACK
private static final Component
PauseScreen.SHARE_TO_LAN
private Component
PresetFlatWorldScreen.shareText
private static final Component
BanNoticeScreens.SKIN_BAN_DESCRIPTION
private static final Component
BanNoticeScreens.SKIN_BAN_TITLE
private static final Component
OptionsScreen.SKIN_CUSTOMIZATION
private static final Component
OptionsScreen.SOUNDS
private Component
ProgressScreen.stage
private static final Component
PauseScreen.STATS
private Component
ConnectScreen.status
private static final Component
NoticeWithLinkScreen.SYMLINK_PACK_MESSAGE_TEXT
private static final Component
NoticeWithLinkScreen.SYMLINK_PACK_TITLE
private static final Component
NoticeWithLinkScreen.SYMLINK_WORLD_MESSAGE_TEXT
private static final Component
NoticeWithLinkScreen.SYMLINK_WORLD_TITLE
private static final Component
OptionsScreen.TELEMETRY
private static final Component
BanNoticeScreens.TEMPORARY_BAN_TITLE
protected final Component
Screen.title
private static final Component
AccessibilityOnboardingScreen.TITLE
static final Component
AccessibilityOptionsScreen.TITLE
private static final Component
ChatOptionsScreen.TITLE
private static final Component
CreditsAndAttributionScreen.TITLE
private static final Component
MouseSettingsScreen.TITLE
private static final Component
OnlineOptionsScreen.TITLE
private static final Component
OptionsScreen.TITLE
private static final Component
OutOfMemoryScreen.TITLE
private static final Component
RecoverWorldDataScreen.TITLE
private static final Component
SkinCustomizationScreen.TITLE
private static final Component
SoundOptionsScreen.TITLE
private static final Component
TitleScreen.TITLE
private static final Component
VideoSettingsScreen.TITLE
private static final Component
DisconnectedScreen.TO_SERVER_LIST
private static final Component
DisconnectedScreen.TO_TITLE
static final Component
ConnectScreen.UNKNOWN_HOST_MESSAGE
static final Component
PresetFlatWorldScreen.UNKNOWN_PRESET
private static final Component
Screen.USAGE_NARRATION
private static final Component
ChatScreen.USAGE_TEXT
private static final Component
OptionsScreen.VIDEO
private static final Component
LanguageSelectScreen.WARNING_LABEL
private static final Component
VideoSettingsScreen.WARNING_MESSAGE
private static final Component
ConfirmLinkScreen.WARNING_TEXT
private static final Component
VideoSettingsScreen.WARNING_TITLE
protected Component
ConfirmScreen.yesButton
Modifier and TypeMethodDescriptionprivate Component
RecoverWorldDataScreen.buildInfo
(LevelStorageSource.LevelStorageAccess p_307659_, boolean p_307410_, Exception p_307637_) private static Component
BanNoticeScreens.getBanDurationText
(com.mojang.authlib.minecraft.BanDetails p_299833_) private static Component
BanNoticeScreens.getBannedScreenText
(com.mojang.authlib.minecraft.BanDetails p_299924_) private static Component
BanNoticeScreens.getBannedTitle
(com.mojang.authlib.minecraft.BanDetails p_299957_) private static Component
BanNoticeScreens.getBanReasonText
(com.mojang.authlib.minecraft.BanDetails p_299989_) private static Component
BanNoticeScreens.getBanStatusText
(com.mojang.authlib.minecraft.BanDetails p_299862_) private Component
LevelLoadingScreen.getFormattedProgress()
private Component
TitleScreen.getMultiplayerDisabledReason()
CreateBuffetWorldScreen.BiomeList.Entry.getNarration()
CreateFlatWorldScreen.DetailsList.Entry.getNarration()
LanguageSelectScreen.LanguageSelectionList.Entry.getNarration()
PresetFlatWorldScreen.PresetsList.Entry.getNarration()
AlertScreen.getNarrationMessage()
ConfirmScreen.getNarrationMessage()
DisconnectedScreen.getNarrationMessage()
GenericWaitingScreen.getNarrationMessage()
NoticeWithLinkScreen.getNarrationMessage()
RecoverWorldDataScreen.getNarrationMessage()
Screen.getNarrationMessage()
UnsupportedGraphicsWarningScreen.getNarrationMessage()
Screen.getTitle()
protected Component
Screen.getUsageNarration()
private Component
ShareToLanScreen.tryParsePort
(String p_259426_) Modifier and TypeMethodDescriptionScreen.getTooltipFromItem
(Minecraft p_281881_, ItemStack p_282833_) Modifier and TypeMethodDescriptionprivate void
WinScreen.addCreditsLine
(Component p_169473_, boolean p_169474_) static <T extends AbstractContainerMenu>
voidstatic GenericWaitingScreen
GenericWaitingScreen.createCompleted
(Component p_240291_, Component p_240292_, Component p_240293_, Runnable p_240294_) static GenericWaitingScreen
GenericWaitingScreen.createWaiting
(Component p_240310_, Component p_240311_, Runnable p_240312_) default void
MenuScreens.ScreenConstructor.fromPacket
(Component p_96210_, MenuType<T> p_96211_, Minecraft p_96212_, int p_96213_) private Button
PauseScreen.openLinkButton
(Component p_262593_, String p_262659_) private Button
OptionsScreen.openScreenButton
(Component p_261565_, Supplier<Screen> p_262119_) private Button
PauseScreen.openScreenButton
(Component p_262567_, Supplier<Screen> p_262581_) void
ProgressScreen.progressStage
(Component p_96525_) void
ProgressScreen.progressStart
(Component p_96523_) void
ProgressScreen.progressStartNoAbort
(Component p_96520_) void
Screen.setTooltipForNextRenderPass
(Component p_259986_) private void
ConnectScreen.updateStatus
(Component p_95718_) ModifierConstructorDescriptionAlertScreen
(Runnable p_95519_, Component p_95520_, Component p_95521_) AlertScreen
(Runnable p_239327_, Component p_239328_, Component p_239329_, Component p_239330_, boolean p_239331_) BackupConfirmScreen
(Runnable p_307341_, BackupConfirmScreen.Listener p_95544_, Component p_95545_, Component p_95546_, boolean p_95547_) ButtonOption
(Component p_304713_, Button.OnPress p_304745_) ConfirmLinkScreen
(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_238329_, Component p_238330_, String p_238331_, boolean p_238332_) ConfirmLinkScreen
(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_240191_, Component p_240192_, Component p_240193_, String p_240194_, Component p_240195_, boolean p_240196_) ConfirmScreen
(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_95654_, Component p_95655_, Component p_95656_) ConfirmScreen
(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_95658_, Component p_95659_, Component p_95660_, Component p_95661_, Component p_95662_) private
ConnectScreen
(Screen p_279215_, Component p_279228_) DeathScreen
(Component p_95911_, boolean p_95912_) DisconnectedScreen
(Screen p_95993_, Component p_95994_, Component p_95995_) DisconnectedScreen
(Screen p_279153_, Component p_279183_, Component p_279332_, Component p_279257_) ErrorScreen
(Component p_96049_, Component p_96050_) GenericMessageScreen
(Component p_331916_) protected
GenericWaitingScreen
(Component p_240300_, Component p_240301_, Component p_240302_, Runnable p_240303_, int p_240304_) NoticeWithLinkScreen
(Component p_294500_, Component p_296071_, String p_294439_, Runnable p_307469_) OptionsSubScreen
(Screen p_96284_, Options p_96285_, Component p_96286_) protected
SimpleOptionsSubScreen
(Screen p_232763_, Options p_232764_, Component p_232765_, OptionInstance<?>[] p_232766_) TitleConfirmScreen
(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_273707_, Component p_273255_, Component p_273747_, Component p_273434_, Component p_273416_) protected
UnsupportedGraphicsWarningScreen
(Component p_304776_, List<Component> p_304862_, com.google.common.collect.ImmutableList<UnsupportedGraphicsWarningScreen.ButtonOption> p_304681_) ModifierConstructorDescriptionprotected
UnsupportedGraphicsWarningScreen
(Component p_304776_, List<Component> p_304862_, com.google.common.collect.ImmutableList<UnsupportedGraphicsWarningScreen.ButtonOption> p_304681_) -
Uses of Component in net.minecraft.client.gui.screens.achievement
Modifier and TypeFieldDescriptionprivate static final Component
StatsScreen.GENERAL_BUTTON
private static final Component
StatsScreen.ITEMS_BUTTON
private final Component
StatsScreen.MobsStatisticsList.MobRow.killedBy
private final Component
StatsScreen.MobsStatisticsList.MobRow.kills
private final Component
StatsScreen.MobsStatisticsList.MobRow.mobName
private static final Component
StatsScreen.MOBS_BUTTON
(package private) static final Component
StatsScreen.NO_VALUE_DISPLAY
private static final Component
StatsScreen.PENDING_TEXT
private final Component
StatsScreen.GeneralStatisticsList.Entry.statDisplay
private static final Component
StatsScreen.TITLE
Modifier and TypeMethodDescriptionStatsScreen.GeneralStatisticsList.Entry.getNarration()
StatsScreen.ItemStatisticsList.ItemRow.getNarration()
StatsScreen.MobsStatisticsList.MobRow.getNarration()
-
Uses of Component in net.minecraft.client.gui.screens.advancements
Modifier and TypeFieldDescriptionprivate static final Component
AdvancementsScreen.NO_ADVANCEMENTS_LABEL
private final Component
AdvancementTab.title
private static final Component
AdvancementsScreen.TITLE
private static final Component
AdvancementsScreen.VERY_SAD_LABEL
Modifier and TypeMethodDescriptionprivate List
<FormattedText> AdvancementWidget.findOptimalLines
(Component p_97309_, int p_97310_) -
Uses of Component in net.minecraft.client.gui.screens.controls
Modifier and TypeFieldDescription(package private) final Component
KeyBindsList.CategoryEntry.name
private final Component
KeyBindsList.KeyEntry.name
private static final Component
KeyBindsList.KeyEntry.RESET_BUTTON_TITLE
private static final Component
ControlsScreen.TITLE
private static final Component
KeyBindsScreen.TITLE
ModifierConstructorDescriptionCategoryEntry
(Component p_193886_) (package private)
KeyEntry
(KeyMapping p_193916_, Component p_193917_) -
Uses of Component in net.minecraft.client.gui.screens.debug
Modifier and TypeFieldDescription(package private) final Component
GameModeSwitcherScreen.GameModeIcon.name
private static final Component
GameModeSwitcherScreen.SELECT_KEY
Modifier and TypeMethodDescription(package private) Component
GameModeSwitcherScreen.GameModeIcon.getName()
ModifierConstructorDescriptionprivate
GameModeIcon
(Component p_97594_, String p_97595_, ItemStack p_97596_) -
Uses of Component in net.minecraft.client.gui.screens.inventory
Modifier and TypeFieldDescription(package private) final Component
BookEditScreen.LineInfo.asComponent
private static final Component
AbstractCommandBlockEditScreen.COMMAND_LABEL
private static final Component
StructureBlockEditScreen.CUSTOM_DATA_LABEL
private static final Component
MerchantScreen.DEPRECATED_TOOLTIP
private static final Component
StructureBlockEditScreen.DETECT_SIZE_LABEL
private static final Component
CrafterScreen.DISABLED_SLOT_TOOLTIP
private static final Component
BookEditScreen.EDIT_TITLE_LABEL
private static final Component
SmithingScreen.ERROR_TOOLTIP
private static final Component
JigsawBlockEditScreen.FINAL_STATE_LABEL
private static final Component
BookEditScreen.FINALIZE_WARNING_LABEL
private static final Component
StructureBlockEditScreen.INCLUDE_ENTITIES_LABEL
private static final Component
StructureBlockEditScreen.INTEGRITY_LABEL
private static final Component
JigsawBlockEditScreen.JOINT_LABEL
private static final Component
SmithingScreen.MISSING_TEMPLATE_TOOLTIP
private static final Component
JigsawBlockEditScreen.NAME_LABEL
private static final Component
StructureBlockEditScreen.NAME_LABEL
private final Component
BookEditScreen.ownerText
private Component
BookEditScreen.pageMsg
private Component
BookViewScreen.pageMsg
private static final Component
JigsawBlockEditScreen.PLACEMENT_PRIORITY_LABEL
private static final Component
JigsawBlockEditScreen.PLACEMENT_PRIORITY_TOOLTIP
protected final Component
AbstractContainerScreen.playerInventoryTitle
private static final Component
JigsawBlockEditScreen.POOL_LABEL
private static final Component
StructureBlockEditScreen.POSITION_LABEL
private static final Component
AbstractCommandBlockEditScreen.PREVIOUS_OUTPUT_LABEL
private static final Component
BeaconScreen.PRIMARY_EFFECT_LABEL
private static final Component
BeaconScreen.SECONDARY_EFFECT_LABEL
private static final Component
JigsawBlockEditScreen.SELECTION_PRIORITY_LABEL
private static final Component
JigsawBlockEditScreen.SELECTION_PRIORITY_TOOLTIP
private static final Component
AbstractCommandBlockEditScreen.SET_COMMAND_LABEL
private static final Component
StructureBlockEditScreen.SHOW_AIR_LABEL
private static final Component
StructureBlockEditScreen.SHOW_BOUNDING_BOX_LABEL
private static final Component
StructureBlockEditScreen.SIZE_LABEL
private static final Component
JigsawBlockEditScreen.TARGET_LABEL
private static final Component
AnvilScreen.TOO_EXPENSIVE_TEXT
private static final Component
MerchantScreen.TRADES_LABEL
private static final Component
CreativeModeInventoryScreen.TRASH_SLOT_TOOLTIP
Modifier and TypeFieldDescriptionBookViewScreen.BookAccess.pages
The field for thepages
record component.Modifier and TypeMethodDescriptionprivate Component
EffectRenderingInventoryScreen.getEffectName
(MobEffectInstance p_194001_) protected Component
AbstractCommandBlockEditScreen.getUsageNarration()
Modifier and TypeMethodDescriptionAbstractContainerScreen.getTooltipFromContainerItem
(ItemStack p_283689_) CreativeModeInventoryScreen.getTooltipFromContainerItem
(ItemStack p_281769_) BookViewScreen.BookAccess.pages()
Returns the value of thepages
record component.ModifierConstructorDescriptionAbstractContainerScreen
(T p_97741_, Inventory p_97742_, Component p_97743_) AbstractFurnaceScreen
(T p_97825_, AbstractFurnaceRecipeBookComponent p_97826_, Inventory p_97827_, Component p_97828_, ResourceLocation p_97829_, ResourceLocation p_296257_, ResourceLocation p_295751_) AbstractSignEditScreen
(SignBlockEntity p_277792_, boolean p_277607_, boolean p_278039_, Component p_277393_) AnvilScreen
(AnvilMenu p_97874_, Inventory p_97875_, Component p_97876_) BeaconScreen
(BeaconMenu p_97912_, Inventory p_97913_, Component p_97914_) protected
BeaconScreenButton
(int p_169654_, int p_169655_, Component p_169656_) protected
BeaconSpriteScreenButton
(int p_169663_, int p_169664_, ResourceLocation p_294501_, Component p_169667_) BlastFurnaceScreen
(BlastFurnaceMenu p_98045_, Inventory p_98046_, Component p_98047_) BrewingStandScreen
(BrewingStandMenu p_98332_, Inventory p_98333_, Component p_98334_) CartographyTableScreen
(CartographyTableMenu p_98349_, Inventory p_98350_, Component p_98351_) ContainerScreen
(ChestMenu p_98409_, Inventory p_98410_, Component p_98411_) CrafterScreen
(CrafterMenu p_307225_, Inventory p_307403_, Component p_307629_) CraftingScreen
(CraftingMenu p_98448_, Inventory p_98449_, Component p_98450_) DispenserScreen
(DispenserMenu p_98685_, Inventory p_98686_, Component p_98687_) EffectRenderingInventoryScreen
(T p_98701_, Inventory p_98702_, Component p_98703_) EnchantmentScreen
(EnchantmentMenu p_98754_, Inventory p_98755_, Component p_98756_) FurnaceScreen
(FurnaceMenu p_98776_, Inventory p_98777_, Component p_98778_) GrindstoneScreen
(GrindstoneMenu p_98782_, Inventory p_98783_, Component p_98784_) HopperScreen
(HopperMenu p_98798_, Inventory p_98799_, Component p_98800_) ItemCombinerScreen
(T p_98901_, Inventory p_98902_, Component p_98903_, ResourceLocation p_98904_) LecternScreen
(LecternMenu p_99020_, Inventory p_99021_, Component p_99022_) LoomScreen
(LoomMenu p_99075_, Inventory p_99076_, Component p_99077_) MerchantScreen
(MerchantMenu p_99123_, Inventory p_99124_, Component p_99125_) ShulkerBoxScreen
(ShulkerBoxMenu p_99240_, Inventory p_99241_, Component p_99242_) SmithingScreen
(SmithingMenu p_99290_, Inventory p_99291_, Component p_99292_) SmokerScreen
(SmokerMenu p_99300_, Inventory p_99301_, Component p_99302_) StonecutterScreen
(StonecutterMenu p_99310_, Inventory p_99311_, Component p_99312_) ModifierConstructorDescriptionBookAccess
(List<Component> pages) Creates an instance of aBookAccess
record class. -
Uses of Component in net.minecraft.client.gui.screens.multiplayer
Modifier and TypeFieldDescription(package private) static final Component
ServerSelectionList.CANT_CONNECT_TEXT
(package private) static final Component
ServerSelectionList.CANT_RESOLVE_TEXT
private final Component
WarningScreen.check
private static final Component
SafetyScreen.CHECK
private static final Component
SafetyScreen.CONTENT
private static final Component
ServerSelectionList.NetworkServerEntry.HIDDEN_ADDRESS_TEXT
(package private) static final Component
ServerSelectionList.INCOMPATIBLE_STATUS
private static final Component
ServerSelectionList.NetworkServerEntry.LAN_SERVER_HEADER
private final Component
WarningScreen.message
private final Component
WarningScreen.narration
private static final Component
SafetyScreen.NARRATION
(package private) static final Component
ServerSelectionList.NO_CONNECTION_STATUS
(package private) static final Component
ServerSelectionList.ONLINE_STATUS
(package private) static final Component
ServerSelectionList.PINGING_STATUS
(package private) static final Component
ServerSelectionList.SCANNING_LABEL
private Component
ServerSelectionList.OnlineServerEntry.statusIconTooltip
private static final Component
SafetyScreen.TITLE
Modifier and TypeMethodDescriptionServerSelectionList.LANHeader.getNarration()
ServerSelectionList.NetworkServerEntry.getNarration()
ServerSelectionList.OnlineServerEntry.getNarration()
WarningScreen.getNarrationMessage()
ServerSelectionList.NetworkServerEntry.getServerNarration()
ModifierConstructorDescriptionServerReconfigScreen
(Component p_294744_, Connection p_294619_) protected
WarningScreen
(Component p_239894_, Component p_239895_, Component p_239896_) protected
WarningScreen
(Component p_232852_, Component p_232853_, Component p_232854_, Component p_232855_) -
Uses of Component in net.minecraft.client.gui.screens.packs
Modifier and TypeFieldDescriptionprivate static final Component
PackSelectionScreen.AVAILABLE_TITLE
private static final Component
PackSelectionScreen.DIRECTORY_BUTTON_TOOLTIP
private static final Component
PackSelectionScreen.DRAG_AND_DROP
(package private) static final Component
TransferableSelectionList.INCOMPATIBLE_CONFIRM_TITLE
(package private) static final Component
TransferableSelectionList.INCOMPATIBLE_TITLE
private static final Component
PackSelectionScreen.OPEN_PACK_FOLDER_TITLE
private static final Component
PackSelectionScreen.SELECTED_TITLE
private final Component
TransferableSelectionList.title
Modifier and TypeMethodDescriptionPackSelectionModel.Entry.getDescription()
PackSelectionModel.EntryBase.getDescription()
default Component
PackSelectionModel.Entry.getExtendedDescription()
TransferableSelectionList.PackEntry.getNarration()
PackSelectionModel.Entry.getTitle()
PackSelectionModel.EntryBase.getTitle()
Modifier and TypeMethodDescriptionprivate static MultiLineLabel
TransferableSelectionList.PackEntry.cacheDescription
(Minecraft p_100110_, Component p_100111_) private static FormattedCharSequence
ModifierConstructorDescriptionPackSelectionScreen
(PackRepository p_275398_, Consumer<PackRepository> p_275659_, Path p_275522_, Component p_275337_) TransferableSelectionList
(Minecraft p_265029_, PackSelectionScreen p_265777_, int p_265774_, int p_265153_, Component p_265124_) -
Uses of Component in net.minecraft.client.gui.screens.recipebook
Modifier and TypeFieldDescriptionprivate static final Component
RecipeBookComponent.ALL_RECIPES_TOOLTIP
private static final Component
BlastingRecipeBookComponent.FILTER_NAME
private static final Component
SmeltingRecipeBookComponent.FILTER_NAME
private static final Component
SmokingRecipeBookComponent.FILTER_NAME
private static final Component
RecipeButton.MORE_RECIPES_TOOLTIP
private static final Component
RecipeBookComponent.ONLY_CRAFTABLES_TOOLTIP
private static final Component
RecipeBookComponent.SEARCH_HINT
Modifier and TypeMethodDescriptionprotected Component
BlastingRecipeBookComponent.getRecipeFilterName()
protected Component
RecipeBookComponent.getRecipeFilterName()
protected Component
SmeltingRecipeBookComponent.getRecipeFilterName()
protected Component
SmokingRecipeBookComponent.getRecipeFilterName()
-
Uses of Component in net.minecraft.client.gui.screens.reporting
Modifier and TypeFieldDescriptionprivate static final Component
ChatSelectionScreen.CONTEXT_INFO
private static final Component
AbstractReportScreen.DESCRIBE_PLACEHOLDER
private static final Component
AbstractReportScreen.DiscardReportWarningScreen.DISCARD
private static final Component
AbstractReportScreen.DiscardReportWarningScreen.DRAFT
private final Component
ChatSelectionScreen.ChatSelectionList.MessageHeadingEntry.heading
private static final Component
AbstractReportScreen.DiscardReportWarningScreen.MESSAGE
private static final Component
ReportPlayerScreen.MESSAGE
protected static final Component
AbstractReportScreen.MORE_COMMENTS_LABEL
private static final Component
AbstractReportScreen.MORE_COMMENTS_NARRATION
private final Component
ChatSelectionScreen.ChatSelectionList.MessageEntry.narration
protected static final Component
AbstractReportScreen.OBSERVED_WHAT_LABEL
private static final Component
ReportReasonSelectionScreen.READ_INFO_LABEL
private static final Component
ReportReasonSelectionScreen.REASON_DESCRIPTION
private static final Component
ReportReasonSelectionScreen.REASON_TITLE
private static final Component
ReportPlayerScreen.REPORT_CHAT
private static final Component
AbstractReportScreen.REPORT_ERROR_TITLE
private static final Component
ReportPlayerScreen.REPORT_NAME
private static final Component
AbstractReportScreen.REPORT_SEND_GENERIC_ERROR
private static final Component
AbstractReportScreen.REPORT_SENDING_TITLE
private static final Component
AbstractReportScreen.REPORT_SENT_MESSAGE
private static final Component
AbstractReportScreen.REPORT_SENT_TITLE
private static final Component
ReportPlayerScreen.REPORT_SKIN
private static final Component
AbstractReportScreen.DiscardReportWarningScreen.RETURN
private static final Component
ChatReportScreen.SELECT_CHAT_MESSAGE
protected static final Component
AbstractReportScreen.SELECT_REASON
protected static final Component
AbstractReportScreen.SEND_REPORT
private final Component
ChatSelectionScreen.ChatSelectionList.DividerEntry.text
private static final Component
AbstractReportScreen.DiscardReportWarningScreen.TITLE
private static final Component
ChatReportScreen.TITLE
private static final Component
ChatSelectionScreen.TITLE
private static final Component
NameReportScreen.TITLE
private static final Component
ReportPlayerScreen.TITLE
private static final Component
SkinReportScreen.TITLE
Modifier and TypeMethodDescriptionChatSelectionScreen.ChatSelectionList.DividerEntry.getNarration()
ChatSelectionScreen.ChatSelectionList.Entry.getNarration()
ChatSelectionScreen.ChatSelectionList.MessageEntry.getNarration()
ReportReasonSelectionScreen.ReasonSelectionList.Entry.getNarration()
ChatSelectionScreen.getNarrationMessage()
ReportPlayerScreen.getNarrationMessage()
Modifier and TypeMethodDescriptionvoid
ChatSelectionLogFiller.Output.acceptDivider
(Component p_239557_) void
ChatSelectionScreen.ChatSelectionList.acceptDivider
(Component p_239876_) private void
AbstractReportScreen.displayReportSendError
(Component p_299983_) ModifierConstructorDescriptionprotected
AbstractReportScreen
(Component p_299999_, Screen p_300006_, ReportingContext p_299904_, B p_299834_) DividerEntry
(Component p_239672_) MessageEntry
(int p_240650_, Component p_240525_, Component p_240539_, GuiMessageTag p_240551_, boolean p_240596_, boolean p_240615_) MessageHeadingEntry
(com.mojang.authlib.GameProfile p_240080_, Component p_240081_, boolean p_240082_) -
Uses of Component in net.minecraft.client.gui.screens.social
Modifier and TypeFieldDescriptionprivate static final Component
PlayerEntry.BLOCKED
private static final Component
PlayerEntry.BLOCKED_OFFLINE
private static final Component
SocialInteractionsScreen.BLOCKING_HINT
private static final Component
SocialInteractionsScreen.EMPTY_BLOCKED
private static final Component
SocialInteractionsScreen.EMPTY_HIDDEN
(package private) static final Component
SocialInteractionsScreen.EMPTY_SEARCH
private static final Component
PlayerEntry.HIDDEN
private static final Component
PlayerEntry.HIDDEN_OFFLINE
private static final Component
PlayerEntry.HIDE_TEXT_TOOLTIP
private static final Component
PlayerEntry.OFFLINE
private static final Component
PlayerEntry.REPORT_DISABLED_TOOLTIP
private static final Component
PlayerEntry.REPORT_PLAYER_TOOLTIP
private static final Component
SocialInteractionsScreen.SEARCH_HINT
private Component
SocialInteractionsScreen.serverLabel
private static final Component
PlayerEntry.SHOW_TEXT_TOOLTIP
private static final Component
SocialInteractionsScreen.TAB_ALL
private static final Component
SocialInteractionsScreen.TAB_ALL_SELECTED
private static final Component
SocialInteractionsScreen.TAB_BLOCKED
private static final Component
SocialInteractionsScreen.TAB_BLOCKED_SELECTED
private static final Component
SocialInteractionsScreen.TAB_HIDDEN
private static final Component
SocialInteractionsScreen.TAB_HIDDEN_SELECTED
private static final Component
SocialInteractionsScreen.TITLE
Modifier and TypeMethodDescriptionSocialInteractionsScreen.getNarrationMessage()
private Component
PlayerEntry.getStatusComponent()
Modifier and TypeMethodDescriptionprivate void
PlayerEntry.onHiddenOrShown
(boolean p_100597_, Component p_100598_) -
Uses of Component in net.minecraft.client.gui.screens.telemetry
Modifier and TypeFieldDescriptionprivate static final Component
TelemetryInfoScreen.BUTTON_GIVE_FEEDBACK
private static final Component
TelemetryInfoScreen.BUTTON_PRIVACY_STATEMENT
private static final Component
TelemetryInfoScreen.BUTTON_VIEW_DATA
private static final Component
TelemetryInfoScreen.CHECKBOX_OPT_IN
private static final Component
TelemetryInfoScreen.DESCRIPTION
private final Component
TelemetryEventWidget.Content.narration
The field for thenarration
record component.private static final Component
TelemetryEventWidget.PROPERTY_TITLE
private static final Component
TelemetryInfoScreen.TITLE
Modifier and TypeMethodDescriptionTelemetryInfoScreen.getNarrationMessage()
private Component
TelemetryEventWidget.grayOutIfDisabled
(Component p_308894_, boolean p_308910_) TelemetryEventWidget.Content.narration()
Returns the value of thenarration
record component.Modifier and TypeMethodDescriptionvoid
void
void
private Component
TelemetryEventWidget.grayOutIfDisabled
(Component p_308894_, boolean p_308910_) -
Uses of Component in net.minecraft.client.gui.screens.worldselection
Modifier and TypeFieldDescriptionprivate static final Component
CreateWorldScreen.GameTab.ALLOW_COMMANDS
(package private) static final Component
CreateWorldScreen.ALLOW_COMMANDS_INFO
private static final Component
CreateWorldScreen.WorldTab.AMPLIFIED_HELP_TEXT
private static final Component
EditWorldScreen.BACKUP_BUTTON
private static final Component
EditWorldScreen.BACKUP_FOLDER_BUTTON
private static final Component
CreateWorldScreen.WorldTab.BONUS_CHEST
private static final Component
WorldCreationUiState.WorldTypeEntry.CUSTOM_WORLD_DESCRIPTION
private static final Component
CreateWorldScreen.MoreTab.DATA_PACKS_LABEL
private static final Component
WorldCreationUiState.DEFAULT_WORLD_NAME
private static final Component
ConfirmExperimentalFeaturesScreen.DETAILS_BUTTON
final Component
WorldCreationUiState.SelectedGameMode.displayName
(package private) static final Component
CreateWorldScreen.EXPERIMENTS_LABEL
private static final Component
EditWorldScreen.FOLDER_BUTTON
(package private) static final Component
WorldSelectionList.FROM_NEWER_TOOLTIP_1
(package private) static final Component
WorldSelectionList.FROM_NEWER_TOOLTIP_2
(package private) static final Component
CreateWorldScreen.GAME_MODEL_LABEL
private static final Component
CreateWorldScreen.MoreTab.GAME_RULES_LABEL
private static final Component
CreateWorldScreen.WorldTab.GENERATE_STRUCTURES
private static final Component
CreateWorldScreen.WorldTab.GENERATE_STRUCTURES_INFO
(package private) static final Component
WorldSelectionList.INCOMPATIBLE_VERSION_TOOLTIP
private Component
SwitchGrid.SwitchBuilder.info
private final Component
WorldCreationUiState.SelectedGameMode.info
private static final Component
ExperimentsScreen.INFO
(package private) final Component
EditGameRulesScreen.CategoryRuleEntry.label
private final Component
SwitchGrid.SwitchBuilder.label
private static final Component
WorldSelectionList.LoadingHeader.LOADING_LABEL
private final Component
ConfirmExperimentalFeaturesScreen.DetailsScreen.PackListEntry.message
private static final Component
ConfirmExperimentalFeaturesScreen.MESSAGE
(package private) static final Component
CreateWorldScreen.NAME_LABEL
private static final Component
EditWorldScreen.NAME_LABEL
private static final Component
EditWorldScreen.OPTIMIIZE_DESCRIPTION
private static final Component
EditWorldScreen.OPTIMIZE_BUTTON
private static final Component
EditWorldScreen.OPTIMIZE_TITLE
private final Component
ConfirmExperimentalFeaturesScreen.DetailsScreen.PackListEntry.packId
private static final Component
CreateWorldScreen.PREPARING_WORLD_DATA
private static final Component
EditWorldScreen.RESET_ICON_BUTTON
private static final Component
EditWorldScreen.SAVE_BUTTON
(package private) static final Component
CreateWorldScreen.WorldTab.SEED_EMPTY_HINT
private static final Component
CreateWorldScreen.WorldTab.SEED_LABEL
(package private) static final Component
WorldSelectionList.SNAPSHOT_TOOLTIP_1
(package private) static final Component
WorldSelectionList.SNAPSHOT_TOOLTIP_2
private static final Component
ConfirmExperimentalFeaturesScreen.DetailsScreen.TITLE
private static final Component
ConfirmExperimentalFeaturesScreen.TITLE
private static final Component
CreateWorldScreen.GameTab.TITLE
private static final Component
CreateWorldScreen.MoreTab.TITLE
private static final Component
CreateWorldScreen.WorldTab.TITLE
private static final Component
EditGameRulesScreen.TITLE
private static final Component
ExperimentsScreen.TITLE
(package private) static final Component
WorldSelectionList.WORLD_EXPERIMENTAL
(package private) static final Component
WorldSelectionList.WORLD_LOCKED_TOOLTIP
(package private) static final Component
WorldSelectionList.WORLD_REQUIRES_CONVERSION
Modifier and TypeMethodDescriptionWorldCreationUiState.WorldTypeEntry.describePreset()
private static Component
ExperimentsScreen.getHumanReadableTitle
(Pack p_270861_) WorldCreationUiState.SelectedGameMode.getInfo()
ConfirmExperimentalFeaturesScreen.DetailsScreen.PackListEntry.getNarration()
WorldSelectionList.LoadingHeader.getNarration()
WorldSelectionList.WorldListEntry.getNarration()
ConfirmExperimentalFeaturesScreen.getNarrationMessage()
ExperimentsScreen.getNarrationMessage()
Modifier and TypeMethodDescriptionSwitchGrid.Builder.addSwitch
(Component p_268004_, BooleanSupplier p_268017_, Consumer<Boolean> p_268320_) EditGameRulesScreen.EntryFactory.create
(Component p_101155_, List<FormattedCharSequence> p_101156_, String p_101157_, T p_101158_) private void
WorldSelectionList.handleLevelLoadFailure
(Component p_233212_) private static void
CreateWorldScreen.queueLoadScreen
(Minecraft p_232900_, Component p_232901_) ModifierConstructorDescriptionBooleanRuleEntry
(Component p_101101_, List<FormattedCharSequence> p_101102_, String p_101103_, GameRules.BooleanValue p_101104_) CategoryRuleEntry
(Component p_101141_) GameRuleEntry
(List<FormattedCharSequence> p_101164_, Component p_101165_) IntegerRuleEntry
(Component p_101175_, List<FormattedCharSequence> p_101176_, String p_101177_, GameRules.IntegerValue p_101178_) (package private)
PackListEntry
(Component p_250724_, Component p_248883_, MultiLineLabel p_250949_) (package private)
SwitchBuilder
(Component p_268282_, BooleanSupplier p_268294_, Consumer<Boolean> p_268132_, int p_268250_) -
Uses of Component in net.minecraft.client.gui.spectator
Modifier and TypeFieldDescription(package private) static final Component
SpectatorMenu.CLOSE_MENU_TEXT
private final Component
PlayerMenuItem.name
(package private) static final Component
SpectatorMenu.NEXT_PAGE_TEXT
(package private) static final Component
SpectatorMenu.PREVIOUS_PAGE_TEXT
private static final Component
RootSpectatorMenuCategory.PROMPT_TEXT
-
Uses of Component in net.minecraft.client.gui.spectator.categories
Modifier and TypeFieldDescriptionprivate static final Component
TeleportToPlayerMenuCategory.TELEPORT_PROMPT
private static final Component
TeleportToTeamMenuCategory.TELEPORT_PROMPT
private static final Component
TeleportToPlayerMenuCategory.TELEPORT_TEXT
private static final Component
TeleportToTeamMenuCategory.TELEPORT_TEXT
-
Uses of Component in net.minecraft.client.multiplayer
Modifier and TypeFieldDescriptionprivate static final Component
ServerStatusPinger.CANT_CONNECT_MESSAGE
private static final Component
ClientPacketListener.CHAT_VALIDATION_FAILED_ERROR
private static final Component
ClientCommonPacketListenerImpl.GENERIC_DISCONNECT_MESSAGE
private static final Component
ClientPacketListener.INVALID_PACKET
(package private) final Component
ClientHandshakePacketListenerImpl.State.message
ServerData.motd
private final Component
ServerData.ServerPackStatus.name
private static final Component
ClientPacketListener.RECONFIGURE_SCREEN_MESSAGE
ServerData.status
private Component
PlayerInfo.tabListDisplayName
private static final Component
ClientPacketListener.UNSECURE_SERVER_TOAST_TITLE
private static final Component
ClientPacketListener.UNSERURE_SERVER_TOAST
ServerData.version
Modifier and TypeFieldDescriptionprivate Map
<ResourceLocation, Component> ClientConfigurationPacketListenerImpl.failureReasons
ServerData.playerList
ClientHandshakePacketListenerImpl.updateStatus
Modifier and TypeMethodDescriptionprivate Component
ClientHandshakePacketListenerImpl.authenticateServer
(String p_104532_) static Component
ServerStatusPinger.formatPlayerCount
(int p_105467_, int p_105468_) ServerData.ServerPackStatus.getName()
PlayerInfo.getTabListDisplayName()
(package private) static Component
ClientCommonPacketListenerImpl.preparePackPrompt
(Component p_296200_, Component p_295584_) Modifier and TypeMethodDescriptionprivate Screen
ClientCommonPacketListenerImpl.addOrUpdatePackPrompt
(UUID p_314948_, URL p_315012_, String p_314981_, boolean p_315013_, Component p_314960_) protected Screen
ClientCommonPacketListenerImpl.createDisconnectScreen
(Component p_296470_) protected Screen
ClientConfigurationPacketListenerImpl.createDisconnectScreen
(Component p_296470_) void
ClientCommonPacketListenerImpl.onDisconnect
(Component p_295485_) void
ClientConfigurationPacketListenerImpl.onDisconnect
(Component p_314649_) void
ClientHandshakePacketListenerImpl.onDisconnect
(Component p_104543_) (package private) void
ServerStatusPinger.onPingFailed
(Component p_171815_, ServerData p_171816_) (package private) static Component
ClientCommonPacketListenerImpl.preparePackPrompt
(Component p_296200_, Component p_295584_) void
PlayerInfo.setTabListDisplayName
(Component p_105324_) ClientCommonPacketListenerImpl.PackConfirmScreen.update
(Minecraft p_314946_, UUID p_314980_, URL p_314930_, String p_315003_, boolean p_314916_, Component p_314991_) ModifierConstructorDescription(package private)
PackConfirmScreen
(Minecraft p_314973_, Screen p_315016_, List<ClientCommonPacketListenerImpl.PackConfirmScreen.PendingRequest> p_314994_, boolean p_314923_, Component p_314940_) private
State
(Component p_302239_, Set<ClientHandshakePacketListenerImpl.State> p_302236_) ModifierConstructorDescriptionClientHandshakePacketListenerImpl
(Connection p_261697_, Minecraft p_261835_, ServerData p_261938_, Screen p_261783_, boolean p_261562_, Duration p_261673_, Consumer<Component> p_261945_, TransferState p_320762_) -
Uses of Component in net.minecraft.client.multiplayer.chat
Modifier and TypeFieldDescriptionprivate static final Component
ChatListener.CHAT_VALIDATION_ERROR
private final Component
LoggedChatMessage.System.message
The field for themessage
record component.Modifier and TypeMethodDescriptionprivate Component
LoggedChatMessage.Player.getTimeComponent()
LoggedChatMessage.System.message()
Returns the value of themessage
record component.LoggedChatMessage.Player.toContentComponent()
LoggedChatMessage.System.toContentComponent()
LoggedChatMessage.toContentComponent()
LoggedChatMessage.Player.toHeadingComponent()
LoggedChatMessage.Player.toNarrationComponent()
default Component
LoggedChatMessage.toNarrationComponent()
Modifier and TypeMethodDescriptionprivate static boolean
ChatTrustLevel.containsModifiedStyle
(Component p_251011_) static ChatTrustLevel
ChatTrustLevel.evaluate
(PlayerChatMessage p_248663_, Component p_248544_, Instant p_252024_) private ChatTrustLevel
ChatListener.evaluateTrustLevel
(PlayerChatMessage p_251246_, Component p_250576_, Instant p_249995_) private UUID
ChatListener.guessChatUUID
(Component p_240595_) void
ChatListener.handleDisguisedChatMessage
(Component p_250375_, ChatType.Bound p_251256_) void
ChatListener.handleSystemMessage
(Component p_240522_, boolean p_240642_) private static boolean
ChatTrustLevel.isModified
(PlayerChatMessage p_252093_, Component p_250811_) private void
ChatListener.logSystemMessage
(Component p_240609_, Instant p_240541_) private void
ChatListener.narrateChatMessage
(ChatType.Bound p_241352_, Component p_243262_) private boolean
ChatListener.showMessageToPlayer
(ChatType.Bound p_251766_, PlayerChatMessage p_249430_, Component p_249231_, com.mojang.authlib.GameProfile p_249177_, boolean p_251638_, Instant p_249665_) static LoggedChatMessage.System
-
Uses of Component in net.minecraft.client.multiplayer.chat.report
Modifier and TypeFieldDescriptionprivate final Component
ReportReason.description
private static final Component
AbuseReportSender.Services.HTTP_ERROR_TEXT
private static final Component
AbuseReportSender.Services.JSON_ERROR_TEXT
private final Component
Report.CannotBuildReason.message
The field for themessage
record component.private static final Component
AbuseReportSender.Services.SERVICE_UNAVAILABLE_TEXT
private final Component
BanReason.title
private final Component
ReportReason.title
Modifier and TypeMethodDescriptionReportReason.description()
private Component
AbuseReportSender.Services.getErrorDescription
(com.mojang.authlib.exceptions.MinecraftClientException p_240068_) private Component
AbuseReportSender.Services.getHttpErrorDescription
(com.mojang.authlib.exceptions.MinecraftClientHttpException p_239705_) Report.CannotBuildReason.message()
Returns the value of themessage
record component.BanReason.title()
ReportReason.title()
ModifierConstructorDescriptionCannotBuildReason
(Component message) Creates an instance of aCannotBuildReason
record class.SendException
(Component p_239646_, Throwable p_239647_) -
Uses of Component in net.minecraft.client.player
Modifier and TypeMethodDescriptionvoid
LocalPlayer.displayClientMessage
(Component p_108696_, boolean p_108697_) void
LocalPlayer.sendSystemMessage
(Component p_234129_) void
RemotePlayer.sendSystemMessage
(Component p_234163_) -
Uses of Component in net.minecraft.client.quickplay
Modifier and TypeFieldDescriptionstatic final Component
QuickPlay.ERROR_TITLE
private static final Component
QuickPlay.INVALID_IDENTIFIER
private static final Component
QuickPlay.REALM_CONNECT
private static final Component
QuickPlay.REALM_PERMISSION
private static final Component
QuickPlay.TO_REALMS_LIST
private static final Component
QuickPlay.TO_TITLE
private static final Component
QuickPlay.TO_WORLD_LIST
-
Uses of Component in net.minecraft.client.renderer.entity
Modifier and TypeMethodDescriptionprotected void
EntityRenderer.renderNameTag
(T p_114498_, Component p_114499_, PoseStack p_114500_, MultiBufferSource p_114501_, int p_114502_, float p_316698_) protected void
ItemFrameRenderer.renderNameTag
(T p_316437_, Component p_115066_, PoseStack p_115067_, MultiBufferSource p_115068_, int p_115069_, float p_316131_) private Display.TextDisplay.CachedInfo
DisplayRenderer.TextDisplayRenderer.splitLines
(Component p_270823_, int p_270893_) -
Uses of Component in net.minecraft.client.renderer.entity.player
Modifier and TypeMethodDescriptionprotected void
PlayerRenderer.renderNameTag
(AbstractClientPlayer p_117808_, Component p_117809_, PoseStack p_117810_, MultiBufferSource p_117811_, int p_117812_, float p_316461_) -
Uses of Component in net.minecraft.client.resources
Modifier and TypeMethodDescriptionprotected Component
ClientPackSource.getPackTitle
(String p_250421_) Modifier and TypeMethodDescriptionprotected Pack
ClientPackSource.createBuiltinPack
(String p_250992_, Pack.ResourcesSupplier p_250814_, Component p_249835_) private static PackLocationInfo
ClientPackSource.createBuiltInPackLocation
(String p_326492_, Component p_326472_) -
Uses of Component in net.minecraft.client.resources.language
-
Uses of Component in net.minecraft.client.resources.server
-
Uses of Component in net.minecraft.client.server
Modifier and TypeMethodDescriptionIntegratedPlayerList.canPlayerLogin
(SocketAddress p_120007_, com.mojang.authlib.GameProfile p_120008_) -
Uses of Component in net.minecraft.client.sounds
-
Uses of Component in net.minecraft.client.tutorial
Modifier and TypeFieldDescriptionprivate static final Component
CraftPlanksTutorialStep.CRAFT_DESCRIPTION
private static final Component
CraftPlanksTutorialStep.CRAFT_TITLE
private static final Component
FindTreeTutorialStepInstance.DESCRIPTION
private static final Component
OpenInventoryTutorialStep.DESCRIPTION
private static final Component
PunchTreeTutorialStepInstance.DESCRIPTION
private static final Component
MovementTutorialStepInstance.LOOK_DESCRIPTION
private static final Component
MovementTutorialStepInstance.LOOK_TITLE
private static final Component
MovementTutorialStepInstance.MOVE_DESCRIPTION
private static final Component
MovementTutorialStepInstance.MOVE_TITLE
private static final Component
FindTreeTutorialStepInstance.TITLE
private static final Component
OpenInventoryTutorialStep.TITLE
private static final Component
PunchTreeTutorialStepInstance.TITLE
-
Uses of Component in net.minecraft.commands
Modifier and TypeFieldDescriptionprivate final Component
CommandSourceStack.displayName
private final Component
FunctionInstantiationException.messageComponent
Modifier and TypeMethodDescriptionCommandSourceStack.getDisplayName()
FunctionInstantiationException.messageComponent()
Modifier and TypeMethodDescriptionprivate void
CommandSourceStack.broadcastToAdmins
(Component p_81367_) void
CommandSourceStack.sendFailure
(Component p_81353_) void
CommandSource.sendSystemMessage
(Component p_230797_) void
CommandSourceStack.sendSystemMessage
(Component p_243331_) Modifier and TypeMethodDescriptionvoid
CommandSourceStack.sendSuccess
(Supplier<Component> p_288979_, boolean p_289007_) ModifierConstructorDescriptionCommandSourceStack
(CommandSource p_81302_, Vec3 p_81303_, Vec2 p_81304_, ServerLevel p_81305_, int p_81306_, String p_81307_, Component p_81308_, MinecraftServer p_81309_, Entity p_81310_) protected
CommandSourceStack
(CommandSource p_282943_, Vec3 p_282023_, Vec2 p_282896_, ServerLevel p_282659_, int p_283075_, String p_282379_, Component p_282469_, MinecraftServer p_281590_, Entity p_281515_, boolean p_282415_, CommandResultCallback p_309630_, EntityAnchorArgument.Anchor p_282332_, CommandSigningContext p_283585_, TaskChainer p_282376_) FunctionInstantiationException
(Component p_294836_) -
Uses of Component in net.minecraft.commands.arguments
Modifier and TypeMethodDescriptionstatic Component
ComponentArgument.getComponent
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_87118_, String p_87119_) static Component
MessageArgument.getMessage
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_96836_, String p_96837_) ComponentArgument.parse
(com.mojang.brigadier.StringReader p_87116_) (package private) Component
MessageArgument.Message.resolveComponent
(CommandSourceStack p_232197_) MessageArgument.Message.toComponent
(CommandSourceStack p_96850_, boolean p_96851_) MessageArgument.Part.toComponent
(CommandSourceStack p_96861_) -
Uses of Component in net.minecraft.commands.arguments.selector
-
Uses of Component in net.minecraft.commands.arguments.selector.options
Modifier and TypeFieldDescriptionprivate final Component
EntitySelectorOptions.Option.description
The field for thedescription
record component.Modifier and TypeMethodDescriptionEntitySelectorOptions.Option.description()
Returns the value of thedescription
record component.Modifier and TypeMethodDescriptionstatic void
EntitySelectorOptions.register
(String p_121454_, EntitySelectorOptions.Modifier p_121455_, Predicate<EntitySelectorParser> p_121456_, Component p_121457_) ModifierConstructorDescription(package private)
Option
(EntitySelectorOptions.Modifier modifier, Predicate<EntitySelectorParser> canUse, Component description) Creates an instance of aOption
record class. -
Uses of Component in net.minecraft.core.component
Modifier and TypeFieldDescriptionstatic final DataComponentType
<Component> DataComponents.CUSTOM_NAME
static final DataComponentType
<Component> DataComponents.ITEM_NAME
-
Uses of Component in net.minecraft.data.metadata
Modifier and TypeMethodDescriptionstatic PackMetadataGenerator
PackMetadataGenerator.forFeaturePack
(PackOutput p_256281_, Component p_255661_) static PackMetadataGenerator
PackMetadataGenerator.forFeaturePack
(PackOutput p_253903_, Component p_254497_, FeatureFlagSet p_253848_) -
Uses of Component in net.minecraft.nbt
Modifier and TypeFieldDescriptionprivate Component
TextComponentTagVisitor.result
private static final Component
TextComponentTagVisitor.TOO_DEEP
Modifier and TypeMethodDescriptionprivate Component
TextComponentTagVisitor.buildSubTag
(Tag p_341640_, boolean p_341665_) protected static Component
TextComponentTagVisitor.handleEscapePretty
(String p_178254_) static Component
NbtUtils.toPrettyComponent
(Tag p_178062_) -
Uses of Component in net.minecraft.network
Modifier and TypeFieldDescriptionprivate Component
Connection.delayedDisconnect
private Component
Connection.disconnectedReason
private static final Component
RateKickingConnection.EXCEED_REASON
Modifier and TypeMethodDescriptionvoid
Connection.disconnect
(Component p_129508_) void
PacketListener.onDisconnect
(Component p_130552_) -
Uses of Component in net.minecraft.network.chat
Modifier and TypeFieldDescription(package private) static final Component
SignedMessageChain.DecodeException.CHAIN_BROKEN
private final Component
ThrowingComponent.component
static final Component
CommonComponents.CONNECT_FAILED
private final Component
OutgoingChatMessage.Disguised.content
The field for thecontent
record component.static final Component
ComponentUtils.DEFAULT_NO_STYLE_SEPARATOR
static final Component
ComponentUtils.DEFAULT_SEPARATOR
static final Component
CommonComponents.ELLIPSIS
static final Component
CommonComponents.EMPTY
(package private) static final Component
SignedMessageChain.DecodeException.EXPIRED_PROFILE_KEY
static final Component
CommonComponents.GUI_ACKNOWLEDGE
static final Component
CommonComponents.GUI_BACK
static final Component
CommonComponents.GUI_CANCEL
static final Component
CommonComponents.GUI_CONTINUE
static final Component
CommonComponents.GUI_COPY_LINK_TO_CLIPBOARD
static final Component
CommonComponents.GUI_DISCONNECT
static final Component
CommonComponents.GUI_DONE
static final Component
CommonComponents.GUI_NO
static final Component
CommonComponents.GUI_OK
static final Component
CommonComponents.GUI_OPEN_IN_BROWSER
static final Component
CommonComponents.GUI_PROCEED
static final Component
CommonComponents.GUI_TO_TITLE
static final Component
CommonComponents.GUI_YES
(package private) static final Component
SignedMessageChain.DecodeException.INVALID_SIGNATURE
(package private) static final Component
SignedMessageChain.DecodeException.MISSING_PROFILE_KEY
private final Component
ChatType.Bound.name
The field for thename
record component.static final Component
CommonComponents.NARRATION_SEPARATOR
static final Component
CommonComponents.NEW_LINE
static final Component
CommonComponents.OPTION_OFF
static final Component
CommonComponents.OPTION_ON
(package private) static final Component
SignedMessageChain.DecodeException.OUT_OF_ORDER_CHAT
static final Component
CommonComponents.SPACE
static final Component
CommonComponents.TRANSFER_CONNECT_FAILED
private final Component
PlayerChatMessage.unsignedContent
The field for theunsignedContent
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<Component> ComponentSerialization.CODEC
static final com.mojang.serialization.Codec
<Component> ComponentSerialization.FLAT_CODEC
HoverEvent.EntityTooltipInfo.linesCache
HoverEvent.EntityTooltipInfo.name
static final StreamCodec
<RegistryFriendlyByteBuf, Optional<Component>> ComponentSerialization.OPTIONAL_STREAM_CODEC
static final HoverEvent.Action
<Component> HoverEvent.Action.SHOW_TEXT
MutableComponent.siblings
static final StreamCodec
<RegistryFriendlyByteBuf, Component> ComponentSerialization.STREAM_CODEC
ChatType.Bound.targetName
The field for thetargetName
record component.static final StreamCodec
<io.netty.buffer.ByteBuf, Component> ComponentSerialization.TRUSTED_CONTEXT_FREE_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Optional<Component>> ComponentSerialization.TRUSTED_OPTIONAL_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Component> ComponentSerialization.TRUSTED_STREAM_CODEC
Modifier and TypeMethodDescriptionFilterMask.applyWithFormatting
(String p_251709_) OutgoingChatMessage.content()
OutgoingChatMessage.Disguised.content()
Returns the value of thecontent
record component.OutgoingChatMessage.Player.content()
ChatDecorator.decorate
(ServerPlayer p_236962_, Component p_236963_) ChatTypeDecoration.decorate
(Component p_241301_, ChatType.Bound p_241391_) PlayerChatMessage.decoratedContent()
ChatType.Bound.decorateNarration
(Component p_241354_) static <T extends Comparable<T>>
ComponentComponentUtils.formatAndSortList
(Collection<T> p_130746_, Function<T, Component> p_130747_) static Component
ComponentUtils.formatList
(Collection<? extends Component> p_178434_, Component p_178435_) static <T> Component
ComponentUtils.formatList
(Collection<? extends T> p_178441_, Function<T, Component> p_178442_) static Component
ComponentUtils.formatList
(Collection<String> p_130744_) static Component
ComponentUtils.fromMessage
(com.mojang.brigadier.Message p_130730_) ThrowingComponent.getComponent()
static Component
CommonComponents.joinLines
(Collection<? extends Component> p_178392_) static Component
ChatType.Bound.name()
Returns the value of thename
record component.static Component
Component.nullToEmpty
(String p_130675_) static Component
CommonComponents.optionStatus
(boolean p_130667_) private Component[]
ChatTypeDecoration.resolveParameters
(Component p_241365_, ChatType.Bound p_241559_) ChatTypeDecoration.Parameter.select
(Component p_241369_, ChatType.Bound p_241509_) ChatTypeDecoration.Parameter.Selector.select
(Component p_239620_, ChatType.Bound p_241499_) static Component
Component.translationArg
(com.mojang.brigadier.Message p_304620_) static Component
Component.translationArg
(Date p_304461_) static Component
Component.translationArg
(UUID p_304730_) static Component
Component.translationArg
(ResourceLocation p_304849_) static Component
Component.translationArg
(ChunkPos p_304675_) PlayerChatMessage.unsignedContent()
Returns the value of theunsignedContent
record component.Modifier and TypeMethodDescriptionprivate static com.mojang.serialization.Codec
<Component> ComponentSerialization.createCodec
(com.mojang.serialization.Codec<Component> p_304554_) static com.mojang.serialization.Codec
<Component> ComponentSerialization.flatCodec
(int p_331605_) Component.getSiblings()
MutableComponent.getSiblings()
HoverEvent.EntityTooltipInfo.getTooltipLines()
ChatType.Bound.targetName()
Returns the value of thetargetName
record component.Component.toFlatList()
Component.toFlatList
(Style p_178406_) Modifier and TypeMethodDescriptionstatic ChatType.Bound
ChatType.bind
(ResourceKey<ChatType> p_241284_, RegistryAccess p_241373_, Component p_241455_) default boolean
ChatDecorator.decorate
(ServerPlayer p_236962_, Component p_236963_) ChatTypeDecoration.decorate
(Component p_241301_, ChatType.Bound p_241391_) ChatType.Bound.decorateNarration
(Component p_241354_) static Component
ComponentUtils.formatList
(Collection<? extends Component> p_178434_, Component p_178435_) static <T> MutableComponent
ComponentUtils.formatList
(Collection<? extends T> p_178437_, Component p_178438_, Function<T, Component> p_178439_) static boolean
ComponentUtils.isTranslationResolvable
(Component p_237135_) static MutableComponent
CommonComponents.joinForNarration
(Component... p_267948_) static Component
static com.mojang.serialization.DataResult
<HoverEvent.EntityTooltipInfo> HoverEvent.EntityTooltipInfo.legacyCreate
(Component p_304689_, RegistryOps<?> p_330431_) private static com.mojang.serialization.DataResult
<HoverEvent.ItemStackInfo> HoverEvent.ItemStackInfo.legacyCreate
(Component p_304732_, RegistryOps<?> p_331763_) static MutableComponent
CommonComponents.optionNameValue
(Component p_178394_, Component p_178395_) static MutableComponent
CommonComponents.optionStatus
(Component p_130664_, boolean p_130665_) com.mojang.serialization.DataResult
<T> HoverEvent.LegacyConverter.parse
(Component p_332047_, RegistryOps<?> p_331431_) private Component[]
ChatTypeDecoration.resolveParameters
(Component p_241365_, ChatType.Bound p_241559_) ChatTypeDecoration.Parameter.select
(Component p_241369_, ChatType.Bound p_241509_) ChatTypeDecoration.Parameter.Selector.select
(Component p_239620_, ChatType.Bound p_241499_) (package private) static com.google.gson.JsonElement
Component.Serializer.serialize
(Component p_304983_, HolderLookup.Provider p_331501_) com.google.gson.JsonElement
Component.SerializerAdapter.serialize
(Component p_304915_, Type p_304423_, com.google.gson.JsonSerializationContext p_304514_) static String
Component.Serializer.toJson
(Component p_130704_, HolderLookup.Provider p_330782_) static MutableComponent
ComponentUtils.updateForEntity
(CommandSourceStack p_130732_, Component p_130733_, Entity p_130734_, int p_130735_) ChatType.Bound.withTargetName
(Component p_241530_) PlayerChatMessage.withUnsignedContent
(Component p_242164_) static MutableComponent
ComponentUtils.wrapInSquareBrackets
(Component p_130749_) Modifier and TypeMethodDescriptionprivate static com.mojang.serialization.Codec
<Component> ComponentSerialization.createCodec
(com.mojang.serialization.Codec<Component> p_304554_) private static MutableComponent
ComponentSerialization.createFromList
(List<Component> p_304405_) static <T extends Comparable<T>>
ComponentComponentUtils.formatAndSortList
(Collection<T> p_130746_, Function<T, Component> p_130747_) static Component
ComponentUtils.formatList
(Collection<? extends Component> p_178434_, Component p_178435_) static <T> Component
ComponentUtils.formatList
(Collection<? extends T> p_178441_, Function<T, Component> p_178442_) static <T> MutableComponent
ComponentUtils.formatList
(Collection<? extends T> p_178430_, Optional<? extends Component> p_178431_, Function<T, Component> p_178432_) static <T> MutableComponent
ComponentUtils.formatList
(Collection<? extends T> p_178430_, Optional<? extends Component> p_178431_, Function<T, Component> p_178432_) static <T> MutableComponent
ComponentUtils.formatList
(Collection<? extends T> p_178437_, Component p_178438_, Function<T, Component> p_178439_) static Component
CommonComponents.joinLines
(Collection<? extends Component> p_178392_) static MutableComponent
Component.nbt
(String p_237106_, boolean p_237107_, Optional<Component> p_237108_, DataSource p_237109_) static MutableComponent
static Optional
<MutableComponent> ComponentUtils.updateForEntity
(CommandSourceStack p_178425_, Optional<Component> p_178426_, Entity p_178427_, int p_178428_) ModifierConstructorDescription(package private)
Creates an instance of aBound
record class.DecodeException
(Component p_249149_) Creates an instance of aDisguised
record class.EntityTooltipInfo
(EntityType<?> p_130876_, UUID p_130877_, Component p_130878_) PlayerChatMessage
(SignedMessageLink link, MessageSignature signature, SignedMessageBody signedBody, Component unsignedContent, FilterMask filterMask) Creates an instance of aPlayerChatMessage
record class.ThrowingComponent
(Component p_237304_) ThrowingComponent
(Component p_237306_, Throwable p_237307_) ModifierConstructorDescriptionCreates an instance of aBound
record class.EntityTooltipInfo
(EntityType<?> p_304581_, UUID p_304712_, Optional<Component> p_304973_) (package private)
MutableComponent
(ComponentContents p_237200_, List<Component> p_237201_, Style p_237202_) -
Uses of Component in net.minecraft.network.chat.contents
Modifier and TypeFieldDescriptionKeybindResolver.keyResolver
KeybindContents.nameResolver
NbtContents.separator
SelectorContents.separator
Modifier and TypeMethodDescriptionstatic void
KeybindResolver.setKeyResolver
(Function<String, Supplier<Component>> p_237365_) ModifierConstructorDescriptionNbtContents
(String p_237395_, boolean p_237396_, Optional<Component> p_237397_, DataSource p_237398_) private
NbtContents
(String p_237389_, NbtPathArgument.NbtPath p_237390_, boolean p_237391_, Optional<Component> p_237392_, DataSource p_237393_) SelectorContents
(String p_237464_, Optional<Component> p_237465_) -
Uses of Component in net.minecraft.network.chat.numbers
-
Uses of Component in net.minecraft.network.protocol.common
Modifier and TypeFieldDescriptionprivate final Component
ClientboundDisconnectPacket.reason
The field for thereason
record component.Modifier and TypeFieldDescriptionClientboundResourcePackPushPacket.prompt
The field for theprompt
record component.Modifier and TypeMethodDescriptionClientboundDisconnectPacket.reason()
Returns the value of thereason
record component.Modifier and TypeMethodDescriptionClientboundResourcePackPushPacket.prompt()
Returns the value of theprompt
record component.ModifierConstructorDescriptionClientboundDisconnectPacket
(Component reason) Creates an instance of aClientboundDisconnectPacket
record class. -
Uses of Component in net.minecraft.network.protocol.game
Modifier and TypeFieldDescriptionprivate final Component
ClientboundSystemChatPacket.content
The field for thecontent
record component.private final Component
ClientboundPlayerInfoUpdatePacket.Entry.displayName
The field for thedisplayName
record component.(package private) Component
ClientboundPlayerInfoUpdatePacket.EntryBuilder.displayName
private final Component
ClientboundSetObjectivePacket.displayName
private final Component
ClientboundSetPlayerTeamPacket.Parameters.displayName
private final Component
ClientboundTabListPacket.footer
The field for thefooter
record component.private final Component
ClientboundTabListPacket.header
The field for theheader
record component.private final Component
ClientboundDisguisedChatPacket.message
The field for themessage
record component.private final Component
ClientboundPlayerCombatKillPacket.message
The field for themessage
record component.private final Component
ClientboundServerDataPacket.motd
The field for themotd
record component.private final Component
ClientboundBossEventPacket.AddOperation.name
private final Component
ClientboundBossEventPacket.UpdateNameOperation.name
The field for thename
record component.private final Component
ClientboundSetPlayerTeamPacket.Parameters.playerPrefix
private final Component
ClientboundSetPlayerTeamPacket.Parameters.playerSuffix
private final Component
ClientboundSetActionBarTextPacket.text
The field for thetext
record component.private final Component
ClientboundSetSubtitleTextPacket.text
The field for thetext
record component.private final Component
ClientboundSetTitleTextPacket.text
The field for thetext
record component.private final Component
ClientboundOpenScreenPacket.title
private final Component
ClientboundPlayerChatPacket.unsignedContent
The field for theunsignedContent
record component.Modifier and TypeFieldDescriptionClientboundSetScorePacket.display
The field for thedisplay
record component.ClientboundCommandSuggestionsPacket.Entry.tooltip
The field for thetooltip
record component.Modifier and TypeMethodDescriptionClientboundSystemChatPacket.content()
Returns the value of thecontent
record component.ClientboundPlayerInfoUpdatePacket.Entry.displayName()
Returns the value of thedisplayName
record component.ClientboundTabListPacket.footer()
Returns the value of thefooter
record component.ClientboundSetObjectivePacket.getDisplayName()
ClientboundSetPlayerTeamPacket.Parameters.getDisplayName()
ClientboundSetPlayerTeamPacket.Parameters.getPlayerPrefix()
ClientboundSetPlayerTeamPacket.Parameters.getPlayerSuffix()
ClientboundOpenScreenPacket.getTitle()
ClientboundTabListPacket.header()
Returns the value of theheader
record component.ClientboundDisguisedChatPacket.message()
Returns the value of themessage
record component.ClientboundPlayerCombatKillPacket.message()
Returns the value of themessage
record component.ClientboundServerDataPacket.motd()
Returns the value of themotd
record component.ClientboundBossEventPacket.UpdateNameOperation.name()
Returns the value of thename
record component.ClientboundSetActionBarTextPacket.text()
Returns the value of thetext
record component.ClientboundSetSubtitleTextPacket.text()
Returns the value of thetext
record component.ClientboundSetTitleTextPacket.text()
Returns the value of thetext
record component.ClientboundPlayerChatPacket.unsignedContent()
Returns the value of theunsignedContent
record component.Modifier and TypeMethodDescriptionClientboundSetScorePacket.display()
Returns the value of thedisplay
record component.ClientboundCommandSuggestionsPacket.Entry.tooltip()
Returns the value of thetooltip
record component.Modifier and TypeMethodDescriptiondefault void
ClientboundBossEventPacket.Handler.add
(UUID p_178689_, Component p_178690_, float p_178691_, BossEvent.BossBarColor p_178692_, BossEvent.BossBarOverlay p_178693_, boolean p_178694_, boolean p_178695_, boolean p_178696_) default void
ClientboundBossEventPacket.Handler.updateName
(UUID p_178687_, Component p_178688_) ModifierConstructorDescriptionClientboundDisguisedChatPacket
(Component message, ChatType.Bound chatType) Creates an instance of aClientboundDisguisedChatPacket
record class.ClientboundOpenScreenPacket
(int p_132616_, MenuType<?> p_132617_, Component p_132618_) ClientboundPlayerChatPacket
(UUID sender, int index, MessageSignature signature, SignedMessageBody.Packed body, Component unsignedContent, FilterMask filterMask, ChatType.Bound chatType) Creates an instance of aClientboundPlayerChatPacket
record class.ClientboundPlayerCombatKillPacket
(int playerId, Component message) Creates an instance of aClientboundPlayerCombatKillPacket
record class.ClientboundServerDataPacket
(Component motd, Optional<byte[]> iconBytes) Creates an instance of aClientboundServerDataPacket
record class.Creates an instance of aClientboundSetActionBarTextPacket
record class.Creates an instance of aClientboundSetSubtitleTextPacket
record class.Creates an instance of aClientboundSetTitleTextPacket
record class.ClientboundSystemChatPacket
(Component content, boolean overlay) Creates an instance of aClientboundSystemChatPacket
record class.ClientboundTabListPacket
(Component header, Component footer) Creates an instance of aClientboundTabListPacket
record class.Entry
(UUID profileId, com.mojang.authlib.GameProfile profile, boolean listed, int latency, GameType gameMode, Component displayName, RemoteChatSession.Data chatSession) Creates an instance of aEntry
record class.(package private)
UpdateNameOperation
(Component name) Creates an instance of aUpdateNameOperation
record class.ModifierConstructorDescriptionClientboundSetScorePacket
(String owner, String objectiveName, int score, Optional<Component> display, Optional<NumberFormat> numberFormat) Creates an instance of aClientboundSetScorePacket
record class.Creates an instance of aEntry
record class. -
Uses of Component in net.minecraft.network.protocol.login
-
Uses of Component in net.minecraft.network.protocol.status
Modifier and TypeFieldDescriptionprivate final Component
ServerStatus.description
The field for thedescription
record component.Modifier and TypeMethodDescriptionServerStatus.description()
Returns the value of thedescription
record component.ModifierConstructorDescriptionServerStatus
(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 aServerStatus
record class. -
Uses of Component in net.minecraft.network.syncher
Modifier and TypeFieldDescriptionstatic final EntityDataSerializer
<Component> EntityDataSerializers.COMPONENT
static final EntityDataSerializer
<Optional<Component>> EntityDataSerializers.OPTIONAL_COMPONENT
-
Uses of Component in net.minecraft.realms
Modifier and TypeFieldDescription(package private) final Component
RepeatedNarrator.Params.narration
private final Component
DisconnectedRealmsScreen.reason
private final Component
RealmsLabel.text
Modifier and TypeMethodDescriptionRealmsScreen.createLabelNarration()
DisconnectedRealmsScreen.getNarrationMessage()
RealmsLabel.getText()
Modifier and TypeMethodDescriptionvoid
RepeatedNarrator.narrate
(GameNarrator p_240528_, Component p_240604_) ModifierConstructorDescriptionDisconnectedRealmsScreen
(Screen p_120653_, Component p_120654_, Component p_120655_) (package private)
RealmsLabel
(Component p_120736_, int p_120737_, int p_120738_, int p_120739_) RealmsScreen
(Component p_175072_) -
Uses of Component in net.minecraft.server
Modifier and TypeFieldDescriptionprivate final Component
MinecraftServer.ServerResourcePackInfo.prompt
The field for theprompt
record component.Modifier and TypeMethodDescriptionMinecraftServer.ServerResourcePackInfo.prompt()
Returns the value of theprompt
record component.Modifier and TypeMethodDescriptionvoid
MinecraftServer.logChatMessage
(Component p_241503_, ChatType.Bound p_241402_, String p_241481_) void
MinecraftServer.sendSystemMessage
(Component p_236736_) ModifierConstructorDescriptionServerResourcePackInfo
(UUID id, String url, String hash, boolean isRequired, Component prompt) Creates an instance of aServerResourcePackInfo
record class. -
Uses of Component in net.minecraft.server.bossevents
Modifier and TypeMethodDescriptionCustomBossEvents.create
(ResourceLocation p_136300_, Component p_136301_) -
Uses of Component in net.minecraft.server.commands
Modifier and TypeMethodDescriptionprivate static Component
AttributeCommand.getAttributeDescription
(Holder<Attribute> p_250602_) private static Component
TeamCommand.getFirstMemberName
(Collection<ScoreHolder> p_313883_) private static Component
ScoreboardCommand.getFirstTargetName
(Collection<ScoreHolder> p_313737_) Modifier and TypeMethodDescriptionprivate static int
ScoreboardCommand.addObjective
(CommandSourceStack p_138503_, String p_138504_, ObjectiveCriteria p_138505_, Component p_138506_) private static int
BanIpCommands.banIp
(CommandSourceStack p_136540_, String p_136541_, Component p_136542_) private static int
BanIpCommands.banIpOrName
(CommandSourceStack p_136534_, String p_136535_, Component p_136536_) private static int
BanPlayerCommands.banPlayers
(CommandSourceStack p_136565_, Collection<com.mojang.authlib.GameProfile> p_136566_, Component p_136567_) private static int
BossBarCommands.createBar
(CommandSourceStack p_136592_, ResourceLocation p_136593_, Component p_136594_) private static int
TeamCommand.createTeam
(CommandSourceStack p_138914_, String p_138915_, Component p_138916_) private static int
KickCommand.kickPlayers
(CommandSourceStack p_137802_, Collection<ServerPlayer> p_137803_, Component p_137804_) private static int
RaidCommand.playSound
(CommandSourceStack p_180478_, Component p_180479_) void
DebugCommand.Tracer.sendSystemMessage
(Component p_214427_) private static int
ScoreboardCommand.setDisplayName
(CommandSourceStack p_138492_, Objective p_138493_, Component p_138494_) private static int
TeamCommand.setDisplayName
(CommandSourceStack p_138903_, PlayerTeam p_138904_, Component p_138905_) private static int
BossBarCommands.setName
(CommandSourceStack p_136615_, CustomBossEvent p_136616_, Component p_136617_) private static int
TeamCommand.setPrefix
(CommandSourceStack p_138934_, PlayerTeam p_138935_, Component p_138936_) private static int
ScoreboardCommand.setScoreDisplay
(CommandSourceStack p_313937_, Collection<ScoreHolder> p_313923_, Objective p_313702_, Component p_313807_) private static int
TeamCommand.setSuffix
(CommandSourceStack p_138947_, PlayerTeam p_138948_, Component p_138949_) private static int
TitleCommand.showTitle
(CommandSourceStack p_142781_, Collection<ServerPlayer> p_142782_, Component p_142783_, String p_142784_, Function<Component, Packet<?>> p_142785_) Modifier and TypeMethodDescriptionstatic com.mojang.datafixers.util.Either
<Integer, com.mojang.brigadier.exceptions.CommandSyntaxException> FillBiomeCommand.fill
(ServerLevel p_313779_, BlockPos p_313726_, BlockPos p_313895_, Holder<Biome> p_313905_, Predicate<Holder<Biome>> p_313945_, Consumer<Supplier<Component>> p_313787_) private static int
ListPlayersCommand.format
(CommandSourceStack p_137827_, Function<ServerPlayer, Component> p_137828_) private static int
TitleCommand.showTitle
(CommandSourceStack p_142781_, Collection<ServerPlayer> p_142782_, Component p_142783_, String p_142784_, Function<Component, Packet<?>> p_142785_) -
Uses of Component in net.minecraft.server.commands.data
Modifier and TypeMethodDescriptionBlockDataAccessor.getModifiedSuccess()
DataAccessor.getModifiedSuccess()
EntityDataAccessor.getModifiedSuccess()
StorageDataAccessor.getModifiedSuccess()
BlockDataAccessor.getPrintSuccess
(NbtPathArgument.NbtPath p_139301_, double p_139302_, int p_139303_) BlockDataAccessor.getPrintSuccess
(Tag p_139309_) DataAccessor.getPrintSuccess
(NbtPathArgument.NbtPath p_139320_, double p_139321_, int p_139322_) DataAccessor.getPrintSuccess
(Tag p_139324_) EntityDataAccessor.getPrintSuccess
(NbtPathArgument.NbtPath p_139513_, double p_139514_, int p_139515_) EntityDataAccessor.getPrintSuccess
(Tag p_139521_) StorageDataAccessor.getPrintSuccess
(NbtPathArgument.NbtPath p_139550_, double p_139551_, int p_139552_) StorageDataAccessor.getPrintSuccess
(Tag p_139558_) -
Uses of Component in net.minecraft.server.dedicated
Modifier and TypeMethodDescriptionprivate static Component
DedicatedServerProperties.parseResourcePackPrompt
(String p_214815_) -
Uses of Component in net.minecraft.server.level
Modifier and TypeFieldDescriptionprivate Component
ServerPlayer.tabListDisplayName
private Component
ServerPlayer.tabListFooter
private Component
ServerPlayer.tabListHeader
Modifier and TypeMethodDescriptionServerPlayer.getTabListDisplayName()
ServerPlayer.getTabListFooter()
ServerPlayer.getTabListHeader()
Modifier and TypeMethodDescriptionvoid
ServerPlayer.displayClientMessage
(Component p_9154_, boolean p_9155_) void
ServerPlayer.sendSystemMessage
(Component p_215097_) void
ServerPlayer.sendSystemMessage
(Component p_240560_, boolean p_240545_) void
void
ServerPlayer.setTabListFooter
(Component footer) Set the tab list footer while preserving the header.void
ServerPlayer.setTabListHeader
(Component header) Set the tab list header while preserving the footer.void
ServerPlayer.setTabListHeaderFooter
(Component header, Component footer) Set the tab list header and footer at once.ModifierConstructorDescriptionServerBossEvent
(Component p_8300_, BossEvent.BossBarColor p_8301_, BossEvent.BossBarOverlay p_8302_) -
Uses of Component in net.minecraft.server.network
Modifier and TypeFieldDescriptionprivate static final Component
ServerGamePacketListenerImpl.CHAT_VALIDATION_FAILED
private static final Component
ServerStatusPacketListenerImpl.DISCONNECT_REASON
private static final Component
ServerConfigurationPacketListenerImpl.DISCONNECT_REASON_INVALID_DATA
(package private) static final Component
ServerCommonPacketListenerImpl.DISCONNECT_UNEXPECTED_QUERY
private static final Component
ServerHandshakePacketListenerImpl.IGNORE_STATUS_REASON
private static final Component
ServerGamePacketListenerImpl.INVALID_COMMAND_SIGNATURE
private static final Component
ServerCommonPacketListenerImpl.TIMEOUT_DISCONNECTION_MESSAGE
Modifier and TypeMethodDescriptionvoid
ServerCommonPacketListenerImpl.disconnect
(Component p_294116_) void
ServerLoginPacketListenerImpl.disconnect
(Component p_10054_) void
MemoryServerHandshakePacketListenerImpl.onDisconnect
(Component p_9695_) void
ServerCommonPacketListenerImpl.onDisconnect
(Component p_295648_) void
ServerConfigurationPacketListenerImpl.onDisconnect
(Component p_295037_) void
ServerGamePacketListenerImpl.onDisconnect
(Component p_9825_) void
ServerHandshakePacketListenerImpl.onDisconnect
(Component p_9973_) void
ServerLoginPacketListenerImpl.onDisconnect
(Component p_10043_) void
ServerStatusPacketListenerImpl.onDisconnect
(Component p_10091_) void
ServerGamePacketListenerImpl.sendDisguisedChatMessage
(Component p_251804_, ChatType.Bound p_250040_) -
Uses of Component in net.minecraft.server.packs
Modifier and TypeFieldDescriptionprivate final Component
PackLocationInfo.title
The field for thetitle
record component.Modifier and TypeMethodDescriptionPackLocationInfo.createChatLink
(boolean p_326100_, Component p_325972_) PackLocationInfo.title()
Returns the value of thetitle
record component.Modifier and TypeMethodDescriptionPackLocationInfo.createChatLink
(boolean p_326100_, Component p_325972_) ModifierConstructorDescriptionPackLocationInfo
(String id, Component title, PackSource source, Optional<KnownPack> knownPackInfo) Creates an instance of aPackLocationInfo
record class. -
Uses of Component in net.minecraft.server.packs.metadata.pack
Modifier and TypeFieldDescriptionprivate final Component
PackMetadataSection.description
The field for thedescription
record component.Modifier and TypeMethodDescriptionPackMetadataSection.description()
Returns the value of thedescription
record component.ModifierConstructorDescriptionPackMetadataSection
(Component description, int packVersion) PackMetadataSection
(Component description, int packFormat, Optional<InclusiveRange<Integer>> supportedFormats) Creates an instance of aPackMetadataSection
record class. -
Uses of Component in net.minecraft.server.packs.repository
Modifier and TypeFieldDescriptionprivate final Component
PackCompatibility.confirmation
private final Component
Pack.Metadata.description
The field for thedescription
record component.private final Component
PackCompatibility.description
Modifier and TypeMethodDescriptionPack.Metadata.description()
Returns the value of thedescription
record component.Pack.getChatLink
(boolean p_10438_) PackCompatibility.getConfirmation()
Pack.getDescription()
PackCompatibility.getDescription()
protected abstract Component
BuiltInPackSource.getPackTitle
(String p_251850_) protected Component
ServerPacksSource.getPackTitle
(String p_249692_) Pack.getTitle()
Modifier and TypeMethodDescriptionprivate static UnaryOperator
<Component> PackSource.decorateWithSource
(String p_10534_) Modifier and TypeMethodDescriptionprotected abstract Pack
BuiltInPackSource.createBuiltinPack
(String p_249992_, Pack.ResourcesSupplier p_248670_, Component p_252197_) protected Pack
ServerPacksSource.createBuiltinPack
(String p_250596_, Pack.ResourcesSupplier p_249625_, Component p_249043_) private static PackLocationInfo
ServerPacksSource.createBuiltInPackLocation
(String p_326487_, Component p_326454_) Modifier and TypeMethodDescriptionstatic PackSource
PackSource.create
(UnaryOperator<Component> p_251995_, boolean p_249897_) ModifierConstructorDescriptionMetadata
(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 aMetadata
record class. -
Uses of Component in net.minecraft.server.players
Modifier and TypeFieldDescriptionstatic final Component
PlayerList.CHAT_FILTERED_FULL
static final Component
PlayerList.DUPLICATE_LOGIN_DISCONNECT_MESSAGE
Modifier and TypeMethodDescriptionPlayerList.canPlayerLogin
(SocketAddress p_11257_, com.mojang.authlib.GameProfile p_11258_) abstract Component
BanListEntry.getDisplayName()
IpBanListEntry.getDisplayName()
UserBanListEntry.getDisplayName()
Modifier and TypeMethodDescriptionvoid
PlayerList.broadcastSystemMessage
(Component p_240618_, boolean p_240644_) void
PlayerList.broadcastSystemMessage
(Component p_240526_, Function<ServerPlayer, Component> p_240594_, boolean p_240648_) void
PlayerList.broadcastSystemToAllExceptTeam
(Player p_215650_, Component p_215651_) void
PlayerList.broadcastSystemToTeam
(Player p_215622_, Component p_215623_) Modifier and TypeMethodDescriptionvoid
PlayerList.broadcastSystemMessage
(Component p_240526_, Function<ServerPlayer, Component> p_240594_, boolean p_240648_) -
Uses of Component in net.minecraft.server.rcon
-
Uses of Component in net.minecraft.stats
-
Uses of Component in net.minecraft.util
Modifier and TypeMethodDescriptionvoid
ProgressListener.progressStage
(Component p_14214_) void
ProgressListener.progressStart
(Component p_14213_) void
ProgressListener.progressStartNoAbort
(Component p_14212_) -
Uses of Component in net.minecraft.util.worldupdate
-
Uses of Component in net.minecraft.world
Modifier and TypeFieldDescriptionprotected Component
BossEvent.name
private final Component
SimpleMenuProvider.title
Modifier and TypeMethodDescriptiondefault Component
Nameable.getCustomName()
Difficulty.getDisplayName()
MenuProvider.getDisplayName()
default Component
Nameable.getDisplayName()
SimpleMenuProvider.getDisplayName()
Difficulty.getInfo()
BossEvent.getName()
Nameable.getName()
ModifierConstructorDescriptionBossEvent
(UUID p_18849_, Component p_18850_, BossEvent.BossBarColor p_18851_, BossEvent.BossBarOverlay p_18852_) SimpleMenuProvider
(MenuConstructor p_19202_, Component p_19203_) -
Uses of Component in net.minecraft.world.damagesource
Modifier and TypeMethodDescriptionCombatTracker.getDeathMessage()
private static Component
CombatTracker.getDisplayName
(Entity p_289557_) CombatTracker.getFallMessage
(CombatEntry p_289570_, Entity p_289561_) DamageSource.getLocalizedDeathMessage
(LivingEntity p_19343_) private Component
CombatTracker.getMessageForAssistedFall
(Entity p_289547_, Component p_289532_, String p_289555_, String p_289548_) -
Uses of Component in net.minecraft.world.effect
Modifier and TypeMethodDescriptionstatic Component
MobEffectUtil.formatDuration
(MobEffectInstance p_268116_, float p_268280_, float p_314720_) MobEffect.getDisplayName()
-
Uses of Component in net.minecraft.world.entity
Modifier and TypeFieldDescriptionprivate Component
EntityType.description
private final Component
Display.TextDisplay.TextRenderState.text
The field for thetext
record component.Modifier and TypeFieldDescriptionprivate static final EntityDataAccessor
<Optional<Component>> Entity.DATA_CUSTOM_NAME
private static final EntityDataAccessor
<Component> Display.TextDisplay.DATA_TEXT_ID
Modifier and TypeMethodDescriptionEntity.getCustomName()
EntityType.getDescription()
Entity.getDisplayName()
Entity.getName()
private Component
Display.TextDisplay.getText()
protected Component
Entity.getTypeName()
private static Component
Entity.removeAction
(Component p_20141_) Display.TextDisplay.TextRenderState.text()
Returns the value of thetext
record component.Modifier and TypeMethodDescriptionprivate static Component
Entity.removeAction
(Component p_20141_) void
Entity.sendSystemMessage
(Component p_216998_) void
Entity.setCustomName
(Component p_20053_) private void
ModifierConstructorDescriptionTextRenderState
(Component text, int lineWidth, Display.IntInterpolator textOpacity, Display.IntInterpolator backgroundColor, byte flags) Creates an instance of aTextRenderState
record class. -
Uses of Component in net.minecraft.world.entity.animal
-
Uses of Component in net.minecraft.world.entity.boss.wither
-
Uses of Component in net.minecraft.world.entity.item
Modifier and TypeMethodDescriptionItemEntity.getName()
protected Component
FallingBlockEntity.getTypeName()
-
Uses of Component in net.minecraft.world.entity.monster
-
Uses of Component in net.minecraft.world.entity.npc
-
Uses of Component in net.minecraft.world.entity.player
Modifier and TypeFieldDescriptionprivate Component
Player.displayname
static final Component
ProfilePublicKey.EXPIRED_PROFILE_PUBLIC_KEY
private static final Component
ProfilePublicKey.INVALID_SIGNATURE
private final Component
Player.BedSleepingProblem.message
private final Component
PlayerModelPart.name
Modifier and TypeMethodDescriptionPlayer.getDisplayName()
Player.BedSleepingProblem.getMessage()
Inventory.getName()
Player.getName()
PlayerModelPart.getName()
Modifier and TypeMethodDescriptionvoid
Player.displayClientMessage
(Component p_36216_, boolean p_36217_) ModifierConstructorDescriptionprivate
BedSleepingProblem
(Component p_36422_) ValidationException
(Component p_243378_) -
Uses of Component in net.minecraft.world.entity.raid
Modifier and TypeFieldDescriptionprivate static final Component
private static final Component
private static final Component
private static final Component
Raid.RAID_NAME_COMPONENT
-
Uses of Component in net.minecraft.world.entity.vehicle
Modifier and TypeFieldDescription(package private) static final EntityDataAccessor
<Component> MinecartCommandBlock.DATA_ID_LAST_OUTPUT
-
Uses of Component in net.minecraft.world.item
Modifier and TypeFieldDescriptionprivate final Component
SmithingTemplateItem.additionsSlotDescription
private static final Component
SmithingTemplateItem.APPLIES_TO_TITLE
private final Component
SmithingTemplateItem.appliesTo
private static final Component
SmithingTemplateItem.ARMOR_TRIM_ADDITIONS_SLOT_DESCRIPTION
private static final Component
SmithingTemplateItem.ARMOR_TRIM_APPLIES_TO
private static final Component
SmithingTemplateItem.ARMOR_TRIM_BASE_SLOT_DESCRIPTION
private static final Component
SmithingTemplateItem.ARMOR_TRIM_INGREDIENTS
private final Component
SmithingTemplateItem.baseSlotDescription
static final Component
AdventureModePredicate.CAN_BREAK_HEADER
static final Component
AdventureModePredicate.CAN_PLACE_HEADER
private static final Component
ItemStack.DISABLED_ITEM_TOOLTIP
private Component
CreativeModeTab.Builder.displayName
private final Component
CreativeModeTab.displayName
private final Component
SmithingTemplateItem.ingredients
private static final Component
SmithingTemplateItem.INGREDIENTS_TITLE
private static final Component
SmithingTemplateItem.NETHERITE_UPGRADE
private static final Component
SmithingTemplateItem.NETHERITE_UPGRADE_ADDITIONS_SLOT_DESCRIPTION
private static final Component
SmithingTemplateItem.NETHERITE_UPGRADE_APPLIES_TO
private static final Component
SmithingTemplateItem.NETHERITE_UPGRADE_BASE_SLOT_DESCRIPTION
private static final Component
SmithingTemplateItem.NETHERITE_UPGRADE_INGREDIENTS
private static final Component
HangingEntityItem.TOOLTIP_RANDOM_VARIANT
private static final Component
AdventureModePredicate.UNKNOWN_USE
private final Component
SmithingTemplateItem.upgradeDescription
Modifier and TypeMethodDescriptionSmithingTemplateItem.getAdditionSlotDescription()
SmithingTemplateItem.getBaseSlotDescription()
Item.getDescription()
CreativeModeTab.getDisplayName()
ItemStack.getDisplayName()
ItemStack.getHoverName()
static Component
MapItem.getTooltipForId
(MapId p_323616_) Modifier and TypeMethodDescriptionAdventureModePredicate.computeTooltip
(List<BlockPredicate> p_332164_) ItemStack.getTooltipLines
(Item.TooltipContext p_339637_, Player p_41652_, TooltipFlag p_41653_) Modifier and TypeMethodDescriptionprivate static void
Modifier and TypeMethodDescriptionprivate void
ItemStack.addAttributeTooltips
(Consumer<Component> p_330796_, Player p_330530_) private void
ItemStack.addModifierTooltip
(Consumer<Component> p_331062_, Player p_330317_, Holder<Attribute> p_330626_, AttributeModifier p_331252_) void
AdventureModePredicate.addToTooltip
(Consumer<Component> p_331792_) <T extends TooltipProvider>
voidItemStack.addToTooltip
(DataComponentType<T> p_331344_, Item.TooltipContext p_341231_, Consumer<Component> p_331885_, TooltipFlag p_331177_) void
AirItem.appendHoverText
(ItemStack p_40372_, Item.TooltipContext p_339659_, List<Component> p_40374_, TooltipFlag p_40375_) void
BannerItem.appendHoverText
(ItemStack p_40538_, Item.TooltipContext p_339668_, List<Component> p_40540_, TooltipFlag p_40541_) void
BannerPatternItem.appendHoverText
(ItemStack p_40551_, Item.TooltipContext p_339598_, List<Component> p_40553_, TooltipFlag p_40554_) void
BlockItem.appendHoverText
(ItemStack p_40572_, Item.TooltipContext p_339655_, List<Component> p_40574_, TooltipFlag p_40575_) void
BundleItem.appendHoverText
(ItemStack p_150749_, Item.TooltipContext p_339687_, List<Component> p_150751_, TooltipFlag p_150752_) void
CrossbowItem.appendHoverText
(ItemStack p_40880_, Item.TooltipContext p_339686_, List<Component> p_40882_, TooltipFlag p_40883_) void
DiscFragmentItem.appendHoverText
(ItemStack p_220031_, Item.TooltipContext p_339652_, List<Component> p_220033_, TooltipFlag p_220034_) void
FireworkRocketItem.appendHoverText
(ItemStack p_41211_, Item.TooltipContext p_339661_, List<Component> p_41213_, TooltipFlag p_41214_) void
FireworkStarItem.appendHoverText
(ItemStack p_41252_, Item.TooltipContext p_339685_, List<Component> p_41254_, TooltipFlag p_41255_) void
HangingEntityItem.appendHoverText
(ItemStack p_270235_, Item.TooltipContext p_339644_, List<Component> p_270630_, TooltipFlag p_270170_) void
InstrumentItem.appendHoverText
(ItemStack p_220115_, Item.TooltipContext p_339630_, List<Component> p_220117_, TooltipFlag p_220118_) void
Item.appendHoverText
(ItemStack p_41421_, Item.TooltipContext p_339594_, List<Component> p_41423_, TooltipFlag p_41424_) void
LingeringPotionItem.appendHoverText
(ItemStack p_42838_, Item.TooltipContext p_339607_, List<Component> p_42840_, TooltipFlag p_42841_) void
MapItem.appendHoverText
(ItemStack p_42880_, Item.TooltipContext p_339653_, List<Component> p_42882_, TooltipFlag p_42883_) void
MobBucketItem.appendHoverText
(ItemStack p_151155_, Item.TooltipContext p_339675_, List<Component> p_151157_, TooltipFlag p_151158_) void
OminousBottleItem.appendHoverText
(ItemStack p_338470_, Item.TooltipContext p_339656_, List<Component> p_338463_, TooltipFlag p_338317_) void
PotionItem.appendHoverText
(ItemStack p_42988_, Item.TooltipContext p_339608_, List<Component> p_42990_, TooltipFlag p_42991_) void
RecordItem.appendHoverText
(ItemStack p_43043_, Item.TooltipContext p_339671_, List<Component> p_43045_, TooltipFlag p_43046_) void
ShieldItem.appendHoverText
(ItemStack p_43094_, Item.TooltipContext p_339613_, List<Component> p_43096_, TooltipFlag p_43097_) void
SmithingTemplateItem.appendHoverText
(ItemStack p_267313_, Item.TooltipContext p_339591_, List<Component> p_266820_, TooltipFlag p_266857_) void
SuspiciousStewItem.appendHoverText
(ItemStack p_260314_, Item.TooltipContext p_339691_, List<Component> p_259700_, TooltipFlag p_260021_) void
TippedArrowItem.appendHoverText
(ItemStack p_43359_, Item.TooltipContext p_339681_, List<Component> p_43361_, TooltipFlag p_43362_) void
WrittenBookItem.appendHoverText
(ItemStack p_43457_, Item.TooltipContext p_339643_, List<Component> p_43459_, TooltipFlag p_43460_) static void
BannerItem.appendHoverTextFromBannerBlockEntityTag
(ItemStack p_40543_, List<Component> p_40544_) ModifierConstructorDescription(package private)
CreativeModeTab
(CreativeModeTab.Row p_260217_, int p_259557_, CreativeModeTab.Type p_260176_, Component p_260100_, Supplier<ItemStack> p_259543_, CreativeModeTab.DisplayItemsGenerator p_259085_, ResourceLocation backgroundLocation, ResourceLocation scrollerSpriteLocation, boolean hasSearchBar, int searchBarWidth, ResourceLocation tabsImage, int labelColor, int slotColor, List<ResourceLocation> tabsBefore, List<ResourceLocation> tabsAfter) SmithingTemplateItem
(Component p_266834_, Component p_267043_, Component p_267048_, Component p_267278_, Component p_267090_, List<ResourceLocation> p_266755_, List<ResourceLocation> p_267060_, FeatureFlag... p_333776_) -
Uses of Component in net.minecraft.world.item.alchemy
Modifier and TypeMethodDescriptionstatic void
PotionContents.addPotionTooltip
(Iterable<MobEffectInstance> p_331825_, Consumer<Component> p_331296_, float p_332038_, float p_332014_) void
PotionContents.addPotionTooltip
(Consumer<Component> p_331688_, float p_330466_, float p_332190_) -
Uses of Component in net.minecraft.world.item.armortrim
Modifier and TypeFieldDescriptionprivate final Component
TrimMaterial.description
The field for thedescription
record component.private final Component
TrimPattern.description
The field for thedescription
record component.private static final Component
ArmorTrim.UPGRADE_TITLE
Modifier and TypeMethodDescriptionTrimPattern.copyWithStyle
(Holder<TrimMaterial> p_266827_) TrimMaterial.description()
Returns the value of thedescription
record component.TrimPattern.description()
Returns the value of thedescription
record component.Modifier and TypeMethodDescriptionstatic TrimMaterial
TrimMaterial.create
(String p_268108_, Item p_268361_, float p_268202_, Component p_268273_, Map<Holder<ArmorMaterial>, String> p_267977_) Modifier and TypeMethodDescriptionvoid
ArmorTrim.addToTooltip
(Item.TooltipContext p_341366_, Consumer<Component> p_331480_, TooltipFlag p_330344_) ModifierConstructorDescriptionTrimMaterial
(String assetName, Holder<Item> ingredient, float itemModelIndex, Map<Holder<ArmorMaterial>, String> overrideArmorMaterials, Component description) Creates an instance of aTrimMaterial
record class.TrimPattern
(ResourceLocation assetId, Holder<Item> templateItem, Component description, boolean decal) Creates an instance of aTrimPattern
record class. -
Uses of Component in net.minecraft.world.item.component
Modifier and TypeFieldDescriptionprivate static final Component
FireworkExplosion.CUSTOM_COLOR_NAME
private static final Component
Unbreakable.TOOLTIP
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<Component> WrittenBookContent.CONTENT_CODEC
ItemLore.lines
The field for thelines
record component.private final List
<Filterable<Component>> WrittenBookContent.pages
The field for thepages
record component.static final com.mojang.serialization.Codec
<List<Filterable<Component>>> WrittenBookContent.PAGES_CODEC
ItemLore.styledLines
The field for thestyledLines
record component.Modifier and TypeMethodDescriptionprivate static Component
FireworkExplosion.appendColors
(MutableComponent p_331806_, it.unimi.dsi.fastutil.ints.IntList p_330350_) private static Component
FireworkExplosion.getColorName
(int p_330226_) Modifier and TypeMethodDescriptionWrittenBookContent.getPages
(boolean p_330387_) ItemLore.lines()
Returns the value of thelines
record component.private static com.mojang.serialization.Codec
<Filterable<Component>> WrittenBookContent.pages()
Returns the value of thepages
record component.static com.mojang.serialization.Codec
<List<Filterable<Component>>> WrittenBookContent.pagesCodec
(com.mojang.serialization.Codec<Component> p_335930_) private static Optional
<Filterable<Component>> WrittenBookContent.resolvePage
(CommandSourceStack p_330620_, Player p_330555_, Filterable<Component> p_330218_) ItemLore.styledLines()
Returns the value of thestyledLines
record component.Modifier and TypeMethodDescriptionprivate static boolean
WrittenBookContent.isPageTooLarge
(Component p_331458_, HolderLookup.Provider p_331039_) ItemLore.withLineAdded
(Component p_330547_) Modifier and TypeMethodDescriptionvoid
FireworkExplosion.addAdditionalTooltip
(Consumer<Component> p_331075_) void
FireworkExplosion.addShapeNameTooltip
(Consumer<Component> p_331748_) void
DyedItemColor.addToTooltip
(Item.TooltipContext p_340955_, Consumer<Component> p_331920_, TooltipFlag p_330757_) void
FireworkExplosion.addToTooltip
(Item.TooltipContext p_341341_, Consumer<Component> p_331404_, TooltipFlag p_330365_) void
Fireworks.addToTooltip
(Item.TooltipContext p_341156_, Consumer<Component> p_331099_, TooltipFlag p_330997_) void
ItemLore.addToTooltip
(Item.TooltipContext p_341353_, Consumer<Component> p_332116_, TooltipFlag p_330800_) void
TooltipProvider.addToTooltip
(Item.TooltipContext p_340892_, Consumer<Component> p_330337_, TooltipFlag p_331069_) void
Unbreakable.addToTooltip
(Item.TooltipContext p_341037_, Consumer<Component> p_330706_, TooltipFlag p_331385_) private static com.mojang.serialization.Codec
<Filterable<Component>> static com.mojang.serialization.Codec
<List<Filterable<Component>>> WrittenBookContent.pagesCodec
(com.mojang.serialization.Codec<Component> p_335930_) private static Optional
<Filterable<Component>> WrittenBookContent.resolvePage
(CommandSourceStack p_330620_, Player p_330555_, Filterable<Component> p_330218_) WrittenBookContent.withReplacedPages
(List<Filterable<Component>> p_333901_) ModifierConstructorDescriptionCreates an instance of aItemLore
record class.WrittenBookContent
(Filterable<String> title, String author, int generation, List<Filterable<Component>> pages, boolean resolved) Creates an instance of aWrittenBookContent
record class. -
Uses of Component in net.minecraft.world.item.enchantment
Modifier and TypeMethodDescriptionvoid
ItemEnchantments.addToTooltip
(Item.TooltipContext p_341290_, Consumer<Component> p_331119_, TooltipFlag p_330400_) -
Uses of Component in net.minecraft.world.item.trading
Modifier and TypeMethodDescriptiondefault void
Merchant.openTradingScreen
(Player p_45302_, Component p_45303_, int p_45304_) -
Uses of Component in net.minecraft.world.level
Modifier and TypeFieldDescriptionprivate Component
BaseCommandBlock.customName
private static final Component
BaseCommandBlock.DEFAULT_NAME
private Component
BaseCommandBlock.lastOutput
private final Component
GameType.longName
private final Component
GameType.shortName
Modifier and TypeMethodDescriptionBaseCommandBlock.getCustomName()
BaseCommandBlock.getLastOutput()
GameType.getLongDisplayName()
BaseCommandBlock.getName()
GameType.getShortDisplayName()
static Component
Spawner.getSpawnEntityDisplayName
(ItemStack p_312585_, String p_312442_) Modifier and TypeMethodDescriptionvoid
BaseCommandBlock.sendSystemMessage
(Component p_220330_) void
BaseCommandBlock.setCustomName
(Component p_331531_) void
BaseCommandBlock.setLastOutput
(Component p_45434_) Modifier and TypeMethodDescriptionstatic void
Spawner.appendHoverText
(ItemStack p_311863_, List<Component> p_312185_, String p_312723_) -
Uses of Component in net.minecraft.world.level.block
Modifier and TypeFieldDescriptionprivate static final Component
AnvilBlock.CONTAINER_TITLE
private static final Component
CartographyTableBlock.CONTAINER_TITLE
private static final Component
CraftingTableBlock.CONTAINER_TITLE
private static final Component
EnderChestBlock.CONTAINER_TITLE
private static final Component
GrindstoneBlock.CONTAINER_TITLE
private static final Component
LoomBlock.CONTAINER_TITLE
private static final Component
SmithingTableBlock.CONTAINER_TITLE
private static final Component
StonecutterBlock.CONTAINER_TITLE
private final Component
Mirror.symbol
private static final Component
ShulkerBoxBlock.UNKNOWN_CONTENTS
Modifier and TypeMethodDescriptionvoid
Block.appendHoverText
(ItemStack p_49816_, Item.TooltipContext p_339606_, List<Component> p_49818_, TooltipFlag p_49819_) void
DecoratedPotBlock.appendHoverText
(ItemStack p_285238_, Item.TooltipContext p_339662_, List<Component> p_285448_, TooltipFlag p_284997_) void
ShulkerBoxBlock.appendHoverText
(ItemStack p_56193_, Item.TooltipContext p_339693_, List<Component> p_56195_, TooltipFlag p_56196_) void
SpawnerBlock.appendHoverText
(ItemStack p_255714_, Item.TooltipContext p_339639_, List<Component> p_255708_, TooltipFlag p_255667_) void
TrialSpawnerBlock.appendHoverText
(ItemStack p_312446_, Item.TooltipContext p_339621_, List<Component> p_312088_, TooltipFlag p_311895_) -
Uses of Component in net.minecraft.world.level.block.entity
Modifier and TypeFieldDescriptionprivate Component
SkullBlockEntity.customName
private static final Component
BeaconBlockEntity.DEFAULT_NAME
private final Component[]
SignText.filteredMessages
private final Component[]
SignText.messages
private Component
BannerBlockEntity.name
private Component
BaseContainerBlockEntity.name
private Component
BeaconBlockEntity.name
private Component
EnchantingTableBlockEntity.name
Modifier and TypeMethodDescriptionprivate static Component[]
SignText.emptyMessages()
BannerBlockEntity.getCustomName()
BaseContainerBlockEntity.getCustomName()
BeaconBlockEntity.getCustomName()
EnchantingTableBlockEntity.getCustomName()
protected Component
BarrelBlockEntity.getDefaultName()
protected abstract Component
BaseContainerBlockEntity.getDefaultName()
protected Component
BlastFurnaceBlockEntity.getDefaultName()
protected Component
BrewingStandBlockEntity.getDefaultName()
protected Component
ChestBlockEntity.getDefaultName()
protected Component
CrafterBlockEntity.getDefaultName()
protected Component
DispenserBlockEntity.getDefaultName()
protected Component
DropperBlockEntity.getDefaultName()
protected Component
FurnaceBlockEntity.getDefaultName()
protected Component
HopperBlockEntity.getDefaultName()
protected Component
ShulkerBoxBlockEntity.getDefaultName()
protected Component
SmokerBlockEntity.getDefaultName()
BaseContainerBlockEntity.getDisplayName()
BeaconBlockEntity.getDisplayName()
LecternBlockEntity.getDisplayName()
SignText.getMessage
(int p_277404_, boolean p_278108_) SignText.getMessages
(boolean p_277992_) BannerBlockEntity.getName()
BaseContainerBlockEntity.getName()
BeaconBlockEntity.getName()
EnchantingTableBlockEntity.getName()
JigsawBlockEntity.JointType.getTranslatedName()
private Component
static Component
BlockEntity.parseCustomNameSafe
(String p_342033_, HolderLookup.Provider p_342030_) Modifier and TypeMethodDescriptionstatic boolean
private static SignText
SignText.load
(Component[] p_277661_, Optional<Component[]> p_277768_, DyeColor p_277345_, boolean p_278008_) private Component
void
BeaconBlockEntity.setCustomName
(Component p_58682_) void
EnchantingTableBlockEntity.setCustomName
(Component p_341274_) SignText.setMessage
(int p_277878_, Component p_277360_) SignText.setMessage
(int p_277690_, Component p_277852_, Component p_277564_) Modifier and TypeMethodDescriptionSignText.getRenderMessages
(boolean p_277336_, Function<Component, FormattedCharSequence> p_277538_) -
Uses of Component in net.minecraft.world.level.block.state.properties
-
Uses of Component in net.minecraft.world.level.saveddata.maps
Modifier and TypeFieldDescriptionMapBanner.name
The field for thename
record component.MapDecoration.name
The field for thename
record component.Modifier and TypeMethodDescriptionMapBanner.name()
Returns the value of thename
record component.MapDecoration.name()
Returns the value of thename
record component.Modifier and TypeMethodDescriptionprivate void
MapItemSavedData.addDecoration
(Holder<MapDecorationType> p_335830_, LevelAccessor p_77939_, String p_77940_, double p_77941_, double p_77942_, double p_77943_, Component p_77944_) ModifierConstructorDescriptionCreates an instance of aMapBanner
record class.MapDecoration
(Holder<MapDecorationType> type, byte x, byte y, byte rot, Optional<Component> name) Creates an instance of aMapDecoration
record class. -
Uses of Component in net.minecraft.world.level.storage
Modifier and TypeFieldDescriptionprivate Component
LevelSummary.info
private static final Component
LevelSummary.CorruptedLevelSummary.INFO
private static final Component
LevelSummary.SymlinkLevelSummary.INFO
private final Component
LevelStorageException.messageComponent
private static final Component
LevelSummary.SymlinkLevelSummary.MORE_INFO_BUTTON
static final Component
LevelSummary.PLAY_WORLD
private static final Component
LevelSummary.CorruptedLevelSummary.RECOVER
Modifier and TypeMethodDescriptionprivate Component
LevelSummary.createInfo()
LevelSummary.CorruptedLevelSummary.getInfo()
LevelSummary.getInfo()
LevelSummary.SymlinkLevelSummary.getInfo()
LevelStorageException.getMessageComponent()
LevelSummary.CorruptedLevelSummary.primaryActionMessage()
LevelSummary.primaryActionMessage()
LevelSummary.SymlinkLevelSummary.primaryActionMessage()
-
Uses of Component in net.minecraft.world.level.storage.loot.functions
Modifier and TypeFieldDescriptionprivate final com.google.common.collect.ImmutableList.Builder
<Component> SetLoreFunction.Builder.lore
SetLoreFunction.lore
SetNameFunction.name
static final com.mojang.serialization.Codec
<Component> SetWrittenBookPagesFunction.PAGE_CODEC
private final List
<Filterable<Component>> SetWrittenBookPagesFunction.pages
Modifier and TypeMethodDescriptionSetNameFunction.Target.component()
static UnaryOperator
<Component> SetNameFunction.createResolver
(LootContext p_81140_, LootContext.EntityTarget p_81141_) SetLoreFunction.updateLore
(ItemLore p_330567_, LootContext p_331214_) Modifier and TypeMethodDescriptionstatic LootItemConditionalFunction.Builder
<?> SetNameFunction.setName
(Component p_165460_, SetNameFunction.Target p_338546_) static LootItemConditionalFunction.Builder
<?> SetNameFunction.setName
(Component p_165458_, SetNameFunction.Target p_338818_, LootContext.EntityTarget p_338518_) ModifierConstructorDescriptionprivate
SetNameFunction
(List<LootItemCondition> p_299241_, Optional<Component> p_298804_, Optional<LootContext.EntityTarget> p_298545_, SetNameFunction.Target p_338830_) -
Uses of Component in net.minecraft.world.scores
Modifier and TypeFieldDescriptionprivate final Component
PlayerScoreEntry.display
The field for thedisplay
record component.private Component
Score.display
private Component
Objective.displayName
private Component
PlayerTeam.displayName
private Component
Objective.formattedDisplayName
private Component
PlayerTeam.playerPrefix
private Component
PlayerTeam.playerSuffix
Modifier and TypeMethodDescriptionprivate Component
Objective.createFormattedDisplayName()
PlayerScoreEntry.display()
Returns the value of thedisplay
record component.Score.display()
ScoreAccess.display()
Objective.getDisplayName()
PlayerTeam.getDisplayName()
default Component
ScoreHolder.getDisplayName()
Team.CollisionRule.getDisplayName()
Team.Visibility.getDisplayName()
default Component
ScoreHolder.getFeedbackDisplayName()
Objective.getFormattedDisplayName()
PlayerTeam.getPlayerPrefix()
PlayerTeam.getPlayerSuffix()
PlayerScoreEntry.ownerName()
Modifier and TypeMethodDescriptionScoreboard.addObjective
(String p_83437_, ObjectiveCriteria p_83438_, Component p_83439_, ObjectiveCriteria.RenderType p_83440_, boolean p_313815_, NumberFormat p_313909_) void
void
static MutableComponent
PlayerTeam.formatNameForTeam
(Team p_83349_, Component p_83350_) PlayerTeam.getFormattedName
(Component p_83369_) abstract MutableComponent
Team.getFormattedName
(Component p_83538_) void
Objective.setDisplayName
(Component p_83317_) void
PlayerTeam.setDisplayName
(Component p_83354_) void
PlayerTeam.setPlayerPrefix
(Component p_83361_) void
PlayerTeam.setPlayerSuffix
(Component p_83366_) ModifierConstructorDescriptionObjective
(Scoreboard p_83308_, String p_83309_, ObjectiveCriteria p_83310_, Component p_83311_, ObjectiveCriteria.RenderType p_83312_, boolean p_313856_, NumberFormat p_313758_) PlayerScoreEntry
(String owner, int value, Component display, NumberFormat numberFormatOverride) Creates an instance of aPlayerScoreEntry
record class. -
Uses of Component in net.neoforged.neoforge.client
Modifier and TypeMethodDescriptionstatic @Nullable Component
ClientHooks.onClientChat
(ChatType.Bound boundChatType, Component message, UUID sender) static @Nullable Component
ClientHooks.onClientPlayerChat
(ChatType.Bound boundChatType, Component message, PlayerChatMessage playerChatMessage, UUID sender) static @Nullable Component
ClientHooks.onClientSystemChat
(Component message, boolean overlay) Modifier and TypeMethodDescriptionstatic @Nullable Component
ClientHooks.onClientChat
(ChatType.Bound boundChatType, Component message, UUID sender) static @Nullable Component
ClientHooks.onClientPlayerChat
(ChatType.Bound boundChatType, Component message, PlayerChatMessage playerChatMessage, UUID sender) static @Nullable Component
ClientHooks.onClientSystemChat
(Component message, boolean overlay) Modifier and TypeMethodDescriptionvoid
ClientCommandSourceStack.sendSuccess
(Supplier<Component> message, boolean sendToAdmins) Sends a success message without attempting to get the server side list of adminsModifierConstructorDescriptionClientCommandSourceStack
(CommandSource source, Vec3 position, Vec2 rotation, int permission, String plainTextName, Component displayName, Entity executing) -
Uses of Component in net.neoforged.neoforge.client.event
Modifier and TypeFieldDescriptionprivate Component
RenderNameTagEvent.content
static final Component
ScreenshotEvent.DEFAULT_CANCEL_REASON
private Component
ClientChatReceivedEvent.message
private final Component
RenderNameTagEvent.originalContent
private @Nullable Component
ScreenshotEvent.resultMessage
Modifier and TypeMethodDescriptionScreenshotEvent.getCancelMessage()
Returns the cancellation message to be used in informing the player.RenderNameTagEvent.getContent()
Returns the text on the nameplate that will be rendered.ClientChatReceivedEvent.getMessage()
Returns the message that will be displayed in the chat message window, if the event is not cancelled.RenderNameTagEvent.getOriginalContent()
Returns the original text on the nameplate.@Nullable Component
ScreenshotEvent.getResultMessage()
Returns the custom cancellation message, ornull
if no custom message is set.Modifier and TypeMethodDescriptionvoid
RenderNameTagEvent.setContent
(Component contents) Sets the new text on the nameplate.void
ClientChatReceivedEvent.setMessage
(Component message) Sets the new message to be displayed in the chat message window, if the event is not cancelled.void
ScreenshotEvent.setResultMessage
(@Nullable Component resultMessage) Sets the new custom cancellation message used to inform the player.ModifierConstructorDescriptionClientChatReceivedEvent
(ChatType.Bound boundChatType, Component message, UUID sender) Player
(ChatType.Bound boundChatType, Component message, PlayerChatMessage playerChatMessage, UUID sender) RenderNameTagEvent
(Entity entity, Component content, EntityRenderer<?> entityRenderer, PoseStack poseStack, MultiBufferSource multiBufferSource, int packedLight, float partialTick) -
Uses of Component in net.neoforged.neoforge.client.extensions
Modifier and TypeMethodDescriptiondefault int
IGuiGraphicsExtension.drawScrollingString
(Font font, Component text, int minX, int maxX, int y, int color) Draws a left-aligned string, with a scrolling effect if the string is too long. -
Uses of Component in net.neoforged.neoforge.client.gui
Modifier and TypeFieldDescriptionprivate Component
LoadingErrorScreen.errorHeader
private final Component
LoadingErrorScreen.LoadingEntryList.LoadingMessageEntry.message
private final Component
ModMismatchDisconnectedScreen.reason
private final Component
LoadingErrorScreen.FormattedIssue.text
The field for thetext
record component.private Component
LoadingErrorScreen.warningHeader
Modifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, Component> ModMismatchDisconnectedScreen.mismatchedChannelData
Modifier and TypeMethodDescription(package private) Component
ModListScreen.SortType.getButtonText()
LoadingErrorScreen.LoadingEntryList.LoadingMessageEntry.getNarration()
LoadingErrorScreen.FormattedIssue.text()
Returns the value of thetext
record component.Modifier and TypeMethodDescriptionprivate Map
<List<ResourceLocation>, Component> ModMismatchDisconnectedScreen.MismatchInfoPanel.sortAndMergeChannelData
(Map<ResourceLocation, Component> mismatchedChannelData) Iterates over the raw channel mismatch data and merges entries with the same reason component into one channel mismatch entry each.Modifier and TypeMethodDescriptionprivate void
LoadingErrorScreen.drawMultiLineCenteredString
(GuiGraphics guiGraphics, Font fr, Component str, int x, int y) Modifier and TypeMethodDescriptionprivate Map
<List<ResourceLocation>, Component> ModMismatchDisconnectedScreen.MismatchInfoPanel.sortAndMergeChannelData
(Map<ResourceLocation, Component> mismatchedChannelData) Iterates over the raw channel mismatch data and merges entries with the same reason component into one channel mismatch entry each.ModifierConstructorDescriptionprivate
FormattedIssue
(Component text, net.neoforged.fml.ModLoadingIssue issue) Creates an instance of aFormattedIssue
record class.(package private)
LoadingMessageEntry
(Component message) (package private)
LoadingMessageEntry
(Component message, boolean center) ModMismatchDisconnectedScreen
(Screen parentScreen, Component reason, Map<ResourceLocation, Component> mismatchedChannelData) ModifierConstructorDescriptionModMismatchDisconnectedScreen
(Screen parentScreen, Component reason, Map<ResourceLocation, Component> mismatchedChannelData) -
Uses of Component in net.neoforged.neoforge.client.gui.widget
Modifier and TypeFieldDescriptionprotected Component
ExtendedSlider.prefix
protected Component
ExtendedSlider.suffix
ModifierConstructorDescriptionExtendedButton
(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 withstepSize
set to 1, useful for sliders with whole number values.ExtendedSlider
(int x, int y, int width, int height, Component prefix, Component suffix, double minValue, double maxValue, double currentValue, double stepSize, int precision, boolean drawString) UnicodeGlyphButton
(int xPos, int yPos, int width, int height, Component displayString, String glyph, float glyphScale, Button.OnPress handler) -
Uses of Component in net.neoforged.neoforge.client.settings
Modifier and TypeMethodDescriptionabstract Component
KeyModifier.getCombinedName
(InputConstants.Key key, Supplier<Component> defaultLogic) Modifier and TypeMethodDescriptionabstract Component
KeyModifier.getCombinedName
(InputConstants.Key key, Supplier<Component> defaultLogic) -
Uses of Component in net.neoforged.neoforge.common
Modifier and TypeMethodDescriptionstatic Component
CommonHooks.newChatWithLinks
(String string) static Component
CommonHooks.newChatWithLinks
(String string, boolean allowMissingHeader) static @Nullable Component
CommonHooks.onServerChatSubmittedEvent
(ServerPlayer player, String plain, Component decorated) Modifier and TypeMethodDescriptionprivate static String
CommonHooks.getRawText
(Component message) static @Nullable Component
CommonHooks.onServerChatSubmittedEvent
(ServerPlayer player, String plain, Component decorated) -
Uses of Component in net.neoforged.neoforge.common.command
Modifier and TypeMethodDescriptionIEntitySelectorType.getSuggestionTooltip()
Returns anComponent
containing a short description for this selector type. -
Uses of Component in net.neoforged.neoforge.common.damagesource
Modifier and TypeMethodDescriptionIDeathMessageProvider.getDeathMessage
(LivingEntity entity, CombatEntry lastEntry, @Nullable CombatEntry mostSignificantFall) Computes the death message from the available context.
This method is not invoked if there are no available combat entries, since the damage source would not be available. -
Uses of Component in net.neoforged.neoforge.common.extensions
Modifier and TypeMethodDescriptiondefault Component
IItemExtension.getHighlightTip
(ItemStack item, Component displayName) Allow the item one last chance to modify its name used for the tool highlight useful for adding something extra that can't be removed by a user in the displayed name, such as a mode of operation.default Component
IItemStackExtension.getHighlightTip
(Component displayName) Allow the item one last chance to modify its name used for the tool highlight useful for adding something extra that can't be removed by a user in the displayed name, such as a mode of operation.Modifier and TypeMethodDescriptiondefault void
IClientCommonPacketListenerExtension.disconnect
(Component reason) Triggers a disconnection with the given reason.void
ICommonPacketListener.disconnect
(Component reason) Triggers a disconnection with the given reason.default Component
IItemExtension.getHighlightTip
(ItemStack item, Component displayName) Allow the item one last chance to modify its name used for the tool highlight useful for adding something extra that can't be removed by a user in the displayed name, such as a mode of operation.default Component
IItemStackExtension.getHighlightTip
(Component displayName) Allow the item one last chance to modify its name used for the tool highlight useful for adding something extra that can't be removed by a user in the displayed name, such as a mode of operation.Modifier and TypeMethodDescriptiondefault <T extends TooltipProvider>
voidIDataComponentHolderExtension.addToTooltip
(Supplier<? extends DataComponentType<T>> type, Item.TooltipContext context, Consumer<Component> adder, TooltipFlag flag) default <T extends TooltipProvider>
voidIDataComponentHolderExtension.addToTooltip
(DataComponentType<T> type, Item.TooltipContext context, Consumer<Component> adder, TooltipFlag flag) -
Uses of Component in net.neoforged.neoforge.common.util
Modifier and TypeMethodDescriptionvoid
FakePlayer.FakePlayerNetHandler.disconnect
(Component message) void
FakePlayer.displayClientMessage
(Component chatComponent, boolean actionBar) void
FakePlayer.FakePlayerNetHandler.onDisconnect
(Component message) void
FakePlayer.FakePlayerNetHandler.sendDisguisedChatMessage
(Component content, ChatType.Bound boundChatType) -
Uses of Component in net.neoforged.neoforge.debug.chat
Modifier and TypeMethodDescriptionvoid
CommandTests.ErrorCatchingStack.sendFailure
(Component failure) ModifierConstructorDescriptionErrorCatchingStack
(CommandSource p_81302_, Vec3 p_81303_, Vec2 p_81304_, ServerLevel p_81305_, int p_81306_, String p_81307_, Component p_81308_, MinecraftServer p_81309_, @Nullable Entity p_81310_) -
Uses of Component in net.neoforged.neoforge.debug.client
-
Uses of Component in net.neoforged.neoforge.event
Modifier and TypeMethodDescriptionServerChatEvent.getMessage()
Returns the message that will be sent to the relevant clients, if the event is not cancelled.static Component
EventHooks.getPlayerDisplayName
(Player player, Component username) static Component
EventHooks.getPlayerTabListDisplayName
(Player player) Modifier and TypeMethodDescriptionvoid
AddPackFindersEvent.addPackFinders
(ResourceLocation packLocation, PackType packType, Component packNameDisplay, PackSource packSource, boolean alwaysActive, Pack.Position packPosition) Helper method to register a pack found under the `resources/` folder.static Component
EventHooks.getPlayerDisplayName
(Player player, Component username) void
ServerChatEvent.setMessage
(Component message) Set the message to be sent to the relevant clients.Modifier and TypeMethodDescriptionstatic ItemTooltipEvent
EventHooks.onItemTooltip
(ItemStack itemStack, @Nullable Player entityPlayer, List<Component> list, TooltipFlag flags, Item.TooltipContext context) ModifierConstructorDescriptionServerChatEvent
(ServerPlayer player, String rawText, Component message) -
Uses of Component in net.neoforged.neoforge.event.entity.player
Modifier and TypeFieldDescriptionprivate Component
PlayerEvent.NameFormat.displayname
private @Nullable Component
PlayerEvent.TabListNameFormat.displayName
private final Component
PlayerEvent.NameFormat.username
Modifier and TypeMethodDescriptionPlayerEvent.NameFormat.getDisplayname()
@Nullable Component
PlayerEvent.TabListNameFormat.getDisplayName()
PlayerEvent.NameFormat.getUsername()
Modifier and TypeMethodDescriptionvoid
PlayerEvent.NameFormat.setDisplayname
(Component displayname) void
PlayerEvent.TabListNameFormat.setDisplayName
(@Nullable Component displayName) ModifierConstructorDescriptionItemTooltipEvent
(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
Modifier and TypeMethodDescriptionFluidType.getDescription()
Returns the component representing the name of the fluid type.FluidType.getDescription
(FluidStack stack) Returns the component representing the name of the fluid type.FluidStack.getDisplayName()
Deprecated, for removal: This API element is subject to removal in a future version.UseFluidStack.getHoverName()
instead.FluidStack.getHoverName()
Returns the hover name of this stack. -
Uses of Component in net.neoforged.neoforge.network.handlers
Modifier and TypeMethodDescriptionprivate static <T extends AbstractContainerMenu>
voidClientPayloadHandler.createMenuScreen
(Component name, MenuType<T> menuType, int windowId, RegistryFriendlyByteBuf buf) -
Uses of Component in net.neoforged.neoforge.network.handling
Modifier and TypeMethodDescriptiondefault void
IPayloadContext.disconnect
(Component reason) Disconnects the player from the network. -
Uses of Component in net.neoforged.neoforge.network.negotiation
Modifier and TypeFieldDescriptionprivate final @Nullable Component
NetworkComponentNegotiator.ComponentNegotiationResult.failureReason
The field for thefailureReason
record component.Modifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, Component> NegotiationResult.failureReasons
The field for thefailureReasons
record component.Modifier and TypeMethodDescription@Nullable Component
NetworkComponentNegotiator.ComponentNegotiationResult.failureReason()
Returns the value of thefailureReason
record component.Modifier and TypeMethodDescriptionNegotiationResult.failureReasons()
Returns the value of thefailureReasons
record component.ModifierConstructorDescriptionComponentNegotiationResult
(boolean success, @Nullable Component failureReason) Creates an instance of aComponentNegotiationResult
record class.ModifierConstructorDescriptionNegotiationResult
(List<NegotiatedNetworkComponent> components, boolean success, Map<ResourceLocation, Component> failureReasons) Creates an instance of aNegotiationResult
record class. -
Uses of Component in net.neoforged.neoforge.network.payload
Modifier and TypeFieldDescriptionprivate final Component
AdvancedOpenScreenPayload.name
The field for thename
record component.Modifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, Component> ModdedNetworkSetupFailedPayload.failureReasons
The field for thefailureReasons
record component.Modifier and TypeMethodDescriptionAdvancedOpenScreenPayload.name()
Returns the value of thename
record component.Modifier and TypeMethodDescriptionModdedNetworkSetupFailedPayload.failureReasons()
Returns the value of thefailureReasons
record component.ModifierConstructorDescriptionAdvancedOpenScreenPayload
(int windowId, MenuType<?> menuType, Component name, byte[] additionalData) Creates an instance of aAdvancedOpenScreenPayload
record class.ModifierConstructorDescriptionModdedNetworkSetupFailedPayload
(Map<ResourceLocation, Component> failureReasons) Creates an instance of aModdedNetworkSetupFailedPayload
record class. -
Uses of Component in net.neoforged.neoforge.oldtest
Modifier and TypeFieldDescriptionprivate static final PermissionNode
<Component> PermissionTest.componentPerm
-
Uses of Component in net.neoforged.neoforge.oldtest.chat
Modifier and TypeMethodDescriptionEntitySelectorTest.ExampleCustomSelector.getSuggestionTooltip()
-
Uses of Component in net.neoforged.neoforge.oldtest.client
Modifier and TypeMethodDescriptionprivate Component
CustomTooltipTest.TooltipTestScreen.getTestComponent
(boolean testFont) Modifier and TypeMethodDescriptionvoid
CustomTooltipTest.CustomItemWithTooltip.appendHoverText
(ItemStack stack, Item.TooltipContext context, List<Component> components, TooltipFlag flag) -
Uses of Component in net.neoforged.neoforge.oldtest.item
-
Uses of Component in net.neoforged.neoforge.oldtest.misc
ModifierConstructorDescriptionTestGui
(ContainerTypeTest.TestContainer container, Inventory inv, Component name) -
Uses of Component in net.neoforged.neoforge.oldtest.recipebook
ModifierConstructorDescriptionRecipeBookTestScreen
(RecipeBookTestMenu menu, Inventory inv, Component title) -
Uses of Component in net.neoforged.neoforge.server.command
Modifier and TypeMethodDescriptionprivate static <T> int
TrackCommand.TrackResults.execute
(CommandSourceStack source, TimeTracker<T> tracker, Function<ObjectTimings<T>, Component> toString) -
Uses of Component in net.neoforged.neoforge.server.permission.nodes
Modifier and TypeFieldDescriptionprivate @Nullable Component
PermissionNode.description
private @Nullable Component
PermissionNode.readableName
Modifier and TypeFieldDescriptionstatic final PermissionType
<Component> PermissionTypes.COMPONENT
Modifier and TypeMethodDescription@Nullable Component
PermissionNode.getDescription()
@Nullable Component
PermissionNode.getReadableName()
Modifier and TypeMethodDescriptionPermissionNode.setInformation
(Component readableName, Component description) Allows you to set a human-readable name and description for your Permission. -
Uses of Component in net.neoforged.testframework
Modifier and TypeFieldDescriptionprivate final Component
Test.Visuals.title
The field for thetitle
record component.Modifier and TypeFieldDescriptionTest.Visuals.description
The field for thedescription
record component.Modifier and TypeMethodDescriptionTest.Visuals.title()
Returns the value of thetitle
record component.Modifier and TypeMethodDescriptionTest.Visuals.description()
Returns the value of thedescription
record component.Modifier and TypeMethodDescriptionvoid
DynamicTest.requestConfirmation
(Player player, Component message) Requests a confirmation of the test passing from a player.ModifierConstructorDescriptionCreates an instance of aVisuals
record class. -
Uses of Component in net.neoforged.testframework.client
Modifier and TypeMethodDescriptionAbstractTestScreen.GroupableList.Entry.getNarration()
private Component
AbstractTestScreen.GroupableList.GroupEntry.getTitle()
Modifier and TypeMethodDescription(package private) static MutableComponent
TestsOverlay.statusColoured
(Component input, Test.Status status) ModifierConstructorDescriptionAbstractTestScreen
(Component title, MutableTestFramework framework) TestScreen
(Component title, MutableTestFramework framework, List<Group> groups) -
Uses of Component in net.neoforged.testframework.group
-
Uses of Component in net.neoforged.testframework.impl
Modifier and TypeFieldDescriptionprivate final @Nullable Component
FrameworkCollectors.GroupData.title
The field for thetitle
record component.Modifier and TypeMethodDescriptionprivate Component
Commands.formatStatus
(Test.Status status) @Nullable Component
FrameworkCollectors.GroupData.title()
Returns the value of thetitle
record component. -
Uses of Component in net.neoforged.testframework.impl.test
Modifier and TypeMethodDescriptionfinal void
AbstractTest.requestConfirmation
(Player player, Component message) -
Uses of Component in net.neoforged.testframework.summary
Modifier and TypeFieldDescriptionprivate final Component
TestSummary.TestInfo.name
The field for thename
record component.Modifier and TypeFieldDescriptionTestSummary.TestInfo.description
The field for thedescription
record component.Modifier and TypeMethodDescriptionTestSummary.TestInfo.name()
Returns the value of thename
record component.Modifier and TypeMethodDescriptionTestSummary.TestInfo.description()
Returns the value of thedescription
record component.Modifier and TypeMethodDescriptionvoid
TestSummary.Builder.addTest
(String testId, Component name, List<Component> description, Test.Status status, List<String> groups, boolean enabled, boolean manual, boolean required) static String
FormattingUtil.componentToAnsiFormattedText
(Component component) static String
FormattingUtil.componentToMarkdownFormattedText
(Component component) static String
FormattingUtil.componentToPlainString
(Component component) static String
FormattingUtil.componentToString
(Component component, Style baseStyle, BiFunction<Style, String, String> formatter) Modifier and TypeMethodDescriptionvoid
TestSummary.Builder.addTest
(String testId, Component name, List<Component> description, Test.Status status, List<String> groups, boolean enabled, boolean manual, boolean required) static String
FormattingUtil.componentsToAnsiFormattedText
(List<Component> components) static String
FormattingUtil.componentsToMarkdownFormattedText
(List<Component> components) static String
FormattingUtil.componentsToPlainString
(List<Component> components)
ServerStatus(Component, Optional, Optional, Optional, boolean, boolean)