Skip to content

Building Companion

ELgamer edited this page Jan 14, 2024 · 5 revisions

The building companion helps improve the building experience by simplifying or automating certain tasks. It is currently in an experimental phase and only includes a single feature, the parallel building tool.  

The companion can be toggled using /buildingcompanion or /bc for short.

Parallel building tool

The parallel building tool simplifies the creation of rectangular outlines with /tpll, with the companion enabled it'll record your /tpll locations until you have 4 unique points, if you teleport close to an existing point it will be averaged with that point. The 4 points should represent the outline of something, likely a house, with a rectangular shape.  

There will be a message in chat telling you to "click here to draw the outlines", or /bc drawoutlines if preferred. After executing this fake blocks will be placed for the outlines of the building, however they will be drawn in a way that the rectangle will form perfectly parallel lines. The outlines can then be saved by clicking "yes" in chat, or if you are not satisfied with the outlines you can click on "no".  

To clear your current selected points you can use the /bc clear command. Teleporting to another world or server will automatically clear your selection.

Purpose

When using /tpll to create outlines for rectangular structures you will often find that they do not form a nice rectangular shape, the left and right side may not be at the same angle, or of equal length. This is due to the precise nature of /tpll and Minecraft using 1x1 metre blocks, the location you end up teleporting to may be on the edge of a block, and deciding which block is correct is not always intuitive. This tool removed the tricky or sometimes frustrating step of figuring out the optimal placement of the corners to create the best shaped outline by automating the process using a custom improvement algorithm that will very quickly find the solution that has the least deviation from the initial points while keeping a perfectly parallel shape.

Clone this wiki locally