Class ConfigurationScreen.UndoManager

java.lang.Object
net.neoforged.neoforge.client.gui.ConfigurationScreen.UndoManager
Enclosing class:
ConfigurationScreen

public static final class ConfigurationScreen.UndoManager extends Object
A class representing an undo/redo buffer.

Every undo step is represented as 2 actions, one to initially execute when the step is added and to redo after an undo, and one to execute to undo the step. Both get a captured parameter to make defining them inline or reusing the code portion easier.