An interface that represents the JSON data of a WorldEdit selection.

interface WorldEditSelectionJSONData {
    dimension:
        | "minecraft:overworld"
        | "minecraft:nether"
        | "minecraft:the_end";
    maxPos: Vector3;
    minPos: Vector3;
    pos1: Vector3;
    pos2: Vector3;
    savedSelections: { [selectionID: string]: SavedWorldEditSelection };
}

Properties

dimension: "minecraft:overworld" | "minecraft:nether" | "minecraft:the_end"

The dimension of the current selection.

maxPos: Vector3

The largest corner of the current selection.

minPos: Vector3

The smallest corner of the current selection.

pos1: Vector3

The first corner of the current selection.

pos2: Vector3

The second corner of the current selection.

savedSelections: { [selectionID: string]: SavedWorldEditSelection }

The saved selections for the current player.