Class MutableBlockChange
java.lang.Object
com.fastasyncworldedit.core.history.change.MutableBlockChange
- All Implemented Interfaces:
Change
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
create
(UndoContext context) void
redo
(UndoContext context) Perform an redo.void
undo
(UndoContext context) Perform an undo.
-
Field Details
-
z
public int z -
y
public int y -
x
public int x -
ordinal
public int ordinal
-
-
Constructor Details
-
MutableBlockChange
public MutableBlockChange(int x, int y, int z, int ordinal)
-
-
Method Details
-
undo
Description copied from interface:Change
Perform an undo. This method may not be available if the object was returned fromChangeSet.forwardIterator()
.- Specified by:
undo
in interfaceChange
- Parameters:
context
- a context for undo- Throws:
WorldEditException
- on an error
-
redo
Description copied from interface:Change
Perform an redo. This method may not be available if the object was returned fromChangeSet.backwardIterator()
()}.- Specified by:
redo
in interfaceChange
- Parameters:
context
- a context for redo- Throws:
WorldEditException
- on an error
-
create
-