Package org.bukkit.util
Interface BlockTransformer.TransformationState
- Enclosing interface:
- BlockTransformer
public static interface BlockTransformer.TransformationState
The TransformationState allows access to the original block state and the
block state of the block that was at the location of the transformation
in the world before the transformation started.
-
Method Summary
Modifier and TypeMethodDescriptionCreates a clone of the original block state that a structure wanted to place and caches it for the current transformer.getWorld()
Creates a clone of the block state that was at the location of the currently modified block at the start of the transformation process and caches it for the current transformer.
-
Method Details
-
getOriginal
Creates a clone of the original block state that a structure wanted to place and caches it for the current transformer.- Returns:
- a clone of the original block state.
-
getWorld
Creates a clone of the block state that was at the location of the currently modified block at the start of the transformation process and caches it for the current transformer.- Returns:
- a clone of the world block state.
-