Class WorkspaceSavedEvent.CalledSavingMethod

java.lang.Object
net.mcreator.plugin.MCREvent
net.mcreator.plugin.events.workspace.WorkspaceSavedEvent
net.mcreator.plugin.events.workspace.WorkspaceSavedEvent.CalledSavingMethod
Enclosing class:
WorkspaceSavedEvent

public static class WorkspaceSavedEvent.CalledSavingMethod extends WorkspaceSavedEvent

It is called every time the method to save the workspace is called. This means that even if the workspace should not and can not be saved, this event is still triggered. When something happens during this event, the other sub-events are still called and executed, so a behaviour can happen twice if executed in multiple events.

  • Constructor Details

    • CalledSavingMethod

      public CalledSavingMethod(Workspace workspace)