Package net.mcreator.plugin.events.ui
Class ModElementGUIEvent.WhenSaving
java.lang.Object
net.mcreator.plugin.MCREvent
net.mcreator.plugin.events.ui.TabEvent
net.mcreator.plugin.events.ui.ModElementGUIEvent
net.mcreator.plugin.events.ui.ModElementGUIEvent.WhenSaving
- Enclosing class:
ModElementGUIEvent
When a ModElementGUI
will be saved, MCreator triggers this event.
The process of saving the mod element happens just after this event is executed.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.mcreator.plugin.events.ui.ModElementGUIEvent
ModElementGUIEvent.AfterLoading, ModElementGUIEvent.BeforeLoading, ModElementGUIEvent.WhenSaving
Nested classes/interfaces inherited from class net.mcreator.plugin.events.ui.TabEvent
TabEvent.Added, TabEvent.Closed, TabEvent.Shown
-
Constructor Summary
ConstructorDescriptionWhenSaving
(MCreator mcreator, MCreatorTabs.Tab tab, ModElementGUI<?> modElementGUI, boolean savesOnly) -
Method Summary
Methods inherited from class net.mcreator.plugin.events.ui.ModElementGUIEvent
getMCreator, getModElementGUI
Methods inherited from class net.mcreator.plugin.MCREvent
event, getTimeout, isSynchronous
-
Constructor Details
-
WhenSaving
public WhenSaving(MCreator mcreator, MCreatorTabs.Tab tab, ModElementGUI<?> modElementGUI, boolean savesOnly)
-
-
Method Details
-
isSavedOnly
public boolean isSavedOnly()
-