Interface ExtractSNBTResult

The result of the extractSNBT function when ParseSNBTBaseOptions.keepGoingAfterError is false or not provided.

interface ExtractSNBTResult {
    endPos: number;
    remaining: string;
    startPos: number;
    value: List<TagType> | Compound;
}

Hierarchy (View Summary)

Properties

endPos: number

The end position of the parsed value in the input string.

remaining: string

The remaining text after the parsed value.

startPos: number

The start position of the parsed value in the input string.

The parsed value.