Package org.spongepowered.api.block.transaction
@DefaultQualifier(org.checkerframework.checker.nullness.qual.NonNull.class)
package org.spongepowered.api.block.transaction
An API section where "blocks" are represented. A block is a tile in the 3D
game universe. Each "block" has a
BlockState
that can be changed.-
ClassDescriptionA specialized
Transaction<BlockSnapshot>
that covers the required changes of oneBlockSnapshot
to another, with the added benefit of a contextual understanding of what sort ofoperation
is being performed to change from one block to another.Represents a notification that is being proposed to the engine.Represents an operation in aServerWorld
that is an effective contextual "comparison" of what type of transaction is, such asOperations.PLACE
,Operations.BREAK
, andOperations.MODIFY
, but holds no bearing on the order of a transaction taking place.Represents ascheduled block update
that is being proposed to the engine.