Import a Minecraft structure file to generate KubeJS blockPattern() code
Build your multiblock around where the altar will go. Use a Structure Block
(/give @s minecraft:structure_block, set to Save mode) to capture the area and save it.
Find the file at:
saves/<world>/generated/minecraft/structures/<name>.nbt