BiomeChange3D
@Deprecated public class BiomeChange extends java.lang.Object implements Change
This biome change does not have an Extent
assigned to it because
one will be taken from the passed UndoContext
. If the context
does not have an extent (it is null), cryptic errors may occur.
Constructor and Description |
---|
BiomeChange(BlockVector2 position,
BiomeType previous,
BiomeType current)
Deprecated.
Create a new biome change.
|
Modifier and Type | Method and Description |
---|---|
BiomeType |
getCurrent()
Deprecated.
Get the current biome.
|
BlockVector2 |
getPosition()
Deprecated.
Get the position.
|
BiomeType |
getPrevious()
Deprecated.
Get the previous biome.
|
void |
redo(UndoContext context)
Deprecated.
Perform an redo.
|
void |
undo(UndoContext context)
Deprecated.
Perform an undo.
|
public BiomeChange(BlockVector2 position, BiomeType previous, BiomeType current)
position
- the positionprevious
- the previous biomecurrent
- the current biomepublic BlockVector2 getPosition()
public BiomeType getPrevious()
public BiomeType getCurrent()
public void undo(UndoContext context) throws WorldEditException
Change
ChangeSet.forwardIterator()
.undo
in interface Change
context
- a context for undoWorldEditException
- on an errorpublic void redo(UndoContext context) throws WorldEditException
Change
ChangeSet.backwardIterator()
()}.redo
in interface Change
context
- a context for redoWorldEditException
- on an error