Interface ContainerEventHandler

All Superinterfaces:
GuiEventListener
All Known Implementing Classes:
AbstractCommandBlockEditScreen, AbstractContainerEventHandler, AbstractContainerScreen, AbstractFurnaceScreen, AbstractSelectionList, AccessibilityOptionsScreen, AdvancementsScreen, AlertScreen, AnvilScreen, BackupConfirmScreen, BeaconScreen, BlastFurnaceScreen, BookEditScreen, BookViewScreen, BrewingStandScreen, CartographyTableScreen, ChatOptionsScreen, ChatScreen, CommandBlockEditScreen, ConfirmLinkScreen, ConfirmScreen, ConnectScreen, ContainerObjectSelectionList, ContainerObjectSelectionList.Entry, ContainerScreen, ContainerTypeTest.TestGui, ControlsScreen, CraftingScreen, CreateBuffetWorldScreen, CreateBuffetWorldScreen.BiomeList, CreateFlatWorldScreen, CreateFlatWorldScreen.DetailsList, CreateWorldScreen, CreativeModeInventoryScreen, CustomTooltipTest.TooltipTestScreen, DatapackLoadFailureScreen, DeathScreen, DemoIntroScreen, DirectJoinServerScreen, DisconnectedRealmsScreen, DisconnectedScreen, DispenserScreen, EditGameRulesScreen, EditGameRulesScreen.BooleanRuleEntry, EditGameRulesScreen.CategoryRuleEntry, EditGameRulesScreen.GameRuleEntry, EditGameRulesScreen.IntegerRuleEntry, EditGameRulesScreen.RuleEntry, EditGameRulesScreen.RuleList, EditServerScreen, EditWorldScreen, EffectRenderingInventoryScreen, EnchantmentScreen, ErrorScreen, FurnaceScreen, GameModeSwitcherScreen, GenericDirtMessageScreen, GrindstoneScreen, GuiLayeringTest.ClientEvents.TestLayer, HopperScreen, HorseInventoryScreen, InBedChatScreen, InventoryScreen, ItemCombinerScreen, JigsawBlockEditScreen, JoinMultiplayerScreen, KeyBindsList, KeyBindsList.CategoryEntry, KeyBindsList.Entry, KeyBindsList.KeyEntry, KeyBindsScreen, LanguageSelectScreen, LanguageSelectScreen.LanguageSelectionList, LecternScreen, LevelLoadingScreen, LoadingErrorScreen, LoadingErrorScreen.LoadingEntryList, LoomScreen, MerchantScreen, MinecartCommandBlockEditScreen, ModListScreen, ModListScreen.InfoPanel, ModListWidget, ModMismatchDisconnectedScreen, ModMismatchDisconnectedScreen.MismatchInfoPanel, MouseSettingsScreen, NotificationModUpdateScreen, ObjectSelectionList, OnlineOptionsScreen, OptimizeWorldScreen, OptionsList, OptionsList.Entry, OptionsScreen, OptionsSubScreen, OutOfMemoryScreen, PackSelectionScreen, PauseScreen, PlayerEntry, PopupScreen, PresetFlatWorldScreen, PresetFlatWorldScreen.PresetsList, ProgressScreen, Realms32bitWarningScreen, RealmsBackupInfoScreen, RealmsBackupInfoScreen.BackupInfoList, RealmsBackupScreen, RealmsBackupScreen.BackupObjectSelectionList, RealmsBrokenWorldScreen, RealmsClientOutdatedScreen, RealmsConfigureWorldScreen, RealmsConfirmScreen, RealmsCreateRealmScreen, RealmsDownloadLatestWorldScreen, RealmsGenericErrorScreen, RealmsInviteScreen, RealmsLongConfirmationScreen, RealmsLongRunningMcoTaskScreen, RealmsMainScreen, RealmsMainScreen.RealmSelectionList, RealmsNotificationsScreen, RealmsObjectSelectionList, RealmsParentalConsentScreen, RealmsPendingInvitesScreen, RealmsPendingInvitesScreen.PendingInvitationSelectionList, RealmsPlayerScreen, RealmsPlayerScreen.InvitedObjectSelectionList, RealmsResetNormalWorldScreen, RealmsResetWorldScreen, RealmsScreen, RealmsSelectFileToUploadScreen, RealmsSelectFileToUploadScreen.WorldSelectionList, RealmsSelectWorldTemplateScreen, RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionList, RealmsSettingsScreen, RealmsSlotOptionsScreen, RealmsSubscriptionInfoScreen, RealmsTermsScreen, RealmsUploadScreen, ReceivingLevelScreen, RecipeBookTestScreen, SafetyScreen, Screen, ScrollPanel, SelectWorldScreen, ServerSelectionList, ShareToLanScreen, ShulkerBoxScreen, SignEditScreen, SimpleOptionsSubScreen, SkinCustomizationScreen, SmithingScreen, SmokerScreen, SocialInteractionsPlayerList, SocialInteractionsScreen, SoundOptionsScreen, StatsScreen, StatsScreen.GeneralStatisticsList, StatsScreen.ItemStatisticsList, StatsScreen.MobsStatisticsList, StonecutterScreen, StructureBlockEditScreen, TitleScreen, TransferableSelectionList, VideoSettingsScreen, WarningScreen, WinScreen, WorldSelectionList

public interface ContainerEventHandler extends GuiEventListener
  • Method Details

    • children

      List<? extends GuiEventListener> children()
    • getChildAt

      default Optional<GuiEventListener> getChildAt(double p_94730_, double p_94731_)
    • mouseClicked

      default boolean mouseClicked(double p_94695_, double p_94696_, int p_94697_)
      Specified by:
      mouseClicked in interface GuiEventListener
    • mouseReleased

      default boolean mouseReleased(double p_94722_, double p_94723_, int p_94724_)
      Specified by:
      mouseReleased in interface GuiEventListener
    • mouseDragged

      default boolean mouseDragged(double p_94699_, double p_94700_, int p_94701_, double p_94702_, double p_94703_)
      Specified by:
      mouseDragged in interface GuiEventListener
    • isDragging

      boolean isDragging()
    • setDragging

      void setDragging(boolean p_94720_)
    • mouseScrolled

      default boolean mouseScrolled(double p_94686_, double p_94687_, double p_94688_)
      Specified by:
      mouseScrolled in interface GuiEventListener
    • keyPressed

      default boolean keyPressed(int p_94710_, int p_94711_, int p_94712_)
      Specified by:
      keyPressed in interface GuiEventListener
    • keyReleased

      default boolean keyReleased(int p_94715_, int p_94716_, int p_94717_)
      Specified by:
      keyReleased in interface GuiEventListener
    • charTyped

      default boolean charTyped(char p_94683_, int p_94684_)
      Specified by:
      charTyped in interface GuiEventListener
    • getFocused

      @Nullable GuiEventListener getFocused()
    • setFocused

      void setFocused(@Nullable GuiEventListener p_94713_)
    • setInitialFocus

      default void setInitialFocus(@Nullable GuiEventListener p_94719_)
    • magicalSpecialHackyFocus

      default void magicalSpecialHackyFocus(@Nullable GuiEventListener p_94726_)
    • changeFocus

      default boolean changeFocus(boolean p_94728_)
      Specified by:
      changeFocus in interface GuiEventListener