@Override
public void place() {
// Building objects
final PieceCuboidBuilder box = new PieceCuboidBuilder(this);
final PiecePlaneBuilder plane = new PiecePlaneBuilder(this);
final PieceLayoutBuilder painter = new PieceLayoutBuilder(this);
final SimpleBlockMaterialPicker picker = new SimpleBlockMaterialPicker();
box.setPicker(picker);
plane.setPicker(picker);
// Foundations
picker.setOuterInnerMaterials(VanillaMaterials.SANDSTONE, VanillaMaterials.SANDSTONE);
box.setMinMax(0, -4, 0, 20, 0, 20).fill();
// Pyramid
picker.setOuterInnerMaterials(VanillaMaterials.SANDSTONE, VanillaMaterials.AIR);
plane.setMinMax(0, 0, 0, 20, 0, 20);
for (byte yy = 1; yy < 10; yy++) {
plane.offsetMinMax(1, 1, 1, -1, 1, -1);
plane.fill();
}
// Fill the land under
for (byte xx = 0; xx < 21; xx++) {
for (byte zz = 0; zz < 21; zz++) {
fillDownwards(xx, -5, zz, 50, VanillaMaterials.SANDSTONE);