Class BlockTransaction

java.lang.Object
org.spongepowered.api.data.Transaction<BlockSnapshot>
org.spongepowered.api.block.transaction.BlockTransaction
All Implemented Interfaces:
DataSerializable

public final class BlockTransaction extends Transaction<BlockSnapshot>
A specialized Transaction<BlockSnapshot> that covers the required changes of one BlockSnapshot to another, with the added benefit of a contextual understanding of what sort of operation is being performed to change from one block to another. It is possible to serialize a particular transaction, but to associate a transaction with it's "post" state, refer to the receipt variant that exposes only what was and what is the final result.