Interface Change
- All Known Implementing Classes:
BiomeChange
,BiomeChange3D
,BlockChange
,EntityCreate
,EntityRemove
public interface Change
Describes a change that can be undone or re-applied.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
redo
(UndoContext context) Perform an redo.void
undo
(UndoContext context) Perform an undo.
-
Method Details
-
undo
Perform an undo. This method may not be available if the object was returned fromChangeSet.forwardIterator()
.- Parameters:
context
- a context for undo- Throws:
WorldEditException
- on an error
-
redo
Perform an redo. This method may not be available if the object was returned fromChangeSet.backwardIterator()
()}.- Parameters:
context
- a context for redo- Throws:
WorldEditException
- on an error
-