Interface GuiEventListener
- All Superinterfaces:
TabOrderedElement
- All Known Subinterfaces:
ContainerEventHandler
- All Known Implementing Classes:
AbstractButton,AbstractCommandBlockEditScreen,AbstractContainerEventHandler,AbstractContainerScreen,AbstractContainerWidget,AbstractFurnaceRecipeBookComponent,AbstractFurnaceScreen,AbstractOptionSliderButton,AbstractReportScreen,AbstractReportScreen.DiscardReportWarningScreen,AbstractScrollWidget,AbstractSelectionList,AbstractSelectionList.Entry,AbstractSignEditScreen,AbstractSliderButton,AbstractStringWidget,AbstractTestScreen,AbstractTestScreen.GroupableList,AbstractTestScreen.GroupableList.Entry,AbstractTestScreen.GroupableList.GroupEntry,AbstractTestScreen.GroupableList.TestEntry,AbstractWidget,AccessibilityOnboardingScreen,AccessibilityOptionsScreen,AdvancementsScreen,AlertScreen,AnvilScreen,BackupConfirmScreen,BeaconScreen,BeaconScreen.BeaconCancelButton,BeaconScreen.BeaconConfirmButton,BeaconScreen.BeaconPowerButton,BeaconScreen.BeaconScreenButton,BeaconScreen.BeaconSpriteScreenButton,BeaconScreen.BeaconUpgradePowerButton,BlastFurnaceScreen,BlastingRecipeBookComponent,BookEditScreen,BookViewScreen,BrewingStandScreen,Button,CartographyTableScreen,ChatOptionsScreen,ChatReportScreen,ChatScreen,ChatSelectionScreen,ChatSelectionScreen.ChatSelectionList,ChatSelectionScreen.ChatSelectionList.DividerEntry,ChatSelectionScreen.ChatSelectionList.Entry,ChatSelectionScreen.ChatSelectionList.MessageEntry,ChatSelectionScreen.ChatSelectionList.MessageHeadingEntry,ChatSelectionScreen.ChatSelectionList.PaddingEntry,Checkbox,ClientCommonPacketListenerImpl.PackConfirmScreen,CommandBlockEditScreen,ConfirmExperimentalFeaturesScreen,ConfirmExperimentalFeaturesScreen.DetailsScreen,ConfirmExperimentalFeaturesScreen.DetailsScreen.PackList,ConfirmExperimentalFeaturesScreen.DetailsScreen.PackListEntry,ConfirmLinkScreen,ConfirmScreen,ConnectScreen,ContainerObjectSelectionList,ContainerObjectSelectionList.Entry,ContainerScreen,ContainerTypeTest.TestGui,ControlsScreen,CrafterScreen,CraftingScreen,CreateBuffetWorldScreen,CreateBuffetWorldScreen.BiomeList,CreateBuffetWorldScreen.BiomeList.Entry,CreateFlatWorldScreen,CreateFlatWorldScreen.DetailsList,CreateFlatWorldScreen.DetailsList.Entry,CreateWorldScreen,CreativeModeInventoryScreen,CreditsAndAttributionScreen,CustomPresetEditorTest.SwampDesertScreen,CustomTooltipTest.TooltipTestScreen,CycleButton,DatapackLoadFailureScreen,DeathScreen,DeathScreen.TitleConfirmScreen,DemoIntroScreen,DirectJoinServerScreen,DisconnectedRealmsScreen,DisconnectedScreen,DispenserScreen,EditBox,EditGameRulesScreen,EditGameRulesScreen.BooleanRuleEntry,EditGameRulesScreen.CategoryRuleEntry,EditGameRulesScreen.GameRuleEntry,EditGameRulesScreen.IntegerRuleEntry,EditGameRulesScreen.RuleEntry,EditGameRulesScreen.RuleList,EditServerScreen,EditWorldScreen,EffectRenderingInventoryScreen,EnchantmentScreen,ErrorScreen,ExperimentsScreen,ExtendedButton,ExtendedSlider,FittingMultiLineTextWidget,FocusableTextWidget,FurnaceScreen,GameModeSwitcherScreen,GameModeSwitcherScreen.GameModeSlot,GenericDirtMessageScreen,GenericWaitingScreen,GrindstoneScreen,GuiTests.TestLayer,HangingSignEditScreen,HopperScreen,HorseInventoryScreen,ImageButton,ImageWidget,ImageWidget.Sprite,ImageWidget.Texture,InBedChatScreen,InventoryScreen,ItemCombinerScreen,JigsawBlockEditScreen,JoinMultiplayerScreen,KeyBindsList,KeyBindsList.CategoryEntry,KeyBindsList.Entry,KeyBindsList.KeyEntry,KeyBindsScreen,LanguageSelectScreen,LanguageSelectScreen.LanguageSelectionList,LanguageSelectScreen.LanguageSelectionList.Entry,LecternScreen,LevelLoadingScreen,LoadingDotsWidget,LoadingErrorScreen,LoadingErrorScreen.LoadingEntryList,LoadingErrorScreen.LoadingEntryList.LoadingMessageEntry,LockIconButton,LoomScreen,MerchantScreen,MerchantScreen.TradeOfferButton,MinecartCommandBlockEditScreen,ModListScreen,ModListScreen.InfoPanel,ModListWidget,ModListWidget.ModEntry,ModMismatchDisconnectedScreen,ModMismatchDisconnectedScreen.MismatchInfoPanel,MouseSettingsScreen,MultiLineEditBox,MultiLineTextWidget,NameReportScreen,NoticeWithLinkScreen,ObjectSelectionList,ObjectSelectionList.Entry,OnlineOptionsScreen,OptimizeWorldScreen,OptionInstance.OptionInstanceSliderButton,OptionsList,OptionsList.Entry,OptionsScreen,OptionsSubScreen,OutOfMemoryScreen,OverlayRecipeComponent,OverlayRecipeComponent.OverlayRecipeButton,OverlayRecipeComponent.OverlaySmeltingRecipeButton,PackSelectionScreen,PageButton,PauseScreen,PlainTextButton,PlayerEntry,PlayerSkinWidget,PopupScreen,PresetFlatWorldScreen,PresetFlatWorldScreen.PresetsList,PresetFlatWorldScreen.PresetsList.Entry,ProgressScreen,Realms32bitWarningScreen,RealmsBackupInfoScreen,RealmsBackupInfoScreen.BackupInfoList,RealmsBackupInfoScreen.BackupInfoListEntry,RealmsBackupScreen,RealmsBackupScreen.BackupObjectSelectionList,RealmsBackupScreen.Entry,RealmsBrokenWorldScreen,RealmsClientOutdatedScreen,RealmsConfigureWorldScreen,RealmsConfirmScreen,RealmsCreateRealmScreen,RealmsDownloadLatestWorldScreen,RealmsGenericErrorScreen,RealmsInviteScreen,RealmsLongConfirmationScreen,RealmsLongRunningMcoTaskScreen,RealmsLongRunningMcoTickTaskScreen,RealmsMainScreen,RealmsMainScreen.AvailableSnapshotEntry,RealmsMainScreen.ButtonEntry,RealmsMainScreen.CrossButton,RealmsMainScreen.EmptyEntry,RealmsMainScreen.Entry,RealmsMainScreen.NotificationButton,RealmsMainScreen.NotificationMessageEntry,RealmsMainScreen.ParentEntry,RealmsMainScreen.RealmSelectionList,RealmsMainScreen.ServerEntry,RealmsNotificationsScreen,RealmsObjectSelectionList,RealmsParentalConsentScreen,RealmsPendingInvitesScreen,RealmsPendingInvitesScreen.Entry,RealmsPendingInvitesScreen.PendingInvitationSelectionList,RealmsPlayerScreen,RealmsPlayerScreen.Entry,RealmsPlayerScreen.InvitedObjectSelectionList,RealmsPopupScreen,RealmsResetNormalWorldScreen,RealmsResetWorldScreen,RealmsResetWorldScreen.FrameButton,RealmsScreen,RealmsSelectFileToUploadScreen,RealmsSelectFileToUploadScreen.Entry,RealmsSelectFileToUploadScreen.WorldSelectionList,RealmsSelectWorldTemplateScreen,RealmsSelectWorldTemplateScreen.Entry,RealmsSelectWorldTemplateScreen.WorldTemplateList,RealmsSettingsScreen,RealmsSlotOptionsScreen,RealmsSlotOptionsScreen.SettingsSlider,RealmsSubscriptionInfoScreen,RealmsTermsScreen,RealmsUploadScreen,RealmsWorldSlotButton,ReceivingLevelScreen,RecipeBookComponent,RecipeBookTabButton,RecipeBookTestScreen,RecipeButton,RecoverWorldDataScreen,ReportPlayerScreen,ReportReasonSelectionScreen,ReportReasonSelectionScreen.ReasonSelectionList,ReportReasonSelectionScreen.ReasonSelectionList.Entry,SafetyScreen,Screen,ScrollPanel,SelectWorldScreen,ServerReconfigScreen,ServerSelectionList,ServerSelectionList.Entry,ServerSelectionList.LANHeader,ServerSelectionList.NetworkServerEntry,ServerSelectionList.OnlineServerEntry,ShareToLanScreen,ShulkerBoxScreen,SignEditScreen,SimpleOptionsSubScreen,SkinCustomizationScreen,SkinReportScreen,SmeltingRecipeBookComponent,SmithingScreen,SmokerScreen,SmokingRecipeBookComponent,SocialInteractionsPlayerList,SocialInteractionsScreen,SoundOptionsScreen,SpriteIconButton,SpriteIconButton.CenteredIcon,SpriteIconButton.TextAndIcon,StateSwitchingButton,StatsScreen,StatsScreen.GeneralStatisticsList,StatsScreen.GeneralStatisticsList.Entry,StatsScreen.ItemStatisticsList,StatsScreen.ItemStatisticsList.ItemRow,StatsScreen.MobsStatisticsList,StatsScreen.MobsStatisticsList.MobRow,StonecutterScreen,StringWidget,StructureBlockEditScreen,TabButton,TabNavigationBar,TelemetryEventWidget,TelemetryInfoScreen,TestScreen,TestScreen,TitleScreen,TitleScreenModUpdateIndicator,TransferableSelectionList,TransferableSelectionList.PackEntry,UnicodeGlyphButton,UnsupportedGraphicsWarningScreen,VideoSettingsScreen,WarningScreen,WinScreen,WorldSelectionList,WorldSelectionList.Entry,WorldSelectionList.LoadingHeader,WorldSelectionList.WorldListEntry
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault booleancharTyped(char p_94732_, int p_94733_) default ComponentPathdefault ScreenRectanglebooleandefault booleanisMouseOver(double p_94748_, double p_94749_) default booleankeyPressed(int p_94745_, int p_94746_, int p_94747_) default booleankeyReleased(int p_94750_, int p_94751_, int p_94752_) default booleanmouseClicked(double p_94737_, double p_94738_, int p_94739_) default booleanmouseDragged(double p_94740_, double p_94741_, int p_94742_, double p_94743_, double p_94744_) default voidmouseMoved(double p_94758_, double p_94759_) default booleanmouseReleased(double p_94753_, double p_94754_, int p_94755_) default booleanmouseScrolled(double p_94734_, double p_94735_, double p_94736_, double p_296070_) default ComponentPathnextFocusPath(FocusNavigationEvent p_265234_) voidsetFocused(boolean p_265728_) Methods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
DOUBLE_CLICK_THRESHOLD_MS
static final long DOUBLE_CLICK_THRESHOLD_MS- See Also:
-
-
Method Details
-
mouseMoved
default void mouseMoved(double p_94758_, double p_94759_) -
mouseClicked
default boolean mouseClicked(double p_94737_, double p_94738_, int p_94739_) -
mouseReleased
default boolean mouseReleased(double p_94753_, double p_94754_, int p_94755_) -
mouseDragged
default boolean mouseDragged(double p_94740_, double p_94741_, int p_94742_, double p_94743_, double p_94744_) -
mouseScrolled
default boolean mouseScrolled(double p_94734_, double p_94735_, double p_94736_, double p_296070_) -
keyPressed
default boolean keyPressed(int p_94745_, int p_94746_, int p_94747_) -
keyReleased
default boolean keyReleased(int p_94750_, int p_94751_, int p_94752_) -
charTyped
default boolean charTyped(char p_94732_, int p_94733_) -
isMouseOver
default boolean isMouseOver(double p_94748_, double p_94749_) -
setFocused
void setFocused(boolean p_265728_) -
isFocused
boolean isFocused() -
getCurrentFocusPath
-
getRectangle
-