接口 ContainerEventHandler
- 所有超级接口:
GuiEventListener
,TabOrderedElement
- 所有已知实现类:
AbstractCommandBlockEditScreen
,AbstractContainerEventHandler
,AbstractContainerScreen
,AbstractContainerWidget
,AbstractFurnaceScreen
,AbstractRecipeBookScreen
,AbstractReportScreen
,AbstractReportScreen.DiscardReportWarningScreen
,AbstractSelectionList
,AbstractSignEditScreen
,AccessibilityOnboardingScreen
,AccessibilityOptionsScreen
,AddRealmPopupScreen
,AdvancementsScreen
,AlertScreen
,AnvilScreen
,BackupConfirmScreen
,BeaconScreen
,BlastFurnaceScreen
,BookEditScreen
,BookViewScreen
,BrewingStandScreen
,CartographyTableScreen
,ChatOptionsScreen
,ChatReportScreen
,ChatScreen
,ChatSelectionScreen
,ChatSelectionScreen.ChatSelectionList
,ClientCommonPacketListenerImpl.PackConfirmScreen
,CommandBlockEditScreen
,ConfirmExperimentalFeaturesScreen
,ConfirmExperimentalFeaturesScreen.DetailsScreen
,ConfirmExperimentalFeaturesScreen.DetailsScreen.PackList
,ConfirmLinkScreen
,ConfirmScreen
,ConnectScreen
,ContainerObjectSelectionList
,ContainerObjectSelectionList.Entry
,ContainerScreen
,ControlsScreen
,CrafterScreen
,CraftingScreen
,CreateBuffetWorldScreen
,CreateBuffetWorldScreen.BiomeList
,CreateFlatWorldScreen
,CreateFlatWorldScreen.DetailsList
,CreateWorldScreen
,CreativeModeInventoryScreen
,CreditsAndAttributionScreen
,DatapackLoadFailureScreen
,DeathScreen
,DeathScreen.TitleConfirmScreen
,DemoIntroScreen
,DirectJoinServerScreen
,DisconnectedRealmsScreen
,DisconnectedScreen
,DispenserScreen
,EditGameRulesScreen
,EditGameRulesScreen.BooleanRuleEntry
,EditGameRulesScreen.CategoryRuleEntry
,EditGameRulesScreen.GameRuleEntry
,EditGameRulesScreen.IntegerRuleEntry
,EditGameRulesScreen.RuleEntry
,EditGameRulesScreen.RuleList
,EditServerScreen
,EditWorldScreen
,EnchantmentScreen
,ErrorScreen
,ExperimentsScreen
,ExperimentsScreen.ScrollArea
,FontOptionsScreen
,FurnaceScreen
,GameModeSwitcherScreen
,GenericMessageScreen
,GenericWaitingScreen
,GrindstoneScreen
,HangingSignEditScreen
,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
,NameReportScreen
,NoticeWithLinkScreen
,ObjectSelectionList
,OnlineOptionsScreen
,OptimizeWorldScreen
,OptionsList
,OptionsList.Entry
,OptionsList.OptionEntry
,OptionsScreen
,OptionsSubScreen
,OutOfMemoryScreen
,PackSelectionScreen
,PauseScreen
,PauseScreen.FeedbackSubScreen
,PlayerEntry
,PopupScreen
,PresetFlatWorldScreen
,PresetFlatWorldScreen.PresetsList
,ProgressScreen
,RealmsBackupInfoScreen
,RealmsBackupInfoScreen.BackupInfoList
,RealmsBackupScreen
,RealmsBackupScreen.BackupObjectSelectionList
,RealmsBackupScreen.Entry
,RealmsBrokenWorldScreen
,RealmsClientOutdatedScreen
,RealmsConfigureWorldScreen
,RealmsConfirmScreen
,RealmsCreateRealmScreen
,RealmsDownloadLatestWorldScreen
,RealmsGenericErrorScreen
,RealmsInviteScreen
,RealmsLongRunningMcoTaskScreen
,RealmsLongRunningMcoTickTaskScreen
,RealmsMainScreen
,RealmsMainScreen.RealmSelectionList
,RealmsNotificationsScreen
,RealmsParentalConsentScreen
,RealmsPendingInvitesScreen
,RealmsPendingInvitesScreen.PendingInvitationSelectionList
,RealmsPlayerScreen
,RealmsPlayerScreen.Entry
,RealmsPlayerScreen.InvitedObjectSelectionList
,RealmsResetWorldScreen
,RealmsScreen
,RealmsSelectFileToUploadScreen
,RealmsSelectFileToUploadScreen.WorldSelectionList
,RealmsSelectWorldTemplateScreen
,RealmsSelectWorldTemplateScreen.WorldTemplateList
,RealmsSettingsScreen
,RealmsSlotOptionsScreen
,RealmsSubscriptionInfoScreen
,RealmsTermsScreen
,RealmsUploadScreen
,ReceivingLevelScreen
,RecoverWorldDataScreen
,ReportPlayerScreen
,ReportReasonSelectionScreen
,ReportReasonSelectionScreen.ReasonSelectionList
,SafetyScreen
,Screen
,ScrollPanel
,SelectWorldScreen
,ServerLinksScreen
,ServerLinksScreen.LinkList
,ServerLinksScreen.LinkListEntry
,ServerReconfigScreen
,ServerSelectionList
,ShareToLanScreen
,ShulkerBoxScreen
,SignEditScreen
,SkinCustomizationScreen
,SkinReportScreen
,SmithingScreen
,SmokerScreen
,SocialInteractionsPlayerList
,SocialInteractionsScreen
,SoundOptionsScreen
,StatsScreen
,StatsScreen.GeneralStatisticsList
,StatsScreen.ItemStatisticsList
,StatsScreen.MobsStatisticsList
,StonecutterScreen
,StructureBlockEditScreen
,TabNavigationBar
,TelemetryInfoScreen
,TitleScreen
,TitleScreenModUpdateIndicator
,TransferableSelectionList
,UnsupportedGraphicsWarningScreen
,VideoSettingsScreen
,WarningScreen
,WinScreen
,WorldSelectionList
-
字段概要
从接口继承的字段 net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
方法概要
修饰符和类型方法说明default boolean
charTyped
(char p_94683_, int p_94684_) List
<? extends GuiEventListener> children()
default Optional
<GuiEventListener> getChildAt
(double p_94730_, double p_94731_) default ComponentPath
private ComponentPath
private ComponentPath
boolean
default boolean
default boolean
keyPressed
(int p_94710_, int p_94711_, int p_94712_) default boolean
keyReleased
(int p_94715_, int p_94716_, int p_94717_) default boolean
mouseClicked
(double p_94695_, double p_94696_, int p_94697_) default boolean
mouseDragged
(double p_94699_, double p_94700_, int p_94701_, double p_94702_, double p_94703_) default boolean
mouseReleased
(double p_94722_, double p_94723_, int p_94724_) default boolean
mouseScrolled
(double p_94686_, double p_94687_, double p_94688_, double p_299502_) default ComponentPath
nextFocusPath
(FocusNavigationEvent p_265668_) private ComponentPath
nextFocusPathInDirection
(ScreenRectangle p_265054_, ScreenDirection p_265167_, GuiEventListener p_265476_, FocusNavigationEvent p_265762_) private ComponentPath
nextFocusPathVaguelyInDirection
(ScreenRectangle p_265390_, ScreenDirection p_265687_, GuiEventListener p_265498_, FocusNavigationEvent p_265048_) void
setDragging
(boolean p_94720_) default void
setFocused
(boolean p_265504_) void
setFocused
(GuiEventListener p_94713_) 从接口继承的方法 net.minecraft.client.gui.components.events.GuiEventListener
getBorderForArrowNavigation, getRectangle, isMouseOver, mouseMoved
从接口继承的方法 net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
方法详细资料
-
children
List<? extends GuiEventListener> children() -
getChildAt
-
mouseClicked
default boolean mouseClicked(double p_94695_, double p_94696_, int p_94697_) - 指定者:
mouseClicked
在接口中GuiEventListener
-
mouseReleased
default boolean mouseReleased(double p_94722_, double p_94723_, int p_94724_) - 指定者:
mouseReleased
在接口中GuiEventListener
-
mouseDragged
default boolean mouseDragged(double p_94699_, double p_94700_, int p_94701_, double p_94702_, double p_94703_) - 指定者:
mouseDragged
在接口中GuiEventListener
-
isDragging
boolean isDragging() -
setDragging
void setDragging(boolean p_94720_) -
mouseScrolled
default boolean mouseScrolled(double p_94686_, double p_94687_, double p_94688_, double p_299502_) - 指定者:
mouseScrolled
在接口中GuiEventListener
-
keyPressed
default boolean keyPressed(int p_94710_, int p_94711_, int p_94712_) - 指定者:
keyPressed
在接口中GuiEventListener
-
keyReleased
default boolean keyReleased(int p_94715_, int p_94716_, int p_94717_) - 指定者:
keyReleased
在接口中GuiEventListener
-
charTyped
default boolean charTyped(char p_94683_, int p_94684_) - 指定者:
charTyped
在接口中GuiEventListener
-
getFocused
-
setFocused
-
setFocused
default void setFocused(boolean p_265504_) - 指定者:
setFocused
在接口中GuiEventListener
-
isFocused
default boolean isFocused()- 指定者:
isFocused
在接口中GuiEventListener
-
getCurrentFocusPath
- 指定者:
getCurrentFocusPath
在接口中GuiEventListener
-