Skip to content
This repository was archived by the owner on Apr 25, 2021. It is now read-only.

rectangle area

mov51 edited this page Jul 3, 2019 · 3 revisions

Single area selection

java -jar smallWorld.jar rectangle <CoordSet1-Coord1>,<CoordSet1-Coord2> <UUID1>,<UUID2>
This command will search for a rectangle defined directly in it with the corners given. Takes parameters in block coordinates, no error checking for too small or big areas.
Coordinates must be formatted as such <x>,<z> the program separates the two numbers by the comma, do not forget the comma, it will explode.

Multiple area selection

java -jar smallWorld.jar rectangle <Coord1Set1>,<Coord2Set1>,<Coord1Set2>,<Coord2Set2> <UUID1>,<UUID2> You can select multiple areas with a repeating string of coordinates separated by commas in the above format.

The coordinates are split into sets of 4, each pair of 2 making up 1 corner of a new rectangle. This means that when providing a set of coordinates you need to make the size of the list divisible by 4 so that there is always a full set of coordinate pairs for a full rectangle.

Clone this wiki locally