Class MutableBiomeChange
java.lang.Object
com.fastasyncworldedit.core.history.change.MutableBiomeChange
- All Implemented Interfaces:
Change
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
redo
(UndoContext context) Perform an redo.void
setBiome
(int x, int y, int z, int from, int to) void
undo
(UndoContext context) Perform an undo.
-
Constructor Details
-
MutableBiomeChange
public MutableBiomeChange()
-
-
Method Details
-
setBiome
public void setBiome(int x, int y, int z, int from, int to) -
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
-