Highlights are a simple json they only contain one thing a list of line

A line is an array of 6 floats with the first 3 being for the first point and the second 3 being for the second point in the line.

Line floats are not Minecraft pixels so if you want a Minecraft pixel position divide it by 16 to get the value for the line.

This example is to have a single line from the bottom left back corner going to the top right front corner.

    "lines": [
        [0, 0, 0, 1, 1, 1]

Last updated