mirror of
https://github.com/YouHaveTrouble/BlockEdit.git
synced 2026-06-29 13:36:19 +00:00
paste operation
This commit is contained in:
@@ -7,6 +7,10 @@ import org.bukkit.util.Vector;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* Pastes blocks from a map of vectors and block states. Caution! Vectors must be floored to align with block locations.
|
||||
* @param blockStateMap
|
||||
*/
|
||||
public record PasteOperation(Map<Vector, BlockState> blockStateMap) implements BlockEditOperation {
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user