Package net.mcreator.plugin.events.ui
Class ModElementGUIEvent
java.lang.Object
net.mcreator.plugin.MCREvent
net.mcreator.plugin.events.ui.TabEvent
net.mcreator.plugin.events.ui.ModElementGUIEvent
- Direct Known Subclasses:
ModElementGUIEvent.AfterLoading
,ModElementGUIEvent.BeforeLoading
,ModElementGUIEvent.WhenSaving
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
When aModElementGUI
finishes to load, MCreator triggers this event.static class
When aModElementGUI
is about to start loading, MCreator triggers this event.static class
When aModElementGUI
will be saved, MCreator triggers this event.Nested classes/interfaces inherited from class net.mcreator.plugin.events.ui.TabEvent
TabEvent.Added, TabEvent.Closed, TabEvent.Shown
-
Constructor Summary
ModifierConstructorDescriptionprotected
ModElementGUIEvent
(MCreator mcreator, MCreatorTabs.Tab tab, ModElementGUI<?> modElementGUI) These events are triggered at different states of aModElementGUI
loading. -
Method Summary
Methods inherited from class net.mcreator.plugin.MCREvent
event, getTimeout, isSynchronous
-
Constructor Details
-
ModElementGUIEvent
protected ModElementGUIEvent(MCreator mcreator, MCreatorTabs.Tab tab, ModElementGUI<?> modElementGUI) These events are triggered at different states of a
ModElementGUI
loading. However, this constructor is never called outside this class.- Parameters:
mcreator
-The
MCreator
instance where the mod element is.tab
-The
MCreatorTabs.Tab
that is opened for theModElementGUI
.modElementGUI
-The
ModElementGUI
that calls each event.
-
-
Method Details
-
getMCreator
-
getModElementGUI
-