Interface GuiEventListener

All Known Subinterfaces:
ContainerEventHandler
All Known Implementing Classes:
AbstractButton, AbstractCommandBlockEditScreen, AbstractContainerEventHandler, AbstractContainerScreen, AbstractContainerWidget, AbstractFurnaceRecipeBookComponent, AbstractFurnaceScreen, AbstractOptionSliderButton, AbstractScrollWidget, AbstractSelectionList, AbstractSelectionList.Entry, AbstractSignEditScreen, AbstractSliderButton, AbstractWidget, 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, CenteredStringWidget, ChatOptionsScreen, ChatReportScreen, ChatReportScreen.DiscardReportWarningScreen, ChatScreen, ChatSelectionScreen, ChatSelectionScreen.ChatSelectionList, ChatSelectionScreen.ChatSelectionList.DividerEntry, ChatSelectionScreen.ChatSelectionList.Entry, ChatSelectionScreen.ChatSelectionList.MessageEntry, ChatSelectionScreen.ChatSelectionList.MessageHeadingEntry, ChatSelectionScreen.ChatSelectionList.PaddingEntry, Checkbox, CommandBlockEditScreen, ConfirmExperimentalFeaturesScreen, ConfirmExperimentalFeaturesScreen.DetailsScreen, ConfirmExperimentalFeaturesScreen.DetailsScreen.PackList, ConfirmExperimentalFeaturesScreen.DetailsScreen.PackListEntry, ConfirmLinkScreen, ConfirmScreen, ConnectScreen, ContainerObjectSelectionList, ContainerObjectSelectionList.Entry, ContainerScreen, ContainerTypeTest.TestGui, ControlsScreen, CraftingScreen, CreateBuffetWorldScreen, CreateBuffetWorldScreen.BiomeList, CreateBuffetWorldScreen.BiomeList.Entry, CreateFlatWorldScreen, CreateFlatWorldScreen.DetailsList, CreateFlatWorldScreen.DetailsList.Entry, CreateWorldScreen, CreativeModeInventoryScreen, CycleButton, DatapackLoadFailureScreen, DeathScreen, DemoIntroScreen, DirectJoinServerScreen, DisconnectedRealmsScreen, DisconnectedScreen, DispenserScreen, EditBox, EditGameRulesScreen, EditGameRulesScreen.BooleanRuleEntry, EditGameRulesScreen.CategoryRuleEntry, EditGameRulesScreen.GameRuleEntry, EditGameRulesScreen.IntegerRuleEntry, EditGameRulesScreen.RuleEntry, EditGameRulesScreen.RuleList, EditServerScreen, EditWorldScreen, EffectRenderingInventoryScreen, EnchantmentScreen, ErrorScreen, ExtendedButton, ForgeSlider, FrameWidget, FurnaceScreen, GameModeSwitcherScreen, GameModeSwitcherScreen.GameModeSlot, GenericDirtMessageScreen, GenericWaitingScreen, GridWidget, GrindstoneScreen, GuiLayeringTest.ClientEvents.TestLayer, HangingSignEditScreen, HopperScreen, HorseInventoryScreen, ImageButton, InBedChatScreen, InventoryScreen, ItemCombinerScreen, JigsawBlockEditScreen, JoinMultiplayerScreen, KeyBindsList, KeyBindsList.CategoryEntry, KeyBindsList.Entry, KeyBindsList.KeyEntry, KeyBindsScreen, LanguageSelectScreen, LanguageSelectScreen.LanguageSelectionList, LanguageSelectScreen.LanguageSelectionList.Entry, LecternScreen, LevelLoadingScreen, LinearLayoutWidget, LoadingErrorScreen, LoadingErrorScreen.LoadingEntryList, LoadingErrorScreen.LoadingEntryList.LoadingMessageEntry, LockIconButton, LoomScreen, MerchantScreen, MerchantScreen.TradeOfferButton, MinecartCommandBlockEditScreen, ModListScreen, ModListScreen.InfoPanel, ModListWidget, ModListWidget.ModEntry, ModMismatchDisconnectedScreen, ModMismatchDisconnectedScreen.MismatchInfoPanel, MouseSettingsScreen, MultiLineEditBox, MultiLineTextWidget, ObjectSelectionList, ObjectSelectionList.Entry, OnlineOptionsScreen, OptimizeWorldScreen, OptionInstance.OptionInstanceSliderButton, OptionsList, OptionsList.Entry, OptionsScreen, OptionsSubScreen, OutOfMemoryScreen, OverlayRecipeComponent, OverlayRecipeComponent.OverlayRecipeButton, OverlayRecipeComponent.OverlaySmeltingRecipeButton, PackSelectionScreen, PageButton, PauseScreen, PlainTextButton, PlayerEntry, 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, RealmsMainScreen, RealmsMainScreen.CloseButton, RealmsMainScreen.Entry, RealmsMainScreen.NewsButton, RealmsMainScreen.PendingInvitesButton, RealmsMainScreen.RealmSelectionList, RealmsMainScreen.ServerEntry, RealmsMainScreen.TrialEntry, RealmsNotificationsScreen, RealmsObjectSelectionList, RealmsParentalConsentScreen, RealmsPendingInvitesScreen, RealmsPendingInvitesScreen.Entry, RealmsPendingInvitesScreen.PendingInvitationSelectionList, RealmsPlayerScreen, RealmsPlayerScreen.Entry, RealmsPlayerScreen.InvitedObjectSelectionList, RealmsResetNormalWorldScreen, RealmsResetWorldScreen, RealmsResetWorldScreen.FrameButton, RealmsScreen, RealmsSelectFileToUploadScreen, RealmsSelectFileToUploadScreen.Entry, RealmsSelectFileToUploadScreen.WorldSelectionList, RealmsSelectWorldTemplateScreen, RealmsSelectWorldTemplateScreen.Entry, RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionList, RealmsSettingsScreen, RealmsSlotOptionsScreen, RealmsSlotOptionsScreen.SettingsSlider, RealmsSubscriptionInfoScreen, RealmsTermsScreen, RealmsUploadScreen, RealmsWorldSlotButton, ReceivingLevelScreen, RecipeBookComponent, RecipeBookTabButton, RecipeBookTestScreen, RecipeButton, ReportReasonSelectionScreen, ReportReasonSelectionScreen.ReasonSelectionList, ReportReasonSelectionScreen.ReasonSelectionList.Entry, SafetyScreen, Screen, ScrollPanel, SelectWorldScreen, ServerSelectionList, ServerSelectionList.Entry, ServerSelectionList.LANHeader, ServerSelectionList.NetworkServerEntry, ServerSelectionList.OnlineServerEntry, ShareToLanScreen, ShulkerBoxScreen, SignEditScreen, SimpleOptionsSubScreen, SkinCustomizationScreen, SmeltingRecipeBookComponent, SmithingScreen, SmokerScreen, SmokingRecipeBookComponent, SocialInteractionsPlayerList, SocialInteractionsScreen, SoundOptionsScreen, SpacerWidget, StateSwitchingButton, StatsScreen, StatsScreen.GeneralStatisticsList, StatsScreen.GeneralStatisticsList.Entry, StatsScreen.ItemStatisticsList, StatsScreen.ItemStatisticsList.ItemRow, StatsScreen.MobsStatisticsList, StatsScreen.MobsStatisticsList.MobRow, StonecutterScreen, StructureBlockEditScreen, TelemetryEventWidget, TelemetryInfoScreen, TitleScreen, TitleScreenModUpdateIndicator, TransferableSelectionList, TransferableSelectionList.PackEntry, UnicodeGlyphButton, VideoSettingsScreen, WarningScreen, WinScreen, WorldSelectionList, WorldSelectionList.Entry, WorldSelectionList.LoadingHeader, WorldSelectionList.WorldListEntry

public interface GuiEventListener
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final long
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    changeFocus(boolean p_94756_)
     
    default boolean
    charTyped(char p_94732_, int p_94733_)
     
    default boolean
    isMouseOver(double p_94748_, double p_94749_)
     
    default boolean
    keyPressed(int p_94745_, int p_94746_, int p_94747_)
     
    default boolean
    keyReleased(int p_94750_, int p_94751_, int p_94752_)
     
    default boolean
    mouseClicked(double p_94737_, double p_94738_, int p_94739_)
     
    default boolean
    mouseDragged(double p_94740_, double p_94741_, int p_94742_, double p_94743_, double p_94744_)
     
    default void
    mouseMoved(double p_94758_, double p_94759_)
     
    default boolean
    mouseReleased(double p_94753_, double p_94754_, int p_94755_)
     
    default boolean
    mouseScrolled(double p_94734_, double p_94735_, double p_94736_)
     
  • 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_)
    • 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_)
    • changeFocus

      default boolean changeFocus(boolean p_94756_)
    • isMouseOver

      default boolean isMouseOver(double p_94748_, double p_94749_)